/* The platform's own pages: landing, pricing, account, owner. Sits on top of styles.css.
   Marketing pages are full-bleed bands; the column inside them runs nearly edge to edge with real gutters.
   Display type is Bricolage Grotesque; body stays Inter, shared with the app. */
:root {
  /* Field and dawn: deep green anchors, warm paper, one hot accent for the button, the app's own status greens and ambers. */
  --m-navy: #0f2e22; --m-navy-2: #17452f; --m-blue: #2b6cb0; --m-forest: #0f2e22; --m-forest-2: #17452f;
  --m-orange: #ff5a1f; --m-paper: #f6f3ec; --m-ink: #14201b; --m-ink-2: #3f4d46; --m-line: #e3ded3;
  --gutter: clamp(20px, 5vw, 96px);
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
}
/* Short pages (sign in, a lost page): main grows so the footer sits at the bottom of the screen, not under the content. */
body.platform { min-height: 100dvh; display: flex; flex-direction: column; background: #fff; }   /* plain bands are white; .band.paper carries the paper, so the two alternate */
body.platform main { max-width: none; padding: 0; flex: 1 0 auto; }
body.platform { -webkit-tap-highlight-color: transparent; }   /* no blue flash on tap: the FAQ, buttons and nav have their own states */
body.platform .pfoot { flex: 0 0 auto; }
body.platform .topbar-inner { padding: 0 var(--gutter); min-height: 88px; gap: 28px; }
body.platform .nav { justify-content: flex-start; gap: 6px; margin-left: 12px; }
body.platform .nav a { font-size: 1rem; padding: 10px 14px; }
body.platform .brand img { height: 54px; width: auto; }
@media (max-width: 900px) { body.platform .brand img { height: 40px; } body.platform .topbar-inner { min-height: 72px; } }
/* On desktop the menu wrapper is invisible to layout; the pages sit in the bar as before. */
.site-menu { display: contents; }
.menu-btn, .menu-close { display: none; }

/* Under 1100px the full row (wordmark, four or five pages, the button) no longer fits, so the pages move into a
   panel that slides in from the right behind a hamburger. Overrides the app's stacked three-row phone header.
   The backdrop sits inside the sticky header next to the panel: the header is its own stacking context, so a
   backdrop outside it would paint over the panel. */
@media (max-width: 1100px) {
  body.platform .topbar-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; padding: 0 var(--gutter); min-height: 68px; }
  body.platform .brand { justify-content: flex-start; }
  body.platform .brand img { height: 38px; }
  .menu-btn, .menu-close {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0; padding: 0;
    background: transparent; border: 0; border-radius: 10px; color: #fff; cursor: pointer;
  }
  .menu-btn:hover, .menu-close:hover { background: rgba(255,255,255,.1); }
  .menu-btn { margin-right: -10px; }
  .site-menu {
    display: flex; flex-direction: column; gap: 0; position: fixed; top: 0; right: 0; bottom: 0; z-index: 60;
    width: min(340px, 86vw); padding: 12px 20px 28px; box-sizing: border-box; overflow-y: auto;
    background: linear-gradient(170deg, var(--m-navy), var(--m-navy-2)); color: #fff;
    box-shadow: -12px 0 40px -18px rgba(0,0,0,.7);
    transform: translateX(100%); visibility: hidden; transition: transform .28s cubic-bezier(.2,.7,.2,1), visibility 0s linear .28s;
  }
  body.menu-open .site-menu { transform: none; visibility: visible; transition: transform .28s cubic-bezier(.2,.7,.2,1), visibility 0s; }
  .menu-close { align-self: flex-end; margin-right: -10px; }
  body.platform .site-menu .nav { flex-direction: column; align-items: stretch; width: auto; flex: 0 0 auto; margin: 10px 0 0; padding: 0; border: 0; gap: 4px; overflow: visible; order: 0; }
  body.platform .site-menu .nav a { font-family: var(--display); font-size: 1.35rem; font-weight: 700; padding: 12px 14px; border-radius: 12px; color: #fff; }
  body.platform .site-menu .nav a.active { background: rgba(255,255,255,.14); }
  body.platform .site-menu .topbar-right { margin: auto 0 0; padding-top: 28px; width: 100%; }
  body.platform .site-menu .topbar-right .btn { width: 100%; justify-content: center; padding: 14px 18px; font-size: 1.05rem; }
  .menu-bg { position: fixed; inset: 0; z-index: 55; background: rgba(8, 20, 14, .55); opacity: 0; transition: opacity .28s; }
  body.menu-open .menu-bg { opacity: 1; }
  body.menu-open { overflow: hidden; }
  @media (prefers-reduced-motion: reduce) { .site-menu, body.menu-open .site-menu, .menu-bg { transition: none; } }
}
@media (max-width: 480px) { body.platform .topbar-inner { min-height: 60px; } body.platform .brand img { height: 32px; } }
.wrap { max-width: 1560px; margin: 0 auto; padding: 0 var(--gutter); }
.page { max-width: 1400px; margin: 0 auto; padding: 32px var(--gutter) 96px; }
body.platform main:has(> .page) { background: var(--m-paper); }   /* account, owner and legal pages: white cards on paper, like the app */
.platform h1, .platform h2, .platform .band-head h1 { font-family: var(--display); font-optical-sizing: auto; }
.platform :focus-visible { outline: 3px solid #ffb454; outline-offset: 3px; }
body.platform .btn.hot { background: var(--m-orange); border-color: var(--m-orange); }
/* The header's Start a tracker: the one action on every marketing page, sized to be found. */
@media (min-width: 1101px) { body.platform .topbar-right .btn.hot { padding: 13px 24px; font-size: 1.05rem; border-radius: 12px; } }
body.platform .btn.hot:hover { background: #e64a10; }
body.platform .btn.primary { background: var(--m-navy); border-color: var(--m-navy); }
body.platform .btn.primary:hover { background: var(--m-navy-2); }
body.platform a { color: #1f6b4a; }
body.platform .brand, body.platform .brand:hover, body.platform .topbar a.btn, body.platform .pfoot a, body.platform .demo-open, body.platform .hero-band a, body.platform .cta-band a { color: #fff; }
body.platform .pfoot a { color: #d5e6dc; }
body.platform .demo-open { color: #b7d3c4; }
body.platform .nav a { color: #d5e6dc; }
body.platform .nav a.active { background: rgba(255,255,255,.14); color: #fff; }

.band { padding: clamp(80px, 9vw, 150px) 0; scroll-margin-top: 88px; }  /* the sticky header's height, so a section lands below it */
@media (max-width: 1100px) { .band { scroll-margin-top: 68px; } }
@media (max-width: 480px) { .band { scroll-margin-top: 60px; } }
.band.first { padding-top: clamp(48px, 5vw, 80px); }
.band.paper { background: var(--m-paper); }
.band.forest { background: linear-gradient(160deg, #0f2e22, #17452f); color: #fff; }
.band.forest h2, .band.forest h3 { color: #fff; }
.band.forest .sub { color: #cfe6d8; }
.band-head { margin-bottom: clamp(40px, 5vw, 72px); max-width: 760px; }
.band-head.wide { max-width: 900px; }
.band h2, .band h1 { font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: 1.04; letter-spacing: -.025em; font-weight: 800; margin: 0 0 18px; }
.band .sub { color: var(--m-ink-2); font-size: clamp(1.05rem, 1.25vw, 1.25rem); line-height: 1.55; max-width: 62ch; margin: 0; }
.band h3 { font-size: 1.25rem; font-weight: 750; margin: 0 0 8px; letter-spacing: -.01em; }
.band p { color: var(--m-ink-2); font-size: 1.02rem; line-height: 1.6; margin: 0; }
.band.forest p { color: #cfe6d8; }

/* images: an illustration slot is invisible until its file loads; an icon is drawn inline until its file loads */
.img-slot { display: block; position: relative; line-height: 0; }
.img-slot img { max-width: 100%; height: auto; display: block; }
.img-slot.illus.missing { display: none; }
.img-slot.illus { margin: 32px 0 0; }
.img-slot.illus img { border-radius: 20px; }
.img-slot.band-illus { max-width: 640px; margin: -20px 0 48px; }
.img-slot.icon { width: 52px; height: 52px; border-radius: 14px; background: var(--m-paper); color: var(--m-navy); display: grid; place-items: center; flex: 0 0 52px; }
.img-slot.icon svg { width: 28px; height: 28px; }
.img-slot.icon img { width: 36px; height: 36px; object-fit: contain; }
.img-slot.icon.missing img { display: none; }
.img-slot.icon:not(.missing):not(.svg) svg { display: none; }
.forest .img-slot.icon { background: rgba(255,255,255,.1); color: #fff; }

/* hero: the live app is the hero */
.hero-band { background: radial-gradient(1100px 700px at 82% 18%, rgba(255,166,77,.28) 0%, transparent 60%), radial-gradient(900px 600px at 10% 90%, rgba(29,122,76,.5) 0%, transparent 60%), linear-gradient(160deg, #0b2419 0%, #0f2e22 55%, #17452f 100%); color: #fff; padding: clamp(56px, 6vw, 96px) 0 clamp(64px, 7vw, 110px); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(400px, 520px); gap: clamp(40px, 6vw, 120px); align-items: center; min-height: min(78vh, 900px); }
.hero-copy h1 { font-family: var(--display); font-size: clamp(2.7rem, 5.4vw, 5.4rem); line-height: .98; letter-spacing: -.035em; font-weight: 800; margin: 0 0 28px; color: #fff; max-width: 14ch; }
.hero-copy .lede { color: #d9e8df; font-size: clamp(1.1rem, 1.45vw, 1.4rem); line-height: 1.5; max-width: 34em; margin: 0 0 36px; }
.hero-copy .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-copy .btn.big { padding: 16px 28px; font-size: 1.1rem; border-radius: 14px; }
.hero-trust { list-style: none; margin: 40px 0 0; padding: 0; display: flex; gap: 8px 28px; flex-wrap: wrap; color: #b7d3c4; font-size: .95rem; font-weight: 600; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; color: #ffb454; }
.hero-demo { display: grid; gap: 22px; justify-items: center; }
.phone-frame { width: min(400px, 100%); height: 820px; border-radius: 46px; border: 12px solid #0f1115; background: #0f1115; box-shadow: 0 50px 100px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.12), 0 0 120px -20px rgba(255,166,77,.35); overflow: hidden; position: relative; }
.phone-frame .screen { width: 100%; height: 100%; position: relative; background: #f3f5f9; }
.phone-frame iframe { width: 100%; height: 100%; border: 0; background: #f3f5f9; display: block; }
/* narrow phones: the demo is laid out at 390 by 844 and scaled down by --k (set in JS), so it looks like a phone, not a squeezed one */
.phone-frame.scaled { height: auto; }
.phone-frame.scaled .screen { height: auto; aspect-ratio: 390 / 844; overflow: hidden; }
.phone-frame.scaled iframe { position: absolute; top: 0; left: 0; width: 390px; height: 844px; transform: scale(var(--k, 1)); transform-origin: 0 0; }
.demo-caption { text-align: center; color: #b7d3c4; font-size: .95rem; max-width: 420px; }
.demo-caption p { margin: 0 0 12px; color: #b7d3c4; }
.demo-caption strong { color: #fff; }
.demo-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; align-items: center; }
.demo-links .btn { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.2); }
body.platform .demo-links .btn.primary { background: #fff; border-color: #fff; color: var(--m-navy); }
.demo-open { color: #b7d3c4; font-size: .88rem; margin-left: 6px; }
@media (max-width: 1100px) { .hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; } .hero-copy h1 { max-width: none; } .phone-frame { height: 760px; } }

/* the problem */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.fails { list-style: none; margin: 0; padding: 0; }
.fails li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 24px; padding: 30px 0; border-top: 1px solid var(--m-line); }
.fails li:last-child { border-bottom: 1px solid var(--m-line); }
.fails h3 { font-size: 1.3rem; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* how it works: a real sequence, so it is numbered */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
.steps li { position: relative; }
.steps .num { display: block; font-family: var(--display); font-size: clamp(3rem, 5vw, 4.5rem); font-weight: 800; line-height: 1; color: var(--green); letter-spacing: -.04em; margin-bottom: 18px; }
.steps .img-slot.illus { margin: 0 0 22px; }
.steps h3 { font-size: 1.4rem; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.how-cta { margin-top: clamp(40px, 5vw, 72px); text-align: center; }
.how-cta .btn.big { padding: 16px 28px; font-size: 1.1rem; border-radius: 14px; }
.how-cta .tiny { margin: 14px 0 0; }
.walk-stage { display: grid; gap: 22px; justify-items: center; align-items: start; }   /* start, not stretch: the stage's height glides up from 0 and the phone must keep its own height throughout */
.walk-stage .phone-frame { animation: phone-in .75s .12s cubic-bezier(.2, .9, .25, 1.1) both; }
.walk-stage .demo-caption { animation: fadeup .5s .5s both; }
.walk-stage .demo-caption, .walk-stage .demo-caption p { color: var(--m-ink-2); }
.walk-stage .demo-caption strong { color: var(--m-ink); }
body.platform .walk-stage .demo-open { color: var(--m-ink-2); }
@keyframes phone-in { from { opacity: 0; transform: translateY(90px) scale(.88) rotate(-2deg); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .walk-stage .phone-frame, .walk-stage .demo-caption { animation: none; } }

/* why it cannot go wrong */
.reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 64px) clamp(28px, 4vw, 56px); }
.reason .img-slot.icon { margin-bottom: 18px; }
@media (max-width: 1000px) { .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .reasons { grid-template-columns: minmax(0, 1fr); } }

/* what is in the box */
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px) clamp(24px, 3vw, 48px); }
.feature .img-slot.icon { margin-bottom: 18px; }
@media (max-width: 1100px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .features { grid-template-columns: minmax(0, 1fr); } }

/* plans */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 36px); align-items: stretch; }
.plan { background: #fff; border: 2px solid var(--m-line); border-radius: 24px; padding: clamp(28px, 2.6vw, 40px); display: flex; flex-direction: column; gap: 10px; position: relative; }
.plan.popular { border-color: var(--m-navy); box-shadow: 0 30px 60px -30px rgba(15,46,34,.4); }
.plan.popular::before { content: "Most groups"; position: absolute; top: -14px; left: 28px; background: var(--m-navy); color: #fff; font-size: .78rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.plan .plan-icon .img-slot.icon { width: 60px; height: 60px; border-radius: 16px; }
.plan .plan-icon .img-slot.icon svg { width: 32px; height: 32px; }
.plan h3 { font-family: var(--display); font-size: 1.6rem; margin: 10px 0 0; }
.plan .price { font-family: var(--display); font-size: clamp(2.4rem, 3vw, 3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; margin: 4px 0 8px; }
.plan .price small { font-family: var(--sans); font-size: .9rem; font-weight: 600; color: var(--muted); margin-left: 6px; letter-spacing: 0; }
.plan .blurb { font-size: 1.02rem; }
.plan ul { list-style: none; margin: 14px 0 22px; padding: 0; display: grid; gap: 10px; }
.plan ul li { display: flex; gap: 10px; align-items: flex-start; color: var(--m-ink-2); font-size: .98rem; line-height: 1.45; }
.plan ul li svg { width: 20px; height: 20px; flex: 0 0 20px; color: var(--green); margin-top: 2px; }
.plan .spacer { flex: 1; }
.plan .btn.block { padding: 13px 18px; font-size: 1rem; border-radius: 12px; }
.plan .btn.block.primary { background: var(--m-navy); border-color: var(--m-navy); color: #fff; }
.plan.choice { cursor: pointer; text-align: left; font: inherit; color: inherit; }
.plan.choice.on { border-color: var(--green); background: var(--green-soft); }
.plan.soon { opacity: .72; }
.plan.choice[disabled] { cursor: not-allowed; }
.plan .btn.soon-note { background: var(--m-paper); border-color: var(--m-line); color: var(--muted); cursor: default; }
.plan.choice.on::after { content: "\2713"; position: absolute; right: 18px; top: 16px; color: var(--green); font-weight: 900; font-size: 1.3rem; }
@media (max-width: 960px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; } }

/* faq */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(40px, 5vw, 96px); align-items: start; }
.faq details { border-top: 1px solid var(--m-line); padding: 18px 0; }
.faq .faq-body { overflow: hidden; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 1.5rem; font-weight: 500; color: var(--green); flex: 0 0 auto; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 12px 0 0; max-width: 60ch; }
.faq summary::after { transition: transform .26s cubic-bezier(.2,.7,.2,1); }
@media (max-width: 860px) { .faq { grid-template-columns: minmax(0, 1fr); } }

/* final call */
.cta-band { position: relative; color: #fff; padding: clamp(96px, 12vw, 180px) 0; background: radial-gradient(900px 500px at 50% 110%, rgba(255,166,77,.35) 0%, transparent 60%), linear-gradient(160deg, #0b2419, #17452f); }
/* A banner, not a band: inset by the page gutters, rounded, with light space below it before the footer. */
.cta-band { margin: 0 var(--gutter) clamp(56px, 7vw, 112px); border-radius: clamp(20px, 2.5vw, 32px); overflow: hidden; padding: clamp(72px, 8vw, 120px) 0; }
.cta-band .wrap { position: relative; text-align: center; max-width: 960px; }
.cta-band h2 { font-family: var(--display); font-size: clamp(2.2rem, 4.2vw, 4rem); letter-spacing: -.03em; line-height: 1.02; margin: 0 0 20px; }
.cta-band p { color: #d9e8df; font-size: 1.2rem; line-height: 1.5; max-width: 40em; margin: 0 auto 36px; }
.cta-band .btn.big { padding: 16px 30px; font-size: 1.1rem; border-radius: 14px; }

/* footer */
.pfoot { background: #0b2419; color: #9fbfae; padding: clamp(48px, 5vw, 72px) 0 40px; font-size: .95rem; }
.pfoot .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.pfoot h5 { color: #fff; margin: 0 0 12px; font-size: .95rem; }
.pfoot p { margin: 0 0 8px; }
.pfoot a { color: #d5e6dc; display: block; margin: 8px 0; word-break: break-word; }
.pfoot .brandline { display: block; width: min(260px, 100%); margin: 0 0 14px; }
.pfoot .brandline img { width: 100%; height: auto; display: block; }
.pfoot .fine { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; color: #8aa898; }
@media (max-width: 760px) { .pfoot .cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* account: the list */
.lockup { background: var(--m-navy); border-radius: 16px; padding: 22px 26px; margin: -8px 0 22px; }
.lockup img { width: 100%; height: auto; display: block; }
.acct-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.acct-head h1 { font-size: 1.9rem; }
.tracker-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.tcard { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); color: inherit; }
.tcard:hover { text-decoration: none; border-color: var(--m-navy); }
.tcard .tname { font-family: var(--display); font-weight: 800; font-size: 1.3rem; letter-spacing: -.01em; }
.tcard .tpills { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.tcard .turl { color: var(--muted); font-size: .84rem; font-family: var(--mono); margin-top: 10px; word-break: break-all; }
.tcard .tmeta { margin-top: 10px; color: var(--ink-2); font-size: .92rem; line-height: 1.5; }
.tcard.add { border-style: dashed; background: transparent; box-shadow: none; color: var(--ink-2); }
.tcard.add:hover { background: var(--surface); }

/* the organiser console layout lives in styles.css (the tracker's Admin page uses it too); the platform's header is taller */
body.platform .console-side { top: 108px; }
body.platform .console-nav a.active, body.platform .console-nav a.active:hover { background: var(--m-navy); }
body.platform .setup-steps li::before { background: var(--m-navy); }

/* the create quiz reuses .wizard from the app; a few extras. The plan step opens out so the three cards sit side by side. */
.wizard.wide { max-width: 1120px; }
.wizard.wide .plans { margin-top: 26px; }
.wizard.wide .plan { padding: clamp(22px, 2vw, 32px); }
.wizard.wide .plan h3 { font-size: 1.4rem; }
.wizard.wide .plan .price { font-size: clamp(2rem, 2.6vw, 2.6rem); }
.slug-preview { font-family: var(--mono); font-size: .92rem; color: var(--ink-2); margin-top: 6px; word-break: break-all; }
.slug-preview.ok { color: var(--green); }
.slug-preview.bad { color: var(--red); }
.review-plan { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }

/* owner */
.owner-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.owner-table th, .owner-table td { text-align: left; padding: 8px 10px; border-top: 1px solid var(--line); vertical-align: top; }
.owner-table th { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; border-top: 0; }
.owner-table .num { font-variant-numeric: tabular-nums; }
.owner-table .err { color: var(--red); font-weight: 700; }
.owner-table .row.nowrap { flex-wrap: nowrap; }
.holds-list { margin: 0; padding-left: 16px; font-size: .86rem; color: var(--ink-2); }
.refresh-note { color: var(--muted); font-size: .82rem; }

/* the Live demo modal: a stage that pops in, then what to try and one button */
.modal.demo-modal { width: min(100%, 880px); border-radius: 24px; overflow: auto; overscroll-behavior: contain; animation: demo-in .55s cubic-bezier(.2, .9, .25, 1.12) both; }
/* On a short screen the modal scrolls, behind a thin bar on a see-through track that reads over the dark stage and the white list alike. */
.modal.demo-modal { scrollbar-width: thin; scrollbar-color: rgba(140, 150, 145, .55) transparent; }
.modal.demo-modal::-webkit-scrollbar { width: 6px; }
.modal.demo-modal::-webkit-scrollbar-track { background: transparent; }
.modal.demo-modal::-webkit-scrollbar-thumb { background: rgba(140, 150, 145, .55); border-radius: 999px; }
.modal.demo-modal::-webkit-scrollbar-thumb:hover { background: rgba(140, 150, 145, .8); }
@keyframes demo-in { from { opacity: 0; transform: translateY(28px) scale(.94); } to { opacity: 1; transform: none; } }
.modal.demo-modal .m-body { padding: 0; }
.modal.demo-modal .m-head.bare .x { color: #fff; font-size: 1.8rem; }
.demo-stage { position: relative; overflow: hidden; color: #fff; text-align: center; padding: clamp(36px, 5vw, 52px) clamp(20px, 4vw, 44px) clamp(32px, 4vw, 44px); background: linear-gradient(160deg, #0b2419 0%, #0f2e22 55%, #17452f 100%); }
.demo-tents { display: flex; justify-content: center; gap: clamp(12px, 2vw, 22px); margin-bottom: 22px; }
.demo-tents .img-slot.icon { width: clamp(64px, 8vw, 88px); height: clamp(64px, 8vw, 88px); border-radius: 22px; background: rgba(255,255,255,.1); color: #fff; flex: 0 0 auto; animation: tent-pop .6s cubic-bezier(.2, .9, .25, 1.35) both; }
.demo-tents .img-slot.icon:nth-child(2) { animation-delay: .12s; }
.demo-tents .img-slot.icon:nth-child(3) { animation-delay: .24s; }
.demo-tents .img-slot.icon svg { width: 46px; height: 46px; }
@keyframes tent-pop { from { opacity: 0; transform: translateY(34px) scale(.5) rotate(-8deg); } to { opacity: 1; transform: none; } }
.demo-stage h2 { font-family: var(--display); font-size: clamp(1.8rem, 3.6vw, 2.7rem); letter-spacing: -.025em; line-height: 1.05; margin: 0 0 12px; color: #fff; animation: fadeup .5s .28s both; }
.demo-stage p { color: #d9e8df; font-size: 1.08rem; line-height: 1.55; max-width: 46ch; margin: 0 auto 26px; animation: fadeup .5s .38s both; }
body.platform .demo-stage .btn.demo-go { font-size: 1.15rem; padding: 16px 30px; border-radius: 14px; animation: fadeup .5s .48s both, demo-pulse 1.7s 1s infinite; }
.demo-note { color: #b7d3c4; font-size: .9rem; margin-top: 14px; animation: fadeup .5s .56s both; }
@keyframes demo-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 90, 31, .55); } 60% { box-shadow: 0 0 0 16px rgba(255, 90, 31, 0); } }
.demo-try { padding: clamp(22px, 3vw, 30px) clamp(20px, 4vw, 44px) clamp(24px, 3vw, 34px); }
.demo-try h3 { font-family: var(--display); font-size: 1.25rem; margin: 0 0 14px; }
.demo-try .setup-steps li { animation: fadeup .45s both; }
.demo-try .setup-steps li:nth-child(1) { animation-delay: .5s; } .demo-try .setup-steps li:nth-child(2) { animation-delay: .58s; } .demo-try .setup-steps li:nth-child(3) { animation-delay: .66s; } .demo-try .setup-steps li:nth-child(4) { animation-delay: .74s; }
@media (prefers-reduced-motion: reduce) { .modal.demo-modal, .demo-tents .img-slot.icon, .demo-stage h2, .demo-stage p, .demo-stage .btn.demo-go, .demo-note, .demo-try .setup-steps li { animation: none; } }

/* owner: seasons */
.seasons { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.season { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; display: grid; gap: 6px; }
.season.current { border-color: var(--green); background: var(--green-soft); }
.season-year { font-family: var(--display); font-size: 1.3rem; }
.check { display: flex; align-items: center; gap: 8px; font-weight: 600; }
#season-form.tracker-form { max-width: 720px; }

/* legal */
.legal { max-width: 780px; }
.legal h2 { margin-top: 26px; font-size: 1.2rem; }
.legal p, .legal li { color: var(--ink-2); }
