/* ==========================================================================
   MOWR marketing site — Swiss / International Typographic Style
   Ink on paper, one signal green, hairline rules (no shadows), 5px radius.
   Tokens mirror the app's AppColors; change them here only.
   ========================================================================== */

:root {
  /* Palette copied from the sister site (localhost:8899): warm charcoal + a
     lime-green spectrum. Dark only. */
  --paper:        #0f0f0c;
  --surface:      #17170f;
  --raise:        #1c1c15;
  --ink:          #f3f2ec;
  --body:         #a9a89e;
  --graphite:     #74736a;
  --hairline:     #2a2a23;
  --hairline-2:   #23231d;
  --neutral-fill: #1f1f17;
  --raise-2:      #2c2920;   /* a clearly lighter step for band separation */
  --ash:          #33322b;   /* warm dark grey — the How-it-works band */
  --green:        #ddf7a8;   /* pale lime — primary fill / buttons */
  --green-dark:   #a3e635;   /* bright lime — links, hover, text accents */
  --green-pale:   #1f2a12;   /* dark lime-tinted fill (tiles, pills) */
  --green-bright: #a3e635;   /* eyebrow / accent-deep */
  --on-green:     #0c0c0a;   /* near-black text on lime */

  /* The one lighter "accent" band — live-swappable via the preview toggle. */
  --accent-band:  color-mix(in oklab, var(--green) 12%, var(--paper));
  --warning:      #e0b15a;
  --warning-pale: #241d10;
  --warning-ink:  #ecc888;
  --error:        #e0615a;
  --error-pale:   #241413;

  --radius:      10px;
  --radius-lg:   16px;
  --maxw:        1200px;
  --gutter:      clamp(20px, 5vw, 48px);
  --gap:         clamp(72px, 9vw, 132px);

  /* Wordmark + icon are dark ink on transparent — invert to read on dark. */
  --brand-filter: invert(1) brightness(1.72) contrast(1.03);

  --font: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: dark;
}

/* Bookend/feature sections (nav, hero, recurring, CTA, footer). With a
   dark-only palette these sit on the base paper tone; the class stays as the
   hook for the hero glow, the device treatment, and the dark-band rule so
   inner cards lift on --surface. */
.dark-surface { background: var(--paper); color: var(--body); }

/* A genuinely LIGHT section on the dark page — tokens flip locally (from the
   sister site's light palette) so every child adapts. Green accent becomes the
   olive accent-deep for contrast on light. */
.light-surface {
  --paper:        #f5f5f3;
  --surface:      #ffffff;
  --raise:        #fbfbf9;
  --raise-2:      #f1f1ee;
  --ink:          #111110;
  --body:         #5f5f5b;
  --graphite:     #8a8a83;
  --hairline:     #e5e5e2;
  --hairline-2:   #efefec;
  --neutral-fill: #eeeeeb;
  --green:        #ddf7a8;
  --green-dark:   #4d7c0f;
  --green-pale:   #eef7dd;
  --green-bright: #4d7c0f;
  --on-green:     #16240a;
  --accent-band:  #eef7dd;
  --brand-filter: none;
  background: var(--paper);
  color: var(--body);
}

/* --------------------------------------------------------------------------
   Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--body);
  line-height: 1.6;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, .display, .h1, .h2, .h3 { color: var(--ink); }

img { max-width: 100%; display: block; }
a { color: var(--green-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 2px; }

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--gap); }
.section--tight { padding-block: clamp(44px, 6vw, 76px); }
.rule { border: 0; border-top: 1px solid var(--hairline); }
.stack > * + * { margin-top: 1rem; }
.ticks { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.ticks li { position: relative; padding-left: 26px; color: var(--body); font-size: 1rem; line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--green-pale); }
.ticks li::after { content: "✓"; position: absolute; left: 3px; top: 2px; font-size: .72rem; font-weight: 800; color: var(--green-dark); }
.center { text-align: center; }

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */
.eyebrow {
  font-family: var(--mono);
  font-size: .74rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--green-bright);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px; background: currentColor;
  display: inline-block; opacity: .7;
}
.eyebrow--plain::before { display: none; }
.display {
  font-size: clamp(2.9rem, 7vw, 5.4rem); font-weight: 800;
  line-height: 0.98; letter-spacing: -0.035em; text-transform: uppercase;
}
h1, .h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; line-height: 1.0; letter-spacing: -0.03em; }
h2, .h2 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; }
h3, .h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.25; letter-spacing: -0.02em; }
.lead { font-size: clamp(1.08rem, 1.7vw, 1.35rem); color: var(--body); font-weight: 400; line-height: 1.5; }
.support { font-size: .82rem; color: var(--graphite); }
.muted { color: var(--graphite); }
.measure { max-width: 62ch; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: inherit; font-size: .95rem; font-weight: 700; line-height: 1;
  padding: 16px 26px; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
  text-decoration: none; will-change: transform;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--green); color: var(--on-green); }
.btn-primary:hover { background: var(--green-dark); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--hairline); }
.btn-secondary:hover { border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--green-dark); padding-inline: 4px; }
.btn-ghost:hover { text-decoration: underline; }
.btn-block { width: 100%; }
.btn-sm { padding: 11px 16px; font-size: .9rem; }

/* --------------------------------------------------------------------------
   Nav
   -------------------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.1) blur(8px);
  border-bottom: 1px solid var(--hairline);
}
.nav__inner { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { height: 22px; width: auto; filter: var(--brand-filter); }
.nav__links { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav__links a:not(.btn) { color: var(--ink); font-size: .82rem; font-weight: 600; }
.nav__links a:not(.btn):hover { color: var(--green-dark); text-decoration: none; }
.nav__actions { display: none; align-items: center; gap: 12px; }  /* desktop: no burger, so links sit flush right */
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid var(--hairline); border-radius: var(--radius);
  background: transparent; color: var(--ink); cursor: pointer;
}
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; }
.nav__burger { display: none; }

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__actions { display: flex; margin-left: auto; }   /* burger to the far right on mobile */
  .nav__burger { display: inline-grid; }
  .nav[data-open="true"] .nav__links {
    display: flex; position: absolute; inset: 64px 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: var(--surface); border-bottom: 1px solid var(--hairline);
    padding: 12px var(--gutter) 20px;
  }
  .nav[data-open="true"] .nav__links a { padding: 10px 0; width: 100%; }
  .nav[data-open="true"] .nav__links .btn { width: 100%; margin-top: 6px; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { padding-block: clamp(64px, 12vw, 128px) clamp(48px, 8vw, 88px); }
.hero .eyebrow { margin-bottom: 20px; }
.hero .display { max-width: 15ch; }
.hero .lead { margin-top: 22px; max-width: 46ch; }
.hero-strap { margin-top: 20px; font-size: clamp(1.15rem, 1.7vw, 1.5rem); font-weight: 700; letter-spacing: -0.01em; color: var(--green-dark); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero__mark { margin-top: 40px; }
.hero__mark img { height: 30px; width: auto; filter: var(--brand-filter); opacity: .9; }

/* Dark hero: soft green glow behind the device for depth. */
.hero.dark-surface { position: relative; overflow: hidden; }
.hero.dark-surface::before {
  content: ""; position: absolute; z-index: 0; right: -8%; top: 8%;
  width: 60%; height: 90%;
  background: radial-gradient(60% 55% at 60% 40%, color-mix(in oklab, var(--green) 45%, transparent) 0%, transparent 70%);
  filter: blur(20px); opacity: .5; pointer-events: none;
}
.hero.dark-surface .wrap { position: relative; z-index: 1; }
.dark-surface .device {
  border-color: rgba(255,255,255,.10);
  box-shadow: 0 40px 90px -40px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.04);
}

/* Payment-trust strip */
.paystrip { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 26px; }
.paystrip__label { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--graphite); }
.paymarks { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.paymark {
  height: 30px; padding: 0 12px; display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--hairline); border-radius: var(--radius);
  font-family: var(--mono); font-size: .72rem; color: var(--body); background: var(--surface);
}
.paymark svg { width: 16px; height: 16px; color: var(--green); }

/* --------------------------------------------------------------------------
   App-screen mockups (in-section "screen grabs")
   -------------------------------------------------------------------------- */
.appshot { display: flex; justify-content: center; }
.appshot .device--sm { width: min(266px, 74vw); aspect-ratio: 266 / 540; }
/* Keep the mock screen light regardless of the section's tokens. */
.scr { background: #ffffff; color: #14140f; font-family: var(--font); }
.scr .dvc-status { color: #9a9a90; }
.scr__bar { padding: 13px 15px 11px; font-weight: 700; font-size: .92rem; color: #14140f; border-bottom: 1px solid #ececea; display: flex; align-items: center; gap: 8px; }
.scr__bar .back { color: #b3b2ab; font-size: 1.1rem; line-height: 1; }
.scr__body { padding: 14px 15px; display: flex; flex-direction: column; gap: 9px; overflow: hidden; }
.scr__eyebrow { font-family: var(--mono); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; color: #4d7c0f; }
.opt { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border: 1px solid #e5e5e2; border-radius: 10px; font-size: .8rem; font-weight: 600; color: #2a2a27; }
.opt--on { border-color: #4d7c0f; background: #f1f8e4; color: #2f4d09; }
.opt .tick { width: 15px; height: 15px; color: #4d7c0f; }
.scr .lbl { font-size: .68rem; color: #6b6b66; margin-top: 4px; font-weight: 600; }
.daychips { display: flex; gap: 5px; }
.chip2 { flex: 1; aspect-ratio: 1; border-radius: 50%; border: 1px solid #e5e5e2; display: grid; place-items: center; font-size: .62rem; font-weight: 700; color: #6b6b66; }
.chip2--on { background: #4d7c0f; border-color: #4d7c0f; color: #fff; }
.note2 { font-size: .66rem; color: #2f4d09; background: #f1f8e4; border-radius: 8px; padding: 7px 10px; font-weight: 600; }
.mowrrow { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid #efefec; }
.mowrrow--first { border-top: 0; }
.av2 { width: 30px; height: 30px; border-radius: 50%; background: #dcecbf; color: #4d7c0f; display: grid; place-items: center; font-weight: 800; font-size: .74rem; flex: none; }
.mowrrow .nm { font-size: .8rem; font-weight: 600; color: #14140f; }
.mowrrow .sub { font-size: .66rem; color: #6b6b66; }
.mowrrow .go { font-size: .68rem; color: #4d7c0f; font-weight: 700; }
.mowrrow .stars { font-size: .78rem; letter-spacing: 1px; color: #e0a52f; white-space: nowrap; }
.scrbtn { background: #4d7c0f; color: #fff; text-align: center; font-weight: 700; font-size: .8rem; padding: 11px; border-radius: 10px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.scrbtn svg { width: 15px; height: 15px; }
@media (max-width: 560px) { .device--sm { width: min(240px, 68vw); } }

/* --------------------------------------------------------------------------
   Cards & grids
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius-lg); padding: 28px;
}
.card p { color: var(--body); }
.card h3 { margin-bottom: 8px; }
.card .ic {
  color: var(--green-dark); margin-bottom: 18px;
  width: 42px; height: 42px; border-radius: var(--radius);
  display: grid; place-items: center;
  background: var(--green-pale); border: 1px solid color-mix(in oklab, var(--green-dark) 26%, transparent);
}
.card .ic svg { width: 20px; height: 20px; }

/* Section heading block */
.sec-head { max-width: 30ch; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head .eyebrow { margin-bottom: 22px; }
.sec-head p { margin-top: 16px; max-width: 46ch; font-size: 1.05rem; }
.sec-head p.measure { max-width: 52ch; }

/* How-it-works: steps beside a framed aerial */
.how-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.how-media__frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--hairline); box-shadow: 0 24px 60px -30px rgba(0,0,0,.6); }
.how-media__frame img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; display: block; }
.how-media__chip {
  position: absolute; left: 14px; bottom: 14px;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .01em;
  color: #f3f2ec; background: rgba(15,15,12,.82); backdrop-filter: blur(4px);
  padding: 7px 12px; border-radius: 999px;
}
@media (max-width: 860px) {
  .how-grid { grid-template-columns: 1fr; gap: 36px; }
  .how-media__frame img { aspect-ratio: 16 / 10; }
}

/* --------------------------------------------------------------------------
   Numbered steps (hairline grid)
   -------------------------------------------------------------------------- */
.steps { border-top: 1px solid var(--hairline); }
.step {
  display: grid; grid-template-columns: 64px 1fr; gap: 20px;
  padding: 26px 0; border-bottom: 1px solid var(--hairline); align-items: start;
}
.step__n { font-size: 1.5rem; font-weight: 800; color: var(--green); line-height: 1; }
.step h3 { margin-bottom: 6px; }
@media (max-width: 560px) { .step { grid-template-columns: 44px 1fr; gap: 14px; } }

/* --------------------------------------------------------------------------
   Stat blocks (hero figure + supporting row)
   -------------------------------------------------------------------------- */
.stat { }
.stat__fig { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.stat__lab { margin-top: 10px; color: var(--graphite); font-size: .95rem; }

/* --------------------------------------------------------------------------
   Pills
   -------------------------------------------------------------------------- */
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .78rem; font-weight: 700; letter-spacing: .04em;
  padding: 5px 11px; border-radius: 999px;
  border: 1px solid var(--hairline); background: var(--surface); color: var(--body);
  text-transform: uppercase;
}
.pill--green { background: var(--green-pale); color: var(--green-dark); }
.pill--road { background: var(--warning-pale); color: var(--warning); }
.pill--dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* --------------------------------------------------------------------------
   Pricing example
   -------------------------------------------------------------------------- */
.price-band { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 36px); }
.price-rows { margin-top: 18px; }
.price-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--hairline); }
.price-row:first-child { border-top: 0; }
.price-row .v { font-weight: 700; }
.price-row--total .v { color: var(--green-dark); font-size: 1.15rem; }

/* --------------------------------------------------------------------------
   FAQ (native details/summary)
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--hairline); }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 0; font-weight: 600;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--green-dark); line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details > p { padding: 0 0 22px; color: var(--graphite); max-width: 68ch; }

/* --------------------------------------------------------------------------
   Callout band
   -------------------------------------------------------------------------- */
.band { background: var(--surface); }
.band--surface { background: var(--surface); }
.band--paper { background: var(--paper); }
.band--raise { background: var(--raise-2); }
.band--tint { background: color-mix(in oklab, var(--green) 15%, var(--paper)); }
.band--olive { background: color-mix(in oklab, #6f8f2a 16%, var(--paper)); }
/* On a dark feature band, sit on the darker paper tone so inner cards lift. */
.band.dark-surface { background: var(--paper); }
/* Ash section (#33322b warm dark grey): light text, lime accents. */
.band--ash {
  --paper:        var(--ash);
  --ink:          #f4f3ee;
  --body:         #c9c7bc;   /* readable light warm grey */
  --graphite:     #a3a196;   /* muted, still readable */
  --hairline:     #4a493f;   /* lighter than the bg so rules show */
  --hairline-2:   #423f37;
  --green:        #ddf7a8;   /* step numbers — pale lime */
  --green-dark:   #a3e635;
  --green-bright: #a3e635;   /* eyebrow — bright lime */
  background: var(--paper);
  color: var(--body);
}

/* Light lime section (#ddf7a8): dark green text + olive accents. */
.band--lime {
  --paper:        #ddf7a8;
  --surface:      #ffffff;
  --raise:        #f0fbcf;
  --ink:          #13200a;
  --body:         #405232;
  --graphite:     #566a3f;
  --hairline:     #c4e08f;
  --hairline-2:   #d0e8a4;
  --neutral-fill: #cfeb99;
  --green:        #4d7c0f;
  --green-dark:   #3f6612;
  --green-bright: #4d7c0f;
  --green-pale:   #cdec97;
  --on-green:     #13200a;
  --brand-filter: none;
  background: var(--paper);
  color: var(--body);
}

/* Light pale-green section (#eef7dd): dark green text + olive accents. */
.band--greenpale {
  --paper:        #eef7dd;
  --surface:      #ffffff;
  --raise:        #f6fbe8;
  --ink:          #14210a;   /* dark green-ink headings */
  --body:         #47583a;   /* readable body */
  --graphite:     #5d6f49;   /* muted, still readable */
  --hairline:     #d3e2b6;   /* soft green rules */
  --hairline-2:   #e1edca;
  --neutral-fill: #e2eeca;
  --green:        #4d7c0f;   /* olive accent — step numbers / icons */
  --green-dark:   #3f6612;
  --green-bright: #4d7c0f;   /* eyebrow */
  --green-pale:   #dcecbf;   /* icon-tile bg */
  --on-green:     #14210a;
  --brand-filter: none;
  background: var(--paper);
  color: var(--body);
}
/* The single lighter accent band — colour driven by the preview toggle. */
.band--accent { background: var(--accent-band); transition: background .3s ease; }
.band--accent .card { background: color-mix(in oklab, var(--surface) 70%, var(--accent-band)); }
/* Section whose colour is driven live by the picker (inline background, or the
   .light-surface class for the light option). */
.picker-band { background: var(--paper); transition: background .3s ease; }
.band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
/* Hairline only across the subtle paper↔surface joins; dark/tint/green bands
   separate themselves by tone. */
.band--paper + .band--surface,
.band--surface + .band--paper { border-top: 1px solid var(--hairline); }
/* Seam between two light sections (green pale ↔ off-white). */
.band--greenpale + .light-surface,
.light-surface + .band--greenpale { border-top: 1px solid rgba(0,0,0,.07); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { border-top: 1px solid var(--hairline); padding-block: 48px; }
.footer__grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer .brand img { height: 20px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 20px 28px; }
.footer nav a { color: var(--graphite); font-size: .9rem; }
.footer nav a:hover { color: var(--ink); text-decoration: none; }
.footer__note { margin-top: 28px; color: var(--graphite); font-size: .8rem; max-width: 70ch; }

/* --------------------------------------------------------------------------
   Investor page specifics
   -------------------------------------------------------------------------- */
.inv-sec { padding-block: clamp(40px, 6vw, 72px); border-top: 1px solid var(--hairline); }
.inv-sec__no { font-family: var(--mono); font-size: .78rem; font-weight: 500; color: var(--green); letter-spacing: .04em; }
.inv-sec h2 { margin: 8px 0 20px; max-width: 20ch; }
.tag { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 3px 8px; border-radius: 4px; }
.tag--built { background: var(--green-pale); color: var(--green-dark); }
.tag--road { background: var(--warning-pale); color: var(--warning); }
.itable { width: 100%; border-collapse: collapse; margin-top: 8px; }
.itable th, .itable td { text-align: right; padding: 12px 8px; border-top: 1px solid var(--hairline); font-variant-numeric: tabular-nums; }
.itable th:first-child, .itable td:first-child { text-align: left; }
.itable thead th { color: var(--graphite); font-weight: 600; font-size: .85rem; border-top: 0; }
.itable tbody tr:last-child td { font-weight: 700; }
.brand-mark { filter: var(--brand-filter); }

/* --------------------------------------------------------------------------
   Accent-colour preview toggle (design aid — cycles the accent band colour)
   -------------------------------------------------------------------------- */
.accent-toggle {
  position: fixed; z-index: 90; left: 18px; bottom: 18px;
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: 999px; padding: 7px 8px 7px 12px;
  box-shadow: 0 8px 24px -10px rgba(0,0,0,.6);
  font-family: var(--mono); font-size: .7rem; color: var(--body);
}
.accent-toggle__label { white-space: nowrap; letter-spacing: .02em; }
.accent-toggle__label b { color: var(--ink); font-weight: 600; }
.accent-toggle__sw { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--hairline); background: var(--accent-band); flex: none; }
.accent-toggle button {
  font: inherit; cursor: pointer; color: var(--ink);
  background: var(--neutral-fill); border: 1px solid var(--hairline);
  border-radius: 999px; width: 28px; height: 28px; display: grid; place-items: center;
}
.accent-toggle button:hover { border-color: var(--ink); }
@media (max-width: 560px) { .accent-toggle { left: 12px; bottom: 12px; padding: 6px 8px; } .accent-toggle__label { display: none; } }

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */
html.has-js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1); }
html.has-js .reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .06s; }
.reveal[data-d="2"] { transition-delay: .12s; }
.reveal[data-d="3"] { transition-delay: .18s; }
@media (prefers-reduced-motion: reduce) { html.has-js .reveal { opacity: 1 !important; transform: none !important; transition: none; } }

/* --------------------------------------------------------------------------
   Hero (two-column with device)
   -------------------------------------------------------------------------- */
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-grid > div:first-child { text-align: left; }
  /* Hide the phone once it would stack under the copy. */
  .hero-grid .device-wrap { display: none; }
}
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-badge { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: .72rem; color: var(--graphite); border: 1px solid var(--hairline); border-radius: 999px; padding: 6px 12px; }
.hero-badge svg { width: 13px; height: 13px; color: var(--green); }

/* --------------------------------------------------------------------------
   Device mockups
   -------------------------------------------------------------------------- */
.device-wrap { display: flex; justify-content: center; }
.device {
  width: min(300px, 78vw); aspect-ratio: 300 / 610; position: relative;
  background: #0d0d0c; border-radius: 40px; padding: 11px;
  box-shadow: 0 1px 0 var(--hairline), 0 30px 60px -30px rgba(0,0,0,.45);
  border: 1px solid var(--hairline);
}
.device::after { content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 96px; height: 20px; background: #0d0d0c; border-radius: 0 0 12px 12px; z-index: 3; }
.device__screen { position: relative; height: 100%; width: 100%; border-radius: 30px; overflow: hidden; background: var(--surface); display: flex; flex-direction: column; }
.dvc-status { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px 6px; font-family: var(--mono); font-size: .62rem; color: var(--graphite); }
.dvc-status .dots { display: inline-flex; gap: 3px; }
.dvc-status .dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--graphite); display: inline-block; opacity: .5; }

/* Bird's-eye satellite map (SVG scene + organic grain, generic maps chrome). */
.map {
  position: relative; flex: 1; min-height: 0; overflow: hidden;
  background: radial-gradient(150% 130% at 32% 12%, #5c7e47 0%, #486839 46%, #37532e 100%);
}
/* Fine grass grain via fractal-noise, blended over the green base. */
.map::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 130px 130px; opacity: .12; mix-blend-mode: overlay;
}
/* Soft vignette for a lens/aerial feel. */
.map::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: radial-gradient(120% 95% at 50% 32%, transparent 55%, rgba(0,0,0,.30) 100%);
}
.sat { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }

/* Real aerial photo (with the lawn boundary already drawn on it). */
.map__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 1; display: block; }
.map--photo::before { display: none; }              /* no synthetic grain over a photo */
.map--photo::after { background: radial-gradient(120% 95% at 50% 38%, transparent 62%, rgba(0,0,0,.24) 100%); }

/* Lawn selection overlay — Google-style amber boundary + white handles */
.lawn-fill { fill: #ffffff; fill-opacity: 0.10; }
.lawn-outline {
  fill: none; stroke: #F5C518; stroke-width: 2.4; stroke-linejoin: round;
  stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.55));
}
.lawn-vtx { fill: #fff; stroke: #F5C518; stroke-width: 1.8; filter: drop-shadow(0 1px 1.5px rgba(0,0,0,.5)); }

/* Entrance: draw the boundary, then fade the fill + handles. Resting state is
   the finished view, so a frozen/animation-off render still looks correct. */
@keyframes lawn-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes fadeInScale { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
@keyframes fadeSoft { from { opacity: 0; } to { opacity: 1; } }
.map.animate .lawn-outline { animation: lawn-draw 1.5s cubic-bezier(.55,0,.2,1) forwards; }
.map.animate .lawn-fill { opacity: 0; animation: fadeSoft .55s ease 1.2s forwards; }
.map.animate .lawn-vtx { opacity: 0; transform-box: fill-box; transform-origin: center; animation: fadeInScale .32s ease 1.3s forwards; }

/* Generic maps chrome (no third-party branding) */
.map__search {
  position: absolute; z-index: 4; left: 12px; right: 12px; top: 12px; height: 34px;
  display: flex; align-items: center; gap: 8px; padding: 0 8px 0 12px;
  background: rgba(255,255,255,.97); border-radius: 999px;
  box-shadow: 0 2px 9px rgba(0,0,0,.28); font-family: var(--font); font-size: .66rem; color: #3c4043;
}
.map__search svg { width: 14px; height: 14px; color: #5f6368; flex: none; }
.map__search .q { font-weight: 600; color: #202124; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.map__search .av { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; background: var(--green); flex: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.map__ctrls { position: absolute; z-index: 4; right: 12px; bottom: 58px; display: flex; flex-direction: column; gap: 8px; }
.map__zoom { display: flex; flex-direction: column; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 6px rgba(0,0,0,.28); }
.map__zoom span { width: 30px; height: 30px; display: grid; place-items: center; color: #3c4043; font-size: 1rem; font-weight: 500; }
.map__zoom span:first-child { border-bottom: 1px solid #ececec; }
.map__loc { width: 30px; height: 30px; border-radius: 8px; background: #fff; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0,0,0,.28); color: var(--green); }
.map__loc svg { width: 16px; height: 16px; }
.map__chip {
  position: absolute; z-index: 4; left: 12px; bottom: 14px; font-family: var(--mono);
  font-size: .62rem; color: #14140f; background: rgba(255,255,255,.95);
  padding: 5px 9px; border-radius: 6px; box-shadow: 0 1px 5px rgba(0,0,0,.28); letter-spacing: .01em;
}
.map__attr { position: absolute; z-index: 4; right: 9px; bottom: 6px; font-size: .5rem; color: rgba(255,255,255,.72); font-family: var(--font); letter-spacing: .02em; }


/* bottom sheet inside the phone */
.sheet { background: var(--surface); padding: 16px 18px 20px; border-top: 1px solid var(--hairline); }
.sheet__label { font-family: var(--mono); font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; color: var(--graphite); }
.sheet__price { display: flex; align-items: baseline; gap: 8px; margin-top: 5px; }
.sheet__price b { font-size: 2.2rem; font-weight: 800; letter-spacing: -.02em; line-height: 1; color: var(--ink); }
.sheet__price b span { font-size: inherit; font-weight: inherit; color: inherit; }
/* the "mow + edging" label only — not the price number inside <b> */
.sheet__price > span { font-size: .72rem; color: var(--graphite); }
.sheet__btn { margin-top: 12px; background: var(--green); color: var(--on-green); text-align: center; font-weight: 700; font-size: .82rem; padding: 12px; border-radius: var(--radius); }
.sheet__row { display: flex; justify-content: space-between; font-size: .64rem; color: var(--graphite); margin-top: 10px; font-family: var(--mono); }

/* Product showcase compact frames */
.mini-screen { border: 1px solid var(--hairline); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.mini-screen .map { min-height: 150px; flex: none; height: 150px; }
.mini-head { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--hairline); font-weight: 600; font-size: .9rem; }
.mini-head .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.mini-body { padding: 14px; }
.track-line { display: flex; gap: 10px; align-items: center; padding: 7px 0; font-size: .82rem; }
.track-line .tick { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--hairline); display: grid; place-items: center; flex: none; }
.track-line.done .tick { background: var(--green); border-color: var(--green); }
.track-line.done .tick svg { width: 9px; height: 9px; color: var(--on-green); }
.track-line.now .tick { border-color: var(--green); }
.track-line.now { font-weight: 600; }
.eta-pill { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: .7rem; color: var(--green-dark); background: var(--green-pale); padding: 5px 10px; border-radius: 999px; margin-bottom: 6px; }

/* --------------------------------------------------------------------------
   Waitlist form
   -------------------------------------------------------------------------- */
.waitlist { max-width: 720px; }
.form-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.field { flex: 1 1 200px; display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .8rem; font-weight: 600; color: var(--graphite); }
.input {
  font-family: inherit; font-size: 1rem; color: var(--ink);
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 13px 14px; width: 100%;
}
.input::placeholder { color: color-mix(in srgb, var(--graphite) 75%, transparent); }
.input:focus-visible { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.form-actions { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin-top: 16px; font-weight: 600; display: none; }
.form-msg--ok { color: var(--green-dark); display: block; }
.form-msg--err { color: var(--error); display: block; }
.form-note { margin-top: 12px; }
