:root {
  --bg: #F4F5EF;
  --bg-2: #ECEEE4;
  --surface: #FFFFFF;
  --ink: #163300;
  --ink-2: #2B5A0A;
  --muted: #4B5A44;
  --sage: #F1F4EC;
  --line: rgba(22, 51, 0, .12);
  --hivis: #E4FF1A;
  --on-hivis: #163300;
  --reflective: #C3C8CE;
  --peach: #FFC091;
  --glass: rgba(255, 255, 255, .66);
  --glass-edge: rgba(255, 255, 255, .9);
  --shadow: 0 30px 80px -30px rgba(22, 51, 0, .35);
  --deep: #163300;
  --on-deep: #EAF2DC;
  --on-deep-muted: #B9C9A6;
  --display: "Inter Tight", "SF Pro Display", -apple-system, system-ui, sans-serif;
  --text: Inter, "SF Pro Text", -apple-system, system-ui, sans-serif;
  --r-card: 26px;
  --r-sheet: 38px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B1206;
    --bg-2: #101A09;
    --surface: #141F0D;
    --ink: #EAF2DC;
    --ink-2: #D3E3BD;
    --muted: #A9B89A;
    --sage: #1B2A12;
    --line: rgba(234, 242, 220, .12);
    --glass: rgba(20, 31, 13, .62);
    --glass-edge: rgba(234, 242, 220, .14);
    --shadow: 0 30px 80px -30px rgba(0, 0, 0, .8);
    --deep: #16220E;
    --on-deep: #EAF2DC;
    --on-deep-muted: #A9B89A;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.num { font-variant-numeric: tabular-nums; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }

/* Glass (Liquid Glass-ish) */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  box-shadow: inset 0 0 0 1px var(--glass-edge), 0 10px 30px -10px rgba(0, 0, 0, .18);
}

/* Nav */
.nav-wrap { position: fixed; inset: 12px 0 auto; z-index: 50; padding: 0 var(--gutter); pointer-events: none; }
.nav {
  pointer-events: auto;
  max-width: 980px; margin: 0 auto; height: 60px; border-radius: 30px;
  display: flex; align-items: center; gap: 12px; padding: 0 8px 0 12px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 900; font-size: 21px; letter-spacing: -.04em; }
.brand img { border-radius: 9px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 14px; border-radius: 999px; color: var(--muted); }
.nav-links a:hover { color: var(--ink); background: var(--line); }
@media (max-width: 760px) { .nav-links { display: none; } .nav .btn { margin-left: auto; } }

/* Buttons */
.btn {
  -webkit-appearance: none; appearance: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 24px; border-radius: 999px;
  font: 700 16px/1 var(--text); text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:active { transform: scale(.97); }
.btn-sm { height: 44px; padding: 0 18px; font-size: 15px; }
.btn-big { height: 58px; font-size: 17px; font-weight: 800; }
.btn-hivis { background: var(--hivis); color: var(--on-hivis); box-shadow: inset 0 -5px 0 var(--reflective); }
.btn-hivis:hover { box-shadow: inset 0 -5px 0 var(--reflective), 0 10px 30px -8px rgba(228, 255, 26, .9); }
.btn-forest { background: #163300; color: #E4FF1A; }
.btn-forest:hover { background: #1F4500; }

/* Type */
.display {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(48px, 9.4vw, 132px); line-height: .9; letter-spacing: -.055em;
  margin: 0; text-wrap: balance;
}
.display-sm { font-family: var(--display); font-weight: 900; font-size: clamp(40px, 6vw, 76px); line-height: .92; letter-spacing: -.05em; margin: 0; text-wrap: balance; }
.h2 { font-family: var(--display); font-weight: 900; font-size: clamp(38px, 5.6vw, 72px); line-height: .95; letter-spacing: -.045em; margin: 0 0 20px; }
.h3 { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.02; letter-spacing: -.035em; margin: 0 0 12px; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.45; color: var(--muted); margin: 0; max-width: 40ch; text-wrap: pretty; }
.lede strong { color: var(--ink); }
.lede.narrow { max-width: 46ch; }
.kicker { font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: var(--muted); margin: 0 0 24px; padding: 8px 14px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #3FA34D; box-shadow: 0 0 0 4px rgba(63, 163, 77, .18); }
.money-mark {
  background: var(--hivis); color: var(--on-hivis); padding: 0 .12em; margin: 0 -.04em;
  border-radius: .14em; box-shadow: inset 0 -.09em 0 var(--reflective);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* Hero */
.hero { padding: 136px 0 40px; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 900px; z-index: -1;
  background:
    radial-gradient(600px 400px at 85% 10%, rgba(228, 255, 26, .28), transparent 70%),
    radial-gradient(500px 360px at 10% 40%, rgba(22, 51, 0, .07), transparent 70%);
}
.hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-copy .display { max-width: 11.5ch; }
.hero-copy .lede { margin: 28px auto 0; max-width: 42ch; }

.waitlist { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; width: 100%; max-width: 540px; }
.waitlist input[type="email"], .waitlist select {
  flex: 1 1 260px; min-width: 0; height: 52px; padding: 0 20px; border-radius: 999px;
  border: 0; background: var(--surface); color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line); font: 500 17px var(--text);
}
.waitlist input::placeholder { color: color-mix(in srgb, var(--muted) 70%, transparent); }
.waitlist input:focus, .waitlist select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
.form-note { flex-basis: 100%; margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.waitlist.is-done .form-note { color: var(--ink); font-weight: 700; font-size: 16px; }
.waitlist.is-error .form-note { color: #B3261E; font-weight: 600; }

/* Phones */
.phone {
  position: relative; margin: 0; aspect-ratio: 1206 / 2622; width: 300px;
  border-radius: 15.5% / 7.2%;
  background: linear-gradient(145deg, #5C6066, #2A2D31 30%, #1B1D20 60%, #4A4E54);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .18), var(--shadow);
}
.phone img { position: absolute; top: 1.56%; left: 3.4%; width: 93.2%; height: 96.88%; max-width: none; object-fit: cover; object-position: top; border-radius: 12.6% / 5.9%; background: #F2F2F7; }
.phone::after { content: ""; position: absolute; z-index: 2; top: 2.9%; left: 50%; translate: -50% 0; width: 30%; height: 3.6%; border-radius: 999px; background: #000; }

.hero-stage { position: relative; height: clamp(560px, 62vw, 760px); margin-top: 64px; display: flex; justify-content: center; }
.hero-stage .phone { position: absolute; top: 0; }
.phone-main { width: clamp(250px, 26vw, 330px); z-index: 3; left: 50%; translate: -50% 0; }
.phone-left, .phone-right { width: clamp(220px, 22vw, 290px); z-index: 2; top: 70px !important; }
.phone-left { left: calc(50% - clamp(250px, 26vw, 330px) * 1.18); rotate: -7deg; }
.phone-right { left: calc(50% + clamp(250px, 26vw, 330px) * .32); rotate: 7deg; }
.toast { position: absolute; z-index: 4; display: flex; gap: 12px; align-items: center; padding: 12px 18px 12px 12px; border-radius: 22px; font-size: 14px; line-height: 1.3; color: var(--ink); }
.toast b { font-weight: 700; }
.toast-icon { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #163300; color: #E4FF1A; font-weight: 900; flex-shrink: 0; }
.toast-icon-money { background: var(--hivis); color: var(--on-hivis); box-shadow: inset 0 -3px 0 var(--reflective); }
.toast-a { left: calc(50% - 470px); top: 30px; animation: floaty 6s ease-in-out infinite; }
.toast-b { left: calc(50% + 190px); top: 430px; animation: floaty 6s ease-in-out -3s infinite; }
@keyframes floaty { 50% { transform: translateY(-10px); } }
@media (max-width: 900px) {
  .phone-left, .phone-right { display: none; }
  .hero-stage { height: auto; }
  .hero-stage .phone { position: relative; }
  .phone-main { left: 0; translate: 0; width: min(300px, 74vw); }
  .toast { font-size: 13px; padding: 10px 14px 10px 10px; }
  .toast-a { left: 50%; translate: -50% 0; top: -28px; white-space: nowrap; }
  .toast-b { left: 50%; translate: -50% 0; top: auto; bottom: -24px; white-space: nowrap; }
  .hero-stage { padding-bottom: 32px; }
}
@media (prefers-reduced-motion: reduce) { .toast { animation: none; } }

/* Truth strip */
.truths { padding: 48px 0 24px; }
.truth-list { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.truth-list li { background: var(--surface); border-radius: 20px; padding: 18px 20px; font-size: 16px; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.truth-list b { display: block; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -.03em; }
@media (max-width: 860px) { .truth-list { grid-template-columns: 1fr 1fr; } }

/* How it works */
.how { padding: 120px 0 80px; }
.how-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; margin-top: 40px; }
.steps { list-style: none; margin: 0; padding: 0; }
.step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; opacity: .35; transition: opacity .4s ease; }
.step.is-active { opacity: 1; }
.step-n { font-family: var(--display); font-weight: 900; font-size: 18px; color: var(--muted); letter-spacing: -.02em; margin-bottom: 12px; }
.step h3 { font-family: var(--display); font-weight: 900; font-size: clamp(34px, 4.4vw, 58px); line-height: .95; letter-spacing: -.045em; margin: 0 0 18px; max-width: 13ch; }
.step p { font-size: 19px; color: var(--muted); margin: 0; max-width: 34ch; }
.phone-inline { display: none; }
.how-stage { position: relative; }
.phone-sticky { position: sticky; --pw: min(320px, 38vh); width: var(--pw); top: calc((100vh - var(--pw) * 2.174) / 2); margin: 0 auto; }
.phone-sticky img { opacity: 0; transform: scale(.98); transition: opacity .45s ease, transform .45s ease; }
.phone-sticky img.is-on { opacity: 1; transform: none; }
@media (max-width: 860px) {
  .how-grid { grid-template-columns: 1fr; }
  .how-stage { display: none; }
  .step { min-height: 0; opacity: 1; padding: 32px 0; }
  .phone-inline { display: block; width: min(280px, 70vw); margin: 32px auto 0; }
}

/* Demo */
.demo { padding: 100px 0; background: var(--bg-2); }
.demo-grid { display: grid; grid-template-columns: 1fr 420px; gap: 64px; align-items: center; }
.demo .lede { margin-top: 4px; }
.sheet { background: var(--surface); border-radius: var(--r-sheet); padding: 12px 24px 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.sheet-grab { align-self: center; width: 40px; height: 5px; border-radius: 3px; background: var(--line); }
.sheet-head { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 17px; }
.sheet-label { margin: 6px 0 0; font-size: 15px; font-weight: 600; color: var(--muted); }
.sheet-amount { margin: 0; font-family: var(--display); font-weight: 900; font-size: 72px; line-height: .95; letter-spacing: -.05em; }
.sheet-rows { margin: 0; background: var(--sage); border-radius: 20px; padding: 4px 16px; }
.sheet-rows div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.sheet-rows div:last-child { border: 0; font-weight: 700; }
.sheet-rows dt { color: var(--muted); }
.sheet-rows div:last-child dt { color: var(--ink); }
.sheet-rows dd { margin: 0; font-weight: 600; }
.sheet-foot { margin: 0; text-align: center; font-size: 14px; color: var(--muted); }
.sheet .btn-big { width: 100%; }
.chip { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.chip-approved { background: var(--sage); color: var(--ink); }
.chip-paid { background: var(--hivis); color: var(--on-hivis); }
.chip-soon { background: var(--hivis); color: var(--on-hivis); margin-bottom: 24px; }
.sheet.is-paid { animation: pop .5s cubic-bezier(.2, 1.4, .4, 1); }
.sheet.is-paid .sheet-amount { background: var(--hivis); color: var(--on-hivis); border-radius: 18px; padding: 6px 12px 10px; margin: 0 -12px; box-shadow: inset 0 -8px 0 var(--reflective); }
@keyframes pop { 40% { transform: scale(1.03); } }
@media (max-width: 900px) { .demo-grid { grid-template-columns: 1fr; gap: 40px; } .sheet { max-width: 440px; width: 100%; margin: 0 auto; } }

/* Gallery rail */
.gallery { padding: 120px 0 100px; }
.rail {
  display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 48px max(var(--gutter), calc((100vw - 1200px) / 2 + var(--gutter))) 48px;
  scroll-padding: 0 max(var(--gutter), calc((100vw - 1200px) / 2 + var(--gutter)));
}
.rail::-webkit-scrollbar { display: none; }
.rail-item { flex: 0 0 auto; width: 270px; margin: 0; scroll-snap-align: start; }
.rail-item .phone { width: 100%; }
.rail-item figcaption { margin-top: 22px; font-size: 15px; color: var(--muted); max-width: 30ch; }
.rail-item figcaption b { color: var(--ink); }

/* PayTo */
.payto { padding: 120px 0; background: var(--deep); color: var(--on-deep); border-radius: 48px; margin: 0 clamp(8px, 1.5vw, 20px); }
.payto .lede { color: var(--on-deep-muted); }
.payto-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.payto .fine { margin: 24px 0 0; font-size: 14px; color: var(--on-deep-muted); max-width: 44ch; }
.payto-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.payto-facts li { border-radius: var(--r-card); padding: 22px; background: color-mix(in srgb, var(--on-deep) 8%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--on-deep) 14%, transparent); }
.payto-facts b { display: block; font-family: var(--display); font-weight: 900; font-size: 26px; letter-spacing: -.03em; margin-bottom: 6px; }
.payto-facts span { font-size: 15px; color: var(--on-deep-muted); }
@media (prefers-color-scheme: dark) { .nav .btn-forest, .sheet .btn-forest { background: #EAF2DC; color: #163300; } .payto { box-shadow: inset 0 0 0 1px var(--line); } }
@media (max-width: 900px) { .payto-grid { grid-template-columns: 1fr; gap: 40px; } .payto { border-radius: 32px; padding: 80px 0; } }
@media (max-width: 480px) { .payto-facts { grid-template-columns: 1fr; } }

/* Surcharge ban */
.ban { padding: 100px 0; }
.ban-grid { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; max-width: 980px; }
.ban-date { font-family: var(--display); font-weight: 900; font-size: clamp(56px, 9vw, 110px); line-height: .85; letter-spacing: -.06em; display: flex; flex-direction: column; }
.ban-date span:last-child { color: var(--muted); }
.ban p { font-size: 19px; color: var(--muted); margin: 0; max-width: 46ch; }
@media (max-width: 700px) { .ban-grid { grid-template-columns: 1fr; gap: 24px; } }

/* FAQ */
.faq { padding: 80px 0 120px; }
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 48px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--surface); border-radius: 22px; box-shadow: inset 0 0 0 1px var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; font-weight: 700; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; translate: 0 -50%; width: 30px; height: 30px; border-radius: 50%; background: var(--sage); display: grid; place-items: center; font-weight: 600; transition: rotate .2s ease; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { margin: 0; padding: 0 22px 22px; color: var(--muted); }
@media (max-width: 800px) { .faq-grid { grid-template-columns: 1fr; gap: 24px; } }

/* Join */
.join { padding: 0 0 80px; }
.join-card {
  background: var(--hivis); color: #163300; border-radius: 48px; padding: clamp(32px, 5vw, 72px);
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; position: relative; overflow: hidden;
  box-shadow: inset 0 -18px 0 var(--reflective);
}
.join-copy p { font-size: 19px; margin: 18px 0 0; max-width: 36ch; }
.join-art { width: 100%; max-width: 520px; justify-self: center; filter: drop-shadow(0 30px 40px rgba(22, 51, 0, .25)); }
.waitlist-full { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 560px; margin-top: 32px; justify-content: stretch; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 700; }
.waitlist-full input[type="email"], .waitlist-full select {
  width: 100%; flex: none; background: rgba(255, 255, 255, .78); color: #163300;
  box-shadow: inset 0 0 0 1.5px rgba(22, 51, 0, .18);
}
.waitlist-full select { -webkit-appearance: none; appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23163300' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; }
.waitlist-full input:focus, .waitlist-full select:focus { box-shadow: inset 0 0 0 2px #163300; }
.waitlist-full .form-note { color: #2E4A12; }
.waitlist-full.is-done .form-note { color: #163300; }
@media (max-width: 860px) { .join-card { grid-template-columns: 1fr; border-radius: 32px; } .join-art { max-width: 300px; order: -1; } }
@media (max-width: 480px) { .waitlist-full { grid-template-columns: 1fr; } .waitlist .btn { width: 100%; } }

/* Footer */
.foot { padding: 32px 0 48px; }
.foot-row { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 14px; }
.foot-row p { margin: 0; }
.foot .brand { font-size: 18px; color: var(--ink); }

/* Scroll reveals (progressive) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal, .h2, .rail-item, .payto-facts li, .faq details, .truth-list li {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 60%;
    }
    .hero-stage .phone-main { animation: lift linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes lift { to { transform: translateY(-60px) scale(.96); } }
.payto .h2 { font-size: clamp(36px, 4.6vw, 62px); }

/* Details */
.details { padding: 40px 0 120px; }
.detail-grid { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.detail-grid li { background: var(--surface); border-radius: var(--r-card); padding: 24px; box-shadow: inset 0 0 0 1px var(--line); }
.detail-grid b { display: block; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 8px; }
.detail-grid span { color: var(--muted); font-size: 15px; }
.fine-dark { margin: 20px 0 0; font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .detail-grid { grid-template-columns: 1fr; } }
/* Customer pages are web renders without a status bar, so skip the island */
.phone:has(> img[src*="customer-"])::after { display: none; }
.phone:has(> img[src*="customer-"]) img { top: 3.4%; height: 93.1%; }
