/* Winnow AI · winnowai.com · v2 */

/* Self-hosted variable fonts (SIL Open Font License) */
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("assets/fonts/instrument-sans-latin-wght-normal.woff2") format("woff2-variations"), url("assets/fonts/instrument-sans-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Syne"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("assets/fonts/syne-latin-wght-normal.woff2") format("woff2-variations"), url("assets/fonts/syne-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap; src: url("assets/fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2-variations"), url("assets/fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2"); }


:root {
  --bg: #05070d;
  --bg-2: #0a0e19;
  --surface: rgba(17, 23, 40, 0.62);
  --surface-2: rgba(24, 31, 52, 0.7);
  --line: rgba(150, 175, 255, 0.10);
  --line-2: rgba(150, 175, 255, 0.18);
  --text: #edf1fb;
  --text-2: #b4bfd6;
  --muted: #7d8aa6;
  --cyan: #5ce1ff;
  --blue: #4f7dff;
  --violet: #a78bfa;
  --magenta: #d06bff;
  --ok: #3ee0a1;
  --grad: linear-gradient(100deg, #5ce1ff 0%, #4f8bff 45%, #b06bff 80%, #e070ff 100%);
  --font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Syne", "Instrument Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;
  --r-lg: 22px;
  --r: 16px;
  --r-sm: 10px;
  --nav-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(1rem, 4vw, 2rem);
  --section: clamp(5rem, 11vw, 9rem);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(92, 225, 255, 0.3); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 1rem; top: -60px; z-index: 100;
  padding: 0.6rem 1rem; border-radius: 10px; background: var(--text); color: var(--bg);
  font-weight: 600; transition: top 0.2s;
}
.skip:focus { top: 1rem; }

.mono { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.01em; }
.anchor-top { position: absolute; top: 0; }

.container { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* Ambient backdrop */
.ambient {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60rem 36rem at 12% -8%, rgba(92, 225, 255, 0.10), transparent 60%),
    radial-gradient(52rem 34rem at 92% 4%, rgba(160, 110, 255, 0.11), transparent 60%),
    radial-gradient(60rem 30rem at 50% 110%, rgba(208, 107, 255, 0.06), transparent 60%);
}
main, .footer { position: relative; z-index: 1; }

/* ---------- Buttons ---------- */
.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  height: var(--h); padding: 0 1.3rem; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; letter-spacing: -0.005em; white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s;
}
.btn-sm { --h: 40px; padding: 0 1.05rem; font-size: 0.9rem; }
.btn-lg { --h: 54px; padding: 0 1.6rem; font-size: 1rem; }
.btn-primary {
  color: #061021;
  background: linear-gradient(100deg, #7ce8ff 0%, #6aa6ff 50%, #b78cff 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.18) inset, 0 8px 28px -8px rgba(92, 160, 255, 0.55);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255,255,255,0.28) inset, 0 14px 36px -10px rgba(120, 150, 255, 0.75); }
.btn-ghost {
  color: var(--text);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line-2);
}
.btn-ghost:hover { background: rgba(255,255,255,0.07); border-color: rgba(150,175,255,0.32); }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.open { background: rgba(5, 7, 13, 0.98) !important; }
.nav.scrolled, .nav.open {
  background: rgba(6, 8, 15, 0.72);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom-color: var(--line);
}
.nav-inner {
  width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto;
  height: var(--nav-h); display: flex; align-items: center; gap: 2rem;
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 0.25rem; margin-left: auto; }
.nav-links a {
  padding: 0.45rem 0.8rem; border-radius: 999px;
  color: var(--text-2); font-size: 0.92rem; font-weight: 500;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-links a.is-current { color: var(--text); }
.nav-cta { display: flex; }
.nav-toggle { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; border-radius: 12px; }
.nav-toggle span {
  position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--text); border-radius: 2px;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-nav {
  display: grid; gap: 0.25rem;
  width: min(1180px, 100% - 2 * var(--gutter)); margin: 0 auto; padding: 0.5rem 0 1.5rem;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav { min-height: calc(100dvh - var(--nav-h)); align-content: start; }
body.menu-open { overflow: hidden; }
.mobile-nav a:not(.btn) {
  padding: 0.9rem 0.25rem; font-size: 1.15rem; font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.mobile-nav .btn { margin-top: 1rem; --h: 52px; }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; }
h1 { font-size: clamp(2.7rem, 6.4vw, 5.4rem); letter-spacing: -0.035em; line-height: 0.98; }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.015em; line-height: 1.2; }
.grad {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--mono); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 1.25rem;
}
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(92,225,255,0.6); animation: pulse 2.4s infinite;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(92,225,255,0.55); } 70% { box-shadow: 0 0 0 9px rgba(92,225,255,0); } 100% { box-shadow: 0 0 0 0 rgba(92,225,255,0); } }

.section { padding-block: var(--section); position: relative; }
.section-head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-lede { margin-top: 1.25rem; color: var(--text-2); font-size: clamp(1rem, 1.3vw, 1.125rem); max-width: 58ch; }
.center .section-lede { margin-inline: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--nav-h) + clamp(3rem, 8vw, 6.5rem)) 0 clamp(4rem, 8vw, 7rem);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.7; }
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(150,175,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150,175,255,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 20%, transparent 75%);
}
.hero-layout {
  position: relative; display: grid; align-items: center;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 4.5rem);
}
.lede { margin-top: 1.6rem; max-width: 34rem; color: var(--text-2); font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; }
.hero-for {
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; margin-top: 2.75rem;
  padding-top: 1.5rem; border-top: 1px solid var(--line); max-width: 34rem;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}

/* Dashboard */
.hero-visual { position: relative; margin-top: 3rem; }
.dash {
  position: relative;
  background: linear-gradient(180deg, rgba(22, 29, 50, 0.85), rgba(12, 16, 30, 0.88));
  border: 1px solid var(--line-2); border-radius: var(--r-lg);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 40px 80px -30px rgba(0, 0, 0, 0.8),
    0 0 120px -30px rgba(92, 140, 255, 0.35);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
}
.dash::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(92,225,255,0.5), transparent 35%, transparent 65%, rgba(176,107,255,0.45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.dash-chrome {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 0.8rem 1rem; border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.015);
}
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.12); }
.dash-path { color: var(--muted); font-size: 0.72rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-live { margin-left: auto; display: inline-flex; align-items: center; gap: 0.4rem; color: var(--ok); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; }
.live { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: blink 2s infinite; }
@keyframes blink { 50% { opacity: 0.35; } }

.dash-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 10px; padding: 10px;
}
.panel {
  background: rgba(255,255,255,0.025); border: 1px solid var(--line); border-radius: 12px;
  padding: 0.95rem 1rem;
}
.panel-label { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.75rem; }
.panel-ihp { display: flex; flex-direction: column; }
.ring-wrap { position: relative; width: 118px; height: 118px; margin: 0.15rem auto 0.4rem; }
.ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: rgba(255,255,255,0.07); stroke-width: 9; }
.ring-fg {
  fill: none; stroke-width: 9; stroke-linecap: round;
  stroke-dasharray: 84.7 100; stroke-dashoffset: 0;
  filter: drop-shadow(0 0 6px rgba(92, 160, 255, 0.5));
}
.js .ring-fg { stroke-dashoffset: 84.7; transition: stroke-dashoffset 1.6s var(--ease) 0.3s; }
.js .in .ring-fg { stroke-dashoffset: 0; }
.ring-val { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-val strong { font-family: var(--font); font-weight: 700; font-variant-numeric: lining-nums tabular-nums; font-size: 1.9rem; line-height: 1; letter-spacing: -0.02em; }
.ring-val span { font-family: var(--mono); font-size: 0.64rem; color: var(--muted); margin-top: 0.2rem; }
.delta { text-align: center; color: var(--muted); font-size: 0.7rem; }
.delta .up { color: var(--ok); }

.drivers { display: grid; gap: 0.62rem; }
.drivers li { display: grid; grid-template-columns: 1fr 34px; grid-template-rows: auto auto; column-gap: 0.6rem; font-size: 0.8rem; color: var(--text-2); }
.drivers li span { grid-column: 1; }
.drivers li em { grid-column: 2; grid-row: 1 / span 2; align-self: end; font-style: normal; text-align: right; color: var(--text); font-size: 0.72rem; }
.drivers li b {
  grid-column: 1; height: 5px; margin-top: 0.3rem; border-radius: 4px; background: rgba(255,255,255,0.06); position: relative; overflow: hidden;
}
.drivers li b::after {
  content: ""; position: absolute; inset: 0; width: calc(var(--v) * 100%); border-radius: inherit; background: var(--grad);
}

.panel-plan, .panel-feed { grid-column: span 1; }
.plan { display: grid; gap: 0.55rem; }
.plan div { display: grid; grid-template-columns: 62px 1fr; gap: 0.5rem; font-size: 0.8rem; align-items: baseline; }
.plan dt { font-family: var(--mono); font-size: 0.68rem; color: var(--muted); }
.plan dd { color: var(--text); line-height: 1.4; }
.chip {
  display: inline-block; margin-left: 0.25rem; padding: 0.05rem 0.45rem; border-radius: 999px;
  font-family: var(--mono); font-size: 0.64rem; color: var(--text-2); border: 1px solid var(--line-2); white-space: nowrap;
}
.chip.ok { color: var(--ok); border-color: rgba(62, 224, 161, 0.35); background: rgba(62, 224, 161, 0.08); }

.agent-feed { display: grid; gap: 0.5rem; min-height: 7.2rem; align-content: start; }
.agent-feed li { font-size: 0.78rem; line-height: 1.4; color: var(--text-2); display: flex; gap: 0.5rem; align-items: baseline; animation: feedIn 0.5s var(--ease) both; }
@keyframes feedIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.tag {
  flex-shrink: 0; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.12rem 0.4rem; border-radius: 5px; border: 1px solid;
}
.tag.mind { color: var(--cyan); border-color: rgba(92,225,255,0.35); background: rgba(92,225,255,0.08); }
.tag.creative { color: #c4a5ff; border-color: rgba(167,139,250,0.4); background: rgba(167,139,250,0.1); }
.tag.channel { color: #7fb0ff; border-color: rgba(79,125,255,0.4); background: rgba(79,125,255,0.1); }
.tag.orch { color: var(--ok); border-color: rgba(62,224,161,0.35); background: rgba(62,224,161,0.08); }

.float {
  position: absolute; z-index: 2;
  background: rgba(14, 19, 34, 0.86); border: 1px solid var(--line-2); border-radius: 14px;
  padding: 0.8rem 0.95rem; box-shadow: 0 24px 50px -20px rgba(0,0,0,0.8);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.float p { color: var(--muted); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.25rem; }
.float-a { right: -1.6rem; bottom: -2.4rem; }
.float-a strong { display: block; font-family: var(--font); font-weight: 700; font-variant-numeric: lining-nums tabular-nums; letter-spacing: -0.02em; font-size: 1.6rem; line-height: 1.1; }
.float-a span { font-size: 0.75rem; color: var(--text-2); }
.float-b { left: -2.4rem; top: -5.1rem; max-width: 230px; }
.float-b span { font-size: 0.78rem; color: var(--text-2); line-height: 1.4; display: block; }
@media (prefers-reduced-motion: no-preference) {
  .float-a { animation: bob 7s ease-in-out infinite; }
  .float-b { animation: bob 8s ease-in-out -3s infinite; }
}
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ---------- Thesis band ---------- */
.thesis { border-block: 1px solid var(--line); background: rgba(10, 14, 25, 0.55); position: relative; z-index: 1; }
.thesis-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.thesis-item { padding: 2.25rem 1.75rem 2.25rem 0; }
.thesis-item + .thesis-item { padding-left: 1.75rem; border-left: 1px solid var(--line); }
.thesis-item .mono { color: var(--cyan); font-size: 0.7rem; }
.thesis-item h2 { font-size: 1.15rem; letter-spacing: -0.015em; margin: 0.65rem 0 0.4rem; }
.thesis-item p { color: var(--muted); font-size: 0.92rem; line-height: 1.5; }

/* ---------- Problem ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.split .section-head { margin-bottom: 0; position: sticky; top: calc(var(--nav-h) + 3rem); }
.problem-list { display: grid; }
.problem-list li { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1rem; padding: 1.9rem 0; border-top: 1px solid var(--line); }
.problem-list li:last-child { border-bottom: 1px solid var(--line); }
.problem-list .num { color: var(--cyan); padding-top: 0.25rem; }
.problem-list h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.problem-list p { color: var(--text-2); }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tile {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  padding: 1.75rem; border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(20, 26, 46, 0.7), rgba(12, 16, 29, 0.7));
  border: 1px solid var(--line);
  transition: border-color 0.35s, transform 0.35s var(--ease);
}
.tile::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(28rem 16rem at var(--mx, 50%) var(--my, 0%), rgba(92, 160, 255, 0.10), transparent 60%);
}
.tile:hover { border-color: var(--line-2); }
.tile:hover::after { opacity: 1; }
.tile-wide { grid-column: span 2; flex-direction: row; gap: 2rem; align-items: center; }
.tile-full { grid-column: 1 / -1; }
.tile-full .viz { max-width: 460px; }
.tile-wide .tile-copy { flex: 1 1 50%; }
.tile-tag { display: inline-block; color: var(--cyan); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.9rem; }
.tile h3 { font-size: 1.35rem; margin-bottom: 0.6rem; }
.tile p { color: var(--text-2); font-size: 0.95rem; }
.viz { margin-top: auto; padding-top: 1.75rem; }
.tile-wide .viz { margin-top: 0; padding-top: 0; flex: 1 1 45%; }

.viz-mind svg { width: 100%; max-width: 340px; margin-inline: auto; overflow: visible; }
.viz-mind .links line { stroke: rgba(150,175,255,0.22); stroke-width: 1; stroke-dasharray: 3 4; }
.viz-mind .n { fill: #0c1222; stroke-width: 1.5; }
.viz-mind .n.c { stroke: var(--cyan); }
.viz-mind .n.v { stroke: var(--violet); }
.viz-mind .n.m { stroke: var(--magenta); }
.viz-mind .n.core { fill: url(#none); fill: rgba(92,160,255,0.25); stroke: #7ab8ff; filter: drop-shadow(0 0 10px rgba(92,160,255,0.7)); }
.viz-mind text { fill: var(--muted); font-family: var(--mono); font-size: 9px; text-anchor: middle; }
@media (prefers-reduced-motion: no-preference) {
  .viz-mind .links line { animation: dash 6s linear infinite; }
}
@keyframes dash { to { stroke-dashoffset: -42; } }

.viz-scale { position: relative; height: 58px; padding-top: 0; margin-top: auto; }
.viz-scale::before { content: ""; position: absolute; left: 0; right: 0; top: 42px; height: 6px; border-radius: 6px; background: linear-gradient(90deg, rgba(255,255,255,0.06), rgba(92,225,255,0.4), rgba(176,107,255,0.9)); }
.viz-scale span { position: absolute; top: 37px; left: calc(var(--p) * 100%); width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(176,107,255,0.3), 0 0 18px rgba(176,107,255,0.8); }
.viz-scale em { position: absolute; top: 12px; left: calc(var(--p) * 100%); transform: translateX(-50%); font-style: normal; color: var(--text); font-size: 0.7rem; }

.viz-variants { display: grid; gap: 0.5rem; }
.viz-variants span { display: grid; grid-template-columns: 1.6rem 1fr; align-items: center; gap: 0.6rem; }
.viz-variants b { font-family: var(--mono); font-size: 0.7rem; font-weight: 500; color: var(--muted); }
.viz-variants i { display: block; height: 8px; width: calc(var(--w) * 100%); border-radius: 6px; background: rgba(255,255,255,0.12); }
.viz-variants .win b { color: var(--text); }
.viz-variants .win i { background: var(--grad); box-shadow: 0 0 16px rgba(92,160,255,0.45); }

.viz-path { display: flex; align-items: center; gap: 0.35rem; flex-wrap: nowrap; }
.viz-path span { font-family: var(--mono); font-size: 0.66rem; padding: 0.3rem 0.5rem; border-radius: 6px; border: 1px solid var(--line-2); color: var(--text-2); white-space: nowrap; }
.viz-path span.end { color: #061021; background: var(--grad); border-color: transparent; font-weight: 500; }
.viz-path i { flex: 1; height: 1px; min-width: 8px; background: linear-gradient(90deg, rgba(92,225,255,0.6), rgba(176,107,255,0.6)); }

.viz-speed { display: grid; gap: 0.6rem; }
.viz-speed div { display: grid; grid-template-columns: 3.6rem 1fr auto; gap: 0.6rem; align-items: center; }
.viz-speed span { color: var(--muted); font-size: 0.66rem; }
.viz-speed i { display: block; height: 8px; width: calc(var(--w) * 100%); border-radius: 6px; background: rgba(255,255,255,0.12); }
.viz-speed em { font-style: normal; color: var(--muted); font-size: 0.66rem; }
.viz-speed .fast i { background: var(--grad); }
.viz-speed .fast span, .viz-speed .fast em { color: var(--text); }

.viz-why { background: rgba(5, 8, 15, 0.55); border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.2rem; }
.viz-why .why-h { color: var(--text); font-size: 0.74rem; margin-bottom: 0.7rem; }
.viz-why ul { display: grid; gap: 0.45rem; }
.viz-why li { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.85rem; color: var(--text-2); padding-bottom: 0.45rem; border-bottom: 1px dashed var(--line); }
.viz-why em { font-style: normal; color: var(--ok); }
.viz-why em.neg { color: #ff8fb0; }
.viz-why .why-f { margin-top: 0.7rem; color: var(--cyan); font-size: 0.7rem; }

/* ---------- Loops ---------- */
.loops { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.loop-steps { display: grid; gap: 0.5rem; }
.loop-step {
  width: 100%; text-align: left; display: grid; grid-template-columns: 3rem 1fr; gap: 0.75rem;
  padding: 1.25rem 1.35rem; border-radius: var(--r); border: 1px solid transparent;
  transition: background 0.35s, border-color 0.35s;
}
.loop-step .num { color: var(--muted); padding-top: 0.2rem; transition: color 0.3s; }
.ls-body { display: grid; gap: 0.3rem; }
.ls-body strong { font-family: var(--display); font-size: 1.2rem; letter-spacing: -0.015em; color: var(--text-2); transition: color 0.3s; }
.ls-body > span { color: var(--muted); font-size: 0.93rem; transition: color 0.3s; }
.loop-step:hover { background: rgba(255,255,255,0.02); }
.loop-step.is-active { background: var(--surface); border-color: var(--line-2); }
.loop-step.is-active .num { color: var(--cyan); }
.loop-step.is-active strong { color: var(--text); }
.loop-step.is-active .ls-body > span { color: var(--text-2); }

.loop-viz {
  border-radius: var(--r-lg); border: 1px solid var(--line); padding: 1.5rem 1.5rem 1.25rem;
  background: radial-gradient(circle at 50% 45%, rgba(92,160,255,0.08), transparent 65%), rgba(10, 14, 25, 0.6);
}
.loop-svg { width: 100%; max-width: 380px; margin-inline: auto; overflow: visible; }
.orbit { fill: none; stroke: rgba(150,175,255,0.12); stroke-width: 1.5; stroke-dasharray: 2 6; }
.orbit-active {
  fill: none; stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 25 75; stroke-dashoffset: 12.5;
  transform: rotate(-90deg); transform-origin: 180px 150px;
  transition: stroke-dashoffset 0.9s var(--ease);
  filter: drop-shadow(0 0 6px rgba(92,160,255,0.7));
}
.lnode circle { fill: #0b1020; stroke: rgba(150,175,255,0.25); stroke-width: 1.5; transition: stroke 0.4s, fill 0.4s; }
.lnode text { fill: var(--muted); font-family: var(--mono); font-size: 11px; text-anchor: middle; transition: fill 0.4s; }
.lnode.is-active circle { stroke: var(--cyan); fill: #10203a; }
.lnode.is-active text { fill: var(--text); }
.core-t { fill: var(--muted); font-family: var(--mono); font-size: 10px; text-anchor: middle; letter-spacing: 0.08em; text-transform: uppercase; }
.loop-caption { text-align: center; color: var(--cyan); margin-top: 1rem; min-height: 1.3em; }

/* ---------- Industries ---------- */
.ind-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.ind {
  padding: 2rem 1.75rem 2.25rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background 0.35s;
}
.ind:hover { background: rgba(92, 160, 255, 0.04); }
.ind h3 { font-size: 1.2rem; margin-bottom: 0.55rem; display: flex; align-items: center; gap: 0.6rem; }
.ind h3::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--grad); transform: rotate(45deg); flex-shrink: 0; }
.ind p { color: var(--text-2); font-size: 0.95rem; }

/* ---------- Outcomes ---------- */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.metric {
  padding: 1.9rem 1.5rem; border-radius: var(--r-lg); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20, 26, 46, 0.6), rgba(12, 16, 29, 0.6));
}
.metric strong {
  display: block; font-family: var(--font); font-weight: 700; font-variant-numeric: lining-nums tabular-nums; letter-spacing: -0.03em; line-height: 1;
  font-size: clamp(2.4rem, 4.4vw, 3.4rem); margin-bottom: 0.75rem;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.metric > span { color: var(--text-2); font-size: 0.93rem; line-height: 1.4; display: block; }
.footnote { margin-top: 1.25rem; text-align: center; color: var(--muted); font-size: 0.8rem; }

.principle { max-width: 820px; margin: clamp(3.5rem, 7vw, 5.5rem) auto 0; text-align: center; }
.principle blockquote p {
  font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.3;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem); color: var(--text);
}
.principle figcaption { margin-top: 1.25rem; color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.7rem; }

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }
.plan-card {
  position: relative; display: flex; flex-direction: column;
  padding: 2rem 1.75rem 1.75rem; border-radius: var(--r-lg); border: 1px solid var(--line);
  background: rgba(14, 19, 34, 0.6);
}
.plan-card h3 { font-size: 1.6rem; }
.plan-kicker { color: var(--cyan); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 0.35rem; }
.plan-desc { color: var(--text-2); font-size: 0.93rem; margin: 1rem 0 1.4rem; min-height: 3em; }
.plan-card ul { display: grid; gap: 0.7rem; padding-top: 1.4rem; border-top: 1px solid var(--line); margin-bottom: 2rem; }
.plan-card li { display: flex; gap: 0.65rem; align-items: baseline; font-size: 0.93rem; color: var(--text-2); }
.plan-card li::before { content: ""; width: 12px; height: 7px; flex-shrink: 0; border-left: 1.5px solid var(--cyan); border-bottom: 1.5px solid var(--cyan); transform: rotate(-45deg) translateY(-2px); }
.plan-card .btn { margin-top: auto; width: 100%; }
.plan-card.featured {
  background: linear-gradient(180deg, rgba(36, 44, 86, 0.75), rgba(16, 20, 38, 0.75));
  border-color: rgba(120, 150, 255, 0.35);
  box-shadow: 0 30px 70px -35px rgba(92, 140, 255, 0.55);
}
.plan-badge {
  position: absolute; top: 1.4rem; right: 1.4rem; font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.25rem 0.6rem; border-radius: 999px; color: #061021; background: var(--grad);
}

/* ---------- CTA ---------- */
.cta { padding-top: 0; }
.cta-panel {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(3rem, 7vw, 5rem) clamp(1.25rem, 5vw, 4rem);
  border-radius: 28px; border: 1px solid var(--line-2);
  background:
    radial-gradient(40rem 20rem at 50% -10%, rgba(92, 160, 255, 0.22), transparent 70%),
    radial-gradient(30rem 18rem at 90% 120%, rgba(176, 107, 255, 0.18), transparent 70%),
    rgba(12, 16, 30, 0.8);
}
.cta-mark { width: 84px; height: 84px; margin: 0 auto 1.5rem; filter: drop-shadow(0 10px 30px rgba(92,160,255,0.45)); }
.cta-panel h2 { max-width: 16ch; margin-inline: auto; }
.cta-panel > p { color: var(--text-2); max-width: 52ch; margin: 1.1rem auto 0; }
.cta-form {
  display: flex; gap: 0.5rem; max-width: 500px; margin: 2.25rem auto 0;
  padding: 6px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(5, 7, 13, 0.7);
}
.cta-form input {
  flex: 1; min-width: 0; padding: 0 1.1rem; border: 0; background: transparent; outline: none; font-size: 1rem;
}
.cta-form input::placeholder { color: var(--muted); }
.cta-form:focus-within { border-color: rgba(92, 225, 255, 0.5); box-shadow: 0 0 0 4px rgba(92, 225, 255, 0.1); }
.cta-form.invalid { border-color: rgba(255, 120, 160, 0.6); }
.form-note { margin-top: 1rem; color: var(--muted); }
.form-note.ok { color: var(--ok); }
.form-note.err { color: #ff8fb0; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-top: 3.5rem; background: rgba(5, 7, 13, 0.6); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand p { color: var(--muted); margin-top: 1rem; max-width: 34ch; font-size: 0.93rem; }
.footer-col { display: grid; gap: 0.6rem; align-content: start; }
.footer-col p { color: var(--muted); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.3rem; }
.footer-col a { color: var(--text-2); font-size: 0.93rem; width: fit-content; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-base {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 1.5rem 0 2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem;
}

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links a { padding-inline: 0.6rem; }
  .float-a { right: -0.5rem; }
  .float-b { left: -0.5rem; }
}

@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .hero-layout { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { max-width: 640px; }
  .hero-visual { max-width: 620px; width: 100%; margin: 1rem auto 0; }
  .float-b { display: none; }
  .thesis-grid { grid-template-columns: repeat(2, 1fr); }
  .thesis-item, .thesis-item + .thesis-item { padding: 1.75rem 1.5rem; border-left: 0; }
  .thesis-item:nth-child(even) { border-left: 1px solid var(--line); }
  .thesis-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .split { grid-template-columns: 1fr; }
  .split .section-head { position: static; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-wide { grid-column: span 2; }
  .loops { grid-template-columns: 1fr; }
  .loop-viz { order: -1; max-width: 520px; width: 100%; margin-inline: auto; }
  .ind-list { grid-template-columns: repeat(2, 1fr); }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .plan-desc { min-height: 0; }
}

@media (max-width: 640px) {
  :root { --nav-h: 62px; }
  .brand img { height: 30px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-for { gap: 0.4rem 1rem; }
  .dash-grid { grid-template-columns: 1fr; }
  .float { display: none; }
  .thesis-grid { grid-template-columns: 1fr; }
  .thesis-item, .thesis-item + .thesis-item, .thesis-item:nth-child(even) { border-left: 0; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
  .thesis-item:last-child { border-bottom: 0; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile-wide { grid-column: auto; flex-direction: column; align-items: stretch; }
  .tile-wide .viz { padding-top: 0.5rem; }
  .tile { padding: 1.5rem; }
  .ind-list { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr; }
  .problem-list li { grid-template-columns: 2.5rem 1fr; }
  .loop-step { padding: 1rem; grid-template-columns: 2.4rem 1fr; }
  .cta-form { flex-direction: column; border-radius: 20px; padding: 8px; }
  .cta-form input { height: 50px; }
  .cta-form .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-canvas { display: none; }
}
