/* gambit. public site: the marketing layout, built on the tokens in gambit.css.
   Loaded only by _public_base.html, so workspace pages never download it. Mobile first: the base
   rules are the phone layout; wider screens add columns. */

body.pub { background: var(--bg); }
.wrap-pub { width: min(1200px, 100% - 2rem); margin-inline: auto; }
@supports (width: max(1px, 2px)) {
  .wrap-pub { width: min(1200px, 100% - max(2rem, env(safe-area-inset-left) + env(safe-area-inset-right) + 2rem)); }
}

/* ---- top navigation (navy in both themes) ---- */
.pub-nav { position: sticky; top: 0; z-index: 40; color: var(--hero-text); background: color-mix(in srgb, var(--hero-bg) 94%, transparent); -webkit-backdrop-filter: saturate(1.3) blur(10px); backdrop-filter: saturate(1.3) blur(10px); border-bottom: 1px solid var(--hero-line); padding-top: env(safe-area-inset-top); }
.pub-bar { display: flex; align-items: center; gap: var(--s5); min-height: 60px; flex-wrap: wrap; }
.pub-nav .brand { color: var(--hero-text); font-size: 1.4rem; }
.pub-menu { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s5); flex: 1 1 auto; }
.pub-links { display: flex; flex-wrap: wrap; gap: 2px; }
.pub-links a, .pub-signin { color: var(--hero-muted); text-decoration: none; font-size: var(--t-sm); font-weight: 550; padding: 9px 10px; border-radius: var(--r-sm); transition: color var(--dur-fast), background var(--dur-fast); }
.pub-links a:hover, .pub-signin:hover, .pub-links a[aria-current="page"] { color: var(--hero-text); background: rgba(255, 255, 255, 0.07); }
.pub-signin { color: var(--hero-text); font-weight: 600; }
.pub-actions { margin-left: auto; display: flex; align-items: center; gap: var(--s3); }
.pub-nav .theme-switch { margin: 0; background: rgba(255, 255, 255, 0.06); }
.pub-nav .theme-switch button { width: 32px; height: 30px; color: var(--hero-muted); }
.pub-nav .theme-switch button:hover { color: var(--hero-text); }
.pub-nav .theme-switch button[aria-pressed="true"] { background: rgba(255, 255, 255, 0.13); color: var(--hero-text); }
.pub-cta, .btn-hero { background: var(--brand-green); border-color: var(--brand-green); color: #04261a; }
.pub-cta:hover, .btn-hero:hover { background: #2bb67b; border-color: #2bb67b; color: #04261a; }
.pub-menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; color: var(--hero-text); }
.pub-menu-btn:hover { background: rgba(255, 255, 255, 0.08); }
.pub-menu-btn .icon { width: 22px; height: 22px; }
.pub-menu-btn .icon-shut, .pub-menu-btn[aria-expanded="true"] .icon-open { display: none; }
.pub-menu-btn[aria-expanded="true"] .icon-shut { display: inline; }

/* phones: with JavaScript the links fold behind a 44px menu button; without it they wrap below the bar */
@media (max-width: 860px) {
  .js .pub-menu-btn { display: inline-grid; }
  .js .pub-menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: var(--s4); padding: var(--s3) 1rem var(--s5); background: var(--hero-bg); border-bottom: 1px solid var(--hero-line); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); }
  .js .pub-nav.is-open .pub-menu { display: flex; }
  .js .pub-links { flex-direction: column; }
  .js .pub-links a { padding: 13px 10px; font-size: var(--t-md); }
  .js .pub-actions { margin-left: 0; flex-wrap: wrap; }
  .js .pub-actions .pub-cta { flex: 1 1 100%; padding-block: 12px; }
  html:not(.js) .pub-menu { flex-basis: 100%; padding-bottom: var(--s3); }
}

/* ---- hero ---- */
.hero { position: relative; overflow: hidden; background: var(--hero-bg); color: var(--hero-text); padding: var(--s8) 0 var(--s9); }
/* a quiet field of periods, fading out toward the copy: the wordmark's dot as texture */
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(127, 220, 178, 0.16) 1.2px, transparent 1.6px); background-size: 24px 24px; -webkit-mask-image: linear-gradient(105deg, transparent 35%, #000 95%); mask-image: linear-gradient(105deg, transparent 35%, #000 95%); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s7); align-items: center; }
.hero-eyebrow { margin: 0 0 var(--s4); color: var(--hero-accent); font-size: var(--t-xs); font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; }
.hero h1 { margin: 0 0 var(--s5); max-width: 15ch; color: var(--hero-text); font-size: var(--t-display); font-weight: 700; line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance; }
.hero-em { color: var(--hero-muted); }
.hero h1 .dot, .cta-band .dot { color: var(--brand-green); }
.hero-lead { margin: 0 0 var(--s6); max-width: 46ch; color: var(--hero-muted); font-size: var(--t-lg); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); }
.btn-hero, .btn-hero-ghost { padding: 12px 20px; font-size: var(--t-md); border-radius: var(--r-md); }
.btn-hero-ghost { background: transparent; border-color: var(--hero-line); color: var(--hero-text); }
.btn-hero-ghost:hover { background: rgba(255, 255, 255, 0.05); border-color: var(--hero-muted); color: var(--hero-text); }
.hero-note { margin: var(--s4) 0 0; color: var(--hero-muted); font-size: var(--t-sm); }
.hero-visual { margin: 0; }

/* the evidence-tier card that stands beside the headline */
.tier-card { padding: var(--s5); background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28); }
.tier-card-title { margin: 0 0 var(--s4); color: var(--text-strong); font-size: var(--t-lg); font-weight: 650; letter-spacing: -0.01em; }
.tier-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); }
.tier-list li { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s1); color: var(--text-muted); font-size: var(--t-sm); line-height: 1.5; }

/* ---- content bands ---- */
.band { padding: var(--s8) 0; }
.band-alt { background: var(--surface); border-block: 1px solid var(--border); }
.kicker { margin: 0 0 var(--s2); color: var(--accent); font-size: var(--t-xs); font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; }
.band-title { margin: 0 0 var(--s6); max-width: 24ch; font-size: var(--t-2xl); font-weight: 700; letter-spacing: -0.028em; line-height: 1.15; text-wrap: balance; }
.steps-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s3); }
.steps-row li { padding: var(--s5); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); }
.step-n { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-bottom: var(--s4); border-radius: 50%; background: var(--hero-bg); color: #ffffff; font-size: var(--t-sm); font-weight: 700; }
.steps-row h3, .principle h3 { margin: 0 0 var(--s2); font-size: var(--t-lg); }
.steps-row p, .principle p { margin: 0; color: var(--text-muted); font-size: var(--t-sm); line-height: 1.6; }
.principles { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
.principle h3::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--brand-green); vertical-align: 0.16em; }
.choices-pub { grid-template-columns: minmax(0, 1fr); max-width: 880px; }
.choices-pub .choice { gap: var(--s2); padding: var(--s5); border-radius: var(--r-md); }
.choice-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: var(--s1); border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.choice-icon .icon { width: 20px; height: 20px; }
.choice-go { display: inline-flex; align-items: center; gap: 6px; }
.choice-go .icon { width: 16px; height: 16px; transition: transform var(--dur-fast) var(--ease); }
.choice:hover .choice-go .icon { transform: translateX(3px); }
.cta-band { background: var(--hero-bg); color: var(--hero-text); padding: var(--s8) 0; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s5); }
.cta-band h2 { margin: 0; color: var(--hero-text); font-size: var(--t-2xl); font-weight: 700; letter-spacing: -0.028em; }

/* ---- footer ---- */
.pub-footer { padding: var(--s8) 0 calc(var(--s5) + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--border); color: var(--text-muted); font-size: var(--t-sm); }
.pub-foot-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
.pub-footer .brand { color: var(--text-strong); font-size: 1.35rem; }
.pub-foot-brand p { margin: var(--s3) 0 0; max-width: 36ch; }
.foot-h { margin: 0 0 var(--s3); color: var(--text-muted); font-size: var(--t-xs); font-weight: 650; letter-spacing: 0.07em; text-transform: uppercase; }
.pub-foot-links { display: flex; flex-direction: column; gap: var(--s2); }
.pub-foot-links a { color: var(--text); text-decoration: none; padding: 2px 0; }
.pub-foot-links a:hover { color: var(--text-strong); text-decoration: underline; }
.pub-foot-note p { margin: 0; max-width: 46ch; }
.pub-fine { margin-top: var(--s6); padding-top: var(--s4); border-top: 1px solid var(--border-soft); font-size: var(--t-xs); }
.pub-fine p { margin: 0; }
.pub-fine a { color: var(--text-muted); }

/* ---- wider screens ---- */
@media (min-width: 680px) {
  .steps-row, .choices-pub { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tier-list li { grid-template-columns: 11rem minmax(0, 1fr); gap: var(--s3); align-items: start; }
  .pub-foot-grid { grid-template-columns: 1.4fr 1fr 1.4fr; }
}
@media (min-width: 1024px) {
  .hero { padding: var(--s9) 0 var(--s10); }
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: var(--s8); }
  .band { padding: var(--s9) 0; }
  .steps-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .principles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s7); }
}
@media (max-width: 759px) {
  .hero-actions .btn, .cta-inner .btn { width: 100%; }
}

/* ======================================================================== Phase 2B slice 2 */
/* Public pages read at 17px: the workspace stays denser at 15px. */
body.pub { font-size: 1.0625rem; }
.band-lead { margin: calc(-1 * var(--s4)) 0 var(--s5); max-width: 46ch; color: var(--text-muted); font-size: var(--t-lg); line-height: 1.6; }
.pub-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s6); align-items: start; }
.tier-card { margin: 0; }

/* the returning-visitor line under the hero actions (filled in by public.js, never a redirect) */
.resume { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1) var(--s4); margin: var(--s4) 0 0; color: var(--hero-muted); font-size: var(--t-sm); }
.resume[hidden] { display: none; }
.resume a { display: inline-flex; align-items: center; min-height: 44px; color: var(--hero-text); font-weight: 600; text-underline-offset: 4px; }
.resume .resume-change { color: var(--hero-muted); font-weight: 500; }

/* ---- the welcome questionnaire (/start): one calm question per screen ---- */
body.pub-focus { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background:
  radial-gradient(900px 420px at 85% -10%, color-mix(in srgb, var(--brand-green) 10%, transparent), transparent 70%), var(--bg); }
.focus-bar { padding: calc(var(--s4) + env(safe-area-inset-top)) 0 var(--s4); }
.focus-bar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 44px; }
.focus-bar .brand { color: var(--text-strong); font-size: 1.4rem; text-decoration: none; }
.pub-focus main { flex: 1 0 auto; display: flex; }
.ask { flex: 1; display: flex; align-items: flex-start; justify-content: center; padding: var(--s6) 1rem var(--s8); }
.ask-inner { width: min(620px, 100%); }
.ask-progress { display: flex; align-items: center; gap: var(--s3); margin: 0 0 var(--s5); color: var(--text-muted); font-size: var(--t-sm); font-weight: 600; }
.ask-dots { display: inline-flex; gap: 6px; }
.ask-dots span { width: 8px; height: 8px; border-radius: var(--r-pill); background: var(--border-strong); }
.ask-dots span.on { background: var(--brand-green); }
.ask-dots span.on:has(+ span:not(.on)), .ask-dots span.on:last-child { width: 22px; }
.ask-said { display: inline-flex; flex-wrap: wrap; align-items: center; gap: var(--s2); margin: 0 0 var(--s4); padding: 6px 12px 6px 8px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent-ink); font-size: var(--t-sm); font-weight: 600; }
.ask-said .icon { width: 16px; height: 16px; stroke-width: 2.4; }
.ask-title { margin: 0 0 var(--s6); font-size: clamp(1.9rem, 1.35rem + 2.2vw, 2.75rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.032em; text-wrap: balance; }
.ask-lead { margin: calc(-1 * var(--s3)) 0 var(--s6); max-width: 46ch; color: var(--text-muted); font-size: var(--t-lg); line-height: 1.6; }
.answers { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
.answer { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--s4); min-height: 72px; padding: var(--s4) var(--s5); background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--r-lg); color: var(--text); text-decoration: none; transition: border-color var(--dur-fast), box-shadow var(--dur), transform var(--dur) var(--ease), background var(--dur-fast); }
.answer:not(:has(.answer-icon)) { grid-template-columns: minmax(0, 1fr) auto; }
.answer:hover { border-color: var(--text-strong); box-shadow: 0 10px 28px rgba(11, 31, 58, 0.08); transform: translateY(-1px); color: var(--text); }
.answer:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: var(--r-lg); }
.answer:active, .answer.is-chosen { border-color: var(--brand-green); background: var(--accent-soft); transform: none; }
.answer-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--surface-2); color: var(--text-strong); }
.answer.is-chosen .answer-icon { background: var(--brand-green); color: #04261a; }
.answer-icon .icon { width: 22px; height: 22px; }
.answer-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.answer-label { color: var(--text-strong); font-size: var(--t-lg); font-weight: 650; letter-spacing: -0.01em; }
.answer-hint { color: var(--text-muted); font-size: var(--t-sm); line-height: 1.45; }
.answer-go { width: 20px; height: 20px; color: var(--text-subtle); transition: transform var(--dur) var(--ease), color var(--dur-fast); }
.answer:hover .answer-go, .answer:focus-visible .answer-go { color: var(--text-strong); transform: translateX(3px); }
.ask-actions { margin: 0 0 var(--s4); }
.btn-wide { width: 100%; padding-block: 15px; font-size: var(--t-lg); }
.btn-hero .icon { width: 18px; height: 18px; }
.ask-alt { margin: 0 0 var(--s5); color: var(--text-muted); font-size: var(--t-md); text-align: center; }
.ask-alt a { color: var(--accent); font-weight: 600; }
.ask-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3); margin-top: var(--s6); }
.ask-foot:has(> :only-child) { justify-content: center; }
.ask-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 var(--s2); color: var(--text-muted); font-weight: 600; text-decoration: none; border-radius: var(--r-sm); }
.ask-link:hover { color: var(--text-strong); text-decoration: underline; }
.ask-back .icon { width: 18px; height: 18px; }
.focus-foot { padding: var(--s4) 1rem calc(var(--s5) + env(safe-area-inset-bottom)); text-align: center; color: var(--text-muted); font-size: var(--t-xs); }
.focus-foot p { margin: 0; }

/* ---- owner and analyst pages ---- */
.hero-page { padding: var(--s8) 0; }
.hero-page-inner { position: relative; z-index: 1; max-width: 760px; }
.hero-page h1 { max-width: 20ch; }
.said-chip { display: inline-flex; flex-wrap: wrap; align-items: center; gap: var(--s2); margin: 0 0 var(--s5); padding: 6px 6px 6px 10px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.08); color: var(--hero-text); font-size: var(--t-sm); font-weight: 600; }
.said-chip .icon { width: 16px; height: 16px; color: var(--brand-green); stroke-width: 2.4; }
.said-chip a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.1); color: var(--hero-text); text-decoration: none; }
.said-chip a:hover { background: rgba(255, 255, 255, 0.18); }
.status-list { list-style: none; margin: 0; padding: 0; display: grid; max-width: 820px; border-top: 1px solid var(--border); }
.status-list li { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s2); padding: var(--s4) 0; border-bottom: 1px solid var(--border); line-height: 1.55; }
.status-chip { display: inline-flex; align-items: center; width: max-content; padding: 2px 10px; border-radius: var(--r-pill); font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.02em; }
.status-live { color: var(--tier-reported); background: var(--tier-reported-soft); }
.status-soon { color: var(--tier-interpretation); background: var(--tier-interpretation-soft); }
.status-planned { color: var(--tier-open); background: var(--tier-open-soft); outline: 1px dashed var(--border-strong); outline-offset: -1px; }

/* ---- home: three paths ---- */
.paths { list-style: none; margin: 0 0 var(--s5); padding: 0; display: grid; border-top: 1px solid var(--border); max-width: 880px; }
.path { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--s4); padding: var(--s5) var(--s2); border-bottom: 1px solid var(--border); color: var(--text); text-decoration: none; transition: background var(--dur-fast); }
.path:hover { background: var(--surface-hover); color: var(--text); }
.path-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.path-icon .icon { width: 22px; height: 22px; }
.path-text { display: flex; flex-direction: column; gap: 2px; }
.path-title { color: var(--text-strong); font-size: var(--t-lg); font-weight: 650; }
.path-desc { color: var(--text-muted); font-size: var(--t-sm); line-height: 1.5; }
.path-go { width: 20px; height: 20px; color: var(--text-subtle); transition: transform var(--dur) var(--ease); }
.path:hover .path-go { transform: translateX(4px); color: var(--text-strong); }

@media (min-width: 680px) {
  .status-list li { grid-template-columns: 9.5rem minmax(0, 1fr); align-items: baseline; }
}
@media (min-width: 1024px) {
  .pub-split { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--s8); }
  .steps-row.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-page { padding: var(--s9) 0; }
}

/* ---- page-to-page motion: a short cross-fade between steps, only when motion is welcome ---- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .ask-inner, .story-card { view-transition-name: stage; }
  ::view-transition-old(stage) { animation: 140ms ease-in both gambit-out; }
  ::view-transition-new(stage) { animation: 280ms var(--ease) both gambit-in; }
}
@keyframes gambit-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes gambit-in { from { opacity: 0; transform: translateY(10px); } }

/* ---- sign-in, sign-up and check-email: one centred card ---- */
.auth { display: flex; flex-direction: column; align-items: center; gap: var(--s4); padding: var(--s8) 1rem var(--s9); }
.auth-card { width: min(440px, 100%); padding: clamp(22px, 5vw, 36px); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: 0 18px 48px rgba(11, 31, 58, 0.07); }
.auth-title { margin: 0 0 var(--s2); font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.2rem); font-weight: 700; letter-spacing: -0.03em; }
.auth-lead { margin: 0 0 var(--s5); color: var(--text-muted); line-height: 1.55; }
.auth-form { display: grid; gap: var(--s4); margin: 0; }
.auth-form .field { margin: 0; }
.auth-form input { min-height: 46px; font-size: var(--t-md); }
.auth-form .btn-wide { margin-top: var(--s2); }
.auth-alt { margin: var(--s5) 0 0; color: var(--text-muted); font-size: var(--t-sm); text-align: center; }
.auth-note { margin: 0; color: var(--text-muted); font-size: var(--t-sm); text-align: center; }
.pub-demo { border-bottom: 1px solid var(--warn-line); }

/* the wordmark is a link: give it a full 44px tap area */
.pub-nav .brand, .focus-bar .brand, .pub-footer .brand { display: inline-flex; align-items: center; min-height: 44px; }

/* ======================================================================== Phase 2B photography */
/* Self-hosted photos (static/img/, sources in docs/brain/phase2b-photography-sources.md). Width and
   height attributes reserve the space; the colour below shows until a lazy photo arrives. */
.photo { display: block; width: 100%; height: auto; border-radius: var(--r-lg); background: var(--surface-2); object-fit: cover; }

/* home hero: the photo, with the sample-finding card resting on its lower edge */
.preview-card { padding: var(--s5); background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.32); }
.preview-top { display: flex; align-items: center; gap: var(--s2); margin: 0 0 var(--s4); color: var(--text-muted); font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.preview-figure { margin: 0 0 var(--s2); color: var(--text-strong); font-size: clamp(1.3rem, 1.05rem + 1vw, 1.75rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.025em; }
.preview-detail { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); margin: 0; color: var(--text-muted); font-size: var(--t-sm); }
.pv-foot { display: flex; align-items: center; gap: 6px; margin: var(--s4) 0 0; color: var(--text-muted); font-size: var(--t-xs); }
.pv-foot .icon { width: 14px; height: 14px; }
.hero-photo-wrap { position: relative; }
.hero-photo { aspect-ratio: 4 / 3; object-position: 50% 22%; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35); }
.hero-photo-wrap .preview-card { position: relative; margin: -56px var(--s3) 0; }
@media (min-width: 680px) and (max-width: 1023px) {
  .hero-photo { aspect-ratio: 16 / 10; object-position: 50% 28%; }
  .hero-photo-wrap .preview-card { max-width: 460px; margin: -88px 0 0 var(--s5); }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .hero-photo { aspect-ratio: 4 / 3.4; object-position: 50% 26%; }
}
@media (min-width: 1280px) {
  .hero { padding-bottom: calc(var(--s10) + var(--s4)); }
  .hero-photo-wrap { padding-left: 16%; }
  .hero-photo { aspect-ratio: 4 / 4.4; object-position: 50% 30%; }
  .hero-photo-wrap .preview-card { position: absolute; left: 0; bottom: calc(-1 * var(--s6)); width: min(380px, 74%); margin: 0; }
  .hero-photo-wrap .preview-figure { font-size: 1.3rem; }
}

/* home: people, in an uneven two-photo arrangement with one short line of copy */
.people-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
.people-copy .band-title { margin-bottom: var(--s5); }
.people-copy .band-lead { margin: calc(-1 * var(--s3)) 0 0; }
.people-main .photo { aspect-ratio: 3 / 2; object-position: 55% 40%; }
.people-side { width: 78%; margin-left: auto; margin-top: calc(-1 * var(--s7)); }
.people-side .photo { aspect-ratio: 3 / 2; object-position: 50% 45%; border: 6px solid var(--bg); box-sizing: border-box; }
@media (min-width: 1024px) {
  .people-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "copy main" "side main"; column-gap: var(--s8); row-gap: var(--s6); align-items: start; }
  .people-copy { grid-area: copy; padding-top: var(--s6); }
  .people-main { grid-area: main; }
  .people-main .photo { aspect-ratio: 1 / 1; }
  .people-side { grid-area: side; width: 88%; margin: 0; }
  .people-side .photo { border: 0; }
}

/* owner and analyst pages: one photo beside the hero text */
.hero-page-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s6); align-items: center; }
.hero-page-photo .photo { aspect-ratio: 3 / 2; object-position: 55% 40%; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3); }
@media (min-width: 1024px) {
  .hero-page-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: var(--s8); }
  .hero-page-photo .photo { aspect-ratio: 4 / 3.6; }
}

/* Solwise home: the three steps beside one sample finding with its evidence (2026-10-11) */
.how-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s7); align-items: center; }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); }
.how-steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s4); align-items: start; }
.how-steps h3 { margin: 2px 0 2px; font-size: var(--t-lg); }
.how-steps p { margin: 0; color: var(--text-muted); }
.how-n { display: inline-grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--hero-bg); color: #ffffff; font-size: var(--t-sm); font-weight: 700; }
@media (min-width: 1024px) {
  .how-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: var(--s8); }
}
.example-card { margin: 0; padding: var(--s5); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: 0 18px 48px rgba(11, 31, 58, 0.08); }
.example-figure { font-size: 1.5rem; font-weight: 600; margin: 0 0 var(--s2); }
.example-facts { display: grid; gap: var(--s3); margin: var(--s4) 0; }
.example-facts dt { font-weight: 600; }
.example-facts dd { margin: 0; overflow-wrap: anywhere; }
.example-facts .formula { font-family: var(--mono); }
.example-card figcaption { color: var(--text-muted); font-size: var(--t-xs); }
/* 2026-10-12: landing-page waitlist: one centred card, text and form the same width */
.waitlist-wrap { max-width: 600px; margin-inline: auto; text-align: center; padding: var(--s6, 40px) var(--s5, 28px);
  background: var(--bg, #fff); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 10px 30px rgba(15, 23, 42, .06); }
.waitlist-wrap .band-title { margin-bottom: var(--s3, 12px); }
.waitlist-wrap .band-lead { margin: 0 auto var(--s4, 20px); max-width: none; font-size: var(--t-md, 1rem); }
.waitlist-form { display: flex; gap: 10px; flex-wrap: wrap; margin: 0; }
.waitlist-form input[type="email"] { flex: 1 1 240px; min-width: 0; min-height: 48px; padding: 0 14px; font: inherit;
  border-radius: var(--r-md, 8px); border: 1px solid var(--border); background: var(--surface, #fff); color: inherit; }
.waitlist-form input[type="email"]:focus { outline: 2px solid var(--brand-green); outline-offset: 1px; }
.waitlist-form .btn-hero { flex: 0 0 auto; }
@media (max-width: 480px) { .waitlist-form .btn-hero { flex: 1 1 100%; } }
.waitlist-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.waitlist-note { margin: 0 0 var(--s4, 16px); padding: 10px 14px; border-radius: 8px; }
.waitlist-ok { background: rgba(22, 163, 74, .12); }
.waitlist-bad { background: rgba(220, 38, 38, .12); }
.waitlist-fine { font-size: .85rem; color: var(--text-muted); margin: 12px 0 0; }
