/* ============================================================
   BFF — Landing styles
   ============================================================ */

/* ---------- TOKENS ---------- */
:root {
  --bg:          #EFEAE0;
  --bg-soft:     #F4EFE6;
  --surface:     #F8F4EC;
  --ink:         #1A1815;
  --ink-2:       #2C2A26;
  --muted:       #6B6760;
  --line:        #D9D2C3;
  --line-2:      #E5DECF;
  --green:       #1F3D2F;
  --green-2:     #2C523F;
  --sage:        #8B9A85;
  --terra:       #C8704D;
  --terra-soft:  #E8B89E;
  --amber:       #D4915A;
  --shadow:      0 1px 0 rgba(26,24,21,.04), 0 24px 48px -24px rgba(31,61,47,.18);
  --shadow-lg:   0 30px 80px -32px rgba(31,61,47,.35);

  --display: 'Fraunces', 'Times New Roman', serif;
  --sans:    'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono:    'Geist Mono', ui-monospace, 'SFMono-Regular', monospace;

  --maxw: 1240px;
  --pad:  clamp(20px, 4vw, 56px);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input { font: inherit; color: inherit; }
::selection { background: var(--green); color: var(--bg-soft); }

/* grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.10 0 0 0 0 0.09 0 0 0 0 0.08 0 0 0 .08 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- LAYOUT ---------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  position: relative;
  z-index: 2;
}

/* ---------- TYPOGRAPHY ---------- */
.display {
  font-family: var(--display);
  font-weight: 380;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 0;
  letter-spacing: -0.025em;
  line-height: 0.96;
  color: var(--ink);
}
.display em {
  font-style: italic;
  font-weight: 360;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--green);
}
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--muted);
}

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(239, 234, 224, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 16px;
}
.logo {
  font-family: var(--display);
  font-weight: 460;
  font-variation-settings: "opsz" 30, "SOFT" 100, "WONK" 0;
  font-size: 26px;
  letter-spacing: -0.04em;
  color: var(--green);
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.logo .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terra);
  display: inline-block;
  margin-bottom: 6px;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  color: var(--ink-2);
  transition: color .2s;
}
.nav-links a:hover { color: var(--green); }

/* segmented language switch */
.lang-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(26, 24, 21, 0.05);
  border-radius: 999px;
  padding: 3px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.lang-pill a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--muted);
  transition: color .2s ease, background-color .2s ease;
}
.lang-pill a.active {
  background: var(--ink);
  color: var(--bg-soft);
}
.lang-pill a:not(.active):hover { color: var(--ink); }

@media (max-width: 760px) {
  .nav-links a:not(.btn):not(.lang-pill):not(.lang-pill *) { display: none; }
  .nav-links { gap: 10px; }
  .nav-inner { padding: 14px 0; }
  .btn-primary { padding: 9px 14px; font-size: 13px; }
  .lang-pill { font-size: 10px; }
  .lang-pill a { min-width: 30px; padding: 5px 8px; }
  .logo { font-size: 22px; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: all .25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: var(--bg-soft);
}
.btn-primary:hover {
  background: var(--ink);
  transform: translateY(-1px);
}
.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink-2);
}
.btn-ghost:hover {
  border-color: var(--green);
  color: var(--green);
}
.btn .arr { transition: transform .25s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: clamp(60px, 10vw, 120px) 0 clamp(80px, 12vw, 140px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: end;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-headline {
  font-size: clamp(48px, 9vw, 124px);
  margin: 32px 0 0;
}
.hero-sub {
  margin-top: 36px;
  max-width: 480px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
}
.hero-tag {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-top: 28px;
}
.hero-tag span { color: var(--terra); }

.hero-cta {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.email-form {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 6px 6px 22px;
  width: 100%;
  max-width: 460px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.email-form:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(31,61,47,.08);
}
.email-form input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 15px;
  padding: 10px 0;
  min-width: 0;
}
.email-form input::placeholder { color: var(--muted); }
.email-form button {
  background: var(--green);
  color: var(--bg-soft);
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: background .2s;
  flex-shrink: 0;
}
.email-form button:hover { background: var(--ink); }

/* hero visual — phone mockup */
.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  max-width: 440px;
  justify-self: end;
  width: 100%;
}
@media (max-width: 900px) {
  .hero-visual { justify-self: start; max-width: 380px; margin-top: 20px; }
}

.blob {
  position: absolute;
  inset: -8% -10% 10% -8%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--terra-soft) 0%, transparent 65%);
  filter: blur(40px);
  opacity: .55;
  z-index: 0;
  animation: blobDrift 14s ease-in-out infinite alternate;
}
@keyframes blobDrift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-3%, -2%) scale(1.05); }
}

.phone {
  position: relative;
  background: var(--surface);
  border-radius: 36px;
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line-2);
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.phone-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-family: var(--mono);
  color: var(--muted);
  letter-spacing: 0.08em;
}
.phone-row .live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.phone-row .live::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(.85); }
}
.phone-greeting {
  font-family: var(--display);
  font-weight: 380;
  font-size: 22px;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin: 4px 0 4px;
}
.phone-greeting em {
  font-style: italic;
  color: var(--green);
  font-variation-settings: "opsz" 30, "SOFT" 80, "WONK" 1;
}

.card-bio {
  background: var(--bg-soft);
  border-radius: 18px;
  padding: 16px;
  border: 1px solid var(--line-2);
}
.card-bio-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}
.card-bio-head .name {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
.card-bio-head .stat {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--green);
  background: rgba(31,61,47,.08);
  padding: 3px 8px;
  border-radius: 4px;
}
.card-bio-head .stat.warn {
  color: var(--terra);
  background: rgba(200,112,77,.12);
}
.bio-bar {
  height: 6px;
  background: var(--line-2);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.bio-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--terra) 0%, var(--green) 80%);
  border-radius: 4px;
  transform-origin: left;
  animation: fillBar 1.4s cubic-bezier(.5,0,.1,1) .6s both;
}
.bio-bar-marker {
  position: absolute;
  top: -3px;
  width: 2px;
  height: 12px;
  background: var(--ink);
  opacity: .35;
}
.card-bio-foot {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}
.card-bio-foot strong { color: var(--ink); font-weight: 500; }

.pill-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pill {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pill .dot-c {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.pill .dot-c.terra { background: var(--terra); }
.pill .dot-c.sage  { background: var(--sage); }

.reminder {
  background: var(--green);
  color: var(--bg-soft);
  border-radius: 18px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}
.reminder-text { font-size: 13px; line-height: 1.4; }
.reminder-text small {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  opacity: .65;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.reminder-btn {
  background: var(--bg-soft);
  color: var(--green);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform .2s;
}
.reminder:hover .reminder-btn { transform: scale(1.08); }

@keyframes fillBar {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* hero entry animation */
.hero-headline, .hero-sub, .hero-tag, .hero-cta, .hero-visual {
  opacity: 0;
  transform: translateY(20px);
  animation: rise .9s cubic-bezier(.2,.6,.2,1) forwards;
}
.hero-headline { animation-delay: .15s; }
.hero-sub      { animation-delay: .35s; }
.hero-tag      { animation-delay: .45s; }
.hero-cta      { animation-delay: .55s; }
.hero-visual   { animation-delay: .25s; }

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

.hero-mark {
  position: absolute;
  top: 50px;
  right: var(--pad);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.18em;
  z-index: 2;
  text-align: right;
}
.hero-mark .line {
  width: 60px;
  height: 1px;
  background: var(--muted);
  margin-left: auto;
  margin-top: 8px;
  opacity: .5;
}
@media (max-width: 900px) { .hero-mark { display: none; } }

/* ---------- TICKER ---------- */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  overflow: hidden;
  background: var(--bg-soft);
}
.ticker-track {
  display: flex;
  gap: 56px;
  align-items: center;
  animation: scroll 40s linear infinite;
  width: max-content;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ticker-item { display: inline-flex; align-items: center; gap: 14px; }
.ticker-item .sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--terra);
}
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- SECTION CHROME ---------- */
section { padding: clamp(80px, 12vw, 140px) 0; position: relative; }
.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(32px, 6vw, 80px);
  margin-bottom: clamp(48px, 7vw, 88px);
  align-items: end;
}
@media (max-width: 760px) { .section-head { grid-template-columns: 1fr; } }
.section-title {
  font-size: clamp(36px, 5.5vw, 64px);
  margin: 16px 0 0;
}
.section-lead {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 520px;
}

/* ---------- PROBLEM ---------- */
.problem {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
@media (max-width: 760px) { .problem-grid { grid-template-columns: 1fr; } }
.problem-cell {
  background: var(--bg-soft);
  padding: 36px 32px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background-color .3s ease;
}
.problem-cell:hover { background: var(--surface); }
.problem-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--terra);
  letter-spacing: 0.16em;
}
.problem-cell h3 {
  font-family: var(--display);
  font-weight: 380;
  font-size: 26px;
  line-height: 1.15;
  margin: 18px 0 10px;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.problem-cell p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

/* ---------- HOW IT WORKS ---------- */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
@media (max-width: 860px) { .how-grid { grid-template-columns: 1fr; } }

.how-step {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 24px;
  padding: 36px 30px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 280px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.how-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.how-num {
  font-family: var(--display);
  font-weight: 350;
  font-size: 64px;
  line-height: 1;
  color: var(--terra);
  letter-spacing: -0.04em;
  font-variation-settings: "opsz" 144, "SOFT" 80, "WONK" 1;
  font-style: italic;
}
.how-step h3 {
  font-family: var(--display);
  font-weight: 380;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
}
.how-step p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}
.how-step .meta {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--green);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-top: 12px;
}

/* ---------- MODULES ---------- */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.module {
  grid-column: span 2;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 24px;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}
.module:hover {
  transform: translateY(-4px);
  border-color: var(--green);
  box-shadow: var(--shadow);
}
.module-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.14em;
}
.module-icon {
  width: 56px;
  height: 56px;
  margin: 24px 0 20px;
  color: var(--green);
}
.module h3 {
  font-family: var(--display);
  font-weight: 380;
  font-size: 24px;
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
  color: var(--ink);
}
.module p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}
.module .tag-en {
  margin-top: auto;
  padding-top: 24px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--terra);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.module:nth-child(1) { grid-column: span 3; }
.module:nth-child(2) { grid-column: span 3; }
.module:nth-child(3) { grid-column: span 2; }
.module:nth-child(4) { grid-column: span 2; }
.module:nth-child(5) { grid-column: span 2; }
.module:nth-child(6) { grid-column: span 6; min-height: 260px; }

.module-wide-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
}
@media (max-width: 760px) {
  .modules-grid { grid-template-columns: 1fr; }
  .module, .module:nth-child(n) { grid-column: span 1; }
  .module-wide-grid { grid-template-columns: 1fr; }
}
.family-illust {
  aspect-ratio: 16/10;
  background: var(--bg-soft);
  border-radius: 16px;
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  color: var(--green);
  padding: 24px;
}

/* ---------- WHY NOW ---------- */
.whynow {
  background: var(--green);
  color: var(--bg-soft);
  overflow: hidden;
  position: relative;
}
.whynow::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 40% at 80% 100%, rgba(200,112,77,.18) 0%, transparent 70%);
  pointer-events: none;
}
.whynow .eyebrow { color: var(--terra-soft); }
.whynow .eyebrow::before { background: var(--terra-soft); }
.whynow .section-title { color: var(--bg-soft); }
.whynow .section-title em { color: var(--terra-soft); }
.whynow .section-lead { color: rgba(244,239,230,.8); }

.trends {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(244,239,230,.15);
  border: 1px solid rgba(244,239,230,.15);
}
@media (max-width: 760px) { .trends { grid-template-columns: 1fr; } }
.trend {
  background: var(--green);
  padding: 36px 32px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background-color .3s ease;
}
.trend:hover { background: var(--green-2); }
.trend-num {
  font-family: var(--display);
  font-weight: 350;
  font-size: 56px;
  line-height: 1;
  color: var(--terra-soft);
  letter-spacing: -0.04em;
}
.trend h4 {
  font-family: var(--display);
  font-weight: 380;
  font-size: 22px;
  line-height: 1.2;
  margin: 0;
  color: var(--bg-soft);
  letter-spacing: -0.01em;
}
.trend p {
  margin: 0;
  color: rgba(244,239,230,.72);
  font-size: 14.5px;
  line-height: 1.55;
}

/* ---------- PRIVACY ---------- */
.privacy { border-top: 1px solid var(--line); }
.privacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 860px) { .privacy-grid { grid-template-columns: 1fr; } }
.privacy-statement {
  font-family: var(--display);
  font-weight: 360;
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.privacy-statement em {
  font-style: italic;
  color: var(--green);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.privacy-statement .strike {
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--terra);
  color: var(--muted);
}
.privacy-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 4px;
}
.privacy-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: start;
}
.privacy-list li:last-child { border-bottom: 0; }
.privacy-list .check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green);
  display: grid;
  place-items: center;
  color: var(--bg-soft);
  margin-top: 2px;
}
.privacy-list h5 {
  font-family: var(--display);
  font-weight: 420;
  font-size: 17px;
  margin: 0 0 4px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.privacy-list p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* ---------- PRICING ---------- */
.pricing {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 860px) { .price-grid { grid-template-columns: 1fr; } }
.plan {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 24px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease;
}
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.plan.featured {
  background: var(--green);
  color: var(--bg-soft);
  border-color: var(--green);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.plan.featured:hover { transform: translateY(-12px); }
@media (max-width: 860px) {
  .plan.featured { transform: none; }
  .plan.featured:hover { transform: translateY(-3px); }
}
.plan-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.plan.featured .plan-tag { color: var(--terra-soft); }
.plan-name {
  font-family: var(--display);
  font-weight: 380;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 8px 0 4px;
}
.plan-price .num {
  font-family: var(--display);
  font-weight: 350;
  font-size: 54px;
  line-height: 1;
  letter-spacing: -0.03em;
}
.plan-price .per {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.plan.featured .plan-price .per { color: rgba(244,239,230,.7); }
.plan-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 8px;
  display: grid;
  gap: 10px;
  font-size: 14.5px;
}
.plan-list li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--ink-2);
}
.plan.featured .plan-list li { color: rgba(244,239,230,.88); }
.plan-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  margin-top: 8px;
  margin-left: 5px;
}
.plan.featured .plan-list li::before { background: var(--terra-soft); }
.plan-cta {
  margin-top: auto;
  padding: 14px 20px;
  border-radius: 999px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--green);
  color: var(--green);
  transition: all .25s;
  background: transparent;
}
.plan-cta:hover { background: var(--green); color: var(--bg-soft); }
.plan.featured .plan-cta {
  background: var(--bg-soft);
  color: var(--green);
  border-color: var(--bg-soft);
}
.plan.featured .plan-cta:hover { background: var(--terra); color: var(--bg-soft); border-color: var(--terra); }

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--display);
  font-weight: 420;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--green); }
.faq-item .icon {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform .3s ease, background-color .25s, color .25s;
  color: var(--muted);
}
.faq-item[open] .icon {
  transform: rotate(45deg);
  background: var(--green);
  color: var(--bg-soft);
  border-color: var(--green);
}
.faq-item p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 60ch;
}

/* ---------- CTA ---------- */
.cta {
  text-align: center;
  padding: clamp(100px, 14vw, 160px) 0;
  position: relative;
}
.cta-headline {
  font-size: clamp(48px, 8vw, 96px);
  max-width: 14ch;
  margin: 24px auto 0;
}
.cta-sub {
  font-size: 17px;
  color: var(--ink-2);
  max-width: 520px;
  margin: 24px auto 36px;
}
.cta .email-form { margin: 0 auto; }
.cta-foot {
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
}

/* ---------- FOOTER ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 32px;
  background: var(--bg-soft);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot-brand p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  max-width: 280px;
  line-height: 1.55;
}
.foot-col h6 {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 18px;
  font-weight: 400;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-col a { font-size: 14px; color: var(--ink-2); transition: color .2s; }
.foot-col a:hover { color: var(--green); }
.foot-bot {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.foot-bot .made { display: inline-flex; align-items: center; gap: 8px; }
.foot-bot .made .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terra);
}

/* ---------- UTILITY ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.6,.2,1);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
