/* ============================================================
   Trà Nương · Lady in Tea — calm, minimal, art-forward
   ============================================================ */

@font-face {
  font-family: "NewYorker";
  src: url("assets/fonts/newyorker.ttf") format("truetype");
  font-weight: 400 700;
  font-display: swap;
}

@font-face { font-family:"MRCH NewYork"; src:url("assets/fonts/mrch-newyork.ttf") format("truetype"); font-weight:400 700; font-style:normal; font-display:swap; }

@font-face { font-family:"ACaslonPro"; src:url("assets/fonts/acaslonpro.ttf") format("truetype"); font-weight:400 700; font-style:normal; font-display:swap; }

@font-face { font-family:"Neutraface Text"; src:url("assets/fonts/svn-neutraface2.otf") format("opentype"); font-weight:300 700; font-style:normal; font-display:swap; }
@font-face { font-family:"Pacifico"; src:url("assets/fonts/pacifico.ttf") format("truetype"); font-display:swap; }

:root {
  /* palette */
  --cream:      #FDFDF9;
  --paper:      #FAFAF6;  /* matches illustration background */
  --mint-50:    #F6FAF6;
  --mint-100:   #EAF4EE;
  --green:      #5F8D6B;
  --green-deep: #2F4F37;
  --green-mid:  #5A7A61;
  --sage-soft:  #97C5A0;
  /* Living Coral (Pantone 16-1546) — the warm accent family */
  --coral:      #FF6F61;
  --coral-ink:  #DE4E3C;  /* deeper — CTA fills + accent text (AA on light) */
  --honey:      #F5E5B8;  /* secondary, honey-tea light */
  --honey-soft: #FBF4DE;
  --line:       #E7E7DA;
  --line-soft:  #EFEFE6;
  --muted:      #908F7C;

  /* the accent is tweakable */
  --accent:      var(--coral);
  --accent-ink:  var(--coral-ink);

  --font-serif: "ACaslonPro", "Libre Caslon Text", Georgia, serif;
  --font-display: "NewYorker", "Playfair Display", serif;
  --font-body:  "ACaslonPro", "Libre Caslon Text", Georgia, serif;
  --font-sans:  "ACaslonPro", "Libre Caslon Text", Georgia, serif;
  --font-hand:  "Pacifico", "Caveat", cursive;

  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--green-deep);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 18px;
  overflow-x: hidden;
}

::selection { background: var(--mint-100); color: var(--green-deep); }

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

/* visible keyboard focus (WCAG) — never removed, only refined */
:focus-visible {
  outline: 2.5px solid var(--green);
  outline-offset: 2px;
  border-radius: 4px;
}
.btn:focus-visible { outline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--green-deep);
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; }

/* ---------- layout primitives ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(22px, 5vw, 64px); }
.narrow { max-width: 760px; }
.mid { max-width: 940px; }

section { position: relative; }

.band { padding: clamp(72px, 11vh, 140px) 0; }
.band-tight { padding: clamp(56px, 8vh, 100px) 0; }
.bg-mint { background: var(--mint-50); }
.bg-mint-100 { background: var(--mint-100); }
.bg-paper { background: var(--paper); }

.hr {
  height: 1px; border: 0; background: var(--line-soft);
  max-width: var(--maxw); margin: 0 auto;
}

/* ---------- shared type helpers ---------- */
.eyebrow {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: var(--accent-ink);
  line-height: 1;
  display: inline-block;
}
.req { color: var(--coral-ink); font-weight: 700; }
.kicker {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
}
.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  font-weight: 300;
  color: var(--green-mid);
  line-height: 1.7;
}
.serif-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  color: var(--green-deep);
}
.dim { color: var(--green-mid); }
.center { text-align: center; }

.section-head { max-width: 680px; }
.section-head.center { margin: 0 auto; }
.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.12;
}
.section-head .lead { margin-top: 1.1rem; }
.section-head .kicker { display: block; margin-bottom: 1rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  font-family: "Neutraface Text", "Montserrat", sans-serif; font-weight: 500; font-size: 0.86rem;
  padding: 0.95em 1.7em; border-radius: 100px; border: 1px solid transparent;
  transition: transform .35s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease), color .3s var(--ease);
  letter-spacing: 0.06em; white-space: nowrap;
}
.btn:active { transform: scale(0.975); }
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 10px 26px -14px var(--accent-ink);
}
.btn-primary:hover { background: var(--accent-ink); box-shadow: 0 16px 34px -14px var(--accent-ink); }
.btn-ghost {
  background: transparent; color: var(--green); border-color: color-mix(in oklch, var(--green) 38%, transparent);
}
.btn-ghost:hover { background: var(--mint-50); border-color: var(--green); }
.btn-solid-green { background: var(--green); color: #fff; }
.btn-solid-green:hover { background: var(--green-deep); }
.btn-lg { padding: 1.1em 2.1em; font-size: 1.02rem; }
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
@media (max-width: 600px){ .btn { white-space: normal; text-align: center; line-height: 1.3; } }

/* ---------- illustration figures ---------- */
.figure-art {
  mix-blend-mode: multiply;
  width: 100%; height: auto;
  filter: saturate(1.02);
}

/* ---------- reveal on scroll (fail-safe: visible by default, only armed items hide) ---------- */
.reveal { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.armed { opacity: 0; transform: translateY(26px); }
.reveal.armed.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.armed { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =====================================================
   HEADER
   ===================================================== */
.topbar {
  background: var(--green-deep); color: #EAF4EE;
  text-align: center; font-family: var(--font-sans); font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 0.7em 1em; font-weight: 500;
}
.header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in oklch, var(--cream) 88%, transparent);
  backdrop-filter: blur(12px) saturate(1.1);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 1.05rem clamp(22px,5vw,64px); max-width: var(--maxw); margin: 0 auto; }
.brand { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.brand .mark { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.04em; color: var(--green-deep); font-weight: 500; }
.brand .sub { font-family: var(--font-hand); font-size: 1.28rem; color: var(--accent-ink); }
.brand-logo { height: 56px; width: auto; display: block; }
.brand-en { font-family: var(--font-display); font-size: 0.82rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent-ink); line-height: 1; padding-left: 0.3em; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 1rem; }
.footer-brand .brand-logo { height: 52px; }
.footer-brand .brand-en { color: #EAF4EE; }
.brand-tag { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); padding-left: 1rem; border-left: 1px solid var(--line); }
@media (max-width: 860px){ .brand-tag { display: none; } }

.nav { display: flex; align-items: center; gap: 1.25rem; }
.nav a.navlink {
  font-family: "Neutraface Text", "Montserrat", sans-serif; font-size: 0.76rem; letter-spacing: 0.04em; white-space: nowrap; color: var(--green-mid); font-weight: 500; min-height: 44px;
  display: inline-flex; align-items: center; transition: color .2s var(--ease); position: relative;
}
.nav a.navlink:hover { color: var(--green-deep); }
.nav a.navlink::after { content:""; position:absolute; left:0; right:100%; bottom:9px; height:1.5px; background: var(--accent); transition: right .3s var(--ease); }
.nav a.navlink:hover::after { right: 0; }
.hamburger {
  display: none; background: none; border: 0; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--green-deep);
}
.hamburger svg { width: 26px; height: 26px; }
.mobile-nav {
  position: fixed; inset: 0; z-index: 80; background: var(--cream);
  display: flex; flex-direction: column; padding: 1.5rem clamp(22px,6vw,40px);
  transform: translateY(-100%); transition: transform .45s var(--ease); visibility: hidden;
}
.mobile-nav.open { transform: translateY(0); visibility: visible; }
.mobile-nav .mn-top { display: flex; justify-content: space-between; align-items: center; }
.mobile-nav .mn-links { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 2.5rem; }
.mobile-nav .mn-links a {
  font-family: "Neutraface Text", "Montserrat", sans-serif; font-size: 1.15rem; letter-spacing: 0.04em; color: var(--green-deep); min-height: 56px;
  display: flex; align-items: center; border-bottom: 1px solid var(--line-soft);
}
.mobile-nav .mn-cta { margin-top: auto; padding-top: 2rem; }
.mobile-nav .mn-cta .btn { width: 100%; white-space: normal; text-align: center; line-height: 1.3; }
@media (max-width: 860px){
  .nav a.navlink, .header .nav > .btn { display: none; }
  .hamburger { display: inline-flex; }
}

/* =====================================================
   HERO
   ===================================================== */
.hero { padding-top: clamp(40px, 7vh, 88px); padding-bottom: clamp(40px, 7vh, 80px); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(24px, 5vw, 72px);
  align-items: center;
}
.hero[data-layout="left"] .hero-grid { grid-template-columns: 0.95fr 1.05fr; }
.hero[data-layout="left"] .hero-copy { order: 2; }
.hero[data-layout="left"] .hero-art { order: 1; }
.hero-copy { max-width: 580px; }
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  line-height: 1.04; font-weight: 400; letter-spacing: -0.02em;
  margin: 1.2rem 0 0;
}
.hero h1 .accent-word { color: var(--accent-ink); font-style: italic; }
.hero .lead { margin-top: 1.5rem; max-width: 30em; }
.hero-quote {
  margin-top: 2rem; padding-left: 1.25rem; border-left: 2px solid var(--sage-soft);
  font-family: var(--font-serif); font-style: italic; font-weight: 300;
  color: var(--green-mid); font-size: 1.02rem; line-height: 1.7; max-width: 34em;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }
.hero-meta { margin-top: 2rem; display: flex; align-items: center; gap: 0.6rem; font-size: 0.82rem; color: var(--muted); }
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); position: relative; }
.dot-live::after { content:""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--accent); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0%{ transform: scale(.6); opacity: .8 } 100%{ transform: scale(1.8); opacity: 0 } }

.hero-art { position: relative; }
.hero-art .figure-art { max-width: 560px; margin: 0 auto; }
.hero-slot {
  display: block; width: 100%; max-width: 460px; aspect-ratio: 4 / 5;
  margin: 0 auto; --slot-bg: var(--mint-50); border: 1px solid var(--line);
  box-shadow: 0 28px 60px -48px rgba(47,79,55,.5);
}
.hero-halo {
  position: absolute; inset: 6% 4% auto 4%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, var(--mint-100) 0%, transparent 68%);
  z-index: -1; filter: blur(8px);
}

/* drifting petals */
.petal { position: absolute; width: 16px; height: 16px; pointer-events: none; z-index: 1; opacity: .8; }
.petal svg { width: 100%; height: 100%; }
.petals-off .petal { display: none; }
@keyframes drift { 0%{ transform: translateY(-10px) rotate(0deg); opacity: 0 } 10%{opacity:.85} 90%{opacity:.7} 100%{ transform: translateY(72vh) rotate(180deg); opacity: 0 } }

@media (max-width: 880px){
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { max-width: 620px; margin: 0 auto; }
  .hero[data-layout="left"] .hero-copy { order: 2; }
  .hero[data-layout="left"] .hero-art { order: 1; }
  .hero-quote { border-left: 0; border-top: 2px solid var(--sage-soft); padding: 1rem 0 0; margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-meta { justify-content: center; }
  .hero-art .figure-art { max-width: 380px; }
}

/* =====================================================
   QUIZ
   ===================================================== */
.quiz-card {
  background: var(--cream); border: 1px solid var(--line);
  border-radius: 28px; padding: clamp(28px, 5vw, 56px);
  box-shadow: 0 28px 60px -48px rgba(47,79,55,.45);
}
.quiz-progress-row { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--green-mid); font-weight: 500; }
.quiz-progress-row .pct { color: var(--green); }
.quiz-track { height: 3px; background: var(--line); border-radius: 99px; overflow: hidden; margin: 0.8rem 0 1.8rem; }
.quiz-track > span { display: block; height: 100%; background: var(--green); border-radius: 99px; transition: width .5s var(--ease); }
.quiz-q { font-size: clamp(1.25rem, 2.6vw, 1.7rem); line-height: 1.28; margin-bottom: 1.5rem; }
.quiz-opts { display: grid; gap: 0.7rem; }
.quiz-opt {
  display: flex; gap: 1rem; align-items: flex-start; text-align: left;
  padding: 1.05rem 1.2rem; border: 1px solid var(--line); border-radius: 16px;
  background: var(--cream); color: var(--green-mid); font-size: 0.96rem; line-height: 1.55;
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease), color .25s var(--ease);
}
.quiz-opt:hover { border-color: var(--green); background: var(--mint-50); color: var(--green-deep); transform: translateX(3px); }
.quiz-opt .badge {
  flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%;
  background: var(--mint-50); border: 1px solid var(--line); color: var(--green);
  font-weight: 600; font-size: 0.85rem; display: grid; place-items: center; font-family: var(--font-serif);
}
.quiz-opt:hover .badge { background: var(--green); color: #fff; border-color: var(--green); }
.quiz-center { text-align: center; display: grid; gap: 1.4rem; place-items: center; padding: 1rem 0; }
.quiz-result-box { border: 1px solid; border-radius: 22px; padding: clamp(22px,4vw,38px); display: grid; gap: 1.2rem; }
.quiz-result-box .divider { border-top: 1px solid currentColor; opacity: .18; }
.quiz-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; padding-top: 0.5rem; }

/* result palettes */
.res-zen   { background:#EAF4EE; color:#2F4F37; border-color:#B7D8BE; }
.res-focus { background:#FBF6E6; color:#6E5326; border-color:#E1CB94; }
.res-warm  { background:#FBEDE9; color:#9A4232; border-color:#EBB6AB; }
.res-explore{background:#FBF1E5; color:#7A4E22; border-color:#E3C495; }
.res-tea { font-family: var(--font-serif); font-size: 1.05rem; display:flex; gap:.6rem; align-items:flex-start; }
.label-tiny { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; opacity: .8; }

/* =====================================================
   PROBLEM
   ===================================================== */
.problem-quote {
  font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.22; font-weight: 300;
}
.problem-quote em { font-style: italic; color: var(--green); }
.problem-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,56px); margin-top: 3rem; }
.problem-col { border-top: 1px solid var(--line); padding-top: 1.3rem; }
.problem-col p { color: var(--green-mid); font-weight: 300; }
.pull {
  margin-top: 3rem; font-family: var(--font-serif); font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem); color: var(--green-deep); line-height: 1.4; text-align:center; max-width: 22em; margin-left:auto; margin-right:auto;
}
@media (max-width: 720px){ .problem-cols { grid-template-columns: 1fr; gap: 1.5rem; } }

/* =====================================================
   METHOD axes
   ===================================================== */
.axes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; margin-top: 3rem; }
.axis { background: var(--cream); padding: 1.8rem 1.5rem; display: grid; gap: 0.8rem; align-content: start; transition: background .3s var(--ease); }
.axis:hover { background: var(--mint-50); }
.axis .ico { color: var(--green); height: 40px; display: flex; align-items: center; }
.axis h3 { font-size: 1.3rem; line-height: 1.2; }
.axis p { font-size: 0.92rem; color: var(--green-mid); font-weight: 300; line-height: 1.55; text-wrap: pretty; }
.axis .num { font-family: var(--font-hand); font-size: 1.3rem; color: var(--accent-ink); }

/* synthesis tile — the culmination of the seven observations */
.axis-synth { background: var(--green); }
.axis-synth:hover { background: var(--green-deep); }
.axis-synth .num { color: rgba(255,255,255,.65); font-size: 1.5rem; }
.axis-synth .ico { color: #fff; }
.axis-synth h3 { color: #fff; }
.axis-synth p { color: rgba(255,255,255,.84); }

@media (max-width: 900px){ .axes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px){ .axes { grid-template-columns: 1fr; } }

/* =====================================================
   RECEIVE
   ===================================================== */
.receive-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(30px,5vw,72px); align-items: center; }
.receive-list { display: grid; gap: 1.4rem; }
.receive-item { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line-soft); }
.receive-item:last-child { border-bottom: 0; }
.receive-item .ico { color: var(--green); margin-top: 3px; }
.receive-item h3 { font-size: 1.25rem; margin-bottom: 0.3rem; }
.receive-item p { font-size: 0.92rem; color: var(--green-mid); font-weight: 300; }
.receive-art { position: relative; }
.receive-art .figure-art { max-width: 420px; margin: 0 auto; }
.receive-cap { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.05em; color: var(--accent-ink); text-align: center; margin-top: -0.5rem; }
@media (max-width: 860px){ .receive-grid { grid-template-columns: 1fr; } .receive-art { order: -1; } .receive-art .figure-art{ max-width: 300px; } }

/* ---- About Linh ---- */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px,5vw,72px); align-items: center; }
.about-art { position: relative; }
.about-art .figure-art { max-width: 400px; margin: 0 auto; }
.about-copy { max-width: 36em; }
.about-quote {
  margin: 1.8rem 0 0; padding: 0 0 0 1.3rem; border-left: 2px solid var(--accent);
  font-family: var(--font-serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem); line-height: 1.5; color: var(--green-deep);
}
.about-sign-block { display: flex; align-items: baseline; gap: 0.9rem; margin-top: 1.5rem; flex-wrap: wrap; }
.about-sign { font-family: var(--font-hand); font-size: 1.9rem; color: var(--accent-ink); line-height: 1; }
.about-role { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
@media (max-width: 820px){
  .about-grid { grid-template-columns: 1fr; text-align: left; }
  .about-art { order: -1; }
  .about-art .figure-art { max-width: 280px; margin: 0; }
}

/* =====================================================
   JOURNEY timeline
   ===================================================== */
.timeline { position: relative; margin-top: 3.5rem; padding-left: 2.4rem; }
.timeline::before { content:""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: repeating-linear-gradient(var(--sage-soft) 0 6px, transparent 6px 12px); }
.tl-item { position: relative; padding-bottom: 2.6rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-node {
  position: absolute; left: calc(-2.4rem + -1px); top: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--cream); border: 2px solid var(--green); display: grid; place-items: center;
  font-size: 0.62rem; color: var(--green); font-weight: 700; transition: background .3s var(--ease), color .3s var(--ease);
}
.tl-item:hover .tl-node { background: var(--green); color: #fff; }
.tl-head { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.4rem; }
.tl-head .ico { color: var(--green); }
.tl-day { font-family: var(--font-hand); font-size: 1.35rem; color: var(--accent-ink); line-height: 1; }
.tl-item h3 { font-size: 1.3rem; margin-bottom: 0.35rem; }
.tl-item p { color: var(--green-mid); font-weight: 300; font-size: 0.96rem; max-width: 44em; }

/* =====================================================
   PRICING
   ===================================================== */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 3.5rem; align-items: stretch; }
.price-card {
  background: var(--cream); border: 1px solid var(--line); border-radius: 24px;
  padding: clamp(24px,3vw,38px); display: flex; flex-direction: column; gap: 1.4rem;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.price-card:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -44px rgba(47,79,55,.45); }
.price-card.feature { border: 1.5px solid var(--green); background: var(--mint-50); position: relative; }
.price-card.feature .ribbon {
  position: absolute; top: -1px; right: -1px; background: var(--green); color: #fff;
  font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
  padding: 0.5em 1em; border-radius: 0 24px 0 16px;
}
.price-card .tier { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--green-mid); font-weight: 600; }
.price-card.feature .tier { color: var(--green); }
.pc-head { display: grid; gap: 0.35rem; }
.price-card h3 { font-size: 1.5rem; line-height: 1.2; min-height: 2.4em; display: flex; align-items: flex-end; }
.price-card .blurb { font-size: 0.86rem; color: var(--green-mid); font-weight: 300; line-height: 1.55; min-height: 4.7em; }
.price-card .price { display: flex; align-items: baseline; gap: 0.6rem; padding: 1.1rem 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.price-card .price .amt { font-family: var(--font-serif); font-size: 2rem; color: var(--green-deep); }
.price-card.feature .price .amt { color: var(--green); }
.price-card .price .was { font-size: 0.8rem; color: var(--green-mid); opacity: .6; text-decoration: line-through; }
.price-card .price .note { font-size: 0.72rem; color: var(--green-mid); opacity: .75; }
.price-feats { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; flex: 1; }
.price-feats li { display: flex; gap: 0.6rem; font-size: 0.86rem; color: var(--green-mid); align-items: flex-start; }
.price-feats .chk { color: var(--green); flex: 0 0 auto; margin-top: 2px; }
.price-feats li.strong { color: var(--green-deep); font-weight: 500; }
.price-feats li.warn { color: var(--accent-ink); font-weight: 500; }
.price-thumb { height: 188px; border-radius: 16px; overflow: hidden; display: grid; place-items: center; margin-bottom: 0.2rem; }
.price-thumb img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.price-thumb-empty { background: radial-gradient(120% 120% at 50% 30%, var(--mint-50) 0%, transparent 70%); color: var(--green); }
.price-thumb-empty svg { opacity: 0.32; }
@media (max-width: 920px){
  .price-grid { grid-template-columns: 1fr; max-width: 520px; margin-left:auto; margin-right:auto; }
  .price-card.feature{ transform:none; }
  .price-card h3 { min-height: 0; }
  .price-card .blurb { min-height: 0; }
  .price-thumb { height: 300px; }
  .price-thumb img { max-width: 86%; }
  .price-thumb-empty svg { width: 88px; height: 88px; }
}

/* =====================================================
   BETA NOTE / panels
   ===================================================== */
.panel { background: var(--cream); border: 1px solid var(--line); border-radius: 24px; padding: clamp(28px,4vw,52px); }
.panel p { font-size: 1.05rem; line-height: 1.72; }
.panel p + p { margin-top: 1.2rem; }
.panel .serif-quote { font-size: 1.05rem; line-height: 1.72; font-style: normal; margin-top: 1.5rem; padding-top: 1.4rem; border-top: 1px solid var(--line-soft); }

/* who-for */
.whofor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.whofor { border: 1px solid var(--line); border-radius: 24px; padding: clamp(26px,3.5vw,42px); background: var(--cream); }
.whofor h3 { font-size: 1.35rem; display: flex; gap: 0.6rem; align-items: center; margin-bottom: 1.5rem; }
.whofor.yes h3 { color: var(--green); }
.whofor.no h3 { color: var(--accent-ink); }
.whofor ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.whofor li { display: flex; gap: 0.7rem; font-size: 0.95rem; color: var(--green-mid); font-weight: 300; line-height: 1.55; }
.whofor li .m { flex: 0 0 auto; margin-top: 1px; }
.whofor.yes li .m { color: var(--green); }
.whofor.no li .m { color: var(--accent-ink); }
@media (max-width: 760px){ .whofor-grid { grid-template-columns: 1fr; } }

/* =====================================================
   FORM
   ===================================================== */
.form-shell { border: 1px solid var(--line); border-radius: 28px; padding: clamp(28px,5vw,56px); background: var(--cream); display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.6rem; }
.form-step { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.3rem; }
.form-step > h3 { font-size: 1.2rem; color: var(--green); display: flex; align-items: center; gap: 0.7rem; border-bottom: 1px solid var(--line-soft); padding-bottom: 0.8rem; }
.step-num { width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #fff; font-family: var(--font-sans); font-size: 0.8rem; font-weight: 600; display: grid; place-items: center; }
.field { display: grid; gap: 0.45rem; }
.field label { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--green-mid); }
.field input, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--green-deep);
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0.8em 1em;
  width: 100%; transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--mint-100); }
.field textarea { min-height: 110px; resize: vertical; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 640px){ .grid-2 { grid-template-columns: 1fr; } }

.choice-grid { display: grid; gap: 0.7rem; }
.choice-grid.cols-3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
.choice-grid.cols-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
@media (max-width: 640px){ .choice-grid.cols-3, .choice-grid.cols-2 { grid-template-columns: 1fr; } }
.choice {
  display: flex; align-items: center; gap: 0.7rem; border: 1px solid var(--line); border-radius: 13px;
  padding: 0.85em 1em; background: #fff; font-size: 0.86rem; color: var(--green-mid);
  transition: border-color .2s var(--ease), background .2s var(--ease); cursor: pointer; line-height: 1.35;
}
.choice:hover { background: var(--mint-50); }
.choice.sel { border-color: var(--green); background: var(--mint-50); color: var(--green-deep); }
.choice .box { width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--line); flex: 0 0 auto; display: grid; place-items: center; transition: all .2s var(--ease); }
.choice .box.radio { border-radius: 50%; }
.choice.sel .box { background: var(--green); border-color: var(--green); color: #fff; }

.pkg-pick { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0.9rem; }
@media (max-width: 640px){ .pkg-pick { grid-template-columns: 1fr; } }
.pkg-opt {
  position: relative; border: 1px solid var(--line); border-radius: 16px; padding: 1.3em 1em; background: #fff;
  display: grid; gap: 0.4rem; text-align: center; cursor: pointer; transition: border-color .25s var(--ease), background .25s var(--ease);
}
.pkg-opt:hover { background: var(--mint-50); }
.pkg-opt.sel { border-color: var(--green); background: var(--mint-50); }
.pkg-opt .pk-tier { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--green); }
.pkg-opt .pk-price { font-family: var(--font-serif); font-size: 1.25rem; color: var(--green-deep); }
.pkg-opt .pk-was { font-family: var(--font-serif); font-size: 0.82rem; color: var(--green-mid); opacity: .6; text-decoration: line-through; margin-left: 0.4em; }
.pkg-opt .pk-desc { font-size: 0.72rem; color: var(--green-mid); line-height: 1.4; font-weight: 300; }
.pkg-opt .pk-flag { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--green); color: #fff; font-size: 0.62rem; font-weight: 600; padding: 0.3em 0.8em; border-radius: 99px; white-space: nowrap; letter-spacing: 0.05em; }

.terms { display: flex; gap: 0.8rem; align-items: flex-start; min-width: 0; }
.form-shell .btn { white-space: normal; text-align: center; line-height: 1.3; }
.terms .box { margin-top: 2px; }
.terms label { font-size: 0.84rem; color: var(--green-mid); font-weight: 300; line-height: 1.55; cursor: pointer; }
.notice { background: var(--mint-50); border: 1px solid color-mix(in oklch, var(--sage-soft) 50%, transparent); border-radius: 16px; padding: 1.1rem 1.3rem; font-size: 0.82rem; color: var(--green-mid); display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; display: grid; gap: 0.5rem; }
.notice .t { color: var(--green-deep); font-weight: 600; display: flex; gap: 0.4rem; align-items: center; }
.premium-q { border: 1px solid color-mix(in oklch, var(--accent) 35%, transparent); background: color-mix(in oklch, var(--accent) 6%, var(--cream)); border-radius: 18px; padding: 1.5rem; display: grid; gap: 1.2rem; }
.premium-q h4 { font-size: 1.05rem; display:flex; gap:.5rem; align-items:center; color: var(--green-deep); }

.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px);
  background: var(--green-deep); color: #fff; padding: 0.9em 1.4em; border-radius: 14px; font-size: 0.9rem;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.4); z-index: 200; opacity: 0; transition: all .4s var(--ease); max-width: 90vw; text-align:center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.err { background: var(--coral-ink); }

/* QR result */
.qr-box { margin-top: 0.5rem; border: 1.5px solid var(--green); background: var(--mint-50); border-radius: 22px; padding: clamp(22px,4vw,40px); display: grid; gap: 1.6rem; }
.qr-grid { display: grid; grid-template-columns: auto 1fr; gap: 1.8rem; align-items: center; }
@media (max-width: 640px){ .qr-grid { grid-template-columns: 1fr; } }
.qr-img { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0.9rem; display: grid; place-items: center; }
.qr-img img { width: 190px; max-width: 100%; aspect-ratio: 1; }
.qr-rows { display: grid; gap: 0; font-size: 0.88rem; }
.qr-row { display: grid; grid-template-columns: 9rem 1fr; gap: 0.8rem; padding: 0.6rem 0; border-bottom: 1px solid color-mix(in oklch, var(--sage-soft) 40%, transparent); }
.qr-row .k { color: var(--green-mid); font-weight: 500; }
.qr-row .v { color: var(--green-deep); }
.qr-row .v.mono { font-family: ui-monospace, monospace; font-weight: 600; }
.qr-row .v.amt { font-family: var(--font-serif); color: var(--accent-ink); font-size: 1.05rem; }
.tag-ok { display: inline-flex; gap: 0.4rem; align-items: center; background: var(--mint-100); color: var(--green); border-radius: 99px; padding: 0.35em 0.9em; font-size: 0.74rem; font-weight: 600; }

/* =====================================================
   FAQ
   ===================================================== */
.faq-list { margin-top: 2.6rem; display: grid; gap: 0.9rem; }
.faq-item { border: 1px solid var(--line); border-radius: 18px; background: var(--cream); overflow: hidden; transition: background .3s var(--ease); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 1.3rem 1.5rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center; font-family: var(--font-serif); font-size: 1.12rem; color: var(--green-deep); }
.faq-q .ic { flex: 0 0 auto; color: var(--green); transition: transform .35s var(--ease); }
.faq-item.open .faq-q .ic { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq-a-inner { padding: 0 1.5rem 1.4rem; color: var(--green-mid); font-weight: 300; font-size: 0.95rem; line-height: 1.65; }

/* =====================================================
   FOOTER
   ===================================================== */
.footer { background: var(--green-deep); color: #BFD9C5; padding: clamp(64px,9vh,110px) 0 3rem; }
.footer .center-block { max-width: 680px; margin: 0 auto; text-align: center; display: grid; gap: 1.5rem; }
.footer .closing { font-family: var(--font-serif); font-style: italic; font-weight: 300; font-size: clamp(1.3rem,2.6vw,1.85rem); color: #CFE6D4; line-height: 1.5; }
.footer .sub { color: #9DC0A4; font-weight: 300; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; margin-top: 4.5rem; padding-top: 3rem; border-top: 1px solid rgba(151,197,160,.18); font-size: 0.84rem; color: #9DC0A4; font-weight: 300; }
.footer-cols h4 { color: #EAF4EE; font-size: 0.95rem; margin-bottom: 0.9rem; }
.footer-cols .mark { font-family: var(--font-display); letter-spacing: 0.04em; font-size: 1.4rem; color: #EAF4EE; display: block; margin-bottom: 0.8rem; }
.footer-cols p { line-height: 1.7; margin-bottom: 0.4rem; }
.footer .copy { font-size: 0.72rem; color: rgba(151,197,160,.55); margin-top: 1rem; }
@media (max-width: 760px){ .footer-cols { grid-template-columns: 1fr; gap: 2rem; text-align: center; } }

/* anchor offset for sticky header */
[id] { scroll-margin-top: 90px; }
