/* ============================================================
   Nestique landing — brand: deep forest green / cream / gold
   ============================================================ */
:root {
  --green-900: #16291d;
  --green-800: #1e3a29;
  --green-700: #24452f;
  --green-600: #2f5a3d;
  --green-100: #e3ede5;
  --cream: #f5f1e8;
  --cream-2: #ede7d9;
  --paper: #fffdf8;
  --ink: #182420;
  --muted: #5b6b60;
  --gold: #c9a24b;
  --gold-soft: #f0e3c4;
  --flame: #d96c47;
  --flame-soft: #fbe4da;
  --heart: #d16060;
  --heart-soft: #f9e2e2;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-lg: 0 24px 60px -20px rgba(22, 41, 29, 0.35);
  --shadow-md: 0 12px 32px -12px rgba(22, 41, 29, 0.22);
  --max: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.ico { width: 18px; height: 18px; flex: none; }

/* ---------- Nav ---------- */
.nav-wrap {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 253, 248, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(22, 41, 29, 0.08);
}
.nav { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em;
  color: var(--green-800); text-decoration: none;
}
.brand-icon { width: 36px; height: 36px; border-radius: 9px; box-shadow: 0 2px 8px rgba(22,41,29,.18); }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a {
  color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.95rem;
  transition: color .18s;
}
.nav-links a:hover { color: var(--green-800); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; text-decoration: none;
  border-radius: 999px; padding: 14px 26px; font-size: 1rem;
  transition: transform .18s, box-shadow .18s, background .18s;
}
.btn:hover { transform: translateY(-2px); }
.btn-small { padding: 10px 18px; font-size: 0.9rem; }
.btn-gold { background: var(--gold); color: var(--green-900); box-shadow: 0 4px 14px -4px rgba(201,162,75,.6); }
.btn-gold:hover { background: #d6b05c; }
.btn-ghost { color: var(--green-800); border: 2px solid rgba(30,58,41,.25); }
.btn-ghost:hover { border-color: var(--green-800); }

/* App Store badge */
.appstore-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink); color: #fff; text-decoration: none;
  border-radius: 14px; padding: 10px 22px 12px;
  transition: transform .18s, box-shadow .18s;
  box-shadow: var(--shadow-md);
}
.appstore-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.appstore-badge .apple-logo { width: 30px; height: 30px; }
.appstore-badge .badge-text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.appstore-badge .badge-text small { font-size: 0.7rem; opacity: .85; }
.appstore-badge .badge-text strong { font-size: 1.25rem; letter-spacing: -0.01em; }
.appstore-badge.lg { padding: 13px 28px 15px; border-radius: 16px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(201,162,75,0.16), transparent 60%),
    linear-gradient(170deg, var(--green-900) 0%, var(--green-800) 55%, var(--green-700) 100%);
  color: var(--cream);
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px;
  align-items: center; padding-top: 88px; padding-bottom: 130px;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,241,232,0.12); border: 1px solid rgba(245,241,232,0.25);
  color: var(--gold-soft); border-radius: 999px;
  padding: 7px 16px; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.02em;
  margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(2.6rem, 5.2vw, 4rem);
  line-height: 1.06; letter-spacing: -0.03em; font-weight: 800;
  margin-bottom: 22px;
}
.hero h1 em { font-style: normal; color: var(--gold); position: relative; white-space: nowrap; }
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 10px;
  background: rgba(201,162,75,0.28); border-radius: 6px; z-index: -1;
}
.lede { font-size: 1.15rem; color: rgba(245,241,232,0.85); max-width: 34rem; margin-bottom: 34px; }
.lede strong { color: #fff; }
.hero-ctas { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 30px; }
.hero .btn-ghost { color: var(--cream); border-color: rgba(245,241,232,0.35); }
.hero .btn-ghost:hover { border-color: var(--cream); }
.hero-facts { display: flex; gap: 22px; flex-wrap: wrap; list-style: none; }
.hero-facts li {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.9rem; font-weight: 600; color: rgba(245,241,232,0.8);
}
.hero-facts .ico { width: 16px; height: 16px; color: var(--gold); }

.hero-visual { display: flex; justify-content: center; }
.phone-stack { position: relative; max-width: 340px; }
.shot-main {
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.55), 0 0 0 1px rgba(245,241,232,0.14);
}
.float-chip {
  position: absolute; display: flex; align-items: center; gap: 8px;
  background: var(--paper); color: var(--ink);
  font-size: 0.85rem; font-weight: 700;
  padding: 10px 16px; border-radius: 14px;
  box-shadow: var(--shadow-lg);
  animation: floaty 5s ease-in-out infinite;
}
.float-chip .ico { color: var(--green-600); }
.chip-a { top: 7%; right: -12%; }
.chip-b { bottom: 12%; left: -14%; animation-delay: 2.2s; }
.chip-check { color: #2e9e5b !important; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.hero-curve {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 70px;
  background: var(--paper);
  clip-path: ellipse(75% 100% at 50% 100%);
}

/* ---------- Strip ---------- */
.strip { padding: 34px 0 10px; }
.strip-inner {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px;
}
.strip-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.9rem; font-weight: 700; color: var(--muted);
}
.strip-item .ico { color: var(--gold); }

/* ---------- Sections ---------- */
.section-head { text-align: center; max-width: 44rem; margin: 0 auto 64px; }
.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  letter-spacing: -0.025em; line-height: 1.12; font-weight: 800;
  color: var(--green-900);
}
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.08rem; }
.eyebrow {
  display: inline-block; margin-bottom: 12px;
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold);
}
.section-head.light h2 { color: var(--cream); }

/* ---------- Feature rows ---------- */
.features { padding: 90px 0 40px; }
.feature-row {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px;
  align-items: center; padding: 48px 0;
}
.feature-row.flip .feature-copy { order: 2; }
.feature-row.flip .feature-shot { order: 1; }

.feature-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-icon.sm { width: 46px; height: 46px; border-radius: 13px; margin-bottom: 16px; }
.feature-icon.sm svg { width: 23px; height: 23px; }
.icon-green { background: var(--green-100); color: var(--green-700); }
.icon-gold { background: var(--gold-soft); color: #96742a; }
.icon-flame { background: var(--flame-soft); color: var(--flame); }
.icon-heart { background: var(--heart-soft); color: var(--heart); }

.feature-copy h3 {
  font-size: 1.7rem; letter-spacing: -0.02em; font-weight: 800;
  color: var(--green-900); margin-bottom: 14px;
}
.feature-copy p { color: var(--muted); font-size: 1.05rem; margin-bottom: 20px; }
.feature-copy em { color: var(--green-700); font-weight: 600; }

.tag {
  display: inline-block; vertical-align: middle; margin-left: 10px;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: 999px; padding: 4px 12px;
}
.tag-flame { background: var(--flame-soft); color: var(--flame); }

.checklist { list-style: none; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; font-weight: 600; color: var(--ink); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 19px; height: 19px; border-radius: 50%;
  background: var(--green-100);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%232f5a3d' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round' d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 11px; background-position: center; background-repeat: no-repeat;
}

.feature-shot { display: flex; justify-content: center; }
.feature-shot img {
  max-width: 320px; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform .35s ease;
}
.tilt-l img { transform: rotate(-2.5deg); }
.tilt-r img { transform: rotate(2.5deg); }
.feature-shot img:hover { transform: rotate(0) scale(1.02); }

/* ---------- Trio cards ---------- */
.trio { padding: 80px 0; background: var(--cream); }
.trio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: var(--paper); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-md);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-shot { height: 300px; overflow: hidden; }
.card-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.card-body { padding: 26px 26px 30px; }
.card-body h3 { font-size: 1.25rem; letter-spacing: -0.015em; color: var(--green-900); margin-bottom: 8px; }
.card-body p { color: var(--muted); font-size: 0.97rem; }

/* ---------- Styles band ---------- */
.styles-band {
  background:
    radial-gradient(900px 400px at 15% 110%, rgba(201,162,75,0.14), transparent 60%),
    var(--green-800);
  padding: 90px 0; text-align: center;
}
.styles-band .section-head { margin-bottom: 40px; }
.style-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; max-width: 46rem; margin: 0 auto; }
.style-chip {
  background: rgba(245,241,232,0.09); border: 1px solid rgba(245,241,232,0.22);
  color: var(--cream); border-radius: 999px;
  padding: 11px 22px; font-weight: 700; font-size: 1rem;
  transition: background .2s, transform .2s;
  cursor: default;
}
.style-chip:hover { background: rgba(201,162,75,0.25); transform: translateY(-3px); }
.styles-note { margin-top: 28px; color: rgba(245,241,232,0.65); font-size: 0.95rem; }

/* ---------- How it works ---------- */
.how { padding: 96px 0; }
.steps {
  list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  counter-reset: step;
}
.step {
  position: relative; background: var(--cream);
  border-radius: var(--radius-md); padding: 34px 24px 28px;
  text-align: center;
}
.step-num {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--gold); color: var(--green-900);
  font-weight: 800; font-size: 0.95rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px -2px rgba(201,162,75,.55);
}
.step-icon {
  width: 52px; height: 52px; margin: 6px auto 16px;
  border-radius: 15px; background: var(--paper); color: var(--green-700);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
}
.step-icon svg { width: 26px; height: 26px; }
.step h3 { font-size: 1.08rem; color: var(--green-900); margin-bottom: 6px; }
.step p { font-size: 0.92rem; color: var(--muted); }

/* ---------- Audience ---------- */
.audience { padding: 10px 0 90px; }
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.aud-card {
  border: 1.5px solid rgba(22,41,29,0.1); border-radius: var(--radius-md);
  padding: 30px 28px;
  transition: border-color .2s, transform .2s;
}
.aud-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.aud-card h3 { font-size: 1.18rem; color: var(--green-900); margin-bottom: 6px; }
.aud-card p { color: var(--muted); font-size: 0.96rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(1000px 500px at 50% 130%, rgba(201,162,75,0.2), transparent 65%),
    linear-gradient(180deg, var(--green-800), var(--green-900));
  color: var(--cream); text-align: center;
  padding: 100px 0;
}
.cta-icon {
  width: 84px; height: 84px; border-radius: 20px;
  margin: 0 auto 28px; box-shadow: 0 16px 40px -10px rgba(0,0,0,.5);
}
.cta-band h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); letter-spacing: -0.025em; margin-bottom: 14px; }
.cta-band > .container > p { color: rgba(245,241,232,0.8); font-size: 1.1rem; }
.cta-inner p { margin-bottom: 34px; }
.fine-print { margin-top: 30px !important; margin-bottom: 0 !important; font-size: 0.8rem !important; color: rgba(245,241,232,0.45) !important; }

/* ---------- Footer ---------- */
.footer { background: var(--green-900); color: rgba(245,241,232,0.7); padding: 44px 0; }
.footer-inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.brand.light { color: var(--cream); }
.footer-links { display: flex; gap: 24px; margin-left: auto; }
.footer-links a { color: rgba(245,241,232,0.7); text-decoration: none; font-weight: 600; font-size: 0.92rem; }
.footer-links a:hover { color: var(--gold); }
.copyright { width: 100%; font-size: 0.82rem; color: rgba(245,241,232,0.4); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-chip { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 60px; padding-bottom: 110px; gap: 60px; }
  .hero-copy { text-align: center; }
  .hero-ctas, .hero-facts { justify-content: center; }
  .lede { margin-left: auto; margin-right: auto; }
  .feature-row { grid-template-columns: 1fr; gap: 40px; padding: 40px 0; }
  .feature-row.flip .feature-copy { order: 1; }
  .feature-row.flip .feature-shot { order: 2; }
  .trio-grid, .audience-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .chip-a { right: -4%; }
  .chip-b { left: -6%; }
}
@media (max-width: 620px) {
  .nav-links { display: none; }
  .steps { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .float-chip { font-size: 0.75rem; padding: 8px 12px; }
  .chip-a { right: 0; }
  .chip-b { left: 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-links { margin-left: 0; }
}

/* ---------- Subpages (privacy / terms / support) ---------- */
.subpage-hero {
  background: linear-gradient(170deg, var(--green-900) 0%, var(--green-800) 100%);
  color: var(--cream); text-align: center;
  padding: 72px 0 64px;
}
.subpage-hero h1 { font-size: clamp(2rem, 4vw, 2.9rem); letter-spacing: -0.025em; margin-bottom: 10px; }
.subpage-hero .doc-meta { color: rgba(245,241,232,0.65); font-size: 0.95rem; }
.doc { max-width: 780px; margin: 0 auto; padding: 64px 24px 96px; }
.doc h2 {
  font-size: 1.45rem; letter-spacing: -0.02em; color: var(--green-900);
  margin: 44px 0 14px; padding-top: 8px;
}
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 1.1rem; color: var(--green-800); margin: 26px 0 10px; }
.doc p { margin: 0 0 14px; color: #33413a; }
.doc ul, .doc ol { margin: 0 0 16px 22px; color: #33413a; }
.doc li { margin-bottom: 7px; }
.doc a { color: var(--green-700); font-weight: 600; }
.doc strong { color: var(--green-900); }
.doc .note {
  background: var(--cream); border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px; margin: 20px 0;
}
.doc table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 0.95rem; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid rgba(22,41,29,0.12); vertical-align: top; }
.doc th { color: var(--green-900); }

/* Support page */
.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin: 0 0 30px; }
.support-card {
  background: var(--cream); border-radius: var(--radius-md);
  padding: 26px 24px; text-align: center;
}
.support-card h3 { margin: 12px 0 6px; color: var(--green-900); }
.support-card p { font-size: 0.94rem; }
.support-card .feature-icon { margin: 0 auto; }
.faq details {
  border: 1.5px solid rgba(22,41,29,0.12); border-radius: var(--radius-sm);
  padding: 16px 20px; margin-bottom: 12px;
}
.faq details[open] { border-color: var(--gold); }
.faq summary { font-weight: 700; color: var(--green-900); cursor: pointer; }
.faq details p, .faq details ul { margin-top: 12px; margin-bottom: 4px; }
@media (max-width: 620px) { .support-grid { grid-template-columns: 1fr; } }
