/* Stratemark landing. Two brand colours, deep green and lilac, carry the art (the card fan, the glass objects); teal is
   the action colour. Text is a green-black ink and greys lean green, so the page reads warm rather than flat. Sections
   are told apart by alternating white and a warm off-white band, never by boxes or lines.
   Marcellus for headlines, Geist for text, Geist Mono for numbers and labels, Parkinsans for the wordmark only. */
:root {
  --bg: #FFFFFF; --surface: #FFFFFF; --sunk: #EEF0ED; --band: #F4F5F3; --hero-bg: #EDEEEB;
  --line: #E3E7E5; --line-2: #D5DBD8; --line-strong: #C4CCC9;
  --text: #0E2B25; --text-2: #4F625D; --text-3: #82938E;
  --green-deep: #0F3026; --green-mid: #1B4A3D; --lilac: #DCD6FF; --lilac-2: #C4B6FF; --lilac-ink: #4A3AA8;
  --ink: #141414; --ink-2: #1E1E1E; --ink-line: #2E2E2E; --ink-text-2: #A3A3A3;
  --brand: #087F6A; --brand-hover: #0A8C75; --brand-press: #077260; --brand-edge: #06614F;
  --ok: #1F7A4D; --ok-bg: #EBF5EF; --est: #8A5A00; --est-bg: #FAF2E0; --error: #C62F35;
  --focus: rgba(8, 127, 106, .28);
  --violet: #6E56CF; --violet-tint: #F1EEFF; --pink: #D6409F; --pink-tint: #F1EEFF; --teal-tint: #E8F2EE;

  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", monospace;
  --serif: "Marcellus", Georgia, serif;

  --raised: 0 0 0 1px rgba(0, 0, 0, .07), 0 1px 2px rgba(0, 0, 0, .05);
  --float: 0 0 0 1px rgba(0, 0, 0, .07), 0 1px 2px rgba(0, 0, 0, .04), 0 24px 48px -30px rgba(0, 0, 0, .22);
  --ease: cubic-bezier(.2, 0, 0, 1);
  --fast: 80ms; --mid: 160ms; --slow: 240ms;

  --gutter: clamp(16px, 4vw, 48px);
  --shell: 1160px; --wide: 1280px; --nav-h: 60px;
  --r: 12px; --r-sm: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; background: var(--bg); color: var(--text); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-feature-settings: "ss01"; }
/* How it works: as each step is read, the page warms to a faint tint, sand for Ask, sage for Research, lilac for Brief. */
body { transition: background-color 1.2s var(--ease); }
:root[data-tone="ask"] body { background-color: #F5F0E8; }
:root[data-tone="research"] body { background-color: #EDF2EC; }
:root[data-tone="brief"] body { background-color: #F1EFF6; }
/* The headings and their lines take a very dark shade of the same colour: brown on sand, green on sage, plum on lilac. */
.how h2, .how .kicker, .walk-step h3, .walk-step > p, .walk-index a[aria-current] { transition: color 1.2s var(--ease), border-color 1.2s var(--ease); }
:root[data-tone="ask"] { --tone-ink: #3B2A1C; --tone-ink-2: #6B5543; }
:root[data-tone="research"] { --tone-ink: #16342A; --tone-ink-2: #4A6658; }
:root[data-tone="brief"] { --tone-ink: #2E2547; --tone-ink-2: #625A7C; }
:root[data-tone] .how h2, :root[data-tone] .walk-step h3, :root[data-tone] .walk-index a[aria-current] { color: var(--tone-ink); border-bottom-color: var(--tone-ink); }
:root[data-tone] .how .kicker, :root[data-tone] .walk-step > p { color: var(--tone-ink-2); }
img { display: block; max-width: 100%; height: auto; }
/* Paper grain over the whole page: noise, not a gradient, so white reads as paper. */
body::before { content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .05; mix-blend-mode: multiply; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
a { color: inherit; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
h1, h2, h3 { margin: 0; text-wrap: balance; color: var(--text); }
h1 { font: 400 clamp(44px, 5.6vw, 78px)/1.02 var(--serif); letter-spacing: -.025em; }
h2 { font: 400 clamp(32px, 3.4vw, 46px)/1.08 var(--serif); letter-spacing: -.02em; }
h3 { font: 500 16px/1.35 var(--sans); letter-spacing: -.012em; }
.shell { width: min(var(--shell), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 60; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; box-shadow: var(--raised); }
:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--focus), 0 0 0 1px var(--brand); border-radius: 6px; }
.num { font: 500 12px/1 var(--mono); color: var(--text-3); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.kicker { font: 500 13px/1 var(--sans); color: var(--brand); margin-bottom: 16px; }
.how .kicker { color: var(--lilac-ink); }

/* Buttons: square, flat fills. One primary (teal), one ghost (white). */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px;
  font: 500 15px/1 var(--sans); letter-spacing: -.01em; border: 0; border-radius: 0; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background var(--fast) var(--ease), box-shadow var(--fast) var(--ease), color var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.btn:active { transform: scale(.98); }
/* Request an invite, in the manner of Questrade's button: a flat square fill, an arrow after the label that steps
   forward on hover, and a hover that turns the fill near-black. */
.btn-arrow { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: square; transition: transform 220ms cubic-bezier(0, 0, .2, 1); }
.btn:hover .btn-arrow { transform: translateX(3px); }
.btn-lg { height: 54px; padding: 0 24px; gap: 10px; font-size: 17px; font-weight: 400; }
.btn-primary, .btn-dark, .nav .btn-nav {
  background: var(--brand); color: #fff;
  box-shadow: none;
  transition: background 220ms cubic-bezier(0, 0, .2, 1), color 220ms cubic-bezier(0, 0, .2, 1), transform 220ms cubic-bezier(0, 0, .2, 1);
}
.btn-primary:hover, .btn-dark:hover, .nav .btn-nav:hover { background: #0B1F1A; }
.btn-primary:active, .btn-dark:active { background: #0B1F1A; }
.btn-primary:focus-visible, .btn-dark:focus-visible, .nav .btn-nav:focus-visible { box-shadow: 0 0 0 1px var(--brand-edge), 0 0 0 4px var(--focus); }
.btn-ghost { background: var(--surface); color: var(--text); box-shadow: var(--raised); }
.btn-ghost:hover { background: var(--sunk); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn-nav { height: 34px; padding: 0 14px; font-size: 14px; border-radius: 0; }
/* Call-to-action buttons speak in small mono capitals, quiet and precise (after stack.vc's labels). */
.btn-primary, .nav .btn-nav { font: 400 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.btn-primary.btn-lg { font-size: 13px; }
.btn-primary.btn-lg .btn-arrow { width: 16px; height: 16px; }

/* The CTA, after stack.vc's: two square blocks a hairline apart, a pixel arrow in a tile and the label in small mono
   capitals. On hover the arrow's tile slides from the front to the back of the label and the words roll over. */
.cta { --cta-bg: var(--green-deep); --cta-fg: #fff; --cta-h: 56px; display: inline-flex; align-items: stretch; gap: 4px; height: var(--cta-h); padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: var(--cta-fg); text-decoration: none; cursor: pointer; font: 400 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.cta-icon { display: grid; place-items: center; flex: none; width: var(--cta-h); overflow: hidden; background: var(--cta-bg); transition: width 450ms var(--ease), margin 450ms var(--ease); }
.cta-icon svg { flex: none; width: 12px; height: 20px; fill: currentColor; }
.cta-icon-end { width: 0; margin-left: -4px; }
.cta-label { display: flex; align-items: center; justify-content: center; padding: 0 25px; background: var(--cta-bg); }
.cta-roll { display: grid; height: 1.25em; overflow: hidden; line-height: 1.25; }
.cta-roll > span { white-space: nowrap; transition: transform 450ms var(--ease); }
.cta:hover .cta-roll > span, .cta:focus-visible .cta-roll > span { transform: translateY(-100%); }
.cta:hover .cta-icon:first-child, .cta:focus-visible .cta-icon:first-child { width: 0; margin-right: -4px; }
.cta:hover .cta-icon-end, .cta:focus-visible .cta-icon-end { width: var(--cta-h); margin-left: 0; }
.cta:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; box-shadow: none; }
.cta[disabled] { opacity: .6; cursor: wait; }
.cta-sm { --cta-h: 34px; }
.cta-sm .cta-label { padding: 0 14px; }
.cta-sm .cta-icon svg { width: 9px; height: 15px; }
.cta-light { --cta-bg: #fff; --cta-fg: var(--green-deep); }
.cta-block { display: flex; width: 100%; }
.cta-block .cta-label { flex: 1; }

/* Nav: quiet at the top, a hairline once the page moves. */
.nav { position: fixed; inset: 0 0 auto; z-index: 40; background: rgba(255, 255, 255, .72); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); transition: box-shadow var(--slow) var(--ease); }
.nav.is-scrolled, .nav.is-open { box-shadow: 0 1px 0 var(--line); }
.nav-row { height: var(--nav-h); display: flex; align-items: center; gap: 32px; }
.wordmark { display: inline-flex; align-items: center; gap: 3px; text-decoration: none; color: var(--text); font: 600 17px Parkinsans, var(--sans); letter-spacing: -.02em; border-radius: 6px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a, .nav-signin { display: inline-flex; align-items: center; height: 32px; padding: 0 10px; border-radius: 7px; color: var(--text-2); text-decoration: none; font-size: 14px; white-space: nowrap; transition: color var(--fast) var(--ease), background var(--fast) var(--ease); }
.nav-links a:hover, .nav-signin:hover { color: var(--text); background: rgba(0, 0, 0, .04); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-links + .nav-cta { margin-left: 8px; }
.nav-menu { display: none; width: 36px; height: 36px; align-items: center; justify-content: center; border: 0; border-radius: 8px; background: none; color: var(--text); cursor: pointer; }
.nav-menu:hover { background: rgba(0, 0, 0, .05); }
.nav-menu svg path { transition: transform var(--mid) var(--ease); transform-origin: 12px 12px; }
.nav-menu[aria-expanded="true"] svg path:first-child { transform: translateY(3px) rotate(45deg); }
.nav-menu[aria-expanded="true"] svg path:last-child { transform: translateY(-3px) rotate(-45deg); }
.nav-sheet { display: grid; padding: 6px var(--gutter) 14px; }
.nav-sheet a { display: flex; align-items: center; height: 48px; font-size: 16px; text-decoration: none; color: var(--text); border-top: 1px solid var(--line); }
.nav-sheet a:first-child { border-top: 0; }
.js .nav-sheet:not([hidden]) { animation: sheet-in var(--mid) var(--ease); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(-6px); } }

/* Hero: the headline on the left, a deck spreading open on the right. The cards are soft, out-of-focus shapes in deep
   green and lilac, fanning from one corner below the page. They open once when the page loads, then breathe. */
/* The text sits a fixed, generous distance below the nav (not centred in the screen, which pushed it up under the nav
   once the product image started rising into the hero). */
.hero { --overlap: clamp(96px, 12vw, 200px); position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--nav-h) + clamp(96px, 10.5vw, 150px)) 0 calc(var(--overlap) + clamp(96px, 11vw, 160px)); background: var(--hero-bg); }
.hero-copy { position: relative; z-index: 2; display: grid; justify-items: start; text-align: left; }
.hero-tag { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 6px 16px 6px 7px; border-radius: 999px; font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #F2F2F2; background: linear-gradient(90deg, rgba(4, 26, 20, .55), rgba(4, 26, 20, .15)), url("../img/photo/forest.webp") 38% 40% / 220% auto no-repeat, #0B2A22; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.hero-tag svg { width: 28px; height: 28px; overflow: visible; animation: tag-glow 4.8s var(--ease) infinite; }
.hero-tag .grow path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: tag-draw 4.8s var(--ease) infinite; }
.tag-ring { stroke-dasharray: 1; stroke-dashoffset: 1; animation: tag-ring 4.8s var(--ease) infinite; }
.tag-text { background: linear-gradient(100deg, #F2F2F2 0 42%, #9FF0D8 50%, #F2F2F2 58% 100%) 100% 0 / 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: tag-shine 4.8s var(--ease) infinite; }
@keyframes tag-draw { 0% { stroke-dashoffset: 1; opacity: 1; } 35% { stroke-dashoffset: 0; opacity: 1; } 70% { stroke-dashoffset: 0; opacity: 1; } 85%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes tag-ring { 0% { stroke-dashoffset: 1; opacity: 1; } 40% { stroke-dashoffset: 0; opacity: 1; } 70% { stroke-dashoffset: 0; opacity: 1; } 85%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes tag-glow { 0%, 30% { filter: drop-shadow(0 0 0 rgba(45, 196, 172, 0)); } 45% { filter: drop-shadow(0 0 6px rgba(45, 196, 172, .9)); } 65%, 100% { filter: drop-shadow(0 0 0 rgba(45, 196, 172, 0)); } }
@keyframes tag-shine { 0%, 30% { background-position: 100% 0; } 60%, 100% { background-position: 0 0; } }
/* The pill plays like slow drone footage: five aerial photos crossfade in turn, each drifting in a slow zoom. The
   pill's own forest background stays underneath, so with motion turned off it simply shows the forest. */
.tag-reel { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.tag-reel i { position: absolute; inset: 0; opacity: 0; background: linear-gradient(90deg, rgba(4, 26, 20, .58), rgba(4, 26, 20, .18)), var(--img) center / cover no-repeat; animation: tag-reel 20s linear infinite; will-change: opacity, transform; }
.tag-reel i:nth-child(1) { --img: url("../img/tag/forest.jpg"); animation-delay: 0s; }
.tag-reel i:nth-child(2) { --img: url("../img/tag/river.jpg"); animation-delay: 4s; }
.tag-reel i:nth-child(3) { --img: url("../img/tag/lake.jpg"); animation-delay: 8s; }
.tag-reel i:nth-child(4) { --img: url("../img/tag/fields.jpg"); animation-delay: 12s; }
.tag-reel i:nth-child(5) { --img: url("../img/tag/farmland.jpg"); animation-delay: 16s; }
.hero-tag > svg, .hero-tag > .tag-text { position: relative; z-index: 1; }
@keyframes tag-reel { 0% { opacity: 0; transform: scale(1.02); } 5% { opacity: 1; } 20% { opacity: 1; } 25% { opacity: 0; transform: scale(1.16); } 100% { opacity: 0; transform: scale(1.16); } }
.hero h1 { max-width: 21ch; font-size: clamp(46px, 5.4vw, 80px); }
.hero .lede { margin-top: 24px; max-width: 40ch; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.5; color: var(--text-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }

.hero-art { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.fan { position: absolute; right: -3%; top: 46%; width: 0; height: 0; --cw: clamp(260px, 25vw, 420px); animation: fan-roll 90s linear infinite; will-change: transform; }
.fan.is-paused { animation-play-state: paused; }
.fan-card {
  --a: calc(var(--i) * 22.5deg);
  position: absolute; left: 0; bottom: 0; width: var(--cw); aspect-ratio: 2.5 / 3.5; margin-left: calc(var(--cw) / -2);
  border-radius: 7%; transform-origin: 50% 100%; transform: rotate(var(--a));
  background: var(--green-deep); filter: blur(18px);
  animation: fan-open 1.8s cubic-bezier(.2, 0, 0, 1) both; animation-delay: calc(var(--i) * 40ms);
}
.fan-card:nth-child(even) { background: var(--lilac-2); }
.fan-card:nth-child(4n+3) { background: var(--green-mid); }
.fan-card:nth-child(3n) { filter: blur(26px); }
.fan-card:nth-child(3n+1) { filter: blur(11px); }
/* Open from a closed stack on load; then the whole ring turns, slowly and without end, so the cards roll through. */
@keyframes fan-open { from { transform: rotate(-60deg); opacity: 0; } to { transform: rotate(var(--a)); opacity: 1; } }
@keyframes fan-roll { to { transform: rotate(360deg); } }
/* The product, on white, rising into the bottom of the hero so the two read as one opening. */
.showcase-band { position: relative; z-index: 3; padding-bottom: 8px; }
/* Built for: a quiet strip under the showcase, where a logo row would sit, naming kinds of teams rather than companies. */
.built-for { padding: clamp(48px, 6vw, 80px) 0 0; }
.built-row { display: grid; gap: 22px; justify-items: center; }
.built-label { flex: none; font: 500 13px/1 var(--sans); color: var(--text-3); white-space: nowrap; }
/* On big screens the names always sit on one line, spread evenly across the page width. */
.built-list { display: flex; flex-wrap: nowrap; justify-content: space-between; gap: 24px; width: 100%; margin: 0; padding: 0; list-style: none; }
.built-list li { font: 400 clamp(17px, 1.45vw, 21px)/1.2 var(--serif); letter-spacing: -.01em; color: var(--text-3); white-space: nowrap; }

/* Showcase: the real app in a window, standing on an aerial photo. */
.showcase { position: relative; width: min(1360px, 100% - 2 * clamp(12px, 2.8vw, 40px)); margin: calc(-1 * clamp(96px, 12vw, 200px)) auto 0; }

/* Hero: the deck view built from real data. Sized on a 1280px design grid (--u) so it scales like a picture;
   square corners, no browser bar; the second row of cards runs off the bottom edge. */
.hx { --u: calc(100cqw / 1280); container-type: inline-size; }
.stage:has(.hx) { container-type: inline-size; }
.hx { position: relative; overflow: hidden; aspect-ratio: 1280 / 690; padding: calc(var(--u) * 40) calc(var(--u) * 48) 0; color: #171717; background: #FAFAFA; box-shadow: 0 0 0 1px rgba(0, 0, 0, .1), 0 2px 4px rgba(0, 0, 0, .06), 0 40px 80px -30px rgba(0, 0, 0, .55); font-size: calc(var(--u) * 14); }
.hx-head { display: flex; align-items: flex-start; justify-content: space-between; padding-bottom: calc(var(--u) * 26); border-bottom: 1px solid #E6E6E6; }
.hx-title { display: flex; align-items: center; gap: calc(var(--u) * 16); }
.hx-mark { width: calc(var(--u) * 46); height: calc(var(--u) * 46); flex: none; }
.hx-name { font: 400 calc(var(--u) * 40)/1.05 var(--serif); letter-spacing: -.015em; }
.hx-sub { margin-top: calc(var(--u) * 6); font-size: calc(var(--u) * 15); color: #6B6B6B; }
.hx-actions { display: flex; align-items: center; gap: calc(var(--u) * 8); }
.hx-ic { width: calc(var(--u) * 38); height: calc(var(--u) * 38); border-radius: calc(var(--u) * 9); background: #fff; box-shadow: 0 0 0 1px #E3E3E3; }
.hx-ask { display: inline-flex; align-items: center; height: calc(var(--u) * 38); padding: 0 calc(var(--u) * 18); border-radius: calc(var(--u) * 9); font: 500 calc(var(--u) * 15) var(--sans); color: #fff; background: #087F6A; }
.hx-kpis { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; margin: calc(var(--u) * 24) 0; border: 1px solid #E6E6E6; border-radius: calc(var(--u) * 14); background: #fff; }
.hx-kpis > div { padding: calc(var(--u) * 16) calc(var(--u) * 20); }
.hx-kpis > div + div { border-left: 1px solid #E6E6E6; }
.hx-kpis dt { font-size: calc(var(--u) * 12.5); color: #6B6B6B; }
.hx-kpis dd { margin: calc(var(--u) * 6) 0 0; font: 400 calc(var(--u) * 34)/1 var(--serif); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.hx-kpis span { display: block; margin-top: calc(var(--u) * 6); font-size: calc(var(--u) * 12.5); color: #737373; }
.hx-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(var(--u) * 18); }
.hx-cards li { padding: calc(var(--u) * 20); border-radius: calc(var(--u) * 16); background: #fff; box-shadow: 0 0 0 1px #E6E6E6, 0 1px 2px rgba(0, 0, 0, .04); }
.hx-cards img { display: block; padding: calc(var(--u) * 4); width: calc(var(--u) * 44); height: calc(var(--u) * 44); border-radius: calc(var(--u) * 10); box-shadow: 0 0 0 1px #E6E6E6; object-fit: contain; background: #fff; }
.hx-cards b { display: block; margin-top: calc(var(--u) * 12); font-size: calc(var(--u) * 19); font-weight: 600; letter-spacing: -.01em; }
.hx-hq { display: block; margin-top: calc(var(--u) * 2); font-size: calc(var(--u) * 12.5); color: #6B6B6B; }
.hx-cards p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: calc(var(--u) * 10); font-size: calc(var(--u) * 13); line-height: 1.45; color: #555; }
.hx-cards dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(var(--u) * 8); margin-top: calc(var(--u) * 14); }
.hx-cards dl > div { padding: calc(var(--u) * 10) calc(var(--u) * 12); border-radius: calc(var(--u) * 8); background: #F3F3F3; }
.hx-cards dt { font-size: calc(var(--u) * 11.5); color: #6B6B6B; }
.hx-cards dd { margin: calc(var(--u) * 4) 0 0; font-size: calc(var(--u) * 20); font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }

/* Photo stage: the real product sits on an aerial photo, as on the previous page. */
.stage { position: relative; isolation: isolate; overflow: hidden; border-radius: 0; padding: clamp(14px, 5vw, 72px); background: var(--sunk) center / cover no-repeat; }
.stage::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.stage-river { background-image: url("../img/photo/river.webp"); }
.stage-fields { background-image: url("../img/photo/fields.webp"); }
.stage-forest { background-image: url("../img/photo/forest.webp"); }
/* Tinted stages: one accent each, with its own pattern drawn in that accent. */
.stage-tint { padding: clamp(14px, 3.2vw, 40px); border-radius: 0; }
.stage-tint .frame { box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 2px 4px rgba(0, 0, 0, .04), 0 30px 60px -36px rgba(0, 0, 0, .35); }
.t-pink { background: var(--pink-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14'%3E%3Ccircle cx='2' cy='2' r='1.1' fill='%23D6409F' fill-opacity='.22'/%3E%3C/svg%3E"); }
.t-violet { background: var(--violet-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M24 .5H0M.5 0v24' stroke='%236E56CF' stroke-opacity='.14'/%3E%3C/svg%3E"); }
.t-teal { background: var(--teal-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10'%3E%3Cpath d='M-2 12 12-2' stroke='%23087F6A' stroke-opacity='.12'/%3E%3C/svg%3E"); }
.stage .window { box-shadow: 0 0 0 1px rgba(0, 0, 0, .1), 0 2px 4px rgba(0, 0, 0, .06), 0 40px 80px -30px rgba(0, 0, 0, .55); }

/* Hero animation: the deck's cards; the chat panel slides in from the right, the cards reflow beside it,
   it rests, then everything reverses. Three real captures: closed, open, and the panel on its own. 12s loop. */
.hero-anim { position: relative; overflow: hidden; }
.ha-layer { display: block; }
.ha-layer img { display: block; width: 100%; height: auto; }
.ha-open, .ha-chat { position: absolute; top: 0; bottom: 0; }
.ha-open { left: 0; right: 0; opacity: 0; animation: ha-open 12s infinite; }
.ha-chat { right: 0; width: 27.78%; transform: translateX(101%); animation: ha-chat 12s infinite; }
.ha-open img, .ha-chat img { height: 100%; object-fit: cover; object-position: top left; }
.hero-anim.is-paused .ha-open, .hero-anim.is-paused .ha-chat { animation-play-state: paused; }
@keyframes ha-chat {
  0%, 22% { transform: translateX(101%); animation-timing-function: cubic-bezier(.2, 0, 0, 1); }
  25%, 78% { transform: none; animation-timing-function: cubic-bezier(.4, 0, 1, 1); }
  80%, 100% { transform: translateX(101%); }
}
@keyframes ha-open {
  0%, 25% { opacity: 0; }
  27%, 76% { opacity: 1; }
  78%, 100% { opacity: 0; }
}

.window { overflow: hidden; border-radius: var(--r); background: var(--surface); box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 2px 4px rgba(0, 0, 0, .03), 0 40px 80px -48px rgba(0, 0, 0, .28); }
.window-top { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--surface); }
.window-top i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.window-top span { margin: 0 auto; transform: translateX(-24px); font: 400 12px var(--mono); color: var(--text-3); }
.window-body, .caps-stage { position: relative; display: grid; }
.window-body > .shot, .caps-stage > .shot { grid-area: 1 / 1; }
.shot img { width: 100%; height: auto; }
.js .shot.is-on { animation: shot-in 320ms var(--ease); }
@keyframes shot-in { from { opacity: 0; } }

/* Companies researched: real brand marks, quiet, labelled for what they are. */

/* Proof: one real deck, counted, as one centred serif sentence on the band. */

/* Sections */
.section { padding: clamp(88px, 11vw, 152px) 0 0; }
.head { max-width: 640px; }
.head-wide { max-width: 760px; }
.head .sub, .sub { margin-top: 18px; font-size: 17px; line-height: 1.55; color: var(--text-2); max-width: 58ch; }

.frame { overflow: hidden; border-radius: var(--r); background: var(--surface); box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 24px 48px -36px rgba(0, 0, 0, .25); }
.frame img { width: 100%; }

/* 2. How it works: a step index that stays put on the left; on the right one Stratemark window, shown at real size
   on a photo and cropped by the frame, changing one thing per step. Only the research step uses frosted glass. */
.walk { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); margin-top: clamp(48px, 6vw, 80px); counter-reset: walk; }
.walk-index { position: sticky; top: calc(var(--nav-h) + 56px); align-self: start; display: grid; }
.walk-index a { display: flex; text-decoration: none; align-items: baseline; gap: 14px; padding: 12px 0; font-size: 15px; color: var(--text-3); border-bottom: 1px solid var(--line); transition: color var(--mid) var(--ease), border-color var(--mid) var(--ease); }
.walk-index a::before { counter-increment: walk; content: "0" counter(walk); font: 400 12px var(--mono); }
.walk-index a:hover { color: var(--text-2); }
.walk-index a[aria-current] { color: var(--text); border-bottom-color: var(--text); }
.walk-steps { display: grid; gap: clamp(96px, 12vw, 168px); }
.walk-step { scroll-margin-top: calc(var(--nav-h) + 40px); }
.walk-step h3 { font: 400 clamp(25px, 2.3vw, 31px)/1.15 var(--serif); letter-spacing: -.015em; }
.walk-step > p { margin-top: 10px; font-size: 16px; line-height: 1.55; color: var(--text-2); max-width: 46ch; }

/* The picture: a photo with the app window on it, cropped by the frame's right and bottom edges. */
.pic { position: relative; isolation: isolate; overflow: hidden; margin-top: 28px; aspect-ratio: 16 / 10; border-radius: 0; background: var(--sunk) center / cover no-repeat; }
.pic::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.pic-fields { background-image: url("../img/photo/fields.webp"); }
.pic-forest { background-image: url("../img/photo/forest.webp"); }
.pic-lake { background-image: url("../img/photo/lake.webp"); }
.pic-terraces { background-image: url("../img/photo/terraces.webp"); }
.pic-shore { background-image: url("../img/photo/shore.webp"); }
.pic-render { background: #3A443D; }
.pic-render::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #3A443D url("../img/scene/petals.webp") 20% 40% / 150% auto no-repeat; background-blend-mode: lighten; filter: saturate(.3) brightness(1.02); }

.win { position: absolute; top: 16%; left: 9%; width: 112%; min-height: 100%; border-radius: 0; color: var(--text); background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 2px 4px rgba(0, 0, 0, .04), 0 40px 80px -36px rgba(0, 0, 0, .55); }
.win-body { padding: 36px 44px; }
.win-title { font: 400 32px/1.15 var(--serif); letter-spacing: -.015em; max-width: 20ch; }
.win-sub { margin-top: 6px; font-size: 14px; color: var(--text-3); }
.win-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 13.5px; color: var(--text-3); }
.win-label { font: 500 13px var(--sans); color: var(--text-3); }
.walk-step .win-label { margin-top: 30px; }
.hyp { font-weight: 500; color: var(--violet); }

/* Ask */
.ask { max-width: 600px; margin-top: 26px; padding: 18px 20px 14px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 10px 28px -14px rgba(0, 0, 0, .22); }
.ask-q { font-size: 18px; line-height: 1.45; }
.ask-caret { display: inline-block; width: 1.5px; height: 1.1em; margin-left: 2px; vertical-align: -3px; background: var(--brand); animation: caret 1.1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.ask-row { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; }
.chip { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 13.5px; color: var(--text-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.ask-send { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #fff; background: var(--brand); }
.ask-send svg { width: 16px; height: 16px; }

/* Figures */
.figs { max-width: 620px; margin-top: 26px; }
.figs > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.figs .figs-head { padding: 0 0 8px; font-size: 12.5px; color: var(--text-3); }
.figs dt span { display: block; margin-top: 2px; font-size: 12.5px; color: var(--text-3); }
.figs dd { margin: 0; display: inline-flex; align-items: center; font-variant-numeric: tabular-nums; white-space: nowrap; }
.figs dd.is-none { color: var(--text-3); }
.figs .is-wait dt { color: var(--text-3); }
.ev { display: inline-flex; align-items: center; gap: 5px; margin-left: 14px; font-size: 13px; color: var(--text-2); }
.ev svg { width: 14px; height: 14px; flex: none; }
.bar { display: inline-block; width: 120px; height: 10px; border-radius: 5px; background: linear-gradient(90deg, #EFEFEF 20%, #F8F8F8 50%, #EFEFEF 80%) 0 0 / 300% 100%; animation: bar 1.6s linear infinite; }
@keyframes bar { to { background-position: -300% 0; } }

/* The research step: the window lower right, the frosted status card over the render. */
.win-deck { top: 14%; left: 38%; }
.win-deck .win-body { padding: 30px 32px; }
.win-deck .figs { max-width: 440px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Decide */
.seg { display: flex; gap: 4px; max-width: 520px; margin-top: 10px; padding: 4px; border-radius: 12px; background: var(--sunk); }
.seg span { flex: 1; padding: 11px 12px; border-radius: 9px; text-align: center; font-size: 15px; color: var(--text-2); white-space: nowrap; }
.seg .is-on { color: var(--text); font-weight: 500; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 1px 3px rgba(0, 0, 0, .08); }
.win-reading { margin-top: 18px; font-size: 14.5px; color: var(--text-3); }

/* How it works shows the app in its dark theme. */
.walk .win { color: #EDEDED; background: #1F1F1F; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 2px 4px rgba(0, 0, 0, .2), 0 40px 80px -30px rgba(0, 0, 0, .7); }
.walk .hyp { color: #B4A5FF; }
.walk .ask { background: #2A2A2A; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 12px 28px -14px rgba(0, 0, 0, .6); }
.walk .ask-caret { background: #2DC4AC; }
.walk .chip { color: #BDBDBD; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.walk .ask-send { color: #0B1F1A; background: #2DC4AC; }
.walk .figs > div { border-bottom-color: #333; }
.walk .figs .figs-head, .walk .figs .is-wait dt { color: #8A8A8A; }
.walk .ev { color: #BDBDBD; }
.walk .bar { background: linear-gradient(90deg, #2C2C2C 20%, #383838 50%, #2C2C2C 80%) 0 0 / 300% 100%; }
.walk .seg { background: #2A2A2A; }
.walk .seg span { color: #A3A3A3; }
.walk .seg .is-on { color: #fff; background: #3A3A3A; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 1px 3px rgba(0, 0, 0, .4); }

/* Dense, real content inside the How it works windows. */
.walk .win { top: 11%; left: 9%; right: 0; width: auto; min-height: 100%; }
.walk .win-body { padding: 28px 32px; }
.walk .win-title { font-size: 28px; }
.walk .ask { margin-top: 18px; max-width: none; }
.win-gap { margin-top: 26px; }
.figs-tight { max-width: 560px; margin-top: 8px; }
.figs-tight > div { padding: 10px 0; font-size: 14.5px; }
.figs-tight dd { color: #9A9A9A; font-size: 13px; }
.walk .win-deck { top: 8%; left: 40%; right: 0; }
.walk .win-deck .win-body { padding: 24px 26px; }
.kpis { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 36px; padding-bottom: 18px; border-bottom: 1px solid #333; }
.kpis dt { font-size: 12px; color: #9A9A9A; }
.kpis dd { margin: 4px 0 0; font: 400 28px/1 var(--serif); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.kpis span { display: block; margin-top: 4px; font-size: 12px; color: #8A8A8A; }
.tbl { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.tbl th { padding: 6px 0; font-weight: 400; font-size: 11.5px; color: #8A8A8A; text-align: right; }
.tbl th:first-child, .tbl td:first-child { text-align: left; }
.tbl td { padding: 7px 0 7px 14px; text-align: right; white-space: nowrap; border-top: 1px solid #2E2E2E; }
.tbl td:first-child { padding-left: 0; }
.tbl .is-none { color: #7A7A7A; }
.tbl .is-wait td:first-child { color: #7A7A7A; }
.tbl .bar { width: 52px; height: 8px; }
.vf { display: inline-flex; align-items: center; gap: 5px; }
.vf::after { content: ""; width: 12px; height: 12px; flex: none; background: currentColor; opacity: .7; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='6' fill='none' stroke='black' stroke-width='1.5'/%3E%3Cpath d='M5.4 8.2l1.8 1.8 3.4-3.6' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='6' fill='none' stroke='black' stroke-width='1.5'/%3E%3Cpath d='M5.4 8.2l1.8 1.8 3.4-3.6' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.tbl-note { display: flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 11.5px; color: #8A8A8A; }
.tbl-note svg { width: 12px; height: 12px; flex: none; }
.opp { margin-top: 12px; padding: 14px 16px; border-radius: 10px; background: #262626; }
.opp-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; font-size: 15px; }
.opp b { font-weight: 500; }
.opp-note { margin-left: auto; font-size: 12.5px; color: #8A8A8A; }
.decide { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.decide .seg { flex: 1; margin: 0; }
.walk .decide .win-label { margin: 0; flex: none; }
.walk .seg span { padding: 9px 10px; font-size: 13.5px; }

.mkts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.mkts li { padding: 14px 16px 16px; border-radius: 10px; background: #262626; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); }
.mkts b { display: block; font-weight: 500; font-size: 14px; line-height: 1.35; }
.mkts span { display: block; margin-top: 8px; font-size: 12px; color: #8A8A8A; }
.brief-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.brief-title { margin-top: 4px; font: 400 26px/1.15 var(--serif); letter-spacing: -.015em; }
.brief-read { flex: none; display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; font: 500 13px var(--sans); color: #F1CB73; background: rgba(241, 203, 115, .1); box-shadow: inset 0 0 0 1px rgba(241, 203, 115, .28); }
.brief-why { max-width: 72ch; margin-top: 12px; font-size: 14.5px; line-height: 1.55; color: #D2D2D2; }
.brief sup { margin-left: 2px; font: 500 9.5px var(--mono); color: #2DC4AC; vertical-align: 3px; }
.brief-grid { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 1px; margin-top: 16px; overflow: hidden; border-radius: 10px; background: #333; box-shadow: 0 0 0 1px #333; }
.brief-grid > div { padding: 14px 16px; background: #1F1F1F; }
.kv { margin-top: 8px; font: 400 30px/1 var(--serif); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.kv-sub { margin-top: 6px; font-size: 12px; color: #8A8A8A; }
.risks { display: grid; gap: 5px; margin-top: 8px; font-size: 14px; }
.crit { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.crit li { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 7px; font-size: 12.5px; color: #9A9A9A; background: #1F1F1F; }
.crit b { font-weight: 500; color: #EDEDED; }
.crit b.is-none { color: #8A8A8A; }

/* The research status card: frosted glass straddling the render and the window, so half of it blurs the table below. */
.status { position: absolute; z-index: 2; left: 21%; bottom: 9%; width: min(37%, 340px); padding: 18px 18px 16px; border-radius: 16px; color: #fff; background: #1A1A1A; box-shadow: 0 0 0 1px rgba(255, 255, 255, .09), inset 0 1px 0 rgba(255, 255, 255, .06), 0 30px 60px -20px rgba(0, 0, 0, .75), 0 2px 8px rgba(0, 0, 0, .3); }
.status-brain { width: 36px; height: 36px; flex: none; }
.status-brain .grow path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: brain-grow 2.6s var(--ease) infinite; }
@keyframes brain-grow { 0% { stroke-dashoffset: 1; opacity: 1; } 55% { stroke-dashoffset: 0; opacity: 1; } 85%, 100% { stroke-dashoffset: 0; opacity: 0; } }
.status-steps { border-top-color: rgba(255, 255, 255, .1); }

/* Ask step: only the question box on the photo, with your markets as pills under it. */
.pic-ask { display: grid; place-items: center; padding: 6%; }
.ask-float { width: min(88%, 640px); }
.walk .pic-ask .ask { margin: 0; padding: 18px 18px 14px 20px; border-radius: 22px; background: rgba(26, 26, 26, .94); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), inset 0 1px 0 rgba(255, 255, 255, .06), 0 2px 6px rgba(0, 0, 0, .2), 0 36px 70px -28px rgba(0, 0, 0, .8); }
.ask-ph { display: flex; align-items: center; min-height: 48px; font-size: 16px; color: #8E8E8E; }
.ask-ph .ask-caret { background: #2DC4AC; }
.ask-tools { display: flex; align-items: center; gap: 8px; }
.ask-btn { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: #A3A3A3; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.ask-btn svg { width: 15px; height: 15px; }
.walk .pic-ask .chip { gap: 6px; height: 32px; color: #C8C8C8; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.walk .pic-ask .chip svg { width: 14px; height: 14px; }
.walk .pic-ask .ask-send { width: 32px; height: 32px; border-radius: 10px; }
/* The Ask box types a market, then a glow runs round its edge. */
@property --ask-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.ask-lg { position: relative; isolation: isolate; transition: box-shadow 600ms var(--ease); }
.ask-lg::before { content: ""; position: absolute; inset: -1.5px; z-index: 2; padding: 2px; border-radius: inherit; pointer-events: none; opacity: 0; background: conic-gradient(from var(--ask-a), rgba(45, 196, 172, .25) 0deg, #2DC4AC 70deg, #D2FFF2 130deg, #2DC4AC 190deg, rgba(45, 196, 172, .25) 260deg, rgba(45, 196, 172, .25) 360deg); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); transition: opacity 500ms var(--ease); }
.ask-lg.is-sent::before { opacity: 1; animation: ask-spin 2.4s linear infinite; }
@keyframes ask-spin { to { --ask-a: 360deg; } }
.walk .pic-ask .ask-lg.is-sent { box-shadow: 0 0 0 1px rgba(45, 196, 172, .4), 0 0 28px 2px rgba(45, 196, 172, .45), 0 0 80px 6px rgba(45, 196, 172, .25), 0 36px 70px -28px rgba(0, 0, 0, .8); }
.ask-typed { color: #F2F2F2; white-space: pre; }
.ask-ph .ask-caret { margin: 0 0 0 1px; }
.ask-hint { margin-left: 2px; }
.ask-ph.has-text .ask-hint { display: none; }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.pills li { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; font-size: 13.5px; color: #EDEDED; background: rgba(26, 26, 26, .78); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 8px 18px -10px rgba(0, 0, 0, .6); }
.pills span { font: 400 11.5px var(--mono); color: #8E8E8E; }
.status-top { display: flex; align-items: center; gap: 12px; }
.status-title { font: 600 16px/1.2 var(--sans); letter-spacing: -.01em; }
.status-sub { margin-top: 2px; font-size: 12.5px; color: rgba(255, 255, 255, .62); }
.status-steps { display: grid; gap: 9px; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .12); }
.status-steps li { display: flex; align-items: center; gap: 9px; font-size: 13.5px; line-height: 1.3; color: rgba(255, 255, 255, .78); }
.status-steps li.is-now { color: #fff; font-weight: 500; }
.status-steps svg { width: 15px; height: 15px; flex: none; color: #7FE3C6; }
.status-steps em { margin-left: auto; font: 400 12px var(--mono); font-style: normal; color: rgba(255, 255, 255, .6); font-variant-numeric: tabular-nums; }
.status-spin { width: 14px; height: 14px; flex: none; border-radius: 50%; border: 1.7px solid rgba(255, 255, 255, .22); border-top-color: #fff; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.status-bar { position: relative; overflow: hidden; height: 4px; margin-top: 14px; border-radius: 2px; background: rgba(255, 255, 255, .14); }
.status-bar span { position: absolute; inset: 0 auto 0 0; width: 56%; border-radius: inherit; background: linear-gradient(90deg, #4FCBAE, #9FF0D8); }
.status-bar span::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent); transform: translateX(-100%); animation: sweep 1.8s var(--ease) infinite; }
@keyframes sweep { to { transform: translateX(100%); } }
.status-now { margin-top: 10px; font: 400 11.5px var(--mono); color: rgba(255, 255, 255, .55); }

/* 3. Product: a row per point, title left and one sentence right, one wide picture under it. */
.links { margin-top: 14px; max-width: 560px; }
.links li { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: baseline; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.links li:first-child { border-top: 1px solid var(--line); }
.links b { font-weight: 500; white-space: nowrap; }
.links span { color: var(--text-3); }
.links em { font: 400 12.5px var(--mono); font-style: normal; color: var(--text-3); }
.win-name { font: 400 27px/1.2 var(--serif); letter-spacing: -.015em; }
.figs-crit { max-width: 440px; margin-top: 16px; }
.figs-crit > div { padding: 10px 0; font-size: 15px; }
.win-news { max-width: 40ch; margin-top: 8px; font-size: 18px; line-height: 1.45; }
.stale { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 520px; margin-top: 26px; padding: 14px 16px; border-radius: 10px; font-size: 14.5px; color: var(--text-2); background: var(--band); }
.btn-mini { flex: none; display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 8px; font: 500 13.5px var(--sans); color: #fff; background: var(--brand); }
.win-src { margin-top: 8px; font: 400 13px var(--mono); color: var(--text-3); }

/* 7. Audience: four square-edged photos, each with its line written large across the bottom over a dark fade,
   and who it's for in small type beneath, like an editorial pull quote. */
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); margin-top: clamp(36px, 4vw, 56px); padding: 0; list-style: none; }
.people li { position: relative; overflow: hidden; background: var(--sunk); }
.people li::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, .5) 52%, rgba(0, 0, 0, .88) 100%); }
.person-photo { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 0; }
.person-text { position: absolute; left: clamp(16px, 1.6vw, 24px); right: clamp(16px, 1.6vw, 24px); bottom: clamp(16px, 1.6vw, 24px); z-index: 1; color: #fff; }
.people h3 { font: 400 clamp(28px, 2.4vw, 36px)/1.05 var(--serif); letter-spacing: -.02em; color: #fff; }
.person-line { margin-top: 10px; font: 400 15px/1.4 var(--sans); color: rgba(255, 255, 255, .85); text-wrap: pretty; }

/* 8. Final call: the one dark surface on the page. */
/* FAQ: the heading on the left, the questions on the right; each opens in place under a hairline. */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 32px clamp(40px, 7vw, 112px); align-items: start; }
.faq-grid .head { position: sticky; top: calc(var(--nav-h) + 40px); }
.faq-list { border-top: 1px solid var(--line-2); }
.faq-list details { border-bottom: 1px solid var(--line-2); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; font: 400 clamp(19px, 1.6vw, 22px)/1.3 var(--serif); letter-spacing: -.01em; color: var(--text); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat; color: var(--text-2); transition: transform var(--mid) var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover::after { color: var(--text); }
.faq-list details p { max-width: 60ch; padding: 0 0 24px; font-size: 16px; line-height: 1.6; color: var(--text-2); }
.faq-list details a { color: var(--text); }

/* The invite panel rides over a full-width looping video that starts halfway down the panel and fades into the black
   footer, so the page's last call and the footer read as one scene. The video is toned to Stratemark's greens. */
.invite { position: relative; isolation: isolate; padding-bottom: clamp(96px, 12vw, 176px); }
.invite > .shell { position: relative; z-index: 1; }
.invite-media { position: absolute; left: 0; right: 0; bottom: 0; top: calc(var(--invite-top, 0px) + 50%); z-index: 0; overflow: hidden; background: #0F3026 url("../img/video/footer-cubes.jpg") center / cover no-repeat; }
.invite-media video { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) brightness(.95); }
.invite-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 48, 38, .35) 0%, rgba(15, 48, 38, .25) 50%, rgba(10, 10, 10, .75) 88%, #0A0A0A 100%); mix-blend-mode: normal; }
.invite-panel { position: relative; isolation: isolate; overflow: hidden; background-position: center; background-size: cover; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(32px, 6vw, 96px); align-items: center; padding: clamp(28px, 6vw, 80px); border-radius: 0; background-color: var(--green-deep); color: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .2); }
.invite-art { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .9; }
.invite-art .fan { right: 4%; bottom: -60%; }
.invite-art .fan-card:nth-child(odd) { background: var(--green-mid); }
.invite-art .fan-card:nth-child(3) { background: #2A6352; }
.invite-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--green-deep) 30%, transparent 75%); }
.invite-copy h2 { color: #fff; max-width: 14ch; font-size: clamp(32px, 4vw, 52px); }
.invite-copy p { margin-top: 18px; font-size: 18px; color: #D3E2DC; max-width: 36ch; }
.invite-copy .invite-note { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: 14px; color: #B5C9C1; }
/* The invite form sits in the panel, not on a white card: glass fields over the green, light type, square edges. */
.invite .form-card { position: relative; padding: 0; background: none; box-shadow: none; border-radius: 0; color: #fff; }
.invite .form-card::before { content: ""; position: absolute; inset: -22% -30%; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(8, 36, 28, .82) 55%, rgba(8, 36, 28, 0)); }
.invite .field span, .invite .tools legend, .invite .more-q, .invite .more-thanks { color: #E6F0EC; }
.invite .field i, .invite .tools legend i { color: #B5CCC3; }
.invite .field input, .invite .field select, .invite .field textarea { height: 46px; color: #fff; border-radius: 0; background-color: rgba(6, 28, 22, .42); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.invite .field input::placeholder { color: rgba(255, 255, 255, .45); }
.invite .field input:hover, .invite .field select:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .34); }
.invite .field input:focus, .invite .field select:focus { box-shadow: inset 0 0 0 1px #9FF0D8, 0 0 0 3px rgba(159, 240, 216, .22); }
.invite .field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-opacity='.7' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.invite .field select:invalid { color: rgba(255, 255, 255, .45); }
.invite .field select option { color: var(--text); background: #fff; }
.invite .form-card .btn-primary { height: 48px; color: var(--green-deep); background: #fff; }
.invite .form-card .btn-primary:hover { color: #fff; background: #0B1F1A; }
.invite .form-note { color: #C2D6CE; }
.invite .form-note a { color: #E6F0EC; }
.invite .form-status { color: #E6F0EC; }
.invite .form-status.err { color: #FFB4A8; }
.invite .done h3 { color: #fff; }
.invite .done > p { color: #D3E2DC; }
.invite .more { border-top-color: rgba(255, 255, 255, .18); }
.invite .tool-opts button { color: #E6F0EC; background: rgba(6, 28, 22, .42); border-radius: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.invite .tool-opts button:hover { background: rgba(255, 255, 255, .08); }
.invite .tool-opts button[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px #9FF0D8; }

/* Forms (shared with the contact page) */
.form-card { padding: clamp(22px, 3vw, 30px); border-radius: 14px; background: var(--surface); box-shadow: var(--float); }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field span { font-size: 13px; font-weight: 500; color: var(--text); }
.field i { font-style: normal; font-weight: 400; color: var(--text-3); margin-left: 4px; }
.field input, .field textarea, .field select { width: 100%; height: 44px; font: 400 15px var(--sans); color: var(--text); background: #fff; border: 0; border-radius: 8px; padding: 0 12px; box-shadow: 0 0 0 1px var(--line-2), 0 1px 1px rgba(0, 0, 0, .03), 0 1px 2px -1px rgba(0, 0, 0, .05); transition: box-shadow var(--fast) var(--ease); }
.field textarea { height: auto; min-height: 130px; padding: 12px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; box-shadow: 0 0 0 1px var(--brand), 0 0 0 4px var(--focus); }
.field select { appearance: none; padding-right: 36px; cursor: pointer; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235C5C5C' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; }
.field select:invalid { color: var(--text-3); }
.form-note { font-size: 13px; color: var(--text-3); text-align: center; }
.form-note a { color: var(--text-2); }
.form-status:empty { display: none; }
.form-status { text-align: center; font-weight: 500; font-size: 14px; }
.form-status.err { color: var(--error); }
.done h3 { font: 400 28px/1.1 var(--serif); letter-spacing: -.015em; }
.done > p { margin-top: 10px; color: var(--text-2); }
.more { display: grid; gap: 16px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.more-q { font-weight: 500; font-size: 14px; }
.tools { margin: 0; padding: 0; border: 0; min-width: 0; }
.tools legend { padding: 0; margin-bottom: 10px; font-size: 13px; font-weight: 500; }
.tools legend i { font-style: normal; font-weight: 400; color: var(--text-3); margin-left: 4px; }
.tool-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.tool-opts button { height: 32px; padding: 0 11px; font: 400 13px var(--sans); color: var(--text); background: #fff; border: 0; border-radius: 7px; box-shadow: 0 0 0 1px var(--line-2); cursor: pointer; transition: box-shadow var(--fast) var(--ease), background var(--fast) var(--ease); }
.tool-opts button:hover { background: var(--sunk); }
.tool-opts button[aria-pressed="true"] { box-shadow: 0 0 0 1.5px var(--brand); }
.more-thanks { font-size: 15px; color: var(--text); font-weight: 500; }
.copy-link { margin-top: 18px; font: 400 14px var(--sans); color: var(--text-2); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.copy-link:hover { color: var(--text); }
.hp { position: absolute; left: -9999px; }

/* Footer: black, the brand and its line on the left, three short link columns on the right, the name set large
   and faint across the bottom, and the legal line under a hairline. */
.footer { position: relative; z-index: 1; margin-top: -2px; overflow: hidden; padding: clamp(64px, 8vw, 104px) 0 28px; color: #9A9A9A; background: #0A0A0A; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px clamp(40px, 8vw, 120px); }
.footer .wordmark { font-size: 17px; color: #F2F2F2; }
.footer-line { margin-top: 18px; max-width: 18ch; font: 400 clamp(24px, 2.4vw, 32px)/1.12 var(--serif); letter-spacing: -.015em; color: #F2F2F2; text-wrap: balance; }
.footer-cols { display: grid; grid-template-columns: repeat(3, auto); gap: 32px clamp(40px, 5vw, 80px); }
.footer-cols > div { display: grid; align-content: start; gap: 12px; }
.footer-h { margin-bottom: 4px; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #6E6E6E; }
.footer-cols a { justify-self: start; font-size: 15px; color: #C9C9C9; text-decoration: none; transition: color var(--fast) var(--ease); }
.footer-cols a:hover { color: #fff; }
.footer-mark { margin-top: clamp(56px, 8vw, 112px); font: 400 clamp(72px, 15.5vw, 228px)/.82 var(--serif); letter-spacing: -.04em; white-space: nowrap; color: rgba(255, 255, 255, .07); user-select: none; }
.footer-base { margin-top: clamp(20px, 3vw, 36px); padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-base p { font-size: 13px; color: #8A8A8A; }

/* Section heads settle into place as they arrive. Only heads: the rest of the page stays still. */
.js [data-reveal] { opacity: 0; transform: translateY(-12px); transition: opacity 560ms var(--ease), transform 560ms var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Simple pages: privacy, terms, contact, thanks, 404 */
.page-hero { padding: calc(var(--nav-h) + 88px) 0 40px; border-bottom: 1px solid var(--line); }
.page-hero .grain { display: none; }
.page-hero .shell { max-width: 720px; }
.page-hero h1 { font-size: clamp(36px, 4.4vw, 52px); line-height: 1.05; max-width: 20ch; }
.page-hero p { margin-top: 14px; color: var(--text-2); max-width: 56ch; font-size: 17px; }
.page { padding: 56px 0 112px; }
.page .shell { max-width: 720px; }
.page h2 { font: 500 18px/1.35 var(--sans); letter-spacing: -.012em; margin: 40px 0 10px; }
.page p, .page li { color: var(--text-2); margin-bottom: 12px; }
.page ul { padding-left: 20px; list-style: disc; }
.page .form { padding: 24px; border-radius: 14px; background: #fff; box-shadow: var(--float); margin-top: 8px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .ha-open { opacity: 1; }
  .ha-chat { display: none; }
  .fan-card { opacity: 1; }
  .fan { animation: none; }
}

/* Laptop and tablet */
@media (max-width: 1024px) {
  .invite-panel::before { background: linear-gradient(180deg, var(--green-deep) 30%, rgba(15, 48, 38, .55) 70%, rgba(15, 48, 38, .3) 100%); }
  .hero .fan { right: -17%; top: 52%; }
  .built-list { flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
  .walk { grid-template-columns: 1fr; }
  .walk-index { display: none; }
}
@media (max-width: 860px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-grid .head { position: static; }
  .footer-top { grid-template-columns: 1fr; }
  .people { grid-template-columns: repeat(2, 1fr); }
  .invite-panel { grid-template-columns: 1fr; }
}

/* Phone */
@media (max-width: 640px) {
  .nav .cta .cta-icon { display: none; }
  .nav .cta-sm .cta-label { padding: 0 12px; }
  .built-row { gap: 14px; text-align: center; }
  .built-list li { font-size: 17px; }
  .pic { aspect-ratio: 4 / 5; border-radius: 0; }
  .win { top: 10%; left: 6%; width: 150%; }
  .win-body { padding: 24px 22px; }
  .win-title { font-size: 25px; max-width: 13ch; }
  .ask, .figs, .seg { max-width: 300px; }
  .ask-q { font-size: 16px; }
  .figs > div { font-size: 14.5px; }
  .ev { margin-left: 8px; font-size: 12px; }
  .bar { width: 70px; }
  .seg span { padding: 9px 6px; font-size: 13px; }
  .win-deck { top: 44%; left: 6%; }
  .win-deck .figs { max-width: 300px; }
  .walk .win.win-deck { top: 40%; left: 6%; }
  .status { top: 5%; bottom: auto; left: 5%; width: 80%; }
  .pic-ask { padding: 18px 12px; }
  .ask-float { width: 100%; }
    .pills li { height: 30px; padding: 0 11px; font-size: 12.5px; }
  .walk .win { top: 9%; left: 6%; width: 150%; }
  .walk .win-body, .walk .win-deck .win-body { padding: 20px 20px; }
  .walk .win-title { font-size: 22px; }
  .walk .win { right: auto; width: 150%; }
  .walk .ask, .mkts, .brief-why, .brief-grid, .opp, .decide { max-width: 290px; }
  .walk .pic-ask .ask { max-width: none; }
  .mkts { grid-template-columns: 1fr; }
  .brief-head { flex-direction: column; gap: 8px; }
  .brief-title { font-size: 21px; }
  .brief-grid { grid-template-columns: 1fr 1fr; }
  .brief-grid > div:last-child { grid-column: 1 / -1; }
  .kv { font-size: 24px; }
  .kpis { gap: 16px; max-width: 290px; }
  .walk .win.win-deck { right: auto; }
  .kpis dd { font-size: 21px; }
  .tbl { max-width: 290px; }
  .c-cap, .c-emp { display: none; }
  .tbl-note { max-width: 290px; }
  .figs-tight dt { max-width: 170px; }
  .decide { flex-direction: column; align-items: stretch; gap: 8px; }
  .opp-note { margin-left: 0; }
      :root { --nav-h: 56px; }
  .nav-row { gap: 12px; }
  .nav-links, .nav-signin { display: none; }
  .nav-menu { display: inline-flex; }
  .nav-cta { gap: 4px; }
  .wordmark { font-size: 16px; }
  .hero { display: block; min-height: 0; padding: calc(var(--nav-h) + 330px) 0 136px; }
  .hero-art { bottom: auto; height: calc(var(--nav-h) + 330px); -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
  .fan { right: 30%; top: auto; bottom: -10%; --cw: 200px; }
  .fan-card, .fan-card:nth-child(3n+1) { width: 200px; margin-left: -100px; filter: blur(6px); }
  .fan-card:nth-child(3n) { filter: blur(11px); }
  .invite-art .fan { right: -20%; bottom: -90%; }
  h1 { font-size: clamp(40px, 11.5vw, 50px); letter-spacing: -.02em; line-height: 1.04; }
  h2 { font-size: clamp(30px, 8.4vw, 36px); }
  .hero .lede { margin-top: 18px; font-size: 17px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; width: 100%; margin-top: 26px; }
  .showcase { width: calc(100% - 24px); margin-top: -56px; }
  .stage { padding: 14px; border-radius: 0; }
  .hx { --u: 1px; aspect-ratio: auto; max-height: 720px; padding: 20px 16px 0; font-size: 14px; }
  .hx-head { flex-direction: column; gap: 14px; padding-bottom: 18px; }
  .hx-name { font-size: 24px; }
  .hx-kpis { grid-template-columns: 1fr 1fr; margin: 16px 0; }
  .hx-kpis > div:nth-child(3) { border-left: 0; }
  .hx-kpis > div:nth-child(n+3) { border-top: 1px solid #E6E6E6; }
  .hx-kpis dd { font-size: 26px; }
  .hx-cards { grid-template-columns: 1fr; gap: 12px; }
  .hx-cards dd { font-size: 16px; }
  .hx-cards dl { gap: 6px; }
  .hx-cards dl > div { padding: 8px 9px; }
  .hx-cards dt { font-size: 10.5px; white-space: nowrap; }
  .hx-ask { display: none; }
  .window-top { height: 30px; }
  .window-top span { transform: none; font-size: 11px; }
  /* Phone screens of the app, shown from the top. */
  .shot picture, .frame picture { display: block; }
  .window-body .shot img, .caps-stage .shot img, .frame img, .ha-closed img { aspect-ratio: 390 / 620; object-fit: cover; object-position: top; }
  .ha-chat { width: 100%; }
  .ha-open img, .ha-chat img { object-position: top; }
  .section { padding-top: 88px; }
  .frame { max-width: 400px; }
  .people { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .person-text { left: 12px; right: 12px; bottom: 12px; }
  .people h3 { font-size: 21px; }
  .person-line { margin-top: 6px; font-size: 12.5px; line-height: 1.35; }
  .stage-tint { padding: 12px; border-radius: 0; }
  .invite-panel { padding: 28px 18px 18px; border-radius: 0; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { grid-template-columns: repeat(2, auto); justify-content: start; }
  .footer-cols > div { gap: 2px; }
  .footer-cols a { padding: 6px 0; }
}

/* The guide: a chat in the bottom-right corner that answers questions about Stratemark. Sharp corners, the deep
   green, the same pixel arrow as the CTAs. On phones the panel takes the whole screen. */
.guide { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: grid; justify-items: end; gap: 12px; font-family: var(--sans); }
.guide-launch { position: relative; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 0; cursor: pointer; color: #fff; background: var(--green-deep); box-shadow: 0 16px 36px -14px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .06); transition: transform 220ms var(--ease), background 220ms var(--ease); }
.guide-launch:hover { background: #0B1F1A; }
.guide-launch:active { transform: scale(.98); }
.guide-launch:focus-visible, .guide-chip:focus-visible, .guide-send:focus-visible, .guide-close:focus-visible, .guide-card-body:focus-visible, .guide-card-close:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
/* The launcher is a tiny square: the mark, and a green dot that says someone's there. Its name is for screen readers. */
.guide-launch-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.guide-dot { position: absolute; top: 5px; right: 5px; width: 7px; height: 7px; background: #5FE3C6; box-shadow: 0 0 0 3px rgba(95, 227, 198, .18); }
.guide-launch .guide-avatar { width: 36px; height: 36px; }
.guide-avatar { display: grid; place-items: center; flex: none; width: 36px; height: 36px; background: #fff; }
.guide-avatar img { width: 20px; height: 20px; }
.guide.is-open .guide-dot { display: none; }

.guide-card { display: flex; align-items: stretch; max-width: 330px; background: #fff; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .35), 0 0 0 1px rgba(0, 0, 0, .06); animation: guide-in 420ms var(--ease) both; }
.guide-card-body { display: flex; align-items: center; gap: 12px; padding: 12px 6px 12px 12px; border: 0; background: none; cursor: pointer; text-align: left; color: var(--text); }
.guide-card-body .guide-avatar { background: var(--green-deep); }
.guide-card-text { display: grid; gap: 3px; }
.guide-card-text b { font: 400 17px/1.15 var(--serif); }
.guide-card-text span { font-size: 13.5px; color: var(--text-2); }
.guide-card-close { flex: none; width: 32px; border: 0; background: none; cursor: pointer; font-size: 18px; color: var(--text-3); }
.guide-card-close:hover { color: var(--text); }

.guide-panel { display: flex; flex-direction: column; width: 380px; height: min(560px, calc(100vh - 120px)); background: #fff; box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .45), 0 0 0 1px rgba(0, 0, 0, .08); animation: guide-in 320ms var(--ease) both; }
.guide-panel[hidden], .guide-card[hidden] { display: none; }
.guide-head { display: flex; align-items: center; gap: 12px; padding: 14px 10px 14px 14px; color: #fff; background: var(--green-deep); }
.guide-who { display: grid; gap: 3px; flex: 1; min-width: 0; }
.guide-who b { font: 400 18px/1.1 var(--serif); color: #fff; }
.guide-who span { font: 400 11px/1.2 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: #9FF0D8; }
.guide-close { width: 36px; height: 36px; border: 0; background: none; cursor: pointer; font-size: 22px; line-height: 1; color: #D3E2DC; }
.guide-close:hover { color: #fff; }
.guide-log { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 16px; background: #F6F7F5; }
.guide-msg { max-width: 86%; padding: 10px 12px; font-size: 14.5px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.guide-assistant { align-self: flex-start; color: var(--text); background: #fff; box-shadow: 0 0 0 1px var(--line); }
.guide-user { align-self: flex-end; color: #fff; background: var(--green-deep); }
.guide-msg.is-wait { color: var(--text-3); animation: guide-pulse 1.2s ease-in-out infinite; }
.guide-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 16px 0; background: #F6F7F5; }
.guide-chips[hidden] { display: none; }
.guide-chip { padding: 7px 10px; border: 0; border-radius: 0; cursor: pointer; font: 400 13px/1.2 var(--sans); color: var(--text); background: #fff; box-shadow: 0 0 0 1px var(--line-2); text-align: left; }
.guide-chip:hover { box-shadow: 0 0 0 1px var(--text-2); }
.guide-form { display: flex; gap: 4px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.guide-input { flex: 1; min-height: 44px; max-height: 120px; padding: 12px; border: 0; border-radius: 0; resize: none; font: 400 15px/1.35 var(--sans); color: var(--text); background: #F6F7F5; box-shadow: inset 0 0 0 1px var(--line-2); }
.guide-input:focus { outline: none; box-shadow: inset 0 0 0 1px var(--brand); }
.guide-send { display: grid; place-items: center; flex: none; width: 44px; border: 0; border-radius: 0; cursor: pointer; color: #fff; background: var(--green-deep); }
.guide-send svg { width: 9px; height: 15px; fill: currentColor; }
.guide-send[disabled] { opacity: .5; cursor: wait; }
.guide-note { padding: 0 12px 10px; font-size: 11.5px; color: var(--text-3); background: #fff; }
@keyframes guide-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes guide-pulse { 50% { opacity: .45; } }

@media (max-width: 640px) {
  .guide { right: 12px; bottom: 12px; }
  .guide.is-open { inset: 0; right: 0; bottom: 0; gap: 0; }
  .guide.is-open .guide-launch { display: none; }
  .guide-panel { width: 100vw; height: 100dvh; }
  .guide-card { max-width: calc(100vw - 24px); }
}

/* Lara: the guide's face is a round photo, in the launcher bubble, the welcome card and the chat header. */
.guide-avatar { overflow: hidden; border-radius: 50%; background: #E6F0EC; }
.guide-avatar img { width: 100%; height: 100%; object-fit: cover; }
.guide-launch { width: 60px; height: 60px; border-radius: 50%; background: #fff; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .45), 0 0 0 3px #fff, 0 0 0 4px rgba(15, 48, 38, .18); }
.guide-launch:hover { background: #fff; transform: translateY(-2px); }
.guide-launch .guide-avatar { width: 60px; height: 60px; }
.guide-dot { top: auto; right: 1px; bottom: 3px; width: 12px; height: 12px; border-radius: 50%; background: #2DC4AC; box-shadow: 0 0 0 2px #fff; }
.guide-card-body .guide-avatar { width: 44px; height: 44px; background: #E6F0EC; }
.guide-head .guide-avatar { width: 40px; height: 40px; box-shadow: 0 0 0 2px rgba(255, 255, 255, .25); }
/* Lara appears only beside the FAQ: elsewhere she's tucked away, faded and slid down, and can't be tabbed to. */
.guide { transition: opacity 360ms var(--ease), transform 360ms var(--ease), visibility 0s linear 0s; }
.guide.is-away { opacity: 0; visibility: hidden; transform: translateY(18px); pointer-events: none; transition: opacity 260ms var(--ease), transform 260ms var(--ease), visibility 0s linear 260ms; }
