/* Outloud — site styles
   Type: Big Shoulders Display (loud), Newsreader italic (the human voice), Martian Mono (the machine). */

:root {
  --night: #0d0c0a;
  --night-2: #161411;
  --paper: #ede7dc;
  --paper-2: #e3dccf;
  --ink: #15130f;
  --dust: #8d857a;
  --line-dark: rgba(237, 231, 220, 0.14);
  --line-light: rgba(21, 19, 15, 0.16);
  --signal: #ff5a1f;
  --signal-deep: #e2470f;

  --f-loud: "Big Shoulders Display", "Oswald", Impact, sans-serif;
  --f-voice: "Newsreader", Georgia, serif;
  --f-mono: "Martian Mono", ui-monospace, Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--paper);
  font-family: var(--f-voice);
  font-size: 18px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--signal); color: var(--night); }

/* film grain over everything — keeps flat colours from looking synthetic */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none; z-index: 100;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.045;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -5%); }
  60% { transform: translate(-6%, -2%); } 80% { transform: translate(5%, 4%); } 100% { transform: translate(0, 0); }
}

.mono { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.loud { font-family: var(--f-loud); font-weight: 900; text-transform: uppercase; line-height: 0.84; letter-spacing: -0.01em; }
.voice { font-family: var(--f-voice); font-style: italic; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 18px var(--gutter);
  mix-blend-mode: difference; color: #fff;
}
.wordmark { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-loud); font-weight: 900; font-size: 26px; letter-spacing: 0.02em; }
.meter { display: flex; align-items: flex-end; gap: 2px; height: 18px; }
.meter i { width: 3px; background: currentColor; height: 30%; animation: meter 1.1s ease-in-out infinite; }
.meter i:nth-child(2) { animation-delay: -0.3s; } .meter i:nth-child(3) { animation-delay: -0.6s; } .meter i:nth-child(4) { animation-delay: -0.15s; }
@keyframes meter { 0%, 100% { height: 25%; } 50% { height: 100%; } }
.nav nav { display: flex; gap: 22px; margin-left: auto; }
.nav nav a { text-decoration: none; position: relative; }
.nav nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1px; background: currentColor; transition: right 0.4s var(--ease-out); }
.nav nav a:hover::after { right: 0; }
.nav .cta-mini { border: 1px solid currentColor; padding: 8px 14px; border-radius: 999px; text-decoration: none; }
@media (max-width: 760px) { .nav nav { display: none; } .nav .cta-mini { margin-left: auto; } }

/* ---------- hero: copy left, the loop right. Calm on purpose. ---------- */
.hero { background: var(--night); min-height: 100vh; display: flex; align-items: center; padding: 120px var(--gutter) 80px; }
.hero-in { width: 100%; max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-kicker { color: var(--dust); }
.hero h1 { margin: 18px 0 0; font-size: clamp(48px, 5.5vw, 100px); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero h1 .line > span { display: inline-block; will-change: transform; }
.hero h1 .accent { color: var(--signal); }
.hero-lede { max-width: 40ch; margin: 28px 0 0; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.4; color: #cfc7ba; }
.hero-lede em { color: var(--paper); font-style: italic; }
.hero-actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero-trust { margin: 20px 0 0; color: #cfc7ba; font-size: 11.5px; letter-spacing: 0.04em; line-height: 1.9; }

.loopviz { margin: 0; display: grid; gap: 22px; justify-items: center; }
.loop-graphic { width: min(100%, 400px); color: var(--dust); }
.loop-graphic svg { display: block; width: 100%; height: auto; overflow: visible; }
.loop-graphic .track { fill: none; stroke: rgba(237, 231, 220, 0.12); stroke-width: 1.5; stroke-dasharray: 3 7; }
.loop-graphic .arc { fill: none; stroke: rgba(237, 231, 220, 0.45); stroke-width: 1.5; }
.loop-graphic .runner { fill: var(--signal); }
.loop-graphic .node circle { fill: var(--night-2); stroke: rgba(237, 231, 220, 0.3); stroke-width: 1.5; transition: fill .4s, stroke .4s; }
.loop-graphic .node text { text-anchor: middle; dominant-baseline: middle; transition: fill .4s; }
.loop-graphic .node .num { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; fill: var(--dust); }
.loop-graphic .node .ttl { font-family: var(--f-loud); font-weight: 900; font-size: 25px; text-transform: uppercase; fill: var(--paper); }
.loop-graphic .hub-a { text-anchor: middle; font-family: var(--f-loud); font-weight: 800; font-size: 30px; text-transform: uppercase; fill: var(--paper); }
.loop-graphic .hub-b { text-anchor: middle; font-family: var(--f-voice); font-style: italic; font-size: 17px; fill: var(--dust); }
/* each step lights up as the dot reaches it (9s loop, 3s per step) */
.loop-graphic .n2, .loop-steps .s2 { animation-delay: 3s; }
.loop-graphic .n3, .loop-steps .s3 { animation-delay: 6s; }
.loop-graphic .node circle { animation: nodeLit 9s linear infinite; animation-delay: inherit; }
.loop-graphic .node .ttl { animation: ttlLit 9s linear infinite; animation-delay: inherit; }
.loop-graphic .node .num { animation: numLit 9s linear infinite; animation-delay: inherit; }
@keyframes nodeLit { 0%, 30% { fill: var(--signal); stroke: var(--signal); } 34%, 100% { fill: var(--night-2); stroke: rgba(237, 231, 220, 0.3); } }
@keyframes ttlLit { 0%, 30% { fill: var(--night); } 34%, 100% { fill: var(--paper); } }
@keyframes numLit { 0%, 30% { fill: var(--night); } 34%, 100% { fill: var(--dust); } }

.loop-steps { list-style: none; margin: 0; padding: 0; width: min(100%, 460px); display: grid; gap: 4px; counter-reset: st; }
.loop-steps li { counter-increment: st; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid transparent; animation: stepLit 9s linear infinite; }
.loop-steps li::before { content: counter(st, decimal-leading-zero); grid-row: span 2; font-family: var(--f-mono); font-size: 11px; color: var(--dust); padding-top: 5px; }
.loop-steps b { font-family: var(--f-loud); font-weight: 800; font-size: 22px; text-transform: uppercase; letter-spacing: 0.01em; line-height: 1.1; }
.loop-steps span { color: #bdb5a8; font-size: 16px; line-height: 1.35; }
@keyframes stepLit { 0%, 30% { border-color: rgba(255, 90, 31, 0.55); background: rgba(255, 90, 31, 0.07); } 34%, 100% { border-color: transparent; background: transparent; } }

@media (max-width: 960px) {
  .hero { padding-top: 100px; min-height: 0; }
  .hero-in { grid-template-columns: 1fr; }
  .loop-graphic { width: min(78%, 360px); }
}
@media (prefers-reduced-motion: reduce) {
  .loop-graphic .runner { display: none; }
  .loop-graphic .node circle, .loop-graphic .node text, .loop-graphic .node .ttl, .loop-graphic .node .num, .loop-steps li { animation: none !important; }
}

.btn {
  --bg: var(--signal); --fg: var(--night);
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600;
  padding: 15px 22px; border-radius: 999px; text-decoration: none; border: 1px solid var(--bg);
  background: var(--bg); color: var(--fg); position: relative; overflow: hidden; isolation: isolate;
  transition: color 0.35s var(--ease-out);
}
.btn::before { content: ""; position: absolute; inset: 0; background: var(--paper); transform: translateY(101%); transition: transform 0.45s var(--ease-out); z-index: -1; }
.btn:hover::before { transform: none; }
.btn.ghost { --bg: transparent; --fg: var(--paper); border-color: var(--line-dark); }
.btn.ghost::before { background: var(--paper); }
.btn.ghost:hover { color: var(--night); }
.btn .arrow { transition: transform 0.35s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- marquee ---------- */
.marquee { background: var(--signal); color: var(--night); overflow: hidden; border-block: 1px solid var(--night); position: relative; z-index: 2; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 28px; padding: 18px 28px 14px 0; font-family: var(--f-loud); font-weight: 800; font-size: clamp(30px, 4.4vw, 64px); text-transform: uppercase; white-space: nowrap; line-height: 1; }
.marquee-item .src { font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; border: 1px solid var(--night); border-radius: 999px; padding: 6px 10px 5px; }
.marquee-item .star { font-size: 0.6em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- manifesto ---------- */
.paper { background: var(--paper); color: var(--ink); }
.manifesto { padding: clamp(100px, 16vw, 220px) var(--gutter) clamp(80px, 12vw, 160px); position: relative; }
.manifesto .mono { color: var(--dust); display: block; margin-bottom: 36px; }
.manifesto p { margin: 0; max-width: 21ch; font-size: clamp(38px, 6.2vw, 104px); line-height: 1.02; font-weight: 400; letter-spacing: -0.02em; }
.manifesto p .w { opacity: 0.16; transition: opacity 0.2s linear; }
.manifesto p .hl { font-style: italic; }
.manifesto .aside { margin: 56px 0 0 auto; max-width: 40ch; font-size: 20px; color: #4b463e; }
.scribble { position: absolute; right: var(--gutter); top: 140px; width: min(260px, 26vw); color: var(--signal); }
.scribble path { stroke-dasharray: 900; stroke-dashoffset: 900; }

/* ---------- who ---------- */
.who { background: var(--night); padding: clamp(90px, 11vw, 160px) 0 0; border-bottom: 1px solid var(--line-dark); }
.who-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; padding: 0 var(--gutter) 48px; }
.who-head .mono { color: var(--dust); }
.who-head p { margin: 0; max-width: 30ch; font-size: clamp(24px, 2.6vw, 38px); line-height: 1.15; }
.who-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); }
.who-col {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 34px clamp(20px, 3vw, 44px) 52px; border-right: 1px solid var(--line-dark);
  display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 18px; min-height: 560px;
  transition: color .45s var(--ease-out);
}
.who-col:last-child { border-right: 0; }
.who-col::before { content: ""; position: absolute; inset: 0; background: var(--signal); transform: translateY(101%); transition: transform .6s var(--ease-out); z-index: -1; }
.who-col:hover { color: var(--night); }
.who-col:hover::before { transform: none; }
.who-n { color: var(--dust); transition: color .45s; }
.who-word { margin: 0; font-size: clamp(44px, 4.8vw, 92px); overflow: hidden; white-space: nowrap; }
.who .meta { display: flex; flex-wrap: wrap; gap: 8px; }
.who-word span { display: inline-block; color: transparent; -webkit-text-stroke: 1.5px var(--paper); transition: color .6s var(--ease-out), -webkit-text-stroke-color .45s; }
.who-col.is-lit .who-word span { color: var(--paper); }
.who-col:hover .who-word span { color: var(--night); -webkit-text-stroke-color: var(--night); }
.who-line { margin: 0; font-size: clamp(21px, 1.9vw, 27px); line-height: 1.2; }
.who-body { margin: 0; color: #bdb5a8; font-size: 17px; max-width: 36ch; transition: color .45s; }
.who-col:hover .who-body, .who-col:hover .who-n { color: var(--night); }
.who-col:hover .chip { border-color: var(--night); color: var(--night); }
@media (max-width: 900px) {
  .who-grid { grid-template-columns: 1fr; }
  .who-col { border-right: 0; border-bottom: 1px solid var(--line-dark); min-height: 0; }
}

/* ---------- loop (horizontal) ---------- */
.loop { background: var(--night-2); position: relative; }
.loop-head { padding: 120px var(--gutter) 40px; display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.loop-head h2 { margin: 0; font-size: clamp(56px, 10vw, 160px); }
.loop-head p { max-width: 36ch; margin: 0; color: #bdb5a8; font-size: 20px; }
.loop-pin { height: 100vh; overflow: hidden; position: relative; }
.loop-track { display: flex; height: 100%; width: max-content; will-change: transform; }
.stage {
  width: min(78vw, 980px); height: 100%; flex: none;
  border-left: 1px solid var(--line-dark);
  padding: clamp(84px, 12vh, 120px) clamp(24px, 4vw, 64px) 56px;
  display: grid; grid-template-rows: auto auto 1fr auto; gap: clamp(10px, 2vh, 18px);
}
.stage-num { font-family: var(--f-loud); font-weight: 900; font-size: clamp(72px, min(13vw, 20vh), 210px); line-height: 0.8; color: transparent; -webkit-text-stroke: 1.5px var(--line-dark); }
.stage.is-on .stage-num { -webkit-text-stroke-color: var(--signal); }
.stage h3 { margin: 0; font-size: clamp(40px, min(6vw, 10vh), 96px); }
.stage p { margin: 0; max-width: 34ch; color: #cfc7b9; font-size: clamp(18px, 1.5vw, 22px); }
.stage .meta { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { white-space: nowrap; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid var(--line-dark); border-radius: 999px; padding: 6px 10px 5px; color: #bdb5a8; }
.chip.hot { border-color: var(--signal); color: var(--signal); }
.viz { align-self: center; justify-self: stretch; min-height: 220px; display: grid; place-items: center start; }
.loop-progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 22px; height: 1px; background: var(--line-dark); }
.loop-progress i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: var(--signal); }
@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .loop-pin { height: auto; }
  .loop-track { flex-direction: column; width: 100%; }
  .stage { width: 100%; height: auto; min-height: 0; border-left: 0; border-top: 1px solid var(--line-dark); }
  .loop-progress { display: none; }
}

/* stage visuals */
.v-bubbles { position: relative; width: 100%; max-width: 520px; height: 220px; }
.v-bubbles .b { position: absolute; font-family: var(--f-mono); font-size: 11px; padding: 9px 12px; border-radius: 12px; background: #24211c; color: #a59d90; white-space: nowrap; }
.v-bubbles .sum { position: absolute; left: 0; bottom: 0; right: 0; padding: 16px 18px; border: 1px solid var(--signal); border-radius: 14px; font-style: italic; font-size: 18px; color: var(--paper); opacity: 0; }
.v-bubbles .sum .mono { color: var(--signal); font-style: normal; display: block; margin-bottom: 6px; }

.v-type { width: 100%; max-width: 560px; background: var(--paper); color: var(--ink); border-radius: 16px; padding: 22px; font-size: 17px; line-height: 1.45; min-height: 230px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.v-type .who { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; font-family: var(--f-mono); font-size: 11px; color: #6b655b; }
.v-type .av { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--signal), #ffb38f); }
.v-type .caret { display: inline-block; width: 2px; height: 1em; background: var(--signal); vertical-align: -2px; animation: blink 0.9s steps(2) infinite; }

.v-slack { width: 100%; max-width: 520px; background: #1b1916; border: 1px solid var(--line-dark); border-radius: 14px; padding: 18px; font-family: system-ui, sans-serif; font-size: 14px; color: #d9d2c5; }
.v-slack .h { font-weight: 700; margin-bottom: 8px; display: flex; gap: 8px; align-items: center; }
.v-slack .h .app { background: var(--signal); color: var(--night); border-radius: 4px; padding: 1px 6px; font-size: 11px; }
.v-slack .txt { color: #b6ae9f; margin-bottom: 14px; }
.v-slack .acts { display: flex; gap: 8px; flex-wrap: wrap; }
.v-slack .acts span { border: 1px solid #3b372f; border-radius: 6px; padding: 6px 12px; font-weight: 600; }
.v-slack .acts .go { background: #2f7d4e; border-color: #2f7d4e; color: #fff; position: relative; }
.v-slack .ok { margin-top: 12px; color: #6fd39a; font-family: var(--f-mono); font-size: 11px; opacity: 0; }

.v-post { width: 100%; max-width: 420px; background: var(--paper); color: var(--ink); border-radius: 16px; overflow: hidden; }
.v-post .top { padding: 16px 18px; font-size: 15px; }
.v-post .img { aspect-ratio: 1.6; background: #0b3d91; position: relative; overflow: hidden; display: grid; align-content: end; padding: 18px; color: #fff; }
.v-post .img b { font-family: var(--f-loud); font-weight: 900; font-size: 34px; line-height: 0.9; text-transform: uppercase; }
.v-post .img i { position: absolute; top: 18px; left: 18px; width: 54px; height: 6px; background: var(--signal); }
.v-post .bar { display: flex; justify-content: space-between; padding: 12px 18px; font-family: var(--f-mono); font-size: 11px; color: #6b655b; border-top: 1px solid var(--line-light); }

.v-aim { width: 100%; max-width: 560px; display: grid; gap: 8px; }
.v-aim .row { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: #a59d90; }
.v-aim .bar { height: 14px; background: #2a2620; border-radius: 3px; overflow: hidden; }
.v-aim .bar i { display: block; height: 100%; background: var(--signal); transform-origin: left; }

.v-invite { display: flex; flex-wrap: wrap; gap: 12px; max-width: 520px; }
.v-invite .p { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line-dark); border-radius: 999px; padding: 6px 14px 6px 6px; font-size: 15px; }
.v-invite .p .av { width: 30px; height: 30px; border-radius: 50%; background: #3a352d; }
.v-invite .p.icp { border-color: var(--signal); }
.v-invite .p.icp .av { background: var(--signal); }
.v-invite .done { width: 100%; font-family: var(--f-mono); font-size: 11px; color: var(--signal); margin-top: 6px; opacity: 0; }

.v-learn { width: 100%; max-width: 560px; display: grid; gap: 10px; }
.v-learn .n { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; border-bottom: 1px solid var(--line-dark); padding: 10px 0; font-size: 18px; }
.pips { display: flex; gap: 4px; align-items: center; }
.pips i { width: 14px; height: 14px; border-radius: 3px; border: 1px solid #5a5449; }
.pips i.on { background: var(--signal); border-color: var(--signal); }
.pips .tag { font-family: var(--f-mono); font-size: 10px; margin-left: 8px; letter-spacing: 0.1em; color: #8d857a; min-width: 70px; }
.pips .tag.is-rule { color: var(--night); background: var(--signal); padding: 3px 6px; border-radius: 3px; text-align: center; }

/* ---------- demo ---------- */
.demo { padding: clamp(100px, 12vw, 180px) var(--gutter); background: var(--night); position: relative; }
.demo h2 { margin: 0 0 18px; font-size: clamp(56px, 9vw, 150px); max-width: 12ch; }
.demo .sub { color: #bdb5a8; max-width: 44ch; margin: 0 0 64px; font-size: 21px; }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 64px); align-items: start; }
.panel-label { color: var(--dust); margin-bottom: 14px; display: flex; justify-content: space-between; }
.slack { background: #1a1815; border: 1px solid var(--line-dark); border-radius: 18px; padding: 20px; font-family: system-ui, -apple-system, sans-serif; font-size: 15px; color: #ddd6c9; min-height: 520px; }
.msg { display: grid; grid-template-columns: 38px 1fr; gap: 12px; margin-bottom: 18px; opacity: 0; transform: translateY(14px); }
.msg .av { width: 38px; height: 38px; border-radius: 8px; background: var(--signal); display: grid; place-items: center; color: var(--night); font-family: var(--f-loud); font-weight: 900; font-size: 20px; }
.msg .av.me { background: #4a4438; color: var(--paper); }
.msg .name { font-weight: 700; } .msg .name small { font-weight: 400; color: #8d857a; margin-left: 6px; }
.msg .body { color: #c9c1b3; margin-top: 2px; }
.msg .quote { border-left: 3px solid #4a4438; padding: 4px 0 4px 12px; margin: 8px 0; color: #ddd6c9; white-space: pre-line; font-size: 14.5px; transition: color .3s; }
.msg .btns { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.msg .btns span { border: 1px solid #3b372f; border-radius: 6px; padding: 5px 12px; font-weight: 600; font-size: 13px; transition: background .3s, border-color .3s, transform .2s; }
.msg .btns .go { background: #2f7d4e; border-color: #2f7d4e; color: #fff; }
.msg .btns .press { transform: scale(0.94); background: #3b372f; }
.li { background: var(--paper); color: var(--ink); border-radius: 18px; overflow: hidden; opacity: 0.15; filter: saturate(0); transition: opacity .6s, filter .6s; }
.li.live { opacity: 1; filter: none; }
.li .head { display: flex; gap: 12px; padding: 18px 20px 6px; align-items: center; }
.li .head .av { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, #a0442a, var(--signal)); }
.li .head b { display: block; } .li .head small { color: #6b655b; font-size: 13px; }
.li .text { padding: 8px 20px 16px; white-space: pre-line; font-size: 15.5px; line-height: 1.5; font-family: system-ui, -apple-system, sans-serif; }
.li .card { margin: 0; aspect-ratio: 1; background: #0b3d91; color: #fff; padding: 9%; display: grid; grid-template-rows: auto 1fr auto; position: relative; }
.li .card .acc { width: 16%; height: 2.4%; background: #ffb400; }
.li .card .big { align-self: center; font-family: var(--f-loud); font-weight: 900; font-size: clamp(64px, 9vw, 130px); line-height: 0.85; color: #ffb400; }
.li .card .big small { display: block; font-size: 0.32em; color: #fff; line-height: 1.05; margin-top: 10px; }
.li .card .foot { display: flex; justify-content: space-between; font-family: system-ui, sans-serif; font-weight: 600; font-size: 14px; border-top: 1px solid rgba(255,255,255,.25); padding-top: 12px; }
.li .stats { display: flex; justify-content: space-between; padding: 12px 20px; font-family: var(--f-mono); font-size: 11px; color: #6b655b; }
.li .stats b { color: var(--ink); }
.disclaimer { margin-top: 18px; color: #6f685d; }
@media (max-width: 900px) { .demo-grid { grid-template-columns: 1fr; } .slack { min-height: 0; } }

/* ---------- aim (budget calculator) ---------- */
.aim { padding: clamp(100px, 12vw, 180px) var(--gutter); }
.aim h2 { margin: 0; font-size: clamp(64px, 12vw, 200px); }
.aim h2 .o { color: var(--signal); }
.aim-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 6vw, 100px); margin-top: 60px; align-items: start; }
.aim-copy p { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.35; max-width: 30ch; margin: 0 0 28px; }
.facets { display: flex; flex-wrap: wrap; gap: 8px; }
.facet { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; padding: 9px 12px 8px; border: 1px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; transition: background .25s, color .25s; }
.facet[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.facet .k { opacity: 0.5; margin-right: 6px; }
.calc { border: 1px solid var(--ink); border-radius: 20px; padding: clamp(20px, 3vw, 36px); background: var(--paper-2); position: relative; overflow: hidden; }
.calc label { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; margin: 18px 0 10px; }
.calc label output { font-weight: 600; }
.calc input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 2px; background: var(--ink); outline: none; }
.calc input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--signal); border: 2px solid var(--ink); cursor: grab; }
.calc input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--signal); border: 2px solid var(--ink); cursor: grab; }
.calc .out { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--ink); border: 1px solid var(--ink); border-radius: 14px; overflow: hidden; margin-top: 30px; }
.calc .out div { background: var(--paper); padding: 16px; }
.calc .out .num { font-family: var(--f-loud); font-weight: 900; font-size: clamp(44px, 5vw, 72px); line-height: 0.9; display: block; margin-top: 6px; }
.calc .note { margin-top: 16px; font-size: 15px; color: #5d574d; }
.reps { display: flex; gap: 6px; margin-top: 18px; flex-wrap: wrap; }
.reps i { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); position: relative; overflow: hidden; }
.reps i::after { content: ""; position: absolute; inset: 0; background: var(--signal); transform: translateY(var(--fill, 100%)); transition: transform .5s var(--ease-out); }
@media (max-width: 900px) { .aim-grid { grid-template-columns: 1fr; } }

/* ---------- brain ---------- */
.brain { padding: clamp(100px, 12vw, 180px) var(--gutter); background: var(--night); display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 6vw, 100px); }
.brain h2 { margin: 0 0 24px; font-size: clamp(56px, 8.4vw, 140px); }
.brain .lead { color: #c9c1b3; font-size: 21px; max-width: 34ch; }
.notes { border-top: 1px solid var(--line-dark); }
.note { display: grid; grid-template-columns: 1fr auto; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); align-items: center; }
.note q { quotes: none; font-size: clamp(19px, 1.7vw, 24px); }
.note .src { display: block; color: var(--dust); margin-top: 6px; }
.weekly { margin-top: 36px; border: 1px solid var(--line-dark); border-radius: 16px; padding: 22px; background: var(--night-2); }
.weekly .mono { color: var(--signal); }
.weekly p { margin: 10px 0 0; color: #cfc7b9; }
@media (max-width: 900px) { .brain { grid-template-columns: 1fr; } }

/* ---------- principles ---------- */
.principles { padding: clamp(100px, 12vw, 160px) 0 0; }
.principles .head { padding: 0 var(--gutter) 40px; display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.principles .head h2 { margin: 0; font-size: clamp(48px, 7vw, 110px); }
.principles .head p { margin: 0; max-width: 36ch; color: #4b463e; }
.rule { display: grid; grid-template-columns: 90px 1fr minmax(0, 34ch); gap: 24px; align-items: baseline; padding: 26px var(--gutter); border-top: 1px solid var(--line-light); position: relative; overflow: hidden; isolation: isolate; }
.rule::before { content: ""; position: absolute; inset: 0; background: var(--signal); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease-out); z-index: -1; }
.rule:hover::before { transform: none; }
.rule .n { font-family: var(--f-mono); font-size: 12px; }
.rule h3 { margin: 0; font-family: var(--f-loud); font-weight: 900; font-size: clamp(36px, 5.4vw, 84px); line-height: 0.88; text-transform: uppercase; }
.rule p { margin: 0; color: #3d3831; font-size: 17px; }
@media (max-width: 800px) { .rule { grid-template-columns: 40px 1fr; } .rule p { grid-column: 2; } }

/* ---------- where ---------- */
.where { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-light); }
.where > div { padding: 40px var(--gutter) 56px; border-right: 1px solid var(--line-light); }
.where > div:last-child { border-right: 0; }
.where h4 { margin: 16px 0 10px; font-family: var(--f-loud); font-weight: 800; font-size: 44px; text-transform: uppercase; line-height: 0.9; }
.where p { margin: 0; color: #4b463e; font-size: 17px; }
.where .glyph { width: 46px; height: 46px; }
@media (max-width: 800px) { .where { grid-template-columns: 1fr; } .where > div { border-right: 0; border-bottom: 1px solid var(--line-light); } }

/* ---------- final cta ---------- */
.final { background: var(--signal); color: var(--night); padding: clamp(80px, 10vw, 140px) var(--gutter) 40px; position: relative; overflow: hidden; }
.final .big { font-size: clamp(110px, 30vw, 520px); margin: 0; line-height: 0.78; white-space: nowrap; }
.final-row { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-top: 40px; }
.final-row p { max-width: 38ch; margin: 0; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.35; }
.final .btn { --bg: var(--night); --fg: var(--paper); }
.final .btn::before { background: var(--paper); }
.final .btn:hover { color: var(--night); }
.foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 90px; padding-top: 18px; border-top: 1px solid rgba(13, 12, 10, 0.3); }

/* ---------- cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--signal); pointer-events: none; z-index: 60; mix-blend-mode: difference; transition: width .3s var(--ease-out), height .3s var(--ease-out), margin .3s var(--ease-out); }
.cursor.big { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
@media (hover: none) { .cursor { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .grain, .marquee-track, .meter i { animation: none; }
  .manifesto p .w { opacity: 1; }
  .msg { opacity: 1; transform: none; }
  .li { opacity: 1; filter: none; }
}

/* ---------- hero scope: you, your team, your company ---------- */
.hero-scope { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 30px; max-width: 640px; }
.hero-scope a { display: grid; gap: 4px; padding: 14px 16px; border: 1px solid var(--line-dark); border-radius: 14px; text-decoration: none; transition: border-color .25s, background .25s; }
.hero-scope a:hover { border-color: var(--signal); background: rgba(255, 90, 31, 0.06); }
.hero-scope b { font-family: var(--f-loud); font-weight: 900; font-size: clamp(22px, 2vw, 30px); text-transform: uppercase; line-height: 1; color: var(--paper); }
.hero-scope span { font-family: var(--f-voice); font-style: italic; color: var(--dust); font-size: 15px; }
@media (max-width: 520px) { .hero-scope { grid-template-columns: 1fr; } }

/* ---------- get started form ---------- */
.final-row { align-items: start; }
.start-form { display: grid; gap: 14px; width: 100%; max-width: 520px; }
.start-form label { display: grid; gap: 6px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.start-form .opt { text-transform: none; letter-spacing: 0; font-family: var(--f-voice); font-style: italic; opacity: 0.7; }
.start-form input[type="text"], .start-form input[type="email"], .start-form textarea { width: 100%; padding: 12px 14px; border: 1px solid rgba(13, 12, 10, 0.4); border-radius: 12px; background: rgba(255, 255, 255, 0.55); color: var(--night); font: 400 17px/1.4 var(--f-voice); }
.start-form input:focus, .start-form textarea:focus { outline: 2px solid var(--night); outline-offset: 1px; }
.start-form fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.start-form legend { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; padding: 0; }
.start-form .pick { display: inline-block; cursor: pointer; }
.start-form .pick input { position: absolute; opacity: 0; }
.start-form .pick span { display: inline-block; padding: 10px 14px 9px; border: 1px solid var(--night); border-radius: 999px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.start-form .pick input:checked + span { background: var(--night); color: var(--paper); }
.start-form .pick input:focus-visible + span { outline: 2px solid var(--night); outline-offset: 2px; }
.start-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.start-form .btn { justify-self: start; }
.form-note { margin-top: 18px; padding: 12px 16px; border-radius: 12px; background: var(--night); color: var(--paper); }
.form-note.err { background: transparent; border: 1px solid var(--night); color: var(--night); }
.final-row .form-note { font-size: 12px; max-width: 46ch; }
