/* ════════════════════════════════════════════════════════════════
   Sigma Labs — shared design system
   Loaded by every page. Page-specific rules stay in each page's
   own <style> block. Tokens first, then base, then components.
   Dark is the token default; [data-theme="light"] overrides at the end.
   ════════════════════════════════════════════════════════════════ */

/* ── Fonts (self-hosted variable woff2) ── */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/jetbrainsmono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/fonts/dmsans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Tokens ── */
:root {
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --bg:        #0d0f14;
  --bg-elev:   #14171f;
  --bg-float:  #1a1e28;
  --surface:   rgba(255,255,255,0.025);
  --surface-2: rgba(255,255,255,0.04);
  --card-shadow: none;

  --coral:        #e5604a;
  --coral-bright: #f07a64;
  --coral-ink:    #f07a64;            /* coral used as running text */
  --coral-dim:    rgba(229,96,74,0.55);
  --teal:         #2db3a6;
  --teal-bright:  #3fd0c2;
  --gold:         #e6b24a;
  --magenta:      #e0529a;
  --blue:         #5aa0f2;            /* eyebrow / kicker labels only */
  --grad:         linear-gradient(118deg, #f07a64 0%, #e5604a 100%);
  --grad-soft:    linear-gradient(120deg, rgba(229,96,74,0.16), rgba(229,96,74,0.05));

  --ink:    rgba(255,255,255,0.94);
  --muted:  rgba(255,255,255,0.68);
  --faint:  rgba(255,255,255,0.58);
  --ghost:  rgba(255,255,255,0.50);

  --line:        rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.14);
  --line-accent: rgba(229,96,74,0.24);

  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --s-9: 96px; --s-10: 128px;

  --r-sm: 8px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px; --r-pill: 100px;

  --e-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --e-spring: cubic-bezier(0.34, 1.4, 0.64, 1);

  --maxw: 1180px;
  --nav-h: 76px;
}

/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 3px; }

/* Atmosphere */
.atmos { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.aurora {
  position: absolute; inset: -20%;
  background:
    radial-gradient(40% 44% at 16% 10%, rgba(229,96,74,0.20) 0%, transparent 60%),
    radial-gradient(38% 42% at 84% 6%,  rgba(45,179,166,0.16) 0%, transparent 62%),
    radial-gradient(50% 52% at 58% 112%, rgba(45,179,166,0.10) 0%, transparent 60%);
  filter: blur(8px);
  will-change: transform, opacity;
}
.grid-floor {
  position: absolute; left: -25%; right: -25%; bottom: -2%; height: 60vh;
  background-image:
    linear-gradient(to right, rgba(229,96,74,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(229,96,74,0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  transform: perspective(540px) rotateX(74deg);
  transform-origin: bottom center;
  mask-image: linear-gradient(to top, #000 0%, transparent 78%);
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 78%);
  opacity: 0.5;
}
.grain {
  position: absolute; inset: 0; opacity: 0.03; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}
@media (prefers-reduced-motion: no-preference) {
  .aurora { animation: aurora-drift 26s ease-in-out infinite alternate; }
  @keyframes aurora-drift {
    0%   { transform: translate3d(-2%, -1%, 0) scale(1.02); opacity: 0.9; }
    50%  { transform: translate3d(2%, 1.5%, 0) scale(1.08);  opacity: 1; }
    100% { transform: translate3d(-1%, 2%, 0) scale(1.04);  opacity: 0.85; }
  }
}

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--mono); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; text-wrap: balance; }
p { text-wrap: pretty; }
.display { font-size: clamp(2.15rem, 5vw, 3.9rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1.04; }
.display-sub { font-family: var(--mono); font-weight: 400; font-size: clamp(1.15rem, 2.2vw, 1.6rem); letter-spacing: -0.02em; line-height: 1.3; color: var(--muted); }
.h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); font-weight: 500; }
.h3 { font-size: clamp(1.15rem, 1.8vw, 1.45rem); }
.lead { font-size: clamp(1.02rem, 1.3vw, 1.18rem); color: var(--muted); line-height: 1.7; font-weight: 400; }
.g-text { color: var(--coral); }
.mono { font-family: var(--mono); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue);
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: linear-gradient(90deg, var(--blue), transparent); }
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { content: ''; width: 26px; height: 1px; background: linear-gradient(90deg, transparent, var(--blue)); }
.eyebrow.coral { color: var(--coral); }
.eyebrow.coral::before, .eyebrow.coral::after { background: linear-gradient(90deg, var(--coral), transparent); }
.kicker { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }

/* ── Layout ── */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.wrap-narrow { max-width: 820px; }
main { position: relative; z-index: 1; }
section { position: relative; }
.section { padding: clamp(72px, 10vw, 136px) 0; }
.section-tight { padding: clamp(48px, 7vw, 88px) 0; }
.measure { max-width: 620px; }
.center { text-align: center; margin-inline: auto; }
.hairline { height: 1px; background: linear-gradient(90deg, transparent, var(--line-accent), rgba(229,96,74,0.16), transparent); border: 0; }
.sec-head { max-width: 680px; margin: 0 auto clamp(44px, 6vw, 72px); text-align: center; }
.sec-head h2 { margin: 16px 0 14px; }
.sec-head.left { text-align: left; margin-left: 0; }
.sec-head.left .eyebrow { justify-content: flex-start; }
.two-col { display: grid; grid-template-columns: 1fr; gap: 44px; align-items: center; }
@media (min-width: 920px) { .two-col { grid-template-columns: 1fr 1fr; gap: 64px; } }
.two-col.top { align-items: start; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Buttons ── */
.btn {
  --mx: 50%; --my: 50%;
  position: relative; display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-size: 0.95rem; font-weight: 600;
  padding: 14px 26px; border-radius: var(--r-pill); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; white-space: nowrap;
  transition: transform 0.3s var(--e-spring), box-shadow 0.3s var(--e-out), border-color 0.25s var(--e-out), background 0.25s var(--e-out);
  will-change: transform;
}
.btn svg { transition: transform 0.3s var(--e-spring); flex-shrink: 0; }
.btn:hover svg { transform: translateX(3px); }
.btn:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }
.btn-primary { background: var(--grad); color: #03040c; box-shadow: 0 8px 28px rgba(229,96,74,0.22), inset 0 1px 0 rgba(255,255,255,0.45); }
.btn-primary::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(120px circle at var(--mx) var(--my), rgba(255,255,255,0.55), transparent 60%);
  opacity: 0; transition: opacity 0.3s var(--e-out); mix-blend-mode: overlay;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 44px rgba(229,96,74,0.34), inset 0 1px 0 rgba(255,255,255,0.5); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary:active { transform: translateY(0) scale(0.98); }
.btn-primary[disabled] { opacity: 0.6; cursor: wait; transform: none; }
.btn-ghost { background: rgba(255,255,255,0.02); color: var(--ink); border-color: var(--line-strong); backdrop-filter: blur(8px); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--line-accent); background: rgba(229,96,74,0.06); }
.btn-ghost:active { transform: translateY(0); }
.btn-sm { padding: 10px 18px; font-size: 0.86rem; }
.btn-block { width: 100%; justify-content: center; padding: 16px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 0.86rem; font-weight: 500; letter-spacing: -0.01em;
  color: var(--coral-ink); text-decoration: none;
}
.link-arrow svg { transition: transform 0.3s var(--e-spring); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ── Nav ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h);
  transition: background 0.35s var(--e-out), border-color 0.35s var(--e-out), backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(5,6,16,0.72); backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%); border-bottom-color: var(--line); }
.nav-inner { max-width: var(--maxw); margin: 0 auto; height: 100%; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 60px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link { position: relative; color: var(--muted); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.2s var(--e-out); padding: 6px 0; }
.nav-link::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--coral); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--e-out); }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--ink); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link:focus-visible { outline: 2px solid var(--coral); outline-offset: 4px; border-radius: 3px; }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-cta { padding: 10px 20px; font-size: 0.88rem; }

.mob-toggle {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.03); border: 1px solid var(--line-strong); border-radius: 10px; cursor: pointer; color: var(--ink);
}
.mob-toggle:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }
.mob-toggle svg { display: block; }
.mob-toggle .ic-close { display: none; }
.mob-toggle[aria-expanded="true"] .ic-open  { display: none; }
.mob-toggle[aria-expanded="true"] .ic-close { display: block; }

.drawer {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 90;
  background: rgba(4,5,13,0.96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  padding: 20px 24px 40px; display: flex; flex-direction: column; gap: 2px; overflow-y: auto;
  transform: translateY(-12px); opacity: 0; visibility: hidden;
  transition: opacity 0.3s var(--e-out), transform 0.3s var(--e-out), visibility 0.3s;
}
.drawer.open { opacity: 1; transform: translateY(0); visibility: visible; transition: opacity 0.3s var(--e-out), transform 0.3s var(--e-out), visibility 0s; }
.drawer a.d-link {
  font-family: var(--mono); font-size: 1.35rem; font-weight: 500; color: var(--ink); text-decoration: none;
  padding: 14px 4px; border-bottom: 1px solid var(--line); letter-spacing: -0.02em;
  transition: color 0.2s, padding-left 0.2s var(--e-out);
}
.drawer a.d-link:hover, .drawer a.d-link[aria-current="page"] { color: var(--coral); }
.drawer a.d-link:hover { padding-left: 10px; }
.drawer a.d-sub { font-size: 0.95rem; color: var(--muted); text-decoration: none; padding: 9px 4px 9px 18px; border-bottom: 1px solid var(--line); }
.drawer a.d-sub:hover { color: var(--ink); }
.drawer .btn { margin-top: 22px; justify-content: center; }

.theme-toggle {
  display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.03); border: 1px solid var(--line-strong); border-radius: 12px; color: var(--muted);
  cursor: pointer; flex-shrink: 0;
  transition: color 0.2s var(--e-out), border-color 0.2s var(--e-out), background 0.2s var(--e-out), transform 0.2s var(--e-spring);
}
.theme-toggle:hover { color: var(--coral); border-color: var(--line-accent); background: rgba(229,96,74,0.06); transform: translateY(-1px); }
.theme-toggle:active { transform: translateY(0); }
.theme-toggle:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }
.theme-toggle svg { display: block; transition: transform 0.4s var(--e-spring); }
.theme-toggle:hover svg { transform: rotate(18deg); }
.theme-toggle .ic-moon { display: none; }
[data-theme="light"] .theme-toggle .ic-sun  { display: none; }
[data-theme="light"] .theme-toggle .ic-moon { display: block; }

@media (max-width: 960px) {
  .nav-links, .nav-right .nav-cta { display: none; }
  .mob-toggle { display: flex; }
  .brand img { height: 50px; }
}

/* ── Skip link ── */
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--coral); color: #03040c; padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; transition: top 0.2s; }
.skip:focus { top: 12px; }

/* ── Breadcrumbs ── */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; list-style: none; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.02em; color: var(--faint); margin-bottom: 22px; }
.crumbs a { color: var(--faint); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs li + li::before { content: '/'; margin-right: 10px; color: var(--ghost); }
.crumbs [aria-current] { color: var(--muted); }

/* ── Page hero (sub-pages) ── */
.page-hero { padding: calc(var(--nav-h) + clamp(40px, 7vh, 80px)) 0 clamp(40px, 6vw, 72px); }
.page-hero h1 { margin: 18px 0 20px; max-width: 16ch; }
.page-hero .lead { max-width: 640px; }
.page-hero .hero-cta { margin-top: 30px; }
.page-hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: end; }
@media (min-width: 940px) { .page-hero-grid { grid-template-columns: 1.2fr 0.8fr; gap: 56px; } }

/* ── Hero (home) ── */
.hero { display: flex; align-items: center; padding-top: calc(var(--nav-h) + clamp(32px, 6vh, 72px)); padding-bottom: clamp(40px, 6vh, 80px); }
@media (min-width: 940px) { .hero { min-height: clamp(640px, 84vh, 860px); } }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 56px; align-items: center; width: 100%; }
@media (min-width: 940px) { .hero-grid { grid-template-columns: 1.08fr 0.92fr; gap: 48px; } }
.hero h1 { margin: 22px 0 14px; }
.hero .display-sub { margin-bottom: 22px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.cap-strip { display: flex; flex-wrap: wrap; gap: 8px 0; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.cap-strip span { display: inline-flex; align-items: center; }
.cap-strip span + span::before { content: '·'; margin: 0 14px; color: var(--coral); }

/* ── Console (hero visual) ── */
.console-stage { position: relative; width: 100%; max-width: 520px; margin: 0 auto; }
.console-stage::before {
  content: ''; position: absolute; inset: -14% -8% -22% -8%; z-index: -1;
  background: radial-gradient(48% 46% at 30% 24%, rgba(229,96,74,0.22), transparent 70%), radial-gradient(50% 50% at 80% 86%, rgba(45,179,166,0.16), transparent 72%);
  filter: blur(14px);
}
.console {
  position: relative; border-radius: 16px;
  background: linear-gradient(180deg, rgba(22,26,35,0.94), rgba(13,16,22,0.96));
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 70px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
  overflow: hidden;
  --ink: rgba(255,255,255,0.94); --muted: rgba(255,255,255,0.70); --faint: rgba(255,255,255,0.55);
  --line: rgba(255,255,255,0.08); --line-strong: rgba(255,255,255,0.14);
}
.console-bar { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.018); }
.console-bar .dots { display: flex; gap: 7px; }
.console-bar .dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.console-bar .dots i:nth-child(1) { background: #e5604a; }
.console-bar .dots i:nth-child(2) { background: #e6b24a; }
.console-bar .dots i:nth-child(3) { background: #2db3a6; }
.console-bar .title { font-family: var(--mono); font-size: 0.74rem; color: var(--faint); margin-left: 6px; letter-spacing: 0.01em; }
.console-body { font-family: var(--mono); font-size: 0.8rem; line-height: 1.95; padding: 20px 20px 16px; min-height: 268px; color: var(--muted); }
.cline { white-space: nowrap; }
.c-prompt { color: #e5604a; }
.c-cmd { color: var(--ink); }
.c-ok::before { content: '✓ '; color: #2db3a6; }
.c-arrow::before { content: '› '; color: #e6b24a; }
.c-key { color: var(--faint); }
.c-val { color: #3fd0c2; }
.c-num { color: #e6b24a; }
.c-hi { color: #f07a64; }
.c-wait::before { content: '◌ '; color: #e0529a; }
.c-done { color: var(--ink); display: flex; align-items: center; gap: 9px; margin-top: 4px; }
.c-dot { width: 8px; height: 8px; border-radius: 50%; background: #2db3a6; box-shadow: 0 0 9px #2db3a6; flex-shrink: 0; }
.c-cursor { display: inline-block; width: 8px; height: 1.05em; vertical-align: -2px; background: #e5604a; margin-left: 3px; }
.console-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 14px 18px; border-top: 1px solid var(--line); background: rgba(255,255,255,0.015); font-family: var(--mono); font-size: 0.7rem; color: var(--faint); }
.console-foot .mf { display: flex; align-items: center; gap: 7px; }
.console-foot .mf b { color: #f07a64; font-weight: 600; }
.console-foot .bars { display: flex; align-items: flex-end; gap: 3px; height: 18px; margin-left: auto; }
.console-foot .bars span { width: 4px; border-radius: 2px 2px 0 0; background: #2db3a6; opacity: 0.85; transform-origin: bottom; }
.js .console-body .cline { opacity: 0; transform: translateX(-6px); transition: opacity 0.35s var(--e-out), transform 0.35s var(--e-out); }
.js .console-body .cline.shown { opacity: 1; transform: none; }
.js .c-cursor { opacity: 0; }
.js .c-cursor.live { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .c-cursor.live { animation: blink 1.05s steps(1) infinite; }
  .c-dot { animation: pulse-dot 2s ease-out infinite; }
  .console-foot .bars span { animation: bar-pulse 1.7s ease-in-out infinite; }
  .console-foot .bars span:nth-child(2) { animation-delay: 0.2s; }
  .console-foot .bars span:nth-child(3) { animation-delay: 0.4s; }
  .console-foot .bars span:nth-child(4) { animation-delay: 0.6s; }
  .console-foot .bars span:nth-child(5) { animation-delay: 0.8s; }
  @keyframes blink { 0%,50% { opacity: 1; } 51%,100% { opacity: 0; } }
  @keyframes pulse-dot { 0% { box-shadow: 0 0 0 0 rgba(45,179,166,0.5); } 70% { box-shadow: 0 0 0 7px rgba(45,179,166,0); } 100% { box-shadow: 0 0 0 0 rgba(45,179,166,0); } }
  @keyframes bar-pulse { 0%,100% { transform: scaleY(0.5); } 50% { transform: scaleY(1); } }
}
@media (prefers-reduced-motion: reduce) {
  .js .console-body .cline { opacity: 1; transform: none; }
  .js .c-cursor.live { opacity: 1; }
}
@media (max-width: 560px) { .console-body { font-size: 0.74rem; min-height: 250px; } }

/* ── Trust strip / platform marquee ── */
.trust { padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.trust-label { display: block; text-align: center; margin-bottom: 20px; font-family: var(--mono); font-size: 0.68rem; color: var(--faint); letter-spacing: 0.22em; text-transform: uppercase; }
.marquee { position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 12px; list-style: none; }
.logo-chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px;
  border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface);
  color: var(--faint); white-space: nowrap; font-family: var(--mono); font-size: 0.78rem; font-weight: 500;
  transition: color 0.25s, border-color 0.25s, transform 0.25s var(--e-out);
}
.logo-chip svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--muted); }
.logo-chip:hover { color: var(--ink); border-color: var(--line-accent); transform: translateY(-2px); }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 40s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
  @keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee-track .dup { display: none; }
}

/* ── Launch panel (flagship result) ── */
.launch {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  background: linear-gradient(180deg, #14171f, #0d0f14);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 40px 90px rgba(0,0,0,0.35);
  --ink: rgba(255,255,255,0.94); --muted: rgba(255,255,255,0.70); --faint: rgba(255,255,255,0.56);
  --line: rgba(255,255,255,0.09); --line-strong: rgba(255,255,255,0.16);
  --coral: #e5604a; --coral-ink: #f07a64; --teal: #2db3a6; --gold: #e6b24a; --magenta: #e0529a;
  color: var(--ink);
}
.launch::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(50% 60% at 8% 0%, rgba(229,96,74,0.18), transparent 60%),
    radial-gradient(40% 50% at 95% 100%, rgba(45,179,166,0.14), transparent 60%);
}
.launch-grid { position: relative; display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 900px) { .launch-grid { grid-template-columns: 1fr 1fr; } }
.launch-copy { padding: clamp(32px, 4.5vw, 56px); }
.launch-copy h2 { margin: 16px 0 16px; }
.launch-copy p { color: var(--muted); font-size: 1.02rem; max-width: 520px; }
.launch-copy .link-arrow { margin-top: 26px; }
.launch-stats { padding: clamp(24px, 4vw, 48px); border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-content: center; }
@media (min-width: 900px) { .launch-stats { border-top: 0; border-left: 1px solid var(--line); } }
.lstat { padding: 20px 18px; border-radius: var(--r-md); background: rgba(255,255,255,0.03); border: 1px solid var(--line); }
.lstat .n { font-family: var(--mono); font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; color: var(--sc, #f07a64); }
.lstat:nth-child(1) .n { --sc: #f07a64; }
.lstat:nth-child(2) .n { --sc: #3fd0c2; }
.lstat:nth-child(3) .n { --sc: #e6b24a; }
.lstat:nth-child(4) .n { --sc: #e0529a; }
.lstat .n small { font-size: 0.5em; font-weight: 500; letter-spacing: -0.02em; margin-left: 2px; }
.lstat .l { font-size: 0.82rem; color: var(--faint); margin-top: 10px; line-height: 1.45; }
.launch-tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: #f07a64; }
.launch-tag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #2db3a6; box-shadow: 0 0 8px #2db3a6; }

/* ── Environment stack (what we do) ── */
.stack { position: relative; list-style: none; counter-reset: layer; display: grid; grid-template-columns: 1fr; gap: 0; max-width: 520px; }
.stack li { position: relative; display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 14px; row-gap: 1px; align-items: center; padding: 8px 0 8px 8px; counter-increment: layer; }
.stack li::before { content: counter(layer, decimal-leading-zero); grid-row: 1 / span 2; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; color: var(--faint); }
.stack li .ldesc { grid-column: 2; padding-left: 20px; }
.stack li .lname { font-family: var(--mono); font-size: 0.95rem; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); display: flex; align-items: center; gap: 12px; }
.stack li .lname::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--lc, var(--teal)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lc, var(--teal)) 18%, transparent); flex-shrink: 0; }
.stack li .ldesc { font-size: 0.8rem; color: var(--faint); }
.stack li:nth-child(1), .stack li:nth-child(2) { --lc: var(--coral); }
.stack li:nth-child(3), .stack li:nth-child(4), .stack li:nth-child(5) { --lc: var(--blue); }
.stack li:nth-child(6), .stack li:nth-child(7), .stack li:nth-child(8) { --lc: var(--teal); }
.stack li:nth-child(9) { --lc: var(--magenta); }
.stack li:nth-child(10), .stack li:nth-child(11) { --lc: var(--gold); }
.stack-line { position: absolute; left: 55px; top: 18px; bottom: 18px; width: 1px; background: linear-gradient(180deg, var(--coral), var(--blue), var(--teal), var(--magenta), var(--gold)); opacity: 0.55; transform-origin: top; }
.js .stack-line { transform: scaleY(0); transition: transform 1.6s var(--e-out); }
.js .stack-line.drawn { transform: scaleY(1); }
.js .stack li { opacity: 0; transform: translateX(-8px); transition: opacity 0.5s var(--e-out), transform 0.5s var(--e-out); }
.js .stack.in li { opacity: 1; transform: none; }
.js .stack.in li:nth-child(n) { transition-delay: calc(var(--i, 0) * 90ms); }
@media (prefers-reduced-motion: reduce) { .js .stack li { opacity: 1; transform: none; } .js .stack-line { transform: none; } }
.versus { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 30px; }
.versus .v { padding: 16px 18px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--card-shadow); }
.versus .v .k { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
.versus .v .f { font-family: var(--mono); font-size: 0.92rem; color: var(--ink); }
.versus .v.them .f { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--coral-dim); text-decoration-thickness: 1px; }

/* ── Architect · Automate · Operate ── */
.aao { position: relative; display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 900px) { .aao { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.aao-track { position: absolute; left: 0; right: 0; top: 14px; height: 40px; display: none; pointer-events: none; }
@media (min-width: 900px) { .aao-track { display: block; } }
.aao-track svg { width: 100%; height: 40px; display: block; overflow: visible; }
.aao-track path { fill: none; } /* no non-scaling-stroke: it makes Chrome ignore pathLength for the dash pattern */
.aao-track .rail { stroke: var(--line-strong); stroke-width: 2; }
.aao-track .ecg { stroke: var(--coral); stroke-width: 1.5; opacity: 0.3; stroke-linejoin: round; }
/* A heartbeat trace: a bright segment travels the whole ECG line, spiking between the three nodes. */
.aao-track .pulse { stroke: var(--coral); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 90 1000; stroke-dashoffset: 90; opacity: 0; }
@media (prefers-reduced-motion: no-preference) { .js .aao.in .aao-track .pulse { opacity: 1; animation: aao-flow 5.2s linear infinite; } }
@keyframes aao-flow { from { stroke-dashoffset: 90; } to { stroke-dashoffset: -1000; } }
.aao-node { position: relative; padding-top: 4px; }
.aao-node .sym {
  position: relative; z-index: 1; width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center;
  font-family: var(--mono); font-weight: 600; font-size: 1.1rem; letter-spacing: -0.03em;
  background: var(--bg-elev); border: 1px solid color-mix(in srgb, var(--nc) 45%, transparent); color: var(--nc);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--nc) 8%, transparent), var(--card-shadow);
}
.aao-node:nth-child(2) { --nc: var(--coral); }
.aao-node:nth-child(3) { --nc: var(--teal); }
.aao-node:nth-child(4) { --nc: var(--gold); }
.aao-node .verb { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--nc); margin: 22px 0 6px; }
.aao-node h3 { font-size: 1.45rem; margin-bottom: 10px; }
.aao-node p { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }
.aao-node ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
.aao-node li { font-size: 0.86rem; color: var(--muted); display: flex; align-items: center; gap: 9px; }
.aao-node li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--nc); flex-shrink: 0; }
@media (max-width: 899px) {
  .aao-node { padding-left: 30px; }
  .aao-node::before { content: ''; position: absolute; left: 8px; top: 68px; bottom: -28px; width: 1px; background: var(--line-strong); }
  .aao-node:last-child::before { display: none; }
  .aao-node .sym { position: relative; left: -30px; }
  .aao-node .verb { margin-top: 10px; }
}

/* ── Spec list (capability blocks without icon cards) ── */
.spec-grid { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 760px) { .spec-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .spec-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.spec { padding: 28px 26px 30px 0; border-bottom: 1px solid var(--line); position: relative; }
@media (min-width: 760px) { .spec { padding: 30px 28px 32px 0; } .spec:nth-child(2n) { padding-left: 28px; border-left: 1px solid var(--line); } }
@media (min-width: 1040px) {
  .spec-grid.cols-3 .spec { padding-left: 0; border-left: 0; }
  .spec-grid.cols-3 .spec:nth-child(3n+2), .spec-grid.cols-3 .spec:nth-child(3n+3) { padding-left: 28px; border-left: 1px solid var(--line); }
}
.spec .num { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; color: var(--sc, var(--teal)); margin-bottom: 14px; display: block; }
.spec:nth-child(4n+1) { --sc: var(--teal); } .spec:nth-child(4n+2) { --sc: var(--magenta); } .spec:nth-child(4n+3) { --sc: var(--gold); } .spec:nth-child(4n+4) { --sc: var(--blue); }
.spec h3 { font-size: 1.15rem; margin-bottom: 10px; }
.spec h3 a { text-decoration: none; color: inherit; }
.spec h3 a:hover { color: var(--coral-ink); }
.spec p { font-size: 0.92rem; color: var(--muted); }
.spec .tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.spec .tags li, .tag { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.02em; color: var(--faint); padding: 4px 9px; border: 1px solid var(--line); border-radius: 6px; }
.spec .link-arrow { margin-top: 16px; }

/* ── Tenant map (Microsoft chips) ── */
.tenant { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 560px) { .tenant { grid-template-columns: repeat(3, 1fr); } }
.tenant .t {
  padding: 14px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--card-shadow);
  font-family: var(--mono); font-size: 0.78rem; color: var(--ink); display: flex; flex-direction: column; gap: 4px;
  transition: border-color 0.25s, transform 0.25s var(--e-out);
}
.tenant .t:hover { border-color: var(--line-accent); transform: translateY(-2px); }
.tenant .t small { font-family: var(--sans); font-size: 0.74rem; color: var(--faint); }
.tenant .t.core { border-color: color-mix(in srgb, var(--blue) 40%, transparent); }
.tenant .t.core::before { content: 'core'; font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }

/* ── Integrations (grouped chips) ── */
.integ { display: grid; grid-template-columns: 1fr; gap: 24px 32px; }
@media (min-width: 720px) { .integ { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .integ { grid-template-columns: repeat(3, 1fr); } }
.integ .grp .kicker { display: block; margin-bottom: 10px; color: var(--teal); }
.integ .chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.integ .chips li { font-family: var(--mono); font-size: 0.76rem; padding: 6px 11px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--card-shadow); color: var(--ink); }
.integ .chips li.more { border-style: dashed; color: var(--faint); background: transparent; box-shadow: none; }
.integ-note { margin-top: 28px; padding: 16px 20px; border-radius: var(--r-md); border: 1px solid var(--line-accent); background: rgba(229,96,74,0.05); color: var(--muted); font-size: 0.95rem; }

/* ── Split (yours / Sigma Labs) ── */
.split { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 760px) { .split { grid-template-columns: 1fr 1fr; gap: 20px; } }
.split .side { padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--card-shadow); }
.split .side .kicker { display: block; margin-bottom: 12px; }
.split .yours .kicker { color: var(--teal); }
.split .ours .kicker { color: var(--coral); }
.split .ours { border-color: var(--line-accent); }
.split h3 { font-size: 1.2rem; margin-bottom: 14px; }
.split ul { list-style: none; display: grid; gap: 8px; }
.split li { position: relative; padding-left: 20px; font-size: 0.92rem; color: var(--muted); }
.split li::before { content: ''; position: absolute; left: 3px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.split .ours li::before { background: var(--coral); }
.split-note { margin-top: 22px; font-family: var(--mono); font-size: 0.95rem; color: var(--ink); }

/* ── Principles (numbered, two columns) ── */
.principles { list-style: none; counter-reset: p; display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 760px) { .principles { grid-template-columns: 1fr 1fr; column-gap: 48px; } }
.principles li { counter-increment: p; display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.principles li::before { content: counter(p, decimal-leading-zero); font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--teal); padding-top: 4px; }
.principles h3 { font-size: 1rem; margin-bottom: 4px; }
.principles p { font-size: 0.88rem; color: var(--muted); }

/* ── Industry rows ── */
.rows { list-style: none; border-top: 1px solid var(--line); }
.rows li { display: grid; grid-template-columns: 1fr; gap: 6px 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .rows li { grid-template-columns: 240px 1fr auto; align-items: center; } }
.rows h3 { font-size: 1.05rem; }
.rows p { font-size: 0.9rem; color: var(--muted); }
.rows .link-arrow { font-size: 0.8rem; }

/* ── Founder ── */
.founder { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: start; }
@media (min-width: 880px) { .founder { grid-template-columns: minmax(240px, 320px) 1fr; gap: 56px; } }
.founder .role { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal); margin: 8px 0 18px; }
.founder p { color: var(--muted); margin-bottom: 14px; }
.founder .tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }

/* ── Steps (methodology) ── */
.steps { display: grid; grid-template-columns: 1fr; gap: 32px; position: relative; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; } }
.step { text-align: left; position: relative; z-index: 1; }
.step-num { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; font-family: var(--mono); font-weight: 600; font-size: 0.95rem; color: var(--teal); background: var(--bg-elev); border: 1px solid color-mix(in srgb, var(--teal) 32%, transparent); box-shadow: 0 0 0 6px rgba(45,179,166,0.05), var(--card-shadow); }
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--muted); }
.step-line { display: none; }
@media (min-width: 860px) {
  .step-line { display: block; position: absolute; top: 26px; left: 52px; right: 12%; height: 1px; background: linear-gradient(90deg, var(--teal), var(--coral-dim)); z-index: 0; transform-origin: left; }
  .js .step-line { transform: scaleX(0); transition: transform 1.1s var(--e-out); }
  .js .step-line.drawn { transform: scaleX(1); }
}

/* ── Proof table / KPIs ── */
.panel { border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--card-shadow); }
.panel-bar { height: 3px; background: linear-gradient(90deg, var(--teal), var(--magenta), var(--gold)); }
.panel-body { padding: clamp(22px, 3.5vw, 34px); }
.panel h3 { font-size: 1.15rem; margin-bottom: 6px; }
.panel .sub { font-size: 0.82rem; color: var(--faint); margin-bottom: 20px; }
.ba { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.ba th, .ba td { text-align: left; padding: 13px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ba th { font-family: var(--mono); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); padding-top: 0; }
.ba tr:last-child td { border-bottom: 0; }
.ba td:first-child { color: var(--muted); padding-left: 0; }
.ba .num { font-family: var(--mono); font-weight: 600; font-size: 1.05rem; white-space: nowrap; }
.ba .before { color: var(--faint); font-weight: 500; }
.ba .after { color: var(--teal); }
.ba .delta { font-family: var(--mono); font-size: 0.72rem; color: var(--gold); white-space: nowrap; padding-right: 0; text-align: right; }
@media (max-width: 520px) { .ba .delta, .ba th:last-child { display: none; } }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.kpi { padding: 18px 16px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line); }
.kpi .v { font-family: var(--mono); font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; margin-bottom: 8px; color: var(--kc, var(--coral)); }
.kpis .kpi:nth-child(1) .v { --kc: var(--teal); }
.kpis .kpi:nth-child(2) .v { --kc: var(--gold); }
.kpis .kpi:nth-child(3) .v { --kc: var(--magenta); }
.kpis .kpi:nth-child(4) .v { --kc: var(--blue); }
.kpis .kpi:nth-child(5) .v { --kc: var(--teal); }
.kpis .kpi:nth-child(6) .v { --kc: var(--gold); }
.kpi .k { font-size: 0.8rem; color: var(--faint); line-height: 1.45; }
.proof-note { margin-top: 18px; font-size: 0.82rem; color: var(--faint); line-height: 1.6; }
.hours { margin-top: 16px; padding: 18px 20px; border-radius: var(--r-md); border: 1px solid var(--line-accent); background: rgba(229,96,74,0.05); display: flex; gap: 16px; align-items: center; }
.hours .v { font-family: var(--mono); font-size: 1.9rem; font-weight: 600; letter-spacing: -0.04em; color: var(--coral-ink); line-height: 1; white-space: nowrap; }
.hours .k { font-size: 0.85rem; color: var(--muted); line-height: 1.5; }

/* ── Stat row (case study hero) ── */
.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 760px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }
.stat-row .s { padding: 22px 20px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--card-shadow); }
.stat-row .n { white-space: nowrap; font-family: var(--mono); font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; color: var(--sc, var(--coral-ink)); }
.stat-row .s:nth-child(2) .n { --sc: var(--teal); } .stat-row .s:nth-child(3) .n { --sc: var(--gold); } .stat-row .s:nth-child(4) .n { --sc: var(--magenta); }
.stat-row .l { font-size: 0.8rem; color: var(--faint); margin-top: 8px; line-height: 1.45; }

/* ── Prose (long-form) ── */
.prose { max-width: 720px; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 48px 0 16px; }
.prose h3 { font-size: 1.15rem; margin: 30px 0 10px; }
.prose p { color: var(--muted); margin-bottom: 16px; font-size: 1.02rem; }
.prose ul, .prose ol { margin: 0 0 18px 0; padding-left: 0; list-style: none; }
.prose li { position: relative; padding-left: 22px; margin-bottom: 8px; color: var(--muted); }
.prose ul li::before { content: ''; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.prose ol { counter-reset: ol; }
.prose ol li { counter-increment: ol; padding-left: 34px; }
.prose ol li::before { content: counter(ol, decimal-leading-zero); position: absolute; left: 0; top: 2px; font-family: var(--mono); font-size: 0.72rem; color: var(--teal); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--coral-ink); text-underline-offset: 3px; }
.callout { margin: 24px 0; padding: 18px 22px; border-radius: var(--r-md); border: 1px solid var(--line-accent); background: rgba(229,96,74,0.05); }
.callout p { color: var(--ink); margin: 0; font-size: 0.95rem; }
.callout .kicker { display: block; margin-bottom: 6px; color: var(--coral-ink); }

/* ── Flow (workflow steps, e.g. document pipeline) ── */
.flow { list-style: none; display: grid; grid-template-columns: 1fr; gap: 0; counter-reset: f; }
@media (min-width: 760px) { .flow { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
.flow li { counter-increment: f; position: relative; padding: 16px 16px 16px 44px; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; margin-bottom: 8px; font-size: 0.9rem; color: var(--muted); box-shadow: var(--card-shadow); }
@media (min-width: 760px) { .flow li { margin-bottom: 0; } }
.flow li::before { content: counter(f); position: absolute; left: 14px; top: 15px; width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; font-family: var(--mono); font-size: 0.66rem; color: var(--teal); border: 1px solid color-mix(in srgb, var(--teal) 40%, transparent); }
.flow li b { color: var(--ink); font-weight: 600; display: block; margin-bottom: 2px; }

/* ── Screenshot placeholder frame ── */
.shot { position: relative; border-radius: 14px; border: 1px dashed var(--line-strong); background: var(--surface); aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden; }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot.has-img { border: 1px solid var(--line-strong); border-style: solid; aspect-ratio: auto; background: #ffffff; box-shadow: var(--card-shadow); }
.shot.has-img img { height: auto; display: block; object-fit: contain; }
.shot-link { display: block; }
.shot-link:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }
.shot .ph { text-align: center; padding: 20px; }
.shot .ph .k { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.shot .ph .t { font-family: var(--mono); font-size: 0.9rem; color: var(--muted); margin-top: 6px; }
.shot .ph svg { color: var(--line-strong); margin-bottom: 10px; }
.shots { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 700px) { .shots { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .shots.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.shot-cap { font-size: 0.82rem; color: var(--faint); margin-top: 8px; }

/* ── Architecture diagram (Mia) — dark blueprint stage in both themes ── */
.arch {
  position: relative; border-radius: var(--r-xl); overflow: hidden; padding: clamp(14px, 2.5vw, 28px);
  background:
    radial-gradient(60% 40% at 50% 0%, rgba(229,96,74,0.10), transparent 60%),
    radial-gradient(50% 40% at 50% 100%, rgba(45,179,166,0.08), transparent 60%),
    linear-gradient(180deg, #151923, #0d0f14);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 40px 90px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.05);
  --ink: rgba(255,255,255,0.94); --muted: rgba(255,255,255,0.70); --faint: rgba(255,255,255,0.55);
  --line: rgba(255,255,255,0.09); --line-strong: rgba(255,255,255,0.16);
  --bg-elev: #1a1e28; --surface: rgba(255,255,255,0.04); --card-shadow: none;
  --coral: #e5604a; --coral-ink: #f07a64; --teal: #2db3a6; --gold: #e6b24a; --magenta: #e0529a; --blue: #5aa0f2;
  color: var(--ink);
}
[data-theme="light"] .arch { box-shadow: 0 30px 70px rgba(40,30,20,0.18); }
.arch-svg { display: none; width: 100%; height: auto; }
.arch-mobile { display: grid; list-style: none; gap: 0; }
@media (min-width: 760px) { .arch-svg { display: block; } .arch-mobile { display: none; } }
.arch-svg text { font-family: var(--mono); fill: var(--ink); }
.arch-svg .rail { stroke: rgba(255,255,255,0.12); stroke-width: 1; }
.arch-svg .rail-dots circle { fill: rgba(255,255,255,0.3); }
.arch-svg .rail-tx text { font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; fill: rgba(255,255,255,0.42); }
.arch-svg .wire { fill: none; stroke: rgba(255,255,255,0.14); stroke-width: 1.2; }
.arch-svg .flow { fill: none; stroke: var(--teal); stroke-width: 1.6; stroke-dasharray: 4 10; stroke-linecap: round; opacity: 0.85; }
.arch-svg .flow.up { stroke: var(--coral); }
.arch-svg .flow.k { stroke: var(--blue); }
.arch-svg .flow.gate { stroke: var(--gold); }
.arch-svg .flow.ctl { stroke: var(--magenta); }
.arch-svg .pkt { filter: drop-shadow(0 0 6px currentColor); }
.arch-svg .pkt.coral { fill: var(--coral); color: var(--coral); }
.arch-svg .pkt.teal { fill: var(--teal); color: var(--teal); }
.arch-svg .pkt.gold { fill: var(--gold); color: var(--gold); }
.arch-svg .pkt.magenta { fill: var(--magenta); color: var(--magenta); }
.arch-svg .pkt.blue { fill: var(--blue); color: var(--blue); }
.arch-svg .node { fill: url(#card); stroke: rgba(255,255,255,0.14); stroke-width: 1; }
.arch-svg .node.mia { fill: url(#card-mia); stroke: rgba(229,96,74,0.7); filter: drop-shadow(0 0 18px rgba(229,96,74,0.35)); }
.arch-svg .mia-ring { fill: none; stroke: var(--coral); stroke-width: 1.5; opacity: 0.7; transform-box: fill-box; transform-origin: center; }
.arch-svg .mia-core { fill: var(--coral); filter: drop-shadow(0 0 8px var(--coral)); }
.arch-svg .node.orch { stroke: rgba(45,179,166,0.7); filter: drop-shadow(0 0 16px rgba(45,179,166,0.3)); }
.arch-svg .node.human { stroke: rgba(230,178,74,0.7); filter: drop-shadow(0 0 16px rgba(230,178,74,0.3)); }
.arch-svg .node.audit { stroke: rgba(224,82,154,0.6); }
.arch-svg .card .bar { fill: var(--teal); opacity: 0.9; }
.arch-svg .card .dot { fill: var(--teal); }
.arch-svg .card.k .bar, .arch-svg .card.k .dot { fill: var(--blue); }
.arch-svg .card.k .ico { stroke: var(--blue); }
.arch-svg .card.i .bar, .arch-svg .card.i .dot { fill: var(--coral); }
.arch-svg .card.i .ico { stroke: var(--coral); }
.arch-svg .ico { fill: none; stroke: var(--teal); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.arch-svg .ico.gold { stroke: var(--gold); }
.arch-svg .ico.teal { stroke: var(--teal); }
.arch-svg .hd { font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; fill: rgba(255,255,255,0.88); }
.arch-svg .pill { fill: rgba(255,255,255,0.05); stroke: rgba(255,255,255,0.10); }
.arch-svg .pilltx { font-size: 12px; fill: var(--muted); }
.arch-svg .ttl { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.arch-svg .ttl.big { font-size: 22px; letter-spacing: 0.08em; }
.arch-svg .ttl.sm { font-size: 11.5px; letter-spacing: 0.14em; }
.arch-svg .sub { font-size: 11.5px; fill: var(--faint); }
.arch-svg .boundary { stroke-width: 1.4; stroke-dasharray: 6 5; }
.arch-svg .boundary.tenant { fill: rgba(90,160,242,0.09); stroke: rgba(90,160,242,0.75); }
.arch-svg .boundary.host { fill: rgba(229,96,74,0.045); stroke: rgba(229,96,74,0.5); }
.arch-svg .tag rect { fill: #151923; stroke-width: 1.2; }
.arch-svg .tag.tenant rect { stroke: rgba(90,160,242,0.75); }
.arch-svg .tag.host rect { stroke: rgba(229,96,74,0.55); }
.arch-svg .tag-ico { fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.arch-svg .tag.tenant .tag-ico { stroke: var(--blue); }
.arch-svg .tag.host .tag-ico { stroke: var(--coral); }
.arch-svg .tagtx { font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.arch-svg .tag.tenant .tagtx { fill: var(--blue); }
.arch-svg .tag.host .tagtx { fill: var(--coral); }
.arch-svg .cap-bg { fill: #151923; }
.arch-svg .cap-tx { font-size: 10.5px; fill: rgba(255,255,255,0.5); }
.arch-svg .cap-tx.tenant { fill: rgba(140,190,255,0.75); }
.arch-svg .cap-tx.host { fill: rgba(240,140,120,0.7); }
.arch-svg .chip { fill: rgba(229,96,74,0.12); stroke: rgba(229,96,74,0.4); }
.arch-svg .chiptx { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; }
.arch-svg .chiptx.coral { fill: var(--coral); }
@media (prefers-reduced-motion: no-preference) {
  .js .arch.in .arch-svg .flow { animation: wire-flow 1.4s linear infinite; }
  .arch-svg .mia-ring { animation: mia-pulse 2.6s ease-out infinite; }
}
@media (prefers-reduced-motion: reduce) { .arch-svg .pkts { display: none; } }
@keyframes wire-flow { from { stroke-dashoffset: 28; } to { stroke-dashoffset: 0; } }
@keyframes mia-pulse { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(1.9); opacity: 0; } }
.arch-mobile li { position: relative; padding: 14px 16px 14px 34px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); margin-bottom: 22px; }
.arch-mobile li::before { content: ''; position: absolute; left: 14px; top: 20px; width: 8px; height: 8px; border-radius: 2px; background: var(--lc, var(--teal)); box-shadow: 0 0 8px var(--lc, var(--teal)); }
.arch-mobile li::after { content: ''; position: absolute; left: 50%; bottom: -22px; height: 22px; width: 1px; background: var(--line-strong); }
.arch-mobile li:last-child::after { display: none; }
.arch-mobile li.mia { --lc: var(--coral); border-color: rgba(229,96,74,0.5); } .arch-mobile li.orch { --lc: var(--teal); border-color: rgba(45,179,166,0.5); } .arch-mobile li.human { --lc: var(--gold); border-color: rgba(230,178,74,0.5); } .arch-mobile li.audit { --lc: var(--magenta); border-color: rgba(224,82,154,0.45); } .arch-mobile li.k { --lc: var(--blue); }
.arch-mobile .hd { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.arch-mobile .ttl { font-family: var(--mono); font-size: 0.98rem; font-weight: 600; color: var(--ink); }
.arch-mobile .it { font-size: 0.86rem; color: var(--muted); margin-top: 4px; }
.arch-legend { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.arch-legend span { display: inline-flex; align-items: center; gap: 8px; }
.arch-legend i { width: 18px; height: 0; border-top: 2px dashed var(--teal); }
.arch-legend i.up { border-color: var(--coral); } .arch-legend i.gate { border-color: var(--gold); } .arch-legend i.k { border-color: var(--blue); }
.arch-legend .sw { width: 18px; height: 11px; border-radius: 3px; display: inline-block; }
.arch-legend .sw.tenant { background: rgba(90,160,242,0.18); border: 1px dashed rgba(90,160,242,0.8); }
.arch-legend .sw.host { background: rgba(229,96,74,0.10); border: 1px dashed rgba(229,96,74,0.6); }

/* ── CTA band ── */
.cta-band { border-radius: var(--r-xl); border: 1px solid var(--line-accent); background: linear-gradient(120deg, rgba(229,96,74,0.10), rgba(45,179,166,0.06)); padding: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; }
@media (min-width: 860px) { .cta-band { grid-template-columns: 1.4fr 1fr; } }
.cta-band h2 { margin: 12px 0 12px; }
.cta-band p { color: var(--muted); max-width: 540px; }
.cta-band .acts { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 860px) { .cta-band .acts { justify-content: flex-end; } }

/* ── FAQ ── */
details.faq { border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 12px; overflow: hidden; background: var(--surface); box-shadow: var(--card-shadow); transition: border-color 0.25s; }
details.faq[open] { border-color: var(--line-accent); }
details.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 500; font-size: 0.98rem; color: var(--ink); transition: color 0.2s; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary:hover { color: var(--coral-ink); }
details.faq summary svg { flex-shrink: 0; transition: transform 0.3s var(--e-out); color: var(--coral); }
details.faq[open] summary svg { transform: rotate(180deg); }
details.faq .faq-a { padding: 0 22px 20px; font-size: 0.92rem; color: var(--muted); line-height: 1.75; }

/* ── Forms ── */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 38px); box-shadow: var(--card-shadow); }
.form-card h2, .form-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.form-card .sub { font-size: 0.86rem; color: var(--faint); margin-bottom: 26px; }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
label { display: block; font-size: 0.82rem; font-weight: 500; color: var(--muted); margin-bottom: 7px; }
label .opt { font-weight: 400; color: var(--ghost); }
input, textarea, select {
  width: 100%; background: rgba(255,255,255,0.03); border: 1px solid var(--line-strong); border-radius: 10px;
  color: var(--ink); padding: 13px 15px; font-family: inherit; font-size: 1rem; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, textarea:focus, select:focus { border-color: var(--coral-dim); box-shadow: 0 0 0 3px rgba(229,96,74,0.12); }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--coral); }
input::placeholder, textarea::placeholder { color: var(--ghost); }
select option { background: #0a0c1e; }
textarea { resize: vertical; min-height: 110px; }
.field-err { display: none; font-size: 0.78rem; color: var(--coral-ink); margin-top: 6px; }
.field.invalid .field-err { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { text-align: center; font-size: 0.76rem; color: var(--ghost); margin-top: 14px; }
.form-note a { color: var(--faint); }
.form-error { margin-top: 12px; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(229,96,74,0.4); background: rgba(229,96,74,0.08); font-size: 0.86rem; color: var(--ink); }
.form-success { text-align: center; padding: 30px 0; }
.form-success .ic { width: 58px; height: 58px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; background: rgba(229,96,74,0.1); border: 1px solid var(--line-accent); color: var(--coral); }
.form-success h3 { font-size: 1.25rem; margin-bottom: 8px; }
.form-success p { font-size: 0.9rem; color: var(--muted); }
.info-row { display: flex; align-items: center; gap: 14px; }
.info-ico { width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0; display: grid; place-items: center; background: rgba(229,96,74,0.07); border: 1px solid var(--line-accent); color: var(--coral); }
.info-row .k { font-size: 0.78rem; color: var(--faint); }
.info-row .v { font-size: 0.95rem; font-weight: 500; text-decoration: none; }
a.v:hover { color: var(--coral-ink); }
.stack-sm > * + * { margin-top: var(--s-4); }

/* ── Footer ── */
.footer { border-top: 1px solid var(--line); padding: 64px 0 40px; position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 36px; margin-bottom: 44px; }
@media (min-width: 620px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.8fr 1fr 1fr 1fr; } }
.footer img.logo { height: 56px; width: auto; margin-bottom: 16px; display: block; }
.footer .blurb { font-size: 0.88rem; color: var(--faint); max-width: 300px; line-height: 1.8; }
.footer .col-title { font-family: var(--mono); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); margin-bottom: 16px; }
.footer nav { display: flex; flex-direction: column; gap: 10px; }
.footer nav a, .f-link { font-size: 0.88rem; color: var(--faint); text-decoration: none; transition: color 0.2s; }
.footer nav a:hover, .f-link:hover { color: var(--coral-ink); }
.footer .col-c span { display: block; font-size: 0.88rem; color: var(--faint); margin-bottom: 10px; }
.footer .soon { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 8px 12px; border: 1px dashed var(--line-strong); border-radius: 8px; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.06em; color: var(--faint); }
.footer .soon { flex-wrap: wrap; row-gap: 2px; }
.footer .soon b { color: var(--muted); font-weight: 600; white-space: nowrap; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 26px; }
.footer-bottom .cr { font-size: 0.8rem; color: var(--ghost); }
.footer-bottom .links { display: flex; gap: 22px; }

/* ── Reveal (JS-driven, reduced-motion safe) ── */
.js .reveal { opacity: 0; transform: translateY(24px); }
.js .hero .reveal, .js .page-hero .reveal { opacity: 1; transform: none; }
.js .reveal.in { opacity: 1; transform: none; transition: opacity 0.7s var(--e-out), transform 0.8s var(--e-out); }
.js .reveal.d1.in { transition-delay: 0.08s; }
.js .reveal.d2.in { transition-delay: 0.16s; }
.js .reveal.d3.in { transition-delay: 0.24s; }
.js .reveal.d4.in { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1 !important; transform: none !important; } }

/* ── Icons (one monoline set, see icons.mjs; coloured by the surrounding accent) ── */
.ico { width: 1em; height: 1em; display: inline-block; vertical-align: -0.15em; flex-shrink: 0; }
.num .ico { width: 17px; height: 17px; margin-right: 8px; vertical-align: -4px; }
.spec .num .ico { width: 18px; height: 18px; }
.svc-list .num .ico { width: 20px; height: 20px; margin-right: 10px; vertical-align: -3px; }
.eyebrow .ico { width: 15px; height: 15px; margin-right: 2px; }
.aao-node .sym .ico-lg { width: 28px; height: 28px; }

/* Icon motion: transform only, spring easing, and a heartbeat on the process strip. */
.ico { transition: transform 0.45s var(--e-spring); transform-origin: 50% 50%; }
.spec:hover .num .ico, .svc-list > li:hover .num .ico, .layer:hover .num .ico, .cap-block:hover .num .ico { transform: translateY(-2px) scale(1.2) rotate(-8deg); }
.aao-node:hover .sym .ico, .aao-node:focus-within .sym .ico { animation: ico-beat 1s ease-in-out infinite; }
@keyframes ico-beat { 0%, 100% { transform: scale(1); } 14% { transform: scale(1.24); } 28% { transform: scale(1); } 42% { transform: scale(1.14); } 62% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .ico { transition: none; } .spec:hover .num .ico, .svc-list > li:hover .num .ico, .layer:hover .num .ico, .cap-block:hover .num .ico { transform: none; } .aao-node:hover .sym .ico { animation: none; } .aao-track .pulse { display: none; } }

/* ── Scrollbar / selection ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(229,96,74,0.22); border-radius: 4px; }
::selection { background: rgba(229,96,74,0.28); color: #fff; }

/* ── Logo swap ── */
.logo-light { display: none !important; }
[data-theme="light"] .logo-dark  { display: none !important; }
[data-theme="light"] .logo-light { display: block !important; }

/* ════════════════════════════════════════════
   LIGHT THEME — "Warm Paper + Coral"
   ════════════════════════════════════════════ */
[data-theme="light"] {
  --bg:        #f5f1ea;
  --bg-elev:   #ffffff;
  --bg-float:  #ffffff;
  --surface:   #ffffff;
  --surface-2: #faf8f4;
  --card-shadow: 0 1px 2px rgba(40,30,20,0.04), 0 12px 30px rgba(40,30,20,0.06);

  --coral:        #cf4a30;
  --coral-bright: #e5604a;
  --coral-ink:    #b53e25;   /* 4.5:1+ on paper and on white */
  --coral-dim:    rgba(207,74,48,0.5);
  --teal:         #14877b;
  --teal-bright:  #17a294;
  --gold:         #a9760f;
  --magenta:      #c53d83;
  --blue:         #2f63c8;
  --grad:         linear-gradient(118deg, #f07a64 0%, #e5604a 100%);
  --grad-soft:    linear-gradient(120deg, rgba(229,96,74,0.12), rgba(229,96,74,0.04));

  --ink:    rgba(28,26,32,0.95);
  --muted:  rgba(48,45,54,0.76);
  --faint:  rgba(48,45,54,0.74);
  --ghost:  rgba(48,45,54,0.70);

  --line:        rgba(30,24,20,0.10);
  --line-strong: rgba(30,24,20,0.18);
  --line-accent: rgba(207,74,48,0.28);
}
[data-theme="light"] .aurora {
  background:
    radial-gradient(40% 44% at 16% 10%, rgba(229,96,74,0.10) 0%, transparent 60%),
    radial-gradient(38% 42% at 84% 6%,  rgba(45,179,166,0.08) 0%, transparent 62%),
    radial-gradient(50% 52% at 58% 112%, rgba(45,179,166,0.05) 0%, transparent 60%);
}
[data-theme="light"] .grid-floor { background-image: linear-gradient(to right, rgba(207,74,48,0.09) 1px, transparent 1px), linear-gradient(to bottom, rgba(207,74,48,0.09) 1px, transparent 1px); opacity: 0.35; }
[data-theme="light"] .grain { opacity: 0.02; mix-blend-mode: multiply; }
[data-theme="light"] .nav.scrolled { background: rgba(245,241,234,0.84); border-bottom-color: var(--line); }
[data-theme="light"] .drawer { background: rgba(245,241,234,0.97); }
[data-theme="light"] .mob-toggle, [data-theme="light"] .theme-toggle { background: #ffffff; }
[data-theme="light"] .btn-primary { color: #ffffff; box-shadow: 0 8px 24px rgba(207,74,48,0.24), inset 0 1px 0 rgba(255,255,255,0.4); }
[data-theme="light"] .btn-primary:hover { box-shadow: 0 16px 40px rgba(207,74,48,0.30), inset 0 1px 0 rgba(255,255,255,0.45); }
[data-theme="light"] .btn-ghost { background: #ffffff; box-shadow: var(--card-shadow); }
[data-theme="light"] .skip { color: #ffffff; }
[data-theme="light"] input, [data-theme="light"] textarea, [data-theme="light"] select { background: #ffffff; }
[data-theme="light"] select option { background: #ffffff; color: var(--ink); }
[data-theme="light"] .console { border-color: rgba(255,255,255,0.12); }
[data-theme="light"] .launch { box-shadow: 0 30px 70px rgba(40,30,20,0.18); }
[data-theme="light"] .cta-band { background: linear-gradient(120deg, rgba(229,96,74,0.08), rgba(45,179,166,0.05)), #ffffff; box-shadow: var(--card-shadow); }
[data-theme="light"] .hours, [data-theme="light"] .callout { background: rgba(207,74,48,0.05); }
[data-theme="light"] .form-error { border-color: rgba(207,74,48,0.4); background: rgba(207,74,48,0.06); }
[data-theme="light"] ::selection { background: rgba(207,74,48,0.20); color: var(--ink); }
