/* Stockdog website. Loads after brand/tokens/tokens.css and brand/components/sol.css.
   Everything here builds on the sol- components; colours, type and spacing come from the brand tokens. */

:root {
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* Neutral example brand for buyer facing mock ups. Never Stockdog tokens: buyers see the developer's brand. */
  --ex-deep: #20332C;
  --ex-sage: #9DB0A3;
  --ex-clay: #B4643C;
  --ex-stone: #EFEAE2;
}

html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
@media (max-width: 1024px) { html { scroll-padding-top: 64px; } }
body { overflow-x: clip; caret-color: var(--ink-100); accent-color: var(--ink-100); }
body.nav-open { overflow: hidden; }
::selection { background: var(--sun-300); color: var(--sun-on); }
h1, h2, h3 { text-wrap: balance; }
p, dd, li { text-wrap: pretty; }
a { text-underline-offset: 4px; }
:where(a, button, summary, [tabindex]):focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 30; padding: 8px 12px; border-radius: var(--radius-md); background: var(--bg-000); color: var(--ink-100); font-weight: 600; }
.skip-link:focus { left: 8px; }
.scroll-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 8px; pointer-events: none; }

/* ---------- Buttons: weighted feedback on top of the brand button ---------- */
.sol-btn { transition: background-color 200ms var(--ease), border-color 200ms var(--ease), transform 200ms var(--ease); }
.sol-btn:active { transform: scale(0.98); }

/* ---------- Nav ---------- */
.sol-nav { transition: box-shadow 300ms var(--ease); }
.sol-nav-links a { transition: color 200ms var(--ease), box-shadow 300ms var(--ease); box-shadow: inset 0 -2px 0 transparent; }
.sol-nav-links a[aria-current="true"] { color: var(--ink-100); box-shadow: inset 0 -2px 0 var(--sun-300); }
.sol-nav-actions { margin-left: auto; }
.nav-burger { position: relative; display: block; width: 20px; height: 14px; }
.nav-burger i { position: absolute; left: 0; width: 100%; height: 1.5px; border-radius: 1px; background: currentColor; transition: transform 500ms var(--ease), opacity 300ms var(--ease); }
.nav-burger i:nth-child(1) { top: 0; }
.nav-burger i:nth-child(2) { top: 6px; }
.nav-burger i:nth-child(3) { top: 12px; }
.is-open .nav-burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.is-open .nav-burger i:nth-child(2) { opacity: 0; transform: scaleX(0.4); }
.is-open .nav-burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1024px) {
  .sol-nav.is-open { height: 100dvh; overflow-y: auto; box-shadow: none; }
  .sol-nav.is-open .sol-nav-inner { align-content: flex-start; }
  .sol-nav.is-open .sol-nav-links { padding: var(--space-4) 0; }
  .sol-nav.is-open .sol-nav-links a { padding: var(--space-4) 0; font-family: var(--font-heading); font-size: 28px; line-height: 34px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink-100); box-shadow: none; }
  .sol-nav.is-open .sol-nav-actions { margin-left: 0; padding-top: var(--space-4); }
  .sol-nav.is-open .sol-nav-actions .sol-btn { width: 100%; }
  .sol-nav.is-open .sol-nav-links li,
  .sol-nav.is-open .sol-nav-actions { animation: nav-in 500ms var(--ease) both; animation-delay: calc(var(--n, 0) * 60ms); }
  .sol-nav-links li:nth-child(2) { --n: 1; }
  .sol-nav-links li:nth-child(3) { --n: 2; }
  .sol-nav-links li:nth-child(4) { --n: 3; }
  .sol-nav-links li:nth-child(5) { --n: 4; }
  .sol-nav-actions { --n: 5; }
}
@keyframes nav-in { from { opacity: 0; transform: translateY(24px); } }

/* ---------- Hero: a sunset sky over the Broadwater (owner's direction; the one place the site uses a gradient) ---------- */
.hero { background: linear-gradient(180deg, #1F3A2E 0%, #1B2A72 24%, #23479C 48%, #2A6FB0 63%, #58B0B8 74%, #F3CF7A 84%, #F59A2E 92%, #E9542B 100%); }
.hero .sol-hero-inner { padding-top: var(--space-9); padding-bottom: 264px; }
.hero .sol-hero-lead { color: var(--navy-100); }
.hero-line { display: block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.hero-line > span { display: block; }
.hero-proof { margin: var(--space-3) 0 0; max-width: 600px; font-size: 14px; line-height: 20px; color: var(--on-navy); }
.hero-sky { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-sky::before { content: ""; position: absolute; inset: 0; background: var(--bg-navy); opacity: 0; }
.hero-moon { position: absolute; top: 96px; right: 14%; width: 24px; height: 24px; border-radius: var(--radius-full); box-shadow: inset -3px -2px 0 0 rgba(255, 255, 255, 0.9); transform: rotate(-12deg); }
.hero-glow { position: absolute; right: calc(24% - 174px); bottom: -94px; width: 440px; height: 220px; border-radius: var(--radius-full); background: radial-gradient(closest-side, rgba(255, 244, 196, 0.9), rgba(255, 220, 130, 0.4) 50%, rgba(255, 220, 130, 0) 100%); }
.hero-sun { position: absolute; right: 24%; bottom: 16px; width: 92px; height: 46px; overflow: hidden; }
.hero-sun i { display: block; width: 92px; height: 92px; border-radius: var(--radius-full); background: radial-gradient(circle at 50% 55%, #FFFDF2 0%, #FFE98F 52%, #F29E4C 100%); }
.hero-sea { position: absolute; left: 0; right: 0; bottom: 0; height: 16px; background: var(--bg-navy); }

.js .hero-line > span { transform: translateY(110%); transition: transform 1000ms var(--ease); }
.js .hero-line:nth-child(2) > span { transition-delay: 90ms; }
.js .hero-fade { opacity: 0; transform: translateY(16px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); transition-delay: calc(360ms + var(--i, 0) * 90ms); }
.js .hero-sky::before { opacity: 1; transition: opacity 2600ms var(--ease) 100ms; }
.js .hero-sun i { transform: translateY(46px); transition: transform 2400ms var(--ease) 300ms; }
.js .hero-glow { opacity: 0; transform: scale(0.7); transition: opacity 2400ms var(--ease) 300ms, transform 2400ms var(--ease) 300ms; }
.js .hero-moon { opacity: 0; transition: opacity 1600ms var(--ease) 900ms; }
.js.is-loaded .hero-line > span,
.js.is-loaded .hero-sun i { transform: none; }
.js.is-loaded .hero-fade { opacity: 1; transform: none; }
.js.is-loaded .hero-sky::before { opacity: 0; }
.js.is-loaded .hero-glow { opacity: 1; transform: none; }
.js.is-loaded .hero-moon { opacity: 1; }

@media (max-width: 640px) {
  .hero .sol-hero-inner { padding-top: var(--space-7); padding-bottom: 272px; }
  .hero-moon { top: 28px; right: 24px; width: 20px; height: 20px; }
  .hero-sun { right: 18%; width: 72px; height: 36px; }
  .hero-sun i { width: 72px; height: 72px; }
  .js .hero-sun i { transform: translateY(36px); }
  .hero-glow { right: calc(18% - 124px); bottom: -74px; width: 320px; height: 180px; }
}

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Tagline ---------- */
.tagline { padding: var(--space-10) 0; }
.tagline-text { margin: 0; max-width: 980px; font-family: var(--font-heading); font-size: 52px; line-height: 58px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink-100); text-wrap: balance; }
.js .tagline-text .w { opacity: 0.28; transition: opacity 500ms var(--ease); }
.js .tagline-text .w.is-on { opacity: 1; }
@media (max-width: 768px) {
  .tagline { padding: var(--space-9) 0; }
  .tagline-text { font-size: 36px; line-height: 42px; }
}

/* ---------- Platform: five steps on a line, Stockdog beneath all of them, one stage ---------- */
.kit { display: flex; flex-direction: column; gap: var(--space-5); }
.kit-rail { position: relative; }
.kit-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.kit-line { position: absolute; top: 7px; left: 10%; right: 10%; height: 2px; border-radius: 1px; background: var(--line-100); --p: 0; }
.kit-line i { display: block; height: 100%; background: var(--ink-100); transform-origin: left; transform: scaleX(var(--p)); transition: transform 800ms var(--ease); }
.kit-tab { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: var(--space-1); padding: 0 var(--space-2) var(--space-2); border: 0; border-radius: var(--radius-md); background: none; color: var(--ink-300); font: inherit; text-align: center; cursor: pointer; }
.kit-tab::before { content: ""; box-sizing: border-box; width: 16px; height: 16px; margin-bottom: var(--space-3); border: 2px solid var(--line-200); border-radius: var(--radius-full); background: var(--bg-100); transition: background-color 300ms var(--ease), border-color 300ms var(--ease), transform 500ms var(--ease); }
.kit-tab.is-done::before { background: var(--ink-100); border-color: var(--ink-100); }
.kit-tab[aria-selected="true"]::before { background: var(--sun-300); border-color: var(--ink-100); transform: scale(1.25); }
.kit-tab:active::before { transform: scale(0.9); }
.kit-tab-num { font-family: var(--font-mono); font-size: 12px; line-height: 16px; color: var(--ink-300); }
.kit-tab-title { font-family: var(--font-heading); font-size: 20px; line-height: 26px; font-weight: 600; color: var(--ink-200); transition: color 300ms var(--ease); }
.kit-tab:hover .kit-tab-title, .kit-tab[aria-selected="true"] .kit-tab-title { color: var(--ink-100); }

/* Stockdog is not a step: she runs under all five, so she is a band the width of the line. */
.kit-agent { display: flex; align-items: center; gap: var(--space-3); min-height: 44px; margin: 0 10%; padding: var(--space-2) var(--space-4); border-radius: var(--radius-lg); background: var(--sun-tint); color: var(--ink-100); text-decoration: none; transition: background-color 300ms var(--ease), transform 200ms var(--ease); }
.kit-agent:hover { background: var(--sun-100); }
.kit-agent:active { transform: scale(0.99); }
.kit-agent-mark { flex: none; display: grid; place-items: center; color: var(--sun-ink); transition: transform 500ms var(--ease); }
.kit-agent:hover .kit-agent-mark { color: var(--ink-100); transform: rotate(90deg); }
.kit-agent-mark svg { display: block; width: 20px; height: 20px; }
.kit-agent-text { flex: 1; font-family: var(--font-heading); font-size: 16px; line-height: 22px; font-weight: 600; }
.kit-agent-link { font-size: 14px; line-height: 20px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

.kit-stage { display: flex; flex-direction: column; gap: var(--space-5); box-sizing: border-box; padding: var(--space-6); border: 1px solid var(--line-100); border-radius: var(--radius-xl); background: var(--bg-000); }
.kit-text { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--space-7); row-gap: var(--space-2); align-items: end; }
.kit-title { grid-column: 1; margin: 0; font-family: var(--font-heading); font-size: 28px; line-height: 34px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink-100); }
.kit-desc { grid-column: 1; margin: 0; max-width: 68ch; font-size: 17px; line-height: 27px; color: var(--ink-200); }
.kit-nav { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: var(--space-3); }
.kit-stage.is-swap .kit-title, .kit-stage.is-swap .kit-desc { animation: panel-in 500ms var(--ease) both; }
.kit-stage.is-swap .kit-desc { animation-delay: 60ms; }
.kit-panels { display: flex; flex-direction: column; min-width: 0; min-height: 560px; box-sizing: border-box; padding: var(--space-5); border-radius: var(--radius-lg); background: var(--bg-100); }
.kit-caption { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin: 0 0 var(--space-5); font-size: 13px; line-height: 18px; color: var(--ink-300); }
.kit-panel { width: 100%; max-width: 880px; margin: 0 auto; min-width: 0; }
.kit-panel#kit-panel-crm { max-width: none; }
.kit-panel[hidden], .sub-panel[hidden] { display: none; }
.kit-panel.is-active, .sub-panel.is-swap { animation: panel-in 600ms var(--ease) both; }
.kit-panels .mk-browser, .kit-panels .mk-ad, .kit-panels .mk-crm, .kit-panels .mk-settle { background: var(--bg-000); }
.kit-panels .mk-browser { height: auto; }
.kit-panels .mk-social .mk-tile { aspect-ratio: 16 / 10; }
@media (max-width: 640px) { .kit-panels .mk-social .mk-tile { aspect-ratio: 1; } }
@keyframes panel-in { from { opacity: 0; transform: translateY(16px); } }
.seg { display: flex; width: fit-content; max-width: 100%; gap: var(--space-1); margin: 0 auto var(--space-5); padding: var(--space-1); border-radius: var(--radius-lg); background: var(--bg-200); overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg-tab { flex: none; min-height: 36px; padding: var(--space-2) var(--space-4); border: 0; border-radius: var(--radius-md); background: transparent; color: var(--ink-200); font: 600 14px/20px var(--font-sans); cursor: pointer; transition: background-color 300ms var(--ease), color 300ms var(--ease), transform 200ms var(--ease); }
.seg-tab:hover { color: var(--ink-100); }
.seg-tab:active { transform: scale(0.98); }
.seg-tab[aria-selected="true"] { background: var(--bg-000); color: var(--ink-100); }

.kit-signals { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--space-2) var(--space-6); }
.kit-signals-label { margin: 0; font-size: 11px; line-height: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-300); }
.kit-signals ul { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); margin: 0; padding: 0; list-style: none; }
.kit-signals li { position: relative; padding-left: var(--space-5); font-size: 15px; line-height: 22px; color: var(--ink-100); }
.kit-signals li::before { content: ""; position: absolute; left: 0; top: 5px; width: 12px; height: 12px; box-sizing: border-box; border: 2px solid var(--ink-100); border-radius: var(--radius-full); background: var(--sun-300); }
.kit-stage.is-swap .kit-signals li { animation: panel-in 500ms var(--ease) both; animation-delay: calc(120ms + var(--n, 0) * 70ms); }
.kit-record { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-5) var(--space-6); border: 1px solid var(--line-100); border-radius: var(--radius-xl); background: var(--bg-000); }
.kit-record p { flex: 1; margin: 0; font-size: 17px; line-height: 27px; color: var(--ink-100); }
.kit-record-mark { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--sun-tint); color: var(--sun-ink); }
.kit-record-mark svg { width: 24px; height: 24px; }
@media (max-width: 760px) { .kit-record { flex-direction: column; align-items: flex-start; padding: var(--space-5); } }

/* Mock ups inside the stage */
.mk-wordmark { margin: 0; font-family: var(--font-heading); font-size: 11px; line-height: 16px; font-weight: 300; letter-spacing: 0.32em; }
.mk-browser { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line-100); border-radius: var(--radius-lg); overflow: hidden; }
.mk-bar { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 var(--space-3); background: var(--bg-100); }
.mk-bar i { width: 8px; height: 8px; border-radius: var(--radius-full); background: var(--bg-300); }
.mk-url { margin-left: var(--space-2); padding: 2px var(--space-3); border-radius: var(--radius-sm); background: var(--bg-000); font-family: var(--font-mono); font-size: 12px; line-height: 16px; color: var(--ink-300); }
.mk-site { display: flex; flex-direction: column; flex: 1; }
.mk-site-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-4); flex: 1; min-height: 220px; padding: var(--space-6) var(--space-5) 0; background: var(--ex-deep); color: var(--ex-stone); }
.mk-site-hero > div { align-self: center; padding-bottom: var(--space-5); }
.mk-site-title { margin: var(--space-3) 0 var(--space-4); max-width: 13ch; font-family: var(--font-heading); font-size: 28px; line-height: 34px; font-weight: 500; letter-spacing: -0.01em; }
.mk-pill { white-space: nowrap; display: inline-flex; align-items: center; height: 32px; padding: 0 var(--space-4); border-radius: var(--radius-full); background: var(--ex-stone); color: var(--ex-deep); font-size: 13px; font-weight: 600; }
.mk-tower { flex: none; display: block; width: 132px; height: auto; color: var(--ex-sage); }
.mk-stock-row { display: grid; grid-template-columns: 0.7fr 1fr 1fr 1.2fr 1.3fr; align-items: center; gap: var(--space-2); padding: 10px var(--space-4); border-top: 1px solid var(--line-100); font-family: var(--font-mono); font-size: 13px; line-height: 18px; font-variant-numeric: tabular-nums; color: var(--ink-100); }
.mk-stock-head { border-top: 0; font-family: var(--font-sans); font-size: 11px; line-height: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-300); }
.mk-stock-row b { font-weight: 600; }
.kit-panel.is-active .mk-stock-row { animation: panel-in 600ms var(--ease) both; animation-delay: calc(120ms + var(--r, 0) * 70ms); }
.mk-stock-row:nth-child(2) { --r: 1; } .mk-stock-row:nth-child(3) { --r: 2; } .mk-stock-row:nth-child(4) { --r: 3; }

.mk-crm { display: grid; grid-template-columns: 132px minmax(0, 1fr); height: 100%; border: 1px solid var(--line-100); border-radius: var(--radius-lg); overflow: hidden; }
.mk-crm-rail { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: var(--space-3) var(--space-2); background: var(--bg-200); list-style: none; font-size: 13px; line-height: 18px; font-weight: 500; color: var(--ink-200); }
.mk-crm-rail li { padding: var(--space-2) var(--space-3); border-radius: var(--radius-sm); }
.mk-crm-rail .is-on { background: var(--bg-300); color: var(--ink-100); font-weight: 600; }
.mk-crm-main { display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; padding: var(--space-4); background: var(--bg-100); }
.mk-crm-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3); }
.mk-crm-title { margin: 0; font-family: var(--font-heading); font-size: 20px; line-height: 26px; font-weight: 600; color: var(--ink-100); }
.mk-crm-count { margin: 0; font-size: 13px; line-height: 18px; color: var(--ink-300); }
.mk-crm-count span { font-family: var(--font-mono); color: var(--ink-100); }
.mk-crm-rows { border: 1px solid var(--line-100); border-radius: var(--radius-md); background: var(--bg-000); }
.mk-crm-row { display: grid; grid-template-columns: minmax(0, 1.2fr) 52px auto; align-items: center; gap: var(--space-3); padding: 10px var(--space-3); border-top: 1px solid var(--line-100); font-size: 14px; line-height: 20px; color: var(--ink-100); }
.mk-crm-row:first-child { border-top: 0; }
.mk-crm-row > :last-child { justify-self: end; }
.mk-crm-row b { font-weight: 600; white-space: nowrap; }
.mk-lot { font-family: var(--font-mono); font-size: 13px; font-variant-numeric: tabular-nums; color: var(--ink-200); }
.mk-crm-agent { padding: var(--space-3); border-radius: var(--radius-md); gap: var(--space-2); }
.mk-crm-link { margin-top: var(--space-2); align-self: flex-start; padding-top: 0; }
.mk-crm .stock-channels { border: 1px solid var(--line-100); background: var(--bg-000); }
.mk-crm .stock { gap: var(--space-5); }
.mk-settle { display: flex; flex-direction: column; gap: var(--space-3); height: 100%; box-sizing: border-box; padding: var(--space-4); border: 1px solid var(--line-100); border-radius: var(--radius-lg); background: var(--bg-100); }
.mk-settle-rows { border: 1px solid var(--line-100); border-radius: var(--radius-md); background: var(--bg-000); }
.mk-settle-row { display: grid; grid-template-columns: minmax(0, 1fr) 44px 96px 148px; align-items: center; gap: var(--space-3); padding: 10px var(--space-3); border-top: 1px solid var(--line-100); font-size: 14px; line-height: 20px; color: var(--ink-100); }
.mk-settle-row:first-child { border-top: 0; }
.mk-settle-row > :last-child { justify-self: end; }
.mk-settle-row b { font-weight: 600; white-space: nowrap; }
.mk-seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }
.mk-seg i { height: 6px; border-radius: var(--radius-full); background: var(--bg-200); }
.mk-seg[data-n="1"] i:nth-child(-n+1), .mk-seg[data-n="2"] i:nth-child(-n+2), .mk-seg[data-n="3"] i:nth-child(-n+3), .mk-seg[data-n="4"] i:nth-child(-n+4) { background: var(--ink-100); }
.mk-seg.is-warn i:nth-child(3) { background: var(--warning); }
.mk-settle-key { margin: 0; font-size: 13px; line-height: 18px; color: var(--ink-300); }
.kit-panel.is-active .mk-settle-row { animation: panel-in 600ms var(--ease) both; animation-delay: calc(120ms + var(--r, 0) * 70ms); }
.mk-settle-row:nth-child(2) { --r: 1; } .mk-settle-row:nth-child(3) { --r: 2; } .mk-settle-row:nth-child(4) { --r: 3; }
.kit-panel.is-active .mk-crm-row { animation: panel-in 600ms var(--ease) both; animation-delay: calc(120ms + var(--r, 0) * 70ms); }
.mk-crm-row:nth-child(2) { --r: 1; } .mk-crm-row:nth-child(3) { --r: 2; } .mk-crm-row:nth-child(4) { --r: 3; }
.kit-panel.is-active .mk-crm-agent { animation: panel-in 600ms var(--ease) 420ms both; }

.mk-ads { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); }
.mk-ad { border: 1px solid var(--line-100); border-radius: var(--radius-lg); overflow: hidden; }
.kit-panel.is-active .mk-ad { animation: panel-in 600ms var(--ease) both; }
.kit-panel.is-active .mk-ad:nth-child(2) { animation-delay: 70ms; }
.kit-panel.is-active .mk-ad:nth-child(3) { animation-delay: 140ms; }
.mk-ad-art { display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-4); min-height: 132px; padding: var(--space-3); }
.mk-ad-art .mk-wordmark { font-size: 9px; line-height: 12px; letter-spacing: 0.24em; }
.mk-ad-art-a { background: var(--ex-deep); color: var(--ex-stone); }
.mk-ad-art-b { background: var(--ex-stone); color: var(--ex-deep); }
.mk-ad-art-c { background: var(--ex-sage); color: var(--ex-deep); }
.mk-ad-title { margin: 0; font-family: var(--font-heading); font-size: 17px; line-height: 22px; font-weight: 500; }
.mk-ad-meta { margin: 0; padding: var(--space-2) var(--space-3); font-size: 13px; line-height: 18px; color: var(--ink-300); }
.mk-spend { margin-top: var(--space-6); }
.mk-spend-title { margin: 0 0 var(--space-3); font-size: 11px; line-height: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-300); }
.mk-spend-row { display: grid; grid-template-columns: 80px minmax(0, 1fr) 44px; align-items: center; gap: var(--space-3); padding: var(--space-2) 0; font-size: 14px; line-height: 20px; color: var(--ink-200); }
.mk-bar-track { display: block; height: 8px; border-radius: var(--radius-full); background: var(--bg-200); overflow: hidden; }
.mk-bar-track i { display: block; height: 100%; border-radius: var(--radius-full); background: var(--ink-100); transform-origin: left; transform: scaleX(var(--w)); }
.kit-panel.is-active .mk-bar-track i { animation: bar-grow 1100ms var(--ease) 200ms both; }
@keyframes bar-grow { from { transform: scaleX(0); } }
.mk-num { font-family: var(--font-mono); font-size: 13px; text-align: right; color: var(--ink-100); }
.mk-note { display: flex; align-items: flex-start; gap: var(--space-2); margin: var(--space-4) 0 0; font-size: 14px; line-height: 22px; color: var(--ink-200); }
.mk-note .sol-badge { flex: none; }

.mk-plan { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: var(--space-5); align-items: center; height: 100%; }
.mk-plan-sheet { padding: var(--space-5); border-radius: var(--radius-lg); background: var(--ex-stone); color: var(--ex-deep); }
.mk-plan-svg { display: block; width: 100%; height: auto; margin-top: var(--space-4); }
.mk-plan-labels text { font-family: var(--font-sans); font-size: 7px; font-weight: 600; letter-spacing: 0.12em; }
.mk-draw { stroke-dasharray: 1; stroke-dashoffset: 0; }
.kit-panel.is-active .mk-draw { animation: draw 1400ms var(--ease) both; }
.kit-panel.is-active .mk-draw:nth-of-type(2) { animation-delay: 150ms; }
.kit-panel.is-active .mk-draw:nth-of-type(3) { animation-delay: 300ms; }
.kit-panel.is-active .mk-plan-labels { animation: panel-in 700ms var(--ease) 700ms both; }
@keyframes draw { from { stroke-dashoffset: 1; } }
.mk-plan-facts { margin: 0; }
.mk-plan-facts div { padding: 10px 0; border-top: 1px solid var(--line-100); }
.mk-plan-facts div:first-child { border-top: 0; }
.mk-plan-facts dt { font-size: 11px; line-height: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-300); }
.mk-plan-facts dd { margin: 2px 0 0; font-size: 14px; line-height: 20px; color: var(--ink-100); }
.mk-plan-facts div:nth-child(2) dd, .mk-plan-facts div:nth-child(3) dd { font-family: var(--font-mono); }

.mk-video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); background: var(--ex-deep); color: var(--ex-sage); overflow: hidden; }
.mk-video-scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.mk-play { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: var(--radius-full); background: var(--ex-stone); color: var(--ex-deep); }
.mk-play svg { width: 22px; height: 22px; margin-left: 2px; }
.kit-panel.is-active .mk-play { animation: pop 700ms var(--ease) 200ms both; }
@keyframes pop { from { opacity: 0; transform: scale(0.6); } }
.mk-video-time { position: absolute; right: var(--space-3); bottom: var(--space-3); font-family: var(--font-mono); font-size: 12px; line-height: 16px; color: var(--ex-stone); }
.mk-chapters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-2); margin-top: var(--space-4); }
.mk-chapters span { font-size: 13px; line-height: 18px; color: var(--ink-300); }
.mk-chapters i { position: relative; display: block; height: 4px; margin-bottom: var(--space-2); border-radius: var(--radius-full); background: var(--bg-200); overflow: hidden; }
.mk-chapters i::after { content: ""; position: absolute; inset: 0; background: var(--ink-100); transform-origin: left; transform: scaleX(0); }
.mk-chapters .is-done i::after { transform: scaleX(1); }
.mk-chapters .is-now i::after { transform: scaleX(0.45); }
.kit-panel.is-active .mk-chapters .is-now i::after { animation: bar-grow 1400ms var(--ease) 300ms both; }
.mk-chapters .is-done, .mk-chapters .is-now { color: var(--ink-100); font-weight: 600; }

.mk-brand { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--space-4); }
.mk-brand-lockup { display: grid; place-content: center; min-height: 200px; padding: var(--space-5); border-radius: var(--radius-lg); background: var(--ex-stone); color: var(--ex-deep); text-align: center; }
.mk-wordmark-lg { font-size: 22px; line-height: 32px; }
.mk-brand-line { margin: var(--space-3) 0 0; font-size: 12px; line-height: 16px; letter-spacing: 0.04em; }
.mk-swatches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); align-content: center; }
.mk-swatches span { font-family: var(--font-mono); font-size: 12px; line-height: 16px; color: var(--ink-200); }
.mk-swatches i { display: block; height: 56px; margin-bottom: 6px; border: 1px solid var(--line-100); border-radius: var(--radius-md); background: var(--c); }
.kit-panel.is-active .mk-swatches span { animation: pop 600ms var(--ease) both; }
.kit-panel.is-active .mk-swatches span:nth-child(2) { animation-delay: 60ms; }
.kit-panel.is-active .mk-swatches span:nth-child(3) { animation-delay: 120ms; }
.kit-panel.is-active .mk-swatches span:nth-child(4) { animation-delay: 180ms; }
.mk-social { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); }
.mk-tile { display: flex; align-items: flex-end; aspect-ratio: 1; padding: var(--space-4); border-radius: var(--radius-lg); }
.mk-tile p { margin: 0; font-family: var(--font-heading); font-size: 17px; line-height: 22px; font-weight: 500; }
.mk-tile-a { background: var(--ex-deep); color: var(--ex-stone); }
.mk-tile-b { background: var(--ex-sage); color: var(--ex-deep); }
.mk-tile-c { background: var(--ex-stone); color: var(--ex-deep); }
.kit-panel.is-active .mk-tile { animation: panel-in 600ms var(--ease) both; }
.kit-panel.is-active .mk-tile:nth-child(2) { animation-delay: 70ms; }
.kit-panel.is-active .mk-tile:nth-child(3) { animation-delay: 140ms; }

@media (max-width: 960px) {
  .kit { gap: var(--space-4); }
  .kit-rail { margin: 0 calc(var(--space-5) * -1); padding: var(--space-1) var(--space-5); overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
  .kit-rail::-webkit-scrollbar { display: none; }
  .kit-tabs { display: flex; gap: var(--space-2); }
  .kit-line { display: none; }
  .kit-tab { flex: none; flex-direction: row; align-items: center; gap: var(--space-2); padding: var(--space-3) var(--space-4); border: 1px solid var(--line-100); border-radius: var(--radius-lg); background: var(--bg-000); scroll-snap-align: center; }
  .kit-tab::before { display: none; }
  .kit-tab-title { font-size: 16px; line-height: 22px; }
  .kit-tab[aria-selected="true"] { background: var(--ink-100); border-color: var(--ink-100); }
  .kit-tab[aria-selected="true"] .kit-tab-title, .kit-tab[aria-selected="true"] .kit-tab-num { color: var(--ink-inverse); }
  .kit-agent { margin: 0; }
  .kit-stage { padding: var(--space-4); }
  .kit-text { grid-template-columns: minmax(0, 1fr); }
  .kit-nav { grid-column: 1; grid-row: auto; flex-wrap: wrap; margin-top: var(--space-2); }
  .kit-panels { min-height: 0; padding: var(--space-3); }
  .kit-signals, .kit-signals ul { flex-direction: column; gap: var(--space-2); }
}
@media (max-width: 640px) {
  .kit-agent-link { display: none; }
  .seg { margin-left: 0; }
}
@media (max-width: 640px) {
  .mk-site-hero { min-height: 180px; padding: var(--space-5) var(--space-4) 0; }
  .mk-site-title { font-size: 20px; line-height: 26px; }
  .mk-tower { width: 72px; }
  .mk-pill { height: 28px; padding: 0 var(--space-3); font-size: 12px; }
  .mk-stock-row { grid-template-columns: 0.8fr 1fr 1.3fr 1.5fr; padding: 10px var(--space-3); font-size: 12px; }
  .mk-stock-row > :nth-child(3) { display: none; }
  .mk-crm { grid-template-columns: minmax(0, 1fr); }
  .mk-settle { padding: var(--space-3); }
  .mk-settle-row { grid-template-columns: minmax(0, 1fr) auto; }
  .mk-settle-row .mk-lot, .mk-settle-row .mk-seg { display: none; }
  .mk-settle-row b { font-size: 10px; letter-spacing: 0.04em; }
  .mk-crm-rail { display: none; }
  .mk-crm-main { padding: var(--space-3); }
  .mk-crm-row { grid-template-columns: minmax(0, 1fr) auto; }
  .mk-crm-row .mk-lot { display: none; }
  .mk-crm-row b { font-size: 10px; letter-spacing: 0.04em; }
  .mk-ads { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-ad:nth-child(3) { display: none; }
  .mk-plan { grid-template-columns: minmax(0, 1fr); }
  .mk-plan-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-4); }
  .mk-plan-facts div:nth-child(2) { border-top: 0; }
  .mk-brand { grid-template-columns: minmax(0, 1fr); }
  .mk-brand-lockup { min-height: 160px; }
  .mk-swatches { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-2); }
  .mk-swatches span { font-size: 0; }
  .mk-swatches i { height: 40px; margin: 0; }
  .mk-tile { padding: var(--space-3); }
  .mk-tile p { font-size: 13px; line-height: 18px; }
}

@media (max-width: 960px) { .mk-crm { grid-template-columns: minmax(0, 1fr); } .mk-crm-rail { display: none; } }

/* ---------- Stock list (lives inside the CRM step) ---------- */
.stock { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-7); align-items: start; }
.stock-plan { padding: var(--space-5); border: 1px solid var(--line-100); border-radius: var(--radius-xl); background: var(--bg-000); }
.stock-plan-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.stock-plan-title { margin: 0; font-family: var(--font-heading); font-size: 20px; line-height: 26px; font-weight: 600; color: var(--ink-100); }
.stock-hint { margin: var(--space-1) 0 var(--space-5); font-size: 14px; line-height: 20px; color: var(--ink-300); }
.stock-grid { display: grid; grid-template-columns: 32px repeat(5, minmax(0, 1fr)); gap: var(--space-2); perspective: 900px; }
.stock-level { display: flex; align-items: center; font-family: var(--font-mono); font-size: 12px; line-height: 16px; color: var(--ink-300); }
.stock-cell { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 60px; padding: 0; border: 1px solid var(--line-200); border-radius: var(--radius-md); background: var(--bg-000); color: var(--ink-100); font-family: var(--font-mono); font-size: 14px; line-height: 18px; font-variant-numeric: tabular-nums; cursor: pointer; transition: transform 300ms var(--ease), background-color 300ms var(--ease), border-color 300ms var(--ease), opacity 600ms var(--ease); }
.stock-cell small { font-family: var(--font-sans); font-size: 11px; line-height: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-300); }
.stock-cell:hover { transform: translateY(-2px); }
.stock-cell:active { transform: scale(0.97); }
.stock-cell[data-s="hold"] { background: var(--sun-tint); border-color: var(--sun-500); }
.stock-cell[data-s="hold"] small { color: var(--sun-ink); }
.stock-cell[data-s="sold"] { background: var(--bg-200); border-color: var(--bg-200); color: var(--ink-300); }
.stock-cell[aria-pressed="true"] { outline: 2px solid var(--ink-100); outline-offset: 2px; }
.stock-cell:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.stock-cell.is-flip { animation: cell-flip 600ms var(--ease); }
@keyframes cell-flip { 0% { transform: rotateX(0); } 45% { transform: rotateX(90deg); } 55% { transform: rotateX(90deg); } 100% { transform: rotateX(0); } }
.js .stock-grid:not(.is-in) .stock-cell,
.js .stock-grid:not(.is-in) .stock-level { opacity: 0; transform: translateY(16px); }
.stock-grid.is-in .stock-cell { transition-delay: calc(var(--r, 0) * 80ms + var(--c, 0) * 20ms); }
.stock-grid.is-settled .stock-cell { transition-delay: 0ms; }
.stock-level { transition: opacity 600ms var(--ease), transform 600ms var(--ease); transition-delay: calc(var(--r, 0) * 80ms); }
.stock-legend { display: flex; flex-wrap: wrap; gap: var(--space-4); margin: var(--space-5) 0 0; padding: 0; list-style: none; font-size: 13px; line-height: 18px; color: var(--ink-300); }
.stock-legend li { display: inline-flex; align-items: center; gap: var(--space-2); }
.lg { width: 12px; height: 12px; box-sizing: border-box; border-radius: 3px; border: 1px solid var(--line-200); }
.lg-hold { background: var(--sun-tint); border-color: var(--sun-500); }
.lg-sold { background: var(--bg-200); border-color: var(--bg-200); }

.stock-side { display: flex; flex-direction: column; gap: var(--space-5); }
.stock-card { padding: var(--space-5); border: 1px solid var(--line-100); border-radius: var(--radius-xl); background: var(--bg-000); }
.stock-card-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.stock-lot { margin: 0; font-family: var(--font-heading); font-size: 28px; line-height: 34px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink-100); }
.stock-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); margin: var(--space-5) 0; }
.stock-facts dt { font-size: 11px; line-height: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-300); }
.stock-facts dd { margin: var(--space-1) 0 0; font-size: 15px; line-height: 20px; color: var(--ink-100); }
.stock-facts #lot-level, .stock-facts #lot-price { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.stock-card.is-swap .stock-facts dd, .stock-card.is-swap .stock-lot span { animation: panel-in 500ms var(--ease) both; }
.stock-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.stock-actions .sol-help:empty { display: none; }
.stock-channels { padding: var(--space-5); border-radius: var(--radius-xl); background: var(--bg-100); }
.stock-count { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--space-2) var(--space-3); margin: 0; }
.stock-count-figure { min-width: 2ch; font-family: var(--font-display); text-transform: uppercase; font-size: 44px; line-height: 0.95; font-weight: 400; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; color: var(--ink-100); }
.stock-count-label { font-size: 17px; line-height: 27px; color: var(--ink-200); }
.stock-sync { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); margin: var(--space-4) 0 0; padding: 0; list-style: none; font-size: 14px; line-height: 20px; color: var(--ink-200); }
.stock-sync li { display: inline-flex; align-items: center; gap: 6px; }
.stock-sync svg { width: 16px; height: 16px; color: var(--positive); }
.stock-sync li.is-pulse svg { animation: pop 600ms var(--ease) both; }
.stock-log { margin: var(--space-4) 0 0; min-height: 36px; font-size: 13px; line-height: 18px; color: var(--ink-300); }
@media (max-width: 960px) { .stock { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); } }
@media (max-width: 640px) {
  .stock-plan { padding: var(--space-4); }
  .stock-grid { grid-template-columns: 26px repeat(5, minmax(0, 1fr)); gap: var(--space-1); }
  .stock-cell { height: 52px; font-size: 12px; }
  .stock-cell small { font-size: 10px; letter-spacing: 0.04em; }
  .stock-level { font-size: 11px; }
}

/* ---------- Stockdog ---------- */
.agent { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-8); align-items: start; }
.agent .sol-section-head { margin-bottom: var(--space-6); }
.agent-jobs { margin: 0; }
.agent-jobs div { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: var(--space-4); padding: var(--space-4) 0; border-top: 1px solid var(--line-100); }
.agent-jobs dt { font-family: var(--font-heading); font-size: 20px; line-height: 26px; font-weight: 600; color: var(--ink-100); }
.agent-jobs dd { margin: 0; font-size: 17px; line-height: 27px; color: var(--ink-200); }
.agent-demo { display: flex; flex-direction: column; gap: var(--space-4); }
.thread { border: 1px solid var(--line-100); border-radius: var(--radius-xl); background: var(--bg-000); overflow: hidden; }
.thread-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--line-100); }
.thread-name { margin: 0; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink-100); }
.thread-body { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-4); }
.msg { display: flex; flex-direction: column; gap: var(--space-1); max-width: 84%; }
.msg p { position: relative; margin: 0; padding: 10px 14px; border-radius: var(--radius-xl); font-size: 15px; line-height: 22px; text-wrap: wrap; clip-path: inset(0 round 16px); transition: clip-path 600ms var(--ease); }
.msg time { font-family: var(--font-mono); font-size: 12px; line-height: 16px; color: var(--ink-300); }
.msg-in { align-self: flex-start; }
.msg-in p { background: var(--bg-200); color: var(--ink-100); }
.msg-out { align-self: flex-end; align-items: flex-end; }
.msg-out p { background: var(--ink-100); color: var(--ink-inverse); }
.msg .txt { transition: opacity 400ms var(--ease) 150ms; }
.msg.is-typing p { clip-path: inset(calc(100% - 42px) 0 0 calc(100% - 66px) round 16px); }
.msg.is-typing .txt { opacity: 0; transition: none; }
.msg p::after { content: ""; position: absolute; right: 42px; bottom: 18px; width: 6px; height: 6px; border-radius: var(--radius-full); background: currentColor; box-shadow: 11px 0 0 currentColor, 22px 0 0 currentColor; opacity: 0; }
.msg.is-typing p::after { animation: typing 420ms var(--ease) 3 alternate both; }
@keyframes typing { from { opacity: 0.25; } to { opacity: 0.9; } }
.js .agent-demo [data-step] { opacity: 0; transform: translateY(12px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.js .agent-demo [data-step].is-shown { opacity: 1; transform: none; }
.agent-replay { align-self: flex-start; font-size: 14px; }
@media (max-width: 960px) {
  .agent { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
}
@media (max-width: 640px) {
  .agent-jobs div { grid-template-columns: minmax(0, 1fr); gap: var(--space-1); }
  .msg { max-width: 92%; }
}

/* ---------- Stockdog: one section, two views ---------- */
.duo-switch { display: inline-flex; gap: var(--space-1); margin-bottom: var(--space-7); padding: var(--space-1); border-radius: var(--radius-lg); background: var(--bg-200); }
.duo-tab { min-height: 44px; padding: var(--space-2) var(--space-5); border: 0; border-radius: var(--radius-md); background: transparent; color: var(--ink-200); font: 600 15px/20px var(--font-sans); cursor: pointer; transition: background-color 300ms var(--ease), color 300ms var(--ease), transform 200ms var(--ease); }
.duo-tab:hover { color: var(--ink-100); }
.duo-tab:active { transform: scale(0.98); }
.duo-tab[aria-selected="true"] { background: var(--bg-000); color: var(--ink-100); }
.duo-panel[hidden] { display: none; }
.duo-panel.is-swap { animation: panel-in 600ms var(--ease) both; }
.duo-title { margin: 0 0 var(--space-3); font-family: var(--font-heading); font-size: 36px; line-height: 42px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink-100); }
.duo-lead { margin: 0 0 var(--space-6); max-width: 56ch; font-size: 20px; line-height: 30px; color: var(--ink-200); }
.duo .ask-roles { margin: 0 calc(var(--space-5) * -1); }
.duo .ask-role:hover { background: var(--bg-100); }
.duo .ask-role[aria-pressed="true"] { background: var(--bg-100); border-color: var(--line-100); }
@media (max-width: 640px) {
  .duo-switch { display: flex; margin-bottom: var(--space-6); }
  .duo-tab { flex: 1; padding: var(--space-2) var(--space-3); font-size: 14px; }
  .duo-title { font-size: 28px; line-height: 34px; }
  .duo-lead { font-size: 17px; line-height: 27px; }
  .duo .ask-roles { margin: 0; }
}

/* ---------- Ask Stockdog ---------- */
.ask { display: flex; flex-direction: column; border: 1px solid var(--line-100); border-radius: var(--radius-xl); background: var(--bg-000); overflow: hidden; }
.ask-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--line-100); }
.ask-body { display: flex; flex-direction: column; gap: var(--space-3); min-height: 392px; padding: var(--space-4); }
.ask-q { align-self: flex-end; max-width: 84%; margin: 0; padding: 10px 14px; border-radius: var(--radius-xl); background: var(--bg-200); color: var(--ink-100); font-size: 15px; line-height: 22px; }
.ask-a { gap: var(--space-3); }
.ask-a .sol-agent-body { font-size: 15px; line-height: 22px; }
.ask-rows { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.ask-rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--space-1) var(--space-3); padding: 10px 0; border-top: 1px solid var(--sun-100); font-size: 14px; line-height: 20px; color: var(--ink-100); }
.ask-rows b { font-weight: 600; }
.ask-rows small { grid-column: 1 / -1; font-size: 13px; line-height: 18px; color: var(--ink-300); }
.ask-rows .num { font-family: var(--font-mono); font-size: 14px; font-variant-numeric: tabular-nums; }
.ask-rows .meter { grid-column: 1 / -1; height: 6px; border-radius: var(--radius-full); background: var(--bg-000); overflow: hidden; }
.ask-rows .meter i { display: block; height: 100%; border-radius: var(--radius-full); background: var(--ink-100); transform-origin: left; transform: scaleX(var(--w)); animation: bar-grow 1100ms var(--ease) 250ms both; }
.ask-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); }
.ask-tiles .mk-tile { padding: var(--space-3); border-radius: var(--radius-md); }
.ask-tiles .mk-tile { flex-direction: column; align-items: flex-start; justify-content: space-between; gap: var(--space-4); aspect-ratio: 4 / 3; }
.ask-tiles .mk-tile .mk-wordmark { font-size: 9px; line-height: 12px; font-weight: 300; letter-spacing: 0.24em; }
.ask-tiles .ask-tile-title { font-size: 17px; line-height: 22px; }
@media (max-width: 640px) { .ask-tiles .mk-tile { aspect-ratio: 3 / 4; } .ask-tiles .mk-tile .mk-wordmark { display: none; } .ask-tiles .ask-tile-title { font-size: 13px; line-height: 18px; } }
.ask-a.is-in > * { animation: panel-in 600ms var(--ease) both; }
.ask-a.is-in > :nth-child(2) { animation-delay: 80ms; }
.ask-a.is-in > :nth-child(3) { animation-delay: 160ms; }
.ask-a.is-in > :nth-child(4) { animation-delay: 240ms; }
.ask-a.is-in .ask-rows li, .ask-a.is-in .mk-tile { animation: panel-in 600ms var(--ease) both; animation-delay: calc(200ms + var(--n, 0) * 80ms); }
.ask-q.is-in { animation: panel-in 500ms var(--ease) both; }
.ask-body.is-waiting .ask-q, .ask-body.is-waiting .ask-a { visibility: hidden; }
.ask-body.is-thinking .ask-a { visibility: hidden; }
.ask-bar { display: flex; gap: var(--space-2); padding: var(--space-3) var(--space-4) var(--space-4); border-top: 1px solid var(--line-100); }
.ask-bar .sol-input { flex: 1; min-width: 0; }
.ask-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-7); align-items: start; }
.ask-roles { display: flex; flex-direction: column; gap: var(--space-2); }
.ask-role { display: flex; flex-direction: column; gap: var(--space-1); padding: var(--space-4) var(--space-5); border: 1px solid transparent; border-radius: var(--radius-lg); background: transparent; color: var(--ink-200); font: inherit; text-align: left; cursor: pointer; transition: background-color 300ms var(--ease), border-color 300ms var(--ease), transform 200ms var(--ease); }
.ask-role:hover { background: var(--bg-200); }
.ask-role:active { transform: scale(0.99); }
.ask-role[aria-pressed="true"] { background: var(--bg-000); border-color: var(--line-100); }
.ask-role-title { display: flex; align-items: center; gap: var(--space-3); font-family: var(--font-heading); font-size: 20px; line-height: 26px; font-weight: 600; color: var(--ink-100); }
.ask-role-title::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: var(--radius-full); background: var(--sun-300); transform: scale(0); transition: transform 500ms var(--ease); }
.ask-role[aria-pressed="true"] .ask-role-title::before { transform: scale(1); }
.ask-role-desc { padding-left: 20px; font-size: 17px; line-height: 27px; color: var(--ink-200); }
@media (max-width: 960px) { .ask-layout { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); } }
@media (max-width: 640px) {
  .ask-body { min-height: 440px; }
  .ask-role { padding: var(--space-3) var(--space-4); }
  .ask-role-desc { font-size: 15px; line-height: 22px; }
}

/* ---------- Sales process ---------- */
.journey { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-8); align-items: start; }
.journey-sticky { position: sticky; top: max(calc(var(--header-height) + var(--space-6)), calc(50vh - 190px)); }
.record { padding: var(--space-5); border: 1px solid var(--line-100); border-radius: var(--radius-xl); background: var(--bg-000); }
.record-head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-3); min-height: 48px; }
.record-name { margin: 0; font-family: var(--font-heading); font-size: 20px; line-height: 26px; font-weight: 600; color: var(--ink-100); }
.record-lot { margin: 2px 0 0; font-family: var(--font-mono); font-size: 13px; line-height: 18px; color: var(--ink-300); }
.track { position: relative; margin: var(--space-6) 0 var(--space-5); padding-top: 6px; --p: 0; }
.track-line { height: 2px; border-radius: 1px; background: var(--line-100); }
.track-line i { display: block; height: 100%; background: var(--ink-100); transform-origin: left; transform: scaleX(var(--p)); transition: transform 800ms var(--ease); }
.track-sun { position: absolute; top: 0; left: 0; right: 0; height: 14px; transform: translateX(calc(var(--p) * 100%)); transition: transform 800ms var(--ease); pointer-events: none; }
.track-sun i { display: block; width: 14px; height: 14px; margin-left: -7px; border-radius: var(--radius-full); background: var(--sun-300); box-shadow: 0 0 0 4px var(--bg-000); }
.sol-section-alt .agent-jobs div { border-color: var(--line-100); }
.track-stops { display: flex; justify-content: space-between; margin: var(--space-3) 0 0; padding: 0; list-style: none; font-size: 11px; line-height: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-300); }
.track-stops li { transition: color 300ms var(--ease); }
.track-stops li.is-on { color: var(--ink-100); }
.record-rows { margin: 0; min-height: 126px; }
.record-rows div, .step-data dl div { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: var(--space-3); padding: 10px 0; border-top: 1px solid var(--line-100); }
.record-rows dt, .step-data dt { font-size: 13px; line-height: 18px; color: var(--ink-300); }
.record-rows dd, .step-data dd { margin: 0; font-size: 13px; line-height: 18px; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--ink-100); }
.record-rows.is-swap div { animation: panel-in 500ms var(--ease) both; }
.record-rows.is-swap div:nth-child(2) { animation-delay: 60ms; }
.record-rows.is-swap div:nth-child(3) { animation-delay: 120ms; }
.record-note { display: flex; align-items: center; gap: var(--space-2); margin: var(--space-4) 0 0; font-size: 13px; line-height: 18px; color: var(--ink-300); }
.journey-steps { margin: 0; padding: 0; list-style: none; }
.journey-step { display: flex; flex-direction: column; justify-content: center; gap: var(--space-3); min-height: 38vh; }
.journey-step:first-child { min-height: 0; padding: var(--space-6) 0 14vh; }
.journey-step:last-child { min-height: 0; padding: 14vh 0 var(--space-6); }
.js .journey-step { opacity: 0.32; transition: opacity 500ms var(--ease); }
.js .journey-step.is-active { opacity: 1; }
.journey-title { margin: 0; font-family: var(--font-heading); font-size: 36px; line-height: 42px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink-100); }
.journey-body { margin: 0; max-width: 520px; font-size: 20px; line-height: 30px; color: var(--ink-200); }
.step-data { display: none; }
@media (max-width: 960px) {
  .journey { grid-template-columns: minmax(0, 1fr); }
  .journey-sticky { display: none; }
  .journey-steps { display: flex; flex-direction: column; gap: var(--space-7); }
  .journey-step, .journey-step:first-child, .journey-step:last-child { min-height: 0; padding: 0; }
  .js .journey-step { opacity: 1; }
  .journey-title { font-size: 28px; line-height: 34px; }
  .journey-body { font-size: 17px; line-height: 27px; }
  .step-data { display: block; margin-top: var(--space-2); padding: var(--space-4); border: 1px solid var(--line-100); border-radius: var(--radius-lg); }
  .step-data dl { margin: var(--space-3) 0 0; }
  .step-data-head { display: flex; flex-wrap: wrap; gap: var(--space-2); }
  .step-data dl div { grid-template-columns: 112px minmax(0, 1fr); }
}

/* ---------- How a project starts ---------- */
.how-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-7); margin: 0; padding: 0; list-style: none; }
.how-step { position: relative; display: flex; flex-direction: column; gap: var(--space-3); padding-top: var(--space-5); }
.how-step::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--on-navy-muted); transform-origin: left; }
.how-num { font-family: var(--font-display); text-transform: uppercase; font-size: 44px; line-height: 0.95; font-weight: 400; letter-spacing: 0.01em; color: var(--sun-on-navy); }
.how-title { margin: 0; font-family: var(--font-heading); font-size: 28px; line-height: 34px; font-weight: 600; letter-spacing: -0.01em; color: var(--on-navy); }
.how-body { margin: 0; font-size: 17px; line-height: 27px; color: var(--on-navy-muted); }
.how-cta { margin: var(--space-7) 0 0; }
.how :focus-visible { outline-color: var(--on-navy); }
.js .how-step::before { transform: scaleX(0); transition: transform 1100ms var(--ease); transition-delay: calc(var(--i) * 160ms); }
.js .how-step > * { opacity: 0; transform: translateY(20px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: calc(200ms + var(--i) * 160ms); }
.js .how-steps.is-in .how-step::before { transform: none; }
.js .how-steps.is-in .how-step > * { opacity: 1; transform: none; }
@media (max-width: 860px) { .how-steps { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); } }

/* ---------- Stockdog versus the alternatives ---------- */
.versus { width: 100%; border-collapse: separate; border-spacing: 0; text-align: left; }
.versus th, .versus td { padding: var(--space-4) var(--space-5); vertical-align: top; border-top: 1px solid var(--line-100); }
.versus thead th { border-top: 0; padding-top: var(--space-4); padding-bottom: var(--space-4); font-family: var(--font-sans); font-size: 11px; line-height: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-300); }
.versus tbody th { width: 28%; padding-left: 0; font-family: var(--font-heading); font-size: 20px; line-height: 26px; font-weight: 600; color: var(--ink-100); }
.versus thead th:first-child { padding-left: 0; }
.versus td { width: 36%; font-size: 17px; line-height: 27px; color: var(--ink-200); }
.versus .versus-us { background: var(--bg-navy); border-top-color: var(--line-navy); color: var(--on-navy); }
.versus thead .versus-us { border-radius: var(--radius-lg) var(--radius-lg) 0 0; color: var(--sun-on-navy); }
.versus tbody tr:last-child .versus-us { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.versus-us span { display: flex; align-items: flex-start; gap: var(--space-3); }
.versus-us svg { flex: none; width: 20px; height: 20px; margin-top: 3px; }
.versus-total th, .versus-total td { padding-top: var(--space-5); padding-bottom: var(--space-5); font-weight: 600; color: var(--ink-100); }
.versus-total .versus-us { color: var(--on-navy); }
.js .versus tbody th, .js .versus tbody td:not(.versus-us), .js .versus-us span { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .versus-us span { transition-delay: calc(120ms + var(--i, 0) * 70ms); }
.js .versus tbody tr .versus-us span { --i: inherit; }
.js .versus.is-in tbody th, .js .versus.is-in tbody td, .js .versus.is-in .versus-us span { opacity: 1; transform: none; }
@media (max-width: 760px) {
  .versus, .versus tbody, .versus tr, .versus th, .versus td { display: block; width: auto; }
  .versus thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .versus tbody tr { padding: var(--space-5) 0; border-top: 1px solid var(--line-100); }
  .versus tbody th, .versus td { padding: 0; border: 0; }
  .versus tbody th { width: auto; margin-bottom: var(--space-3); }
  .versus td { width: auto; }
  .versus td { font-size: 15px; line-height: 22px; }
  .versus td::before { content: attr(data-label); display: block; margin-bottom: var(--space-1); font-size: 11px; line-height: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-300); }
  .versus .versus-us, .versus tbody tr:last-child .versus-us { margin-top: var(--space-3); padding: var(--space-3) var(--space-4); border-radius: var(--radius-lg); }
  .versus .versus-us::before { color: var(--sun-on-navy); }
}

/* ---------- One sale, start to finish ---------- */
.loop { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--space-7); align-items: start; margin-top: var(--space-8); padding-top: var(--space-7); border-top: 1px solid var(--line-100); }
.loop-note { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin: 0; font-size: 13px; line-height: 18px; color: var(--ink-300); }
.loop-steps { margin: 0; padding: 0; list-style: none; }
.loop-steps li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: var(--space-4); align-items: start; padding: var(--space-3) 0; border-top: 1px solid var(--line-100); }
.loop-steps li:first-child { padding-top: 0; border-top: 0; }
.loop-steps .sol-badge { justify-self: start; margin-top: 1px; }
.loop-steps p { margin: 0; font-size: 16px; line-height: 24px; color: var(--ink-200); }
@media (max-width: 960px) { .loop { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); margin-top: var(--space-7); padding-top: var(--space-6); } }
@media (max-width: 520px) { .loop-steps li { grid-template-columns: minmax(0, 1fr); gap: var(--space-2); } }

/* ---------- What you stop paying for ---------- */
.costs { margin-top: var(--space-8); }
.costs .sol-feature { padding: var(--space-5); }
.costs .sol-feature-title { font-size: 17px; line-height: 24px; }
.costs .sol-feature-body { font-size: 16px; line-height: 24px; }
.cost-figure { margin: auto 0 0; padding-top: var(--space-3); border-top: 1px solid var(--line-100); font-family: var(--font-mono); font-size: 13px; line-height: 18px; color: var(--ink-300); }
@media (max-width: 768px) { .costs { margin-top: var(--space-7); } }

/* ---------- Questions ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--space-7); align-items: start; }
.faq .sol-section-head { margin-bottom: 0; }
.faq-item { border-bottom: 1px solid var(--line-100); }
.faq-item:first-child { border-top: 1px solid var(--line-100); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-5) 0; font-family: var(--font-heading); font-size: 20px; line-height: 26px; font-weight: 600; color: var(--ink-100); cursor: pointer; list-style: none; transition: color 200ms var(--ease); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--ink-200); }
.faq-mark { position: relative; flex: none; width: 16px; height: 16px; }
.faq-mark::before, .faq-mark::after { content: ""; position: absolute; top: 7px; left: 0; width: 16px; height: 1.5px; border-radius: 1px; background: currentColor; transition: transform 500ms var(--ease); }
.faq-mark::after { transform: rotate(90deg); }
.faq-item[open] .faq-mark::after { transform: rotate(0deg); }
.faq-answer { padding: 0 var(--space-7) var(--space-5) 0; }
.faq-answer p { margin: 0; max-width: 62ch; font-size: 17px; line-height: 27px; color: var(--ink-200); }
.faq-item[open] .faq-answer { animation: panel-in 500ms var(--ease) both; }
@media (max-width: 960px) {
  .faq { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
  .faq-answer { padding-right: 0; }
}

/* ---------- Book a demo ---------- */
.demo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-7); align-items: start; }
.demo-copy { display: flex; flex-direction: column; gap: var(--space-3); }
.demo-line { margin-bottom: var(--space-8); }
.demo-title { margin: 0; font-family: var(--font-heading); font-size: 36px; line-height: 42px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink-100); }
.demo-quote { margin: var(--space-6) 0 0; padding: var(--space-5); border-radius: var(--radius-lg); background: var(--bg-100); }
.demo-quote blockquote { margin: 0; font-size: 17px; line-height: 27px; color: var(--ink-200); }
.demo-quote figcaption { margin-top: var(--space-2); font-size: 13px; line-height: 18px; color: var(--ink-300); }
.demo-card .sol-form { max-width: none; }
.demo-card .sol-form[hidden] { display: none; }
.demo-card .sol-btn[aria-busy="true"] { background: var(--action-primary-hover); cursor: progress; }
.demo-done { box-sizing: border-box; padding: var(--space-7) var(--space-6); border: 1px solid var(--line-100); border-radius: var(--radius-lg); background: var(--bg-000); outline: none; animation: panel-in 700ms var(--ease) both; }
.demo-done[hidden] { display: none; }
.demo-done-mark { display: block; width: 72px; height: auto; margin-bottom: var(--space-5); overflow: hidden; }
.demo-done-mark path { animation: sun-up 1200ms var(--ease) 150ms both; }
@keyframes sun-up { from { transform: translateY(51px); } }
.demo-done-flag { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin: 0 0 var(--space-4); font-size: 13px; line-height: 18px; color: var(--ink-300); }
.demo-done-title { margin: 0 0 var(--space-3); font-family: var(--font-heading); font-size: 28px; line-height: 34px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink-100); }
.demo-done-body { margin: 0; max-width: 46ch; font-size: 17px; line-height: 27px; color: var(--ink-200); overflow-wrap: anywhere; }
@media (max-width: 960px) { .demo { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); } }
@media (max-width: 768px) { .demo-line { margin-bottom: var(--space-7); } .demo-title { font-size: 28px; line-height: 34px; } }

/* ---------- Plain pages (privacy, terms, 404) ---------- */
.page-head { padding: var(--space-9) 0 var(--space-7); background: var(--bg-100); }
.page-title { margin: 0; font-family: var(--font-display); text-transform: uppercase; font-size: 64px; line-height: 0.92; font-weight: 400; letter-spacing: 0.005em; color: var(--ink-100); }
.page-lead { margin: var(--space-4) 0 0; max-width: 60ch; font-size: 20px; line-height: 30px; color: var(--ink-200); }
.page-body { padding: var(--space-8) 0 var(--space-9); }
.page-body h2 { margin: var(--space-7) 0 var(--space-3); font-family: var(--font-heading); font-size: 28px; line-height: 34px; font-weight: 600; letter-spacing: -0.01em; }
.page-body h2:first-child { margin-top: 0; }
.page-body p { margin: 0 0 var(--space-4); max-width: 68ch; font-size: 17px; line-height: 27px; color: var(--ink-200); }
.page-body a { color: var(--ink-100); }
.page-body ul { margin: 0 0 var(--space-4); padding-left: var(--space-5); max-width: 68ch; }
.page-body li { margin: 0 0 var(--space-2); font-size: 17px; line-height: 27px; color: var(--ink-200); }
.page-body li b { color: var(--ink-100); font-weight: 600; }
.page-body .page-draft { font-size: 15px; line-height: 24px; }
.page-body .page-draft .sol-badge { margin-right: var(--space-2); vertical-align: 1px; }
.page-body .page-meta { font-family: var(--font-mono); font-size: 13px; line-height: 20px; letter-spacing: 0.02em; color: var(--ink-300, var(--ink-200)); margin-bottom: var(--space-7); }
.page-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.notfound { position: relative; overflow: hidden; }
/* The sold dot, large: the one brand shape. */
.notfound-art { position: absolute; right: 64px; bottom: 64px; width: 160px; height: 160px; border-radius: var(--radius-pill); background: var(--accent); pointer-events: none; }
@media (max-width: 768px) {
  .page-title { font-size: 64px; line-height: 0.92; }
  .page-lead { font-size: 17px; line-height: 27px; }
  .notfound-art { display: none; }
}

/* ---------- Compact scale (owner request, 13 November 2026) ----------
   The brand pack's website sizes read as oversized on this page, so every heading, lead and
   section gap steps down here. Body copy settles at 16px. Sizes set by the brand pack's own
   stylesheet can only be changed from this layer, so all of the overrides live together. */
.sol-hero-title { font-size: 56px; line-height: 60px; }
.sol-hero-lead { max-width: 560px; font-size: 18px; line-height: 28px; }
.hero .sol-hero-inner { gap: var(--space-4); padding-top: var(--space-8); padding-bottom: 200px; }
.sol-section { padding: var(--space-8) 0; }
.sol-section-head { max-width: 680px; margin-bottom: var(--space-6); }
.sol-section-title, .tagline-text { font-size: 40px; line-height: 46px; letter-spacing: -0.012em; }
.sol-section-lead { font-size: 17px; line-height: 27px; }
.demo-line { margin-bottom: var(--space-7); }
.duo-title, .journey-title, .demo-title { font-size: 28px; line-height: 34px; }
.duo-lead { margin-bottom: var(--space-5); font-size: 17px; line-height: 27px; }
.duo-switch { margin-bottom: var(--space-6); }
.journey-body { font-size: 17px; line-height: 27px; }
.journey-step { min-height: 34vh; }
.kit-tab-title { font-size: 17px; line-height: 24px; }
.kit-title { font-size: 24px; line-height: 30px; }
.kit-desc, .kit-record p { font-size: 16px; line-height: 24px; }
.kit-agent-text { font-size: 15px; line-height: 20px; }
.kit-panels { min-height: 480px; }
.agent-jobs div { padding: var(--space-3) 0; }
.agent-jobs dt, .ask-role-title { font-size: 17px; line-height: 24px; }
.agent-jobs dd { font-size: 16px; line-height: 24px; }
.ask-role { padding: var(--space-3) var(--space-4); }
.ask-role-desc { font-size: 15px; line-height: 22px; }
.how-num { font-size: 44px; line-height: 0.95; }
.how-title { font-size: 22px; line-height: 28px; }
.how-body { font-size: 16px; line-height: 24px; }
.how-cta { margin-top: var(--space-6); }
.versus th, .versus td { padding: var(--space-3) var(--space-5); }
.versus tbody th { font-size: 17px; line-height: 24px; }
.versus td { font-size: 16px; line-height: 24px; }
.versus-total th, .versus-total td { padding-top: var(--space-4); padding-bottom: var(--space-4); }
.faq-item summary { padding: var(--space-4) 0; font-size: 17px; line-height: 24px; }
.faq-answer { padding-bottom: var(--space-4); }
.faq-answer p, .demo-quote blockquote, .demo-done-body, .stock-count-label { font-size: 16px; line-height: 24px; }
.stock-count-figure { font-size: 44px; line-height: 0.95; }
.stock-lot, .demo-done-title { font-size: 24px; line-height: 30px; }
.page-title { font-size: 64px; line-height: 0.92; }
.page-lead { font-size: 17px; line-height: 27px; }
@media (max-width: 768px) {
  .sol-hero-title { font-size: 36px; line-height: 40px; }
  .sol-hero-lead { font-size: 16px; line-height: 24px; }
  .hero .sol-hero-inner { padding-top: var(--space-7); padding-bottom: 200px; }
  .sol-section { padding: var(--space-7) 0; }
  .sol-section-head { margin-bottom: var(--space-5); }
  .sol-section-title, .tagline-text { font-size: 28px; line-height: 34px; }
  .sol-section-lead, .duo-lead, .journey-body { font-size: 16px; line-height: 24px; }
  .demo-line { margin-bottom: var(--space-6); }
  .duo-title, .journey-title, .demo-title, .kit-title { font-size: 22px; line-height: 28px; }
  .how-title { font-size: 20px; line-height: 26px; }
  .page-title { font-size: 64px; line-height: 0.92; }
}
@media (max-width: 960px) {
  /* Keep the small screen resets that the rules above would otherwise undo. */
  .kit-panels, .journey-step { min-height: 0; }
  .kit-tab-title { font-size: 16px; line-height: 22px; }
}
@media (max-width: 760px) {
  .versus tbody th, .versus td { padding: 0; }
  .versus .versus-us, .versus tbody tr:last-child .versus-us { padding: var(--space-3) var(--space-4); }
  .versus tbody tr { padding: var(--space-4) 0; }
  .versus td { font-size: 15px; line-height: 22px; }
}

/* ---------- Reduced motion: everything in place, nothing moves ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .hero-fade, .js .hero-glow, .js .hero-moon, .js .how-step > *, .js .agent-demo [data-step],
  .js .stock-grid:not(.is-in) .stock-cell, .js .stock-grid:not(.is-in) .stock-level { opacity: 1; transform: none; }
  .js .versus tbody th, .js .versus tbody td:not(.versus-us), .js .versus-us span { opacity: 1; transform: none; }
  .js .hero-line > span, .js .hero-sun i, .js .how-step::before { transform: none; }
  .js .hero-sky::before { opacity: 0; }
  .js .tagline-text .w, .js .journey-step { opacity: 1; }
}

/* ---------- Lead sources page ---------- */
.source-grid .sol-feature-body { font-size: 16px; line-height: 24px; }
.source-facts { margin: auto 0 0; padding-top: var(--space-4); border-top: 1px solid var(--line-100); display: grid; gap: var(--space-3); }
.source-facts dt { font-size: 13px; line-height: 18px; font-weight: 600; color: var(--ink-100); }
.source-facts dd { margin: 2px 0 0; font-size: 15px; line-height: 22px; color: var(--ink-200); }
.source-rules, .rule-list { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--space-7); }
.source-rules div, .rule-list div { padding: var(--space-5) 0; border-top: 1px solid var(--line-100); }
.source-rules dt, .rule-list dt { font-family: var(--font-heading); font-size: 20px; line-height: 26px; font-weight: 600; color: var(--ink-100); }
.source-rules dd, .rule-list dd { margin: var(--space-2) 0 0; max-width: 52ch; font-size: 16px; line-height: 24px; color: var(--ink-200); }
.source-setup { margin-top: var(--space-4); }
@media (max-width: 768px) {
  .source-rules, .rule-list { grid-template-columns: minmax(0, 1fr); }
}
.faq-answer a { color: var(--ink-100); text-underline-offset: 3px; }

/* ---------- How Stockdog stays accurate page ---------- */
.never-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--space-3); }
.never-list li { padding: var(--space-4) var(--space-5); border: 1px solid var(--line-100); border-radius: var(--radius-md); background: var(--bg-000); font-size: 16px; line-height: 24px; font-weight: 500; color: var(--ink-100); }
.rule-list .mono { font-family: var(--font-mono); font-size: 15px; }
.page-close { margin-top: var(--space-4); }

/* ---------- CRM menu in the header ---------- */
.nav-menu { position: relative; }
.nav-menu-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 12px 0; border: 0; background: none; font: inherit; font-size: 15px; line-height: 20px; font-weight: 500; color: var(--ink-200); cursor: pointer; box-shadow: inset 0 -2px 0 transparent; transition: color 200ms var(--ease), box-shadow 300ms var(--ease); }
.nav-menu-toggle:hover, .nav-menu-toggle[aria-expanded="true"] { color: var(--ink-100); }
.nav-menu-toggle.is-current { color: var(--ink-100); box-shadow: inset 0 -2px 0 var(--sun-300); }
.nav-menu-toggle:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; border-radius: 2px; }
.nav-menu-toggle svg { width: 12px; height: 12px; transition: transform 240ms var(--ease); }
.nav-menu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-sub { display: none; margin: 0; padding: var(--space-2); list-style: none; }
.nav-menu-toggle[aria-expanded="true"] + .nav-sub { display: block; }
.sol-nav-links .nav-sub a { display: block; padding: var(--space-3); border-radius: var(--radius-md); box-shadow: none; }
.sol-nav-links .nav-sub a:hover { background: var(--bg-100); }
.sol-nav-links .nav-sub a[aria-current="page"], .sol-nav-links .nav-sub a[aria-current="true"] { background: var(--bg-100); box-shadow: inset 2px 0 0 var(--sun-300); }
.nav-sub-title { display: block; font-size: 15px; line-height: 20px; font-weight: 600; color: var(--ink-100); }
.nav-sub-desc { display: block; margin-top: 2px; font-size: 14px; line-height: 20px; font-weight: 400; color: var(--ink-300); }
@media (min-width: 1025px) {
  .nav-sub { position: absolute; top: calc(100% + 8px); left: -16px; z-index: 20; width: 340px; background: var(--bg-000); border: 1px solid var(--line-100); border-radius: var(--radius-lg); box-shadow: var(--shadow-pop); }
  .nav-menu-toggle[aria-expanded="true"] + .nav-sub { animation: sub-in 240ms var(--ease) both; }
}
@keyframes sub-in { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 1024px) {
  .sol-nav.is-open .nav-menu-toggle { width: 100%; justify-content: space-between; padding: var(--space-4) 0; font-family: var(--font-heading); font-size: 28px; line-height: 34px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink-100); box-shadow: none; }
  .sol-nav.is-open .nav-menu-toggle svg { width: 18px; height: 18px; }
  .sol-nav.is-open .nav-sub { padding: 0 0 var(--space-3) var(--space-4); border-left: 1px solid var(--line-100); }
  .sol-nav.is-open .sol-nav-links .nav-sub a { padding: var(--space-3) 0 var(--space-3) var(--space-3); font-family: var(--font-sans); font-size: 17px; line-height: 24px; letter-spacing: 0; }
  .sol-nav.is-open .nav-sub a:hover { background: none; }
  .sol-nav.is-open .nav-sub-desc { display: none; }
  .sol-nav-links li:nth-child(6) { --n: 5; }
}

/* ---------- CRM pages ---------- */
.crm-next { margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--line-100); font-size: 16px; line-height: 24px; color: var(--ink-300); }
.crm-next a { font-weight: 600; color: var(--ink-100); text-underline-offset: 3px; }

/* ---------- Launch kit tab rail in Watermelon's ScrollFade (React landing page): it only scrolls below 961px ---------- */
@media (min-width: 961px) {
  .kit-rail { overflow: visible; }
  .kit-rail > div { width: auto; }
}
