/* One visual idea: the SelfCX loop as a living object. A glossy trefoil carries
   calls around a warm dark page, then the page flips to full tangerine at the
   moment a person approves a release. */
:root {
  --ground: #120d0a;
  --surface: #1b1714;
  --raised: #241f1b;
  --line: #3a332d;
  --ink: #f5eee6;
  --muted: #b6a89c;
  --tangerine: #ff8a63;
  --teal: #4fd1b9;
  --sun: #f4b740;
  --plum: #d4a5e3;
  --pass: #5ad192;
  --fail: #ff8a80;
  --on-tangerine: #1b1714;
  --display: "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--tangerine); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.mono { font-family: var(--mono); }
.wrap {
  max-width: 1360px;
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
h2 {
  font: 700 clamp(40px, 6.2vw, 92px)/.98 var(--display);
  font-variation-settings: "wdth" 86, "opsz" 96;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.fine { font: 450 13px/1.5 var(--mono); color: var(--muted); }
.eyebrow { font: 500 14px/1 var(--mono); color: var(--tangerine); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 20px; }

/* nav */
.nav {
  position: fixed;
  z-index: 10;
  top: calc(12px + env(safe-area-inset-top, 0px));
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 24px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 8px 8px 16px;
  border-radius: 999px;
  background: rgba(27, 23, 20, .62);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border: 1px solid rgba(245, 238, 230, .1);
}
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; font: 700 20px var(--display); letter-spacing: -.01em; }
.logo svg { width: 26px; height: 26px; color: var(--tangerine); }
.nav nav { display: flex; gap: 26px; font-size: 15px; color: var(--muted); }
.nav nav a { text-decoration: none; transition: color .2s; }
.nav nav a:hover { color: var(--ink); }
.pill-btn {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--tangerine);
  color: var(--on-tangerine);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}

/* hero */
.hero {
  position: relative;
  min-height: min(100vh, 960px);
  display: flex;
  align-items: flex-end;
  padding: 136px max(var(--gutter), env(safe-area-inset-right, 0px)) 72px max(var(--gutter), env(safe-area-inset-left, 0px));
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(50% 60% at 78% 34%, rgba(255, 138, 99, .2), transparent 70%),
    radial-gradient(40% 50% at 96% 90%, rgba(79, 209, 185, .14), transparent 70%),
    var(--ground);
}
#knot {
  position: absolute;
  z-index: -1;
  right: -7vw;
  top: 50%;
  transform: translateY(-50%);
  width: min(60vw, 860px);
  height: min(60vw, 860px);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, var(--ground) 22%, rgba(18, 13, 10, .6) 42%, transparent 58%);
}
.hero-copy { max-width: min(860px, 64vw); display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.status {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 999px;
  font: 500 13px/1.2 var(--mono);
  color: var(--ink);
  background: rgba(245, 238, 230, .08);
  border: 1px solid rgba(245, 238, 230, .14);
}
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(79, 209, 185, .6); animation: ping 2.4s infinite; }
@keyframes ping { to { box-shadow: 0 0 0 10px rgba(79, 209, 185, 0); } }
h1 {
  font: 700 clamp(52px, 8.4vw, 136px)/.92 var(--display);
  font-variation-settings: "wdth" 80, "opsz" 96;
  letter-spacing: -.006em;
  text-wrap: balance;
  text-shadow: 0 2px 40px rgba(18, 13, 10, .55);
}
h1 em { font-style: normal; color: var(--tangerine); }
.lede { max-width: 620px; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; color: var(--ink); text-shadow: 0 1px 24px rgba(18, 13, 10, .8); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 14px;
  background: var(--tangerine);
  color: var(--on-tangerine);
  font-weight: 600;
  text-decoration: none;
  transition: transform .18s, box-shadow .18s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 34px rgba(255, 138, 99, .35); }
.btn.ghost { background: rgba(245, 238, 230, .08); color: var(--ink); border: 1px solid rgba(245, 238, 230, .2); }
.btn.ghost:hover { box-shadow: none; background: rgba(245, 238, 230, .14); }

/* ticker */
.band { border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.ticker { display: flex; padding-block: 16px; }
.ticker-track { display: flex; flex: none; gap: 44px; padding-right: 44px; font: 700 26px/1 var(--display); font-variation-settings: "wdth" 84; white-space: nowrap; animation: slide 36s linear infinite; }
.ticker-track span:nth-child(even) { color: var(--tangerine); font-weight: 400; }
@keyframes slide { to { transform: translateX(-50%); } }

/* demo */
.demo { padding-block: clamp(72px, 10vw, 140px) clamp(56px, 7vw, 96px); }
.demo-head { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 32px 56px; align-items: end; margin-bottom: 44px; }
.demo-head p { color: var(--muted); font-size: 19px; }
.player {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 40px 120px rgba(255, 138, 99, .14);
  background: var(--surface);
  aspect-ratio: 16 / 9;
  max-width: 100%;
}
.player video { display: block; width: 100%; height: 100%; object-fit: cover; }
.toggle {
  position: absolute;
  right: 14px;
  top: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  font: 500 12px/1 var(--mono);
  color: var(--ink);
  background: rgba(18, 13, 10, .7);
  border: 1px solid rgba(245, 238, 230, .2);
}
.demo .fine { margin-top: 12px; }
.chapters { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.chapters button {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  height: 100%;
  text-align: left;
  padding: 18px 16px 20px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color .2s, background .2s;
}
.chapters b { font: 700 22px/1.1 var(--display); font-variation-settings: "wdth" 88; letter-spacing: -.005em; }
.chapters span { font-size: 14px; line-height: 1.4; color: var(--muted); }
.chapters u { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--tangerine); }
.chapters .on button { border-color: var(--tangerine); background: var(--raised); }

/* harness */
.harness { background: var(--surface); padding-block: clamp(72px, 10vw, 140px); border-block: 1px solid var(--line); }
.harness-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.harness-copy { display: flex; flex-direction: column; min-width: 0; }
.harness-copy > p:not(.eyebrow) { color: var(--muted); font-size: 19px; margin-top: 24px; max-width: 58ch; }
.rules { display: flex; flex-wrap: wrap; gap: 20px 48px; margin-top: 32px; }
.rules dt { font: 700 64px/1 var(--display); font-variation-settings: "wdth" 84; color: var(--teal); }
.rules dd { color: var(--muted); font-size: 15px; max-width: 22ch; margin-top: 6px; }
.bench { background: var(--ground); border: 1px solid var(--line); border-radius: 22px; padding: 22px; min-width: 0; }
.bench-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.bench-count { font-size: 15px; color: var(--muted); }
.bench-count b { font: 700 40px/1 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; font: 600 12px/16px var(--body); letter-spacing: .04em; text-transform: uppercase; background: #3d2b12; color: var(--sun); }
.badge i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.badge.pass { background: #173826; color: var(--pass); }
.badge.fail { background: #43201d; color: var(--fail); }
.cells { display: grid; grid-template-columns: repeat(25, minmax(0, 1fr)); gap: 3px; }
.cells i { aspect-ratio: 1; border-radius: 3px; background: var(--raised); transition: background .25s; }
.cells i.p { background: var(--pass); }
.cells i.f { background: var(--fail); box-shadow: 0 0 0 2px rgba(255, 138, 128, .4); }
.cells i.r { background: var(--sun); }
.bench-log { font: 450 14px/1.45 var(--mono); margin: 16px 0 8px; min-height: 2.9em; }
.layers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 64px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; counter-reset: l; }
.layers li { background: var(--surface); padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; }
.layers span { font: 700 26px/1.1 var(--display); font-variation-settings: "wdth" 86; }
.layers p { color: var(--muted); font-size: 16px; }

/* library */
.library { padding-block: clamp(72px, 10vw, 140px) clamp(40px, 5vw, 64px); }
.lib-head { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 32px 56px; align-items: end; margin-bottom: 44px; }
.lib-head p { color: var(--muted); font-size: 19px; }
.rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 4px max(var(--gutter), env(safe-area-inset-right, 0px)) 20px max(var(--gutter), env(safe-area-inset-left, 0px));
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.tpl {
  flex: 0 0 min(320px, 76vw);
  aspect-ratio: 1 / 1.08;
  max-width: 100%;
  border-radius: 22px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  scroll-snap-align: center;
  color: var(--on-tangerine);
  transition: transform .25s;
}
.tpl:hover { transform: translateY(-6px) rotate(-.6deg); }
.tpl span { font: 500 13px/1 var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.tpl h3 { font: 700 40px/1 var(--display); font-variation-settings: "wdth" 80, "opsz" 96; letter-spacing: -.01em; margin-top: auto; }
.tpl p { font-size: 15px; margin-top: 12px; }
.t1 { background: var(--tangerine); }
.t2 { background: var(--teal); }
.t3 { background: var(--sun); }
.t4 { background: var(--plum); }
.t5 { background: var(--ink); }
.t6 { background: var(--raised); color: var(--ink); border: 1px solid var(--line); }
.library > .fine { margin-top: 12px; }

/* release: the page flips */
.release { background: var(--tangerine); color: var(--on-tangerine); padding-block: clamp(72px, 10vw, 140px); margin-top: clamp(48px, 6vw, 80px); }
.release-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.release h2 { font-size: clamp(44px, 7vw, 108px); }
.ticks { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; font-size: 19px; font-weight: 500; }
.ticks li { display: flex; gap: 12px; }
.ticks li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 9px; border-radius: 50%; background: var(--on-tangerine); }
.diff { background: var(--ground); color: var(--ink); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 30px 80px rgba(70, 25, 8, .45); transform: rotate(1.2deg); min-width: 0; }
.diff-head, .diff-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 15px; color: var(--muted); }
.diff-head { padding-bottom: 6px; }
.diff-foot { padding-top: 8px; }
.row { display: flex; gap: 12px; padding: 12px 14px; border-radius: 12px; font-size: 16px; }
.row b { font-family: var(--mono); flex: none; }
.add { background: #173826; color: #bff0d3; }
.chg { background: #3d2b12; color: #f8d9a8; }
.same { background: var(--raised); color: var(--muted); }
.fake-btn { padding: 10px 18px; border-radius: 12px; background: var(--tangerine); color: var(--on-tangerine); font-weight: 600; }

/* after go-live */
.ops { padding-block: clamp(72px, 10vw, 140px) 0; }
.ops .eyebrow span { margin-left: 10px; padding: 4px 8px; border-radius: 999px; color: var(--sun); background: #3d2b12; font-size: 12px; }
.ops-head { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 32px 56px; align-items: end; margin-bottom: 44px; }
.ops-head > p { color: var(--muted); font-size: 19px; }
.ops-title { font: 700 clamp(30px, 3.6vw, 52px)/1.04 var(--display); font-variation-settings: "wdth" 86, "opsz" 96; margin: clamp(64px, 8vw, 104px) 0 24px; text-wrap: balance; }
.desk { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: 0 40px 120px rgba(79, 209, 185, .08); margin-bottom: 12px; }
.desk-bar { display: flex; justify-content: space-between; align-items: center; gap: 8px 16px; flex-wrap: wrap; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.on-air { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; font-size: 14px; }
.on-air i { width: 8px; height: 8px; border-radius: 50%; background: var(--fail); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.desk-grid { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr) minmax(0, 310px); }
.calls { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-right: 1px solid var(--line); }
.calls button { width: 100%; text-align: left; display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 12px; border: 1px solid transparent; transition: background .2s, border-color .2s; }
.calls button:hover { background: var(--raised); }
.calls .on button { background: var(--raised); border-color: var(--tangerine); }
.calls b { font-weight: 600; font-size: 15px; }
.calls small { color: var(--muted); font-size: 13px; }
.mood { align-self: flex-start; display: inline-flex; gap: 6px; align-items: center; padding: 3px 8px; border-radius: 999px; font: 600 12px/16px var(--body); }
.mood.calm { background: #173826; color: var(--pass); }
.mood.upset { background: #3d2b12; color: var(--sun); }
.mood.risk { background: #43201d; color: var(--fail); }
.talk { display: flex; flex-direction: column; min-width: 0; }
.talk-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 15px; }
.talk-head .mono { margin-left: auto; color: var(--muted); font-size: 13px; }
.talk-head b { font-weight: 600; min-width: 0; }
.wave { display: inline-flex; align-items: center; gap: 2px; height: 18px; flex: none; }
.wave i { width: 3px; height: 100%; border-radius: 2px; background: var(--teal); animation: wave 1s ease-in-out infinite; transform-origin: center; }
.wave i:nth-child(2) { animation-delay: -.2s; } .wave i:nth-child(3) { animation-delay: -.45s; } .wave i:nth-child(4) { animation-delay: -.7s; } .wave i:nth-child(5) { animation-delay: -.3s; }
@keyframes wave { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
.talk-log { height: 400px; overflow: hidden auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; scrollbar-width: none; }
.talk-log li { max-width: 86%; padding: 10px 14px; border-radius: 14px; font-size: 16px; line-height: 1.4; animation: rise .3s ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.talk-log .who { display: block; font: 500 11px/1.4 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.talk-log .caller { align-self: flex-start; background: var(--raised); }
.talk-log .staff { align-self: flex-end; background: #143a33; }
.talk-log .sys { align-self: center; max-width: 100%; color: var(--muted); font: 450 13px/1.4 var(--mono); padding: 2px 0; text-align: center; }
.assist { display: flex; flex-direction: column; gap: 12px; padding: 14px; border-left: 1px solid var(--line); background: var(--ground); min-width: 0; }
.assist-title { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.assist-title svg { width: 18px; height: 18px; color: var(--tangerine); }
.assist-cards { flex: 1; display: flex; flex-direction: column; gap: 8px; min-height: 0; overflow: hidden; }
.acard { padding: 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: 15px; line-height: 1.4; animation: rise .35s ease-out; }
.acard b { display: block; font: 500 11px/1.4 var(--mono); color: var(--teal); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.acard.risk { border-color: var(--fail); }
.acard.risk b { color: var(--fail); }
.assist-actions { display: flex; gap: 6px; }
.assist-actions span { flex: 1; text-align: center; padding: 8px 4px; border-radius: 10px; background: var(--raised); font-size: 13px; font-weight: 600; white-space: nowrap; }
.assist-actions span:last-child { background: var(--tangerine); color: var(--on-tangerine); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.stats div { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.stats dt { font: 700 clamp(38px, 4.4vw, 60px)/1 var(--display); font-variation-settings: "wdth" 84; font-variant-numeric: tabular-nums; }
.stats dd { color: var(--muted); font-size: 15px; margin-top: 8px; }
.charts { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 10px; margin-top: 10px; }
.chart { position: relative; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; min-width: 0; }
.chart figcaption { font-weight: 600; font-size: 16px; margin-bottom: 14px; }
.plot { position: relative; height: 260px; touch-action: pan-y; }
.plot svg { display: block; width: 100%; height: 100%; }
.plot text { font: 450 12px var(--mono); fill: var(--muted); }
.plot .grid { stroke: var(--line); stroke-width: 1; }
.plot .trace { fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.plot .mark-line { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 4; }
.plot .cross { stroke: var(--ink); stroke-width: 1; opacity: .5; }
.plot .dot { fill: var(--teal); stroke: var(--surface); stroke-width: 2; }
.tip { position: absolute; z-index: 2; top: 0; left: 0; padding: 6px 10px; border-radius: 8px; background: var(--ink); color: var(--ground); font-size: 13px; font-weight: 600; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .12s; }
.bars { display: flex; flex-direction: column; gap: 12px; }
.bars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; font-size: 15px; }
.bars span:nth-child(2) { color: var(--muted); font: 450 13px/1.5 var(--mono); }
.bars u { grid-column: 1 / -1; display: block; height: 8px; border-radius: 0 4px 4px 0; background: var(--tangerine); text-decoration: none; transform-origin: left; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.bars.wait u { transform: scaleX(0); }
.recs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.rec { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.rec h4 { margin: 0; font: 700 25px/1.08 var(--display); font-variation-settings: "wdth" 86; }
.rec p { color: var(--muted); font-size: 15px; }
.rec dl { margin: 2px 0 6px; display: grid; gap: 6px; font-size: 15px; }
.rec dl div { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 6px; }
.rec dt { color: var(--muted); }
.rec dd { font-weight: 600; text-align: right; }
.rec button { margin-top: auto; min-height: 46px; padding: 8px 14px; border-radius: 12px; background: var(--tangerine); color: var(--on-tangerine); font-weight: 600; transition: background .2s, color .2s; }
.rec button[disabled] { cursor: default; background: var(--raised); color: var(--ink); }
.rec button.done { background: #173826; color: var(--pass); }

/* access + footer */
.access { padding-block: clamp(90px, 13vw, 180px) clamp(48px, 6vw, 80px); text-align: center; }
.access h2 { font-size: clamp(48px, 8vw, 128px); }
.access p { max-width: 54ch; margin: 24px auto 32px; color: var(--muted); font-size: 19px; }
.btn.big { font-family: var(--mono); font-size: clamp(16px, 2.2vw, 22px); min-height: 64px; padding: 0 clamp(20px, 3vw, 32px); }
.foot { overflow: hidden; }
.wordmark {
  font: 700 27vw/.8 var(--display);
  font-variation-settings: "wdth" 100, "opsz" 96;
  letter-spacing: .03em;
  text-align: center;
  white-space: nowrap;
  color: transparent;
  background: linear-gradient(100deg, var(--tangerine), var(--sun) 50%, var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  transform: translateY(8%);
  user-select: none;
}
.foot-row { display: flex; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; padding-block: 22px calc(22px + env(safe-area-inset-bottom, 0px)); font-size: 13px; color: var(--muted); position: relative; background: var(--ground); max-width: none; border-top: 1px solid var(--line); }

@media (max-width: 960px) {
  .nav nav { display: none; }
  .demo-head, .lib-head, .ops-head, .harness-grid, .release-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .desk-grid, .charts, .recs { grid-template-columns: minmax(0, 1fr); }
  .calls { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .calls li { flex: 0 0 200px; }
  .assist { border-left: 0; border-top: 1px solid var(--line); }
  .assist-cards { height: 210px; flex: none; }
  .talk-log { height: 320px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chapters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chapters li:last-child { grid-column: 1 / -1; }
  .layers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { min-height: 0; padding-top: 356px; }
  .hero::after { display: none; }
  .hero-copy { max-width: none; }
  #knot { right: 50%; top: 64px; transform: translateX(50%); width: 320px; height: 320px; max-width: 100%; }
  .diff { transform: none; }
}
@media (max-width: 560px) {
  .layers { grid-template-columns: minmax(0, 1fr); }
  .cells { grid-template-columns: repeat(20, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track, .status i, .on-air i, .wave i, .talk-log li, .acard { animation: none; }
  .bars u { transition: none; }
  .btn, .tpl, .chapters button { transition: none; }
}
