:root {
  --bg: #f6f6f4;
  --panel: #ffffff;
  --panel-2: #f1f1ef;
  --ink: #121212;
  --grey: #8b8b88;
  --grey-2: #5e5e5b;
  --line: #e4e4e0;
  --dark: #100e0d;
  --dark-line: #2a2725;
  --key: #f0b429;
  --blue: #3a55ff;
  --green: #1f9d63;
  --red: #e5484d;
  --sans: "Geist", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --wrap: 1180px;
  --expo-in: cubic-bezier(0.7, 0, 0.84, 0);
  --expo-out: cubic-bezier(0.16, 1, 0.3, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); overflow-wrap: break-word; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
code, pre { font-family: var(--mono); font-size: 0.86em; }
:not(pre) > code { background: var(--panel-2); border: 1px solid var(--line); padding: 0.05em 0.35em; border-radius: 5px; }

/* the frame: vertical guide lines down the page */
.frame { width: min(var(--wrap), 100%); margin-inline: auto; border-inline: 1px solid var(--line); }
.pad { padding-inline: 48px; }
.rule { border-top: 1px solid var(--line); }
.frame > *, .grid3 > *, .cap > *, .usecase > *, .setup > * { min-width: 0; }

/* small mono UI */
.pill { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.02em; padding: 7px 10px; border: 1px solid var(--line); border-radius: 7px; background: var(--panel); box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.pill svg { width: 13px; height: 13px; }
.btn { display: inline-flex; align-items: center; gap: 10px; font: 500 13px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.02em; text-decoration: none; padding: 13px 18px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.06); white-space: nowrap; }
.btn.dark { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: inset 0 0 0 1px #3a3a3a, 0 2px 6px rgba(0,0,0,.2); }
.btn:hover { transform: translateY(-1px); }
.btn .mark { width: 18px; height: 18px; border-radius: 5px; background: var(--ink); display: grid; place-items: center; }
.btn .mark svg { width: 11px; height: 11px; }

/* nav */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; position: sticky; top: 0; z-index: 20; background: rgba(246,246,244,.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font: 600 18px/1 var(--sans); letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; }
.brand img { width: 26px; height: 26px; }
.nav-links { display: flex; gap: 26px; font: 500 12.5px/1 var(--mono); text-transform: uppercase; margin-left: auto; margin-right: 8px; }
.nav-links a { text-decoration: none; color: var(--grey-2); }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--ink); }

/* headings: one sentence that fades from ink to grey */
.display { font: 400 clamp(38px, 5.2vw, 62px)/1.08 var(--sans); letter-spacing: -0.035em; margin: 22px 0 32px; max-width: 15em; }
.display .fade, .h2 .fade { color: #a3a39f; }
.h2 { font: 400 clamp(30px, 3.6vw, 42px)/1.14 var(--sans); letter-spacing: -0.03em; margin: 20px 0 0; max-width: 17em; }

/* hero */
.hero-copy { padding-block: 84px 64px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.band { position: relative; overflow: hidden; padding: 88px 88px 0; background: #d9d9d6; border-top: 1px solid var(--line); }
/* liquid-chrome motion background: diagonal metal folds + faint colour fringes, drifting slowly */
.streaks { position: absolute; inset: -30%; overflow: hidden; transform: rotate(-8deg); }
.streaks i { position: absolute; inset: 0; background-size: 220% 220%; animation: chrome 26s ease-in-out infinite alternate; }
.streaks .metal { background-image:
    linear-gradient(115deg, #b9b9b5 0%, #f4f4f2 9%, #8f8f8b 15%, #ececea 21%, #fbfbfa 27%, #a4a4a0 34%, #e9e9e7 41%,
      #6f6f6b 47%, #f6f6f4 52%, #c9c9c5 60%, #fdfdfc 66%, #9a9a96 73%, #efefed 80%, #7d7d79 87%, #f2f2f0 93%, #bcbcb8 100%);
  filter: blur(8px) contrast(1.3); }
.streaks .folds { background-image:
    repeating-linear-gradient(115deg, transparent 0 7%, rgba(0,0,0,.6) 8.4%, transparent 10.2%, transparent 15%, rgba(255,255,255,.95) 16.4%, transparent 18%);
  filter: blur(4px); mix-blend-mode: multiply; animation-duration: 34s; animation-direction: alternate-reverse; }
.streaks .shine { background-image:
    repeating-linear-gradient(115deg, transparent 0 11%, rgba(255,255,255,.95) 12%, transparent 13.6%, transparent 24%);
  filter: blur(3px); mix-blend-mode: screen; animation-duration: 21s; }
.streaks .fringe { background-image:
    repeating-linear-gradient(115deg, transparent 0 13%, rgba(255,130,60,.16) 13.6%, transparent 14.4%, rgba(70,110,255,.18) 15%, transparent 15.9%, transparent 26%);
  filter: blur(2px); animation-duration: 21s; }
.band::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 100%, transparent 55%, rgba(0,0,0,.12)); }
@keyframes chrome { from { background-position: 0% 30%; } to { background-position: 100% 70%; } }

/* WebGL liquid metal over the CSS fallback */
.shader { position: absolute; inset: -14% -10%; opacity: 0; transition: opacity 1.2s; }
.shader.on { opacity: 1; }
.shader canvas { display: block; width: 100%; height: 100%; }

/* ---------- simplified dark After Effects, worked by Claude's pointer ---------- */
.ae { --ui: #1e1e1e; --ui-2: #262626; --ui-3: #2f2f2f; --ui-line: #3a3a3a; --ui-text: #c9c9c9; --ui-dim: #8a8a8a; --ae-blue: #2d8ceb; --claude: #ff7a1a;
  position: relative; z-index: 1; max-width: 960px; margin: 0 auto; background: #141414; color: var(--ui-text); border: 1px solid #000; border-bottom: 0;
  border-radius: 14px 14px 0 0; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 40px 90px -24px rgba(0,0,0,.6); font-size: 12px; }
.ae-top { display: flex; align-items: center; gap: 16px; height: 40px; padding: 0 12px; background: var(--ui-2); border-bottom: 1px solid #000; }
.ae-dots { display: flex; gap: 6px; } .ae-dots i { width: 10px; height: 10px; border-radius: 50%; background: #4a4a4a; }
.ae-title { font: 500 12px var(--sans); color: var(--ui-dim); }
.ae-tools { display: flex; gap: 6px; margin-left: 8px; }
.ae-tools i { width: 22px; height: 22px; border-radius: 5px; background: var(--ui-3); position: relative; }
.ae-tools i::after { content: ""; position: absolute; inset: 7px; border: 1.5px solid var(--ui-dim); border-radius: 2px; }
.ae-tools .t-sel { background: #3a3f4a; } .ae-tools .t-sel::after { border-color: #9fc6f5; border-radius: 0 50% 50% 50%; }
.ae-btn { margin-left: auto; font: 500 11px/1 var(--mono); text-transform: uppercase; padding: 7px 10px; border-radius: 6px; background: var(--ui-3); border: 1px solid var(--ui-line); color: #e6e6e6; white-space: nowrap; }
.ae-btn.hit { background: var(--ae-blue); border-color: var(--ae-blue); color: #fff; }
.ae-body { display: grid; grid-template-columns: 170px minmax(0, 1fr) 220px; }
.ae-ph { display: flex; gap: 8px; align-items: center; height: 30px; padding: 0 12px; font: 500 11px/1 var(--mono); text-transform: uppercase; color: var(--ui-dim); background: var(--ui-2); border-bottom: 1px solid #000; }
.ae-ph b { color: var(--ui-text); font-weight: 500; text-transform: none; font-family: var(--sans); }
.ae-project, .ae-log { background: var(--ui); }
.ae-project { border-right: 1px solid #000; }
.ae-project ul { list-style: none; margin: 0; padding: 6px; }
.ae-project li { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 4px; white-space: nowrap; transition: background .2s; }
.ae-project li::before { content: ""; flex: none; width: 12px; height: 9px; border-radius: 2px; border: 1.5px solid #6d7f99; }
.ae-project small { margin-left: auto; font: 10.5px var(--mono); color: var(--ui-dim); }
.ae-project li.sel { background: var(--ui-3); }
.ae.s-open .ae-project li.sel { background: transparent; }
.ae-project li.hit { background: var(--ae-blue); color: #fff; }
.ae-project li.hit small { color: #dbe9fb; }
.ae-viewer { background: #181818; display: flex; flex-direction: column; min-width: 0; }
.ae-stage { flex: 1; display: grid; place-items: center; padding: 16px; background: repeating-conic-gradient(#1c1c1c 0 25%, #191919 0 50%) 0 0 / 16px 16px; }
.ae-stage .comp { width: 100%; }
.ae-vbar { display: flex; align-items: center; gap: 14px; height: 30px; padding: 0 10px; background: var(--ui-2); border-top: 1px solid #000; font: 10.5px var(--mono); color: var(--ui-dim); }
.ae-play { width: 20px; height: 20px; border-radius: 4px; background: var(--ui-3); position: relative; flex: none; }
.ae-play::after { content: ""; position: absolute; left: 7px; top: 5px; border: 5px solid transparent; border-left: 7px solid #d9d9d9; border-right: 0; }
.ae-play.hit { background: var(--ae-blue); }
.tc { color: #79b8ff; }
.ae-log { border-left: 1px solid #000; display: flex; flex-direction: column; }
.ae-log ol { list-style: none; margin: 0; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; font: 11px/1.45 var(--mono); }
.ae-log li { color: #d6d6d6; padding-left: 14px; position: relative; animation: logIn .35s var(--expo-out); }
.ae-log li::before { content: ""; position: absolute; left: 0; top: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--claude); }
@keyframes logIn { from { opacity: 0; transform: translateY(6px); } }
.ae-tl { position: relative; background: var(--ui); border-top: 1px solid #000; padding-bottom: 8px; --label: 170px; font: 10.5px/1 var(--mono); color: var(--ui-dim); }
.ae-ruler { display: grid; grid-template-columns: var(--label) 1fr; height: 22px; align-items: center; background: var(--ui-2); border-bottom: 1px solid #000; }
.ae-ruler div { display: flex; justify-content: space-between; padding-right: 14px; }
.ae-ruler i { font-style: normal; }
.ae-row { display: grid; grid-template-columns: var(--label) 1fr; align-items: center; height: 24px; border-bottom: 1px solid #191919; }
.ae-row > span { padding-left: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #b8b8b8; }
.lane { position: relative; height: 100%; margin-right: 14px; }
.lane b { position: absolute; top: 6px; bottom: 6px; border-radius: 2px; background: #3d4a3d; }
.lane b.blue { background: #3b4b66; }
.lane i { position: absolute; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; background: #c7c7c7; transform: rotate(45deg); border-radius: 1px; }
.lane i.new { background: var(--claude); transform: rotate(45deg) scale(0); transition: transform .35s var(--expo-out); }
.ae.s-k1 .lane .k1, .ae.s-k2 .lane .k2 { transform: rotate(45deg) scale(1); }
.cti { position: absolute; top: 0; bottom: 0; left: calc(var(--label) + (100% - var(--label) - 14px) * .3); width: 1.5px; background: var(--ae-blue); z-index: 1; }
.cti::before { content: ""; position: absolute; top: 4px; left: -6px; width: 13px; height: 12px; background: var(--ae-blue); clip-path: polygon(0 0, 100% 0, 100% 60%, 50% 100%, 0 60%); }
.ae.s-play .cti { left: calc(var(--label) + (100% - var(--label) - 14px) * .62); transition: left 2.2s linear; }
.toast { position: absolute; left: 50%; top: 52px; translate: -50% 0; z-index: 3; display: flex; gap: 8px; align-items: center; padding: 9px 12px; border-radius: 8px; background: #f6f6f4; color: #121212; font: 500 12px var(--sans); box-shadow: 0 10px 30px rgba(0,0,0,.45); opacity: 0; transform: translateY(-8px); transition: opacity .3s, transform .4s var(--expo-out); }
.toast b { color: var(--green); }
.toast.show { opacity: 1; transform: none; }

/* the comp frame inside the viewer: one split-move cut when play is pressed */
.comp { position: relative; aspect-ratio: 16 / 9; border-radius: 3px; overflow: hidden; background: linear-gradient(160deg, #fbfcff, #eef1fb); }
.comp::before, .comp::after { content: ""; position: absolute; border-radius: 50%; filter: blur(26px); opacity: .55; }
.comp::before { width: 70%; height: 32%; left: -10%; bottom: -8%; background: #a8e9d8; }
.comp::after { width: 60%; height: 28%; right: -12%; top: -6%; background: #c3b4ff; }
.shot { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; }
.shot-b { opacity: 0; }
.ae.s-play .shot-a { animation: cutOut .6s var(--expo-in) forwards; }
.ae.s-play .shot-b { animation: cutIn .7s var(--expo-out) .6s forwards; }
@keyframes cutOut { 99% { opacity: 1; transform: translateX(-34%); } 100% { opacity: 0; transform: translateX(-34%); } }
@keyframes cutIn { from { opacity: 1; transform: translateX(34%); } to { opacity: 1; transform: none; } }
.persona { display: flex; align-items: center; gap: 12px; font: 500 clamp(17px, 2.5vw, 28px)/1 var(--sans); letter-spacing: -0.03em; color: #121212; }
.avatar { width: 1.6em; height: 1.6em; border-radius: 50%; background: radial-gradient(circle at 50% 38%, #ffd9b8 0 26%, transparent 27%), radial-gradient(circle at 50% 100%, var(--blue) 0 52%, transparent 53%), #dfe5fb; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--blue); }
.dash { width: 62%; background: #fff; border-radius: 10px; padding: 4% 5%; box-shadow: 0 14px 30px -16px rgba(20,26,51,.45); color: #121212; }
.dash-title { font: 500 clamp(12px, 1.6vw, 16px)/1.2 var(--sans); letter-spacing: -0.02em; margin-bottom: 8%; }
.dash-title span { display: inline-block; opacity: 0; }
.ae.s-play .dash-title span { animation: wordIn .5s var(--expo-out) 1.15s both; }
.ae.s-play .dash-title span:nth-child(2) { animation-delay: 1.23s; } .ae.s-play .dash-title span:nth-child(3) { animation-delay: 1.31s; } .ae.s-play .dash-title span:nth-child(4) { animation-delay: 1.39s; }
@keyframes wordIn { from { opacity: 0; transform: translateY(40%); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.bars { display: flex; align-items: flex-end; gap: 6%; height: 50px; }
.bars i { flex: 1; background: var(--blue); border-radius: 3px 3px 0 0; transform-origin: bottom; transform: scaleY(0); }
.bars i:nth-child(1) { height: 40%; } .bars i:nth-child(2) { height: 65%; } .bars i:nth-child(3) { height: 52%; } .bars i:nth-child(4) { height: 88%; background: #121212; }
.ae.s-play .bars i { animation: barUp .6s var(--expo-out) 1.3s forwards; }
.ae.s-play .bars i:nth-child(2) { animation-delay: 1.36s; } .ae.s-play .bars i:nth-child(3) { animation-delay: 1.42s; } .ae.s-play .bars i:nth-child(4) { animation-delay: 1.48s; }
@keyframes barUp { to { transform: scaleY(1); } }

/* Claude's pointer */
.cursor { position: absolute; left: 0; top: 0; z-index: 4; pointer-events: none; transition: transform .9s cubic-bezier(.65, 0, .35, 1); }
.cursor svg { width: 22px; height: 22px; margin: -3px 0 0 -3px; filter: drop-shadow(0 2px 3px rgba(0,0,0,.5)); }
.cursor span { position: absolute; left: 16px; top: 16px; white-space: nowrap; font: 600 11px/1 var(--sans); color: #fff; background: #ff7a1a; padding: 4px 7px; border-radius: 0 6px 6px 6px; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.cursor.flip span { left: auto; right: 6px; border-radius: 6px 0 6px 6px; }
.cursor::before { content: ""; position: absolute; left: -14px; top: -14px; width: 28px; height: 28px; border-radius: 50%; border: 2px solid #ff7a1a; opacity: 0; }
.cursor.click::before { animation: ping .45s ease-out; }
@keyframes ping { from { opacity: .9; transform: scale(.3); } to { opacity: 0; transform: scale(1.3); } }

/* works-with strip */
.strip { display: grid; grid-template-columns: repeat(5, 1fr); }
.strip span { padding: 30px 12px; text-align: center; font: 600 17px/1.2 var(--sans); letter-spacing: -0.02em; color: #4a4a47; }
.strip span + span { border-left: 1px solid var(--line); }
.strip small { display: block; font: 400 11.5px/1.4 var(--mono); color: var(--grey); text-transform: uppercase; margin-top: 4px; letter-spacing: 0; }

/* section heads */
.head { padding-block: 110px 80px; }

/* capabilities: sticky list + feature rows */
.cap { display: grid; grid-template-columns: 280px minmax(0, 1fr); }
.cap-nav { border-right: 1px solid var(--line); }
.cap-nav ol { list-style: none; margin: 0; padding: 90px 48px; position: sticky; top: 72px; }
.cap-nav li { margin: 0 0 12px; position: relative; }
.cap-nav a { text-decoration: none; color: #a3a39f; font-size: 16.5px; letter-spacing: -0.01em; transition: color .2s; }
.cap-nav a.on { color: var(--ink); }
.cap-nav a.on::before { content: ""; position: absolute; left: -48px; top: 2px; bottom: 2px; width: 2px; background: var(--ink); }
.cap-main { padding: 90px 24px; }
.feat { scroll-margin-top: 110px; margin-bottom: 72px; }
.feat:last-child { margin-bottom: 0; }
.feat-lead { display: flex; gap: 16px; align-items: flex-start; max-width: 600px; margin-bottom: 28px; padding-left: 24px; }
.icon { flex: none; width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--line); background: var(--panel); display: grid; place-items: center; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.icon svg { width: 17px; height: 17px; }
.feat-lead p { margin: 4px 0 0; font-size: 17.5px; line-height: 1.5; letter-spacing: -0.01em; color: var(--grey); }
.feat-lead p b { color: var(--ink); font-weight: 500; }
.stage { background: var(--panel-2); border: 1px solid var(--line); border-radius: 14px; padding: 48px 32px; display: grid; place-items: center; }
.card { width: min(100%, 470px); background: var(--panel); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 24px -14px rgba(0,0,0,.25); }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); font: 500 11.5px/1 var(--mono); text-transform: uppercase; color: var(--grey-2); }
.status { font: 500 10.5px/1 var(--mono); text-transform: uppercase; border: 1px solid var(--line); border-radius: 5px; padding: 4px 6px; color: var(--ink); white-space: nowrap; }
.status::before { content: "●"; color: var(--green); margin-right: 4px; font-size: 8px; vertical-align: 1px; }
.card-body { padding: 22px 18px; background: linear-gradient(#fafaf9, #f4f4f2); border-radius: 0 0 12px 12px; }

/* demo: rig chain */
.chain { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; row-gap: 10px; }
.node { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px; font-size: 13px; line-height: 1.3; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.node small { display: block; color: var(--grey); font: 11px var(--mono); }
.node.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.node.dark small { color: #a9a9a6; }
.wire { width: 22px; height: 1px; background: #bdbdb8; position: relative; }
.wire::after { content: ""; position: absolute; right: -2px; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: #8b8b88; }
.drift { margin-top: 18px; display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font: 11px var(--mono); color: var(--grey); }

/* demo: speed graph */
.graph { width: 100%; height: auto; }
.graph .grid { stroke: #e4e4e0; }
.graph .a { stroke: var(--ink); fill: none; stroke-width: 2; }
.graph .b { stroke: var(--blue); fill: none; stroke-width: 2; }
.graph text { font: 10.5px var(--mono); fill: var(--grey); }
.legend { display: flex; gap: 16px; margin-top: 12px; font: 11px var(--mono); color: var(--grey-2); }
.legend i { display: inline-block; width: 14px; height: 2px; vertical-align: 3px; margin-right: 6px; background: var(--ink); }
.legend i.b { background: var(--blue); }

/* demo: reveal */
.reveal-line { font: 400 26px/1.25 var(--sans); letter-spacing: -0.03em; text-align: center; margin: 6px 0 0; }
.reveal-line span { display: inline-block; animation: rev 4s infinite; }
.reveal-line span:nth-child(2) { animation-delay: .1s; } .reveal-line span:nth-child(3) { animation-delay: .2s; } .reveal-line span:nth-child(4) { animation-delay: .3s; } .reveal-line span:nth-child(5) { animation-delay: .4s; }
.reveal-line .acc { color: var(--blue); }
@keyframes rev { 0%, 8% { opacity: 0; transform: translateY(18px); filter: blur(8px); } 28%, 86% { opacity: 1; transform: none; filter: none; } 100% { opacity: 0; } }
.styles { display: flex; gap: 8px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }
.styles span { font: 11px var(--mono); border: 1px solid var(--line); border-radius: 999px; padding: 4px 9px; background: var(--panel); color: var(--grey-2); }
.styles span.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* demo: shape UI */
.ui-demo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ui-card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.ui-card .k { font: 11px var(--mono); color: var(--grey); text-transform: uppercase; }
.ui-card .v { font: 500 26px/1.1 var(--sans); letter-spacing: -0.03em; margin-top: 6px; }
.ring { width: 64px; height: 64px; margin: 4px auto 0; border-radius: 50%; background: conic-gradient(var(--blue) 0 72%, #e6e6e2 72% 100%); display: grid; place-items: center; }
.ring::after { content: "72%"; width: 48px; height: 48px; border-radius: 50%; background: #fff; display: grid; place-items: center; font: 500 12px var(--mono); }
.chips { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; }
.chips span { font-size: 12px; padding: 5px 10px; border-radius: 999px; background: #eef1ff; color: #2b3fcc; }
.chips span.warn { background: #fdecec; color: #b42326; }

/* demo: frame checks */
.sheet { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.thumb { background: #fff; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.thumb div { aspect-ratio: 16/9; background: linear-gradient(160deg, #fbfcff, #e9edf9); position: relative; overflow: hidden; }
.thumb div::after { content: ""; position: absolute; left: 30%; right: 30%; top: 42%; height: 7px; border-radius: 4px; background: #c9cbd6; }
.thumb.bad div::after { left: 52%; right: -6%; background: #f2b8b8; }
.thumb p { margin: 0; padding: 5px 7px; font: 10.5px var(--mono); color: var(--grey-2); display: flex; justify-content: space-between; gap: 4px; }
.thumb p b { color: var(--green); font-weight: 500; }
.thumb.bad p b { color: var(--red); }

/* dark: who it's for */
.darkzone { background: var(--dark); color: #f3f1ee; }
.dark-frame { width: min(var(--wrap), 100%); margin-inline: auto; border-inline: 1px solid var(--dark-line); }
.darkzone .pill { background: #1b1816; border-color: var(--dark-line); color: #f3f1ee; box-shadow: none; }
.dark-head { text-align: center; padding: 110px 48px 40px; }
.dark-head .h2 { margin-inline: auto; }
.tabs { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0 48px; }
.tabs button { all: unset; cursor: pointer; text-align: center; padding: 14px 6px; color: #8d8984; font-size: 15px; }
.tabs button:focus-visible { outline: 2px solid #fff; outline-offset: -4px; border-radius: 6px; }
.tabs button[aria-selected="true"] { color: #fff; }
.ruler { position: relative; height: 22px; margin: 4px 48px 0; background: repeating-linear-gradient(90deg, #4a4643 0 1px, transparent 1px 9px) 0 6px / 100% 10px no-repeat; }
.ruler i { position: absolute; top: 0; width: 1.5px; height: 20px; background: #fff; transition: left .45s var(--expo-out); }
.usecase { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; padding: 40px 48px 72px; border-top: 1px solid var(--dark-line); margin-top: 18px; }
.usecase[hidden] { display: none; }
.usecase h3 { font: 400 30px/1.2 var(--sans); letter-spacing: -0.03em; margin: 0; max-width: 13em; }
.usecase .copy { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.usecase .copy p { margin: 0; color: #c9c5bf; max-width: 32em; }
.term { background: #1b1816; border: 1px solid var(--dark-line); border-radius: 14px; padding: 18px; font: 13px/1.6 var(--mono); color: #d9d5cf; }
.term .who { color: #8d8984; text-transform: uppercase; font-size: 11px; }
.term .say { background: #2a2623; color: #fff; border-radius: 9px; padding: 10px 12px; margin: 6px 0 14px; font-family: var(--sans); font-size: 14px; }
.term .ok { color: #6ee7a8; }

/* how it works */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); }
.grid3 > div { padding: 40px 32px 44px; }
.grid3 > div + div { border-left: 1px solid var(--line); }
.how-art { height: 190px; display: grid; place-items: center; margin-bottom: 28px; }
.grid3 h3 { font: 500 16px/1.3 var(--sans); margin: 0 0 6px; }
.grid3 p { margin: 0; color: var(--grey-2); font-size: 15px; }
.mini-term { width: 100%; background: var(--ink); color: #e9e9e6; border-radius: 10px; padding: 14px; font: 11.5px/1.6 var(--mono); }
.mini-term .c { color: #8b8b88; }
.prompt { width: 100%; max-width: 260px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px; box-shadow: 0 8px 24px -14px rgba(0,0,0,.25); font-size: 13.5px; }
.prompt .row { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; color: var(--grey); font: 11.5px var(--mono); }
.prompt .row span:last-child { width: 24px; height: 24px; border-radius: 7px; background: var(--ink); }
.checks { width: 100%; max-width: 240px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 8px 24px -14px rgba(0,0,0,.25); }
.checks div { display: flex; justify-content: space-between; padding: 9px 12px; font: 11.5px var(--mono); border-top: 1px solid var(--line); }
.checks div:first-child { border-top: 0; font-family: var(--sans); font-size: 13px; font-weight: 500; }
.checks b { color: var(--green); font-weight: 500; }

/* set up + style */
.setup { display: grid; grid-template-columns: 1fr 1fr; }
.setup > div { padding: 56px 48px; }
.setup > div + div { border-left: 1px solid var(--line); }
.setup h3 { font: 400 26px/1.2 var(--sans); letter-spacing: -0.03em; margin: 14px 0 12px; }
.setup p { color: var(--grey-2); margin: 0 0 20px; max-width: 30em; }
pre { background: var(--ink); color: #e9e9e6; border-radius: 12px; padding: 16px 18px; overflow-x: auto; line-height: 1.6; margin: 0 0 18px; }
pre .c { color: #8b8b88; }
.textlink { font: 500 12.5px/1 var(--mono); text-transform: uppercase; }

/* closing */
.closing { text-align: center; padding: 110px 48px; }
.closing .h2 { margin: 18px auto 32px; }
.closing .actions { justify-content: center; }
footer a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
footer a:hover { color: var(--blue); }
.legal-links { display: flex; gap: 18px; flex-wrap: wrap; }
.legal-links a { color: var(--grey-2); text-decoration: none; }
.legal-links a:hover { color: var(--ink); text-decoration: underline; }
.doc.legal { margin-inline: auto; padding-top: 72px; }
.doc.legal h1 + p { color: var(--grey); font: 12.5px var(--mono); text-transform: uppercase; }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 28px 48px 40px; font: 12px/1.5 var(--mono); color: var(--grey); text-transform: uppercase; }

/* ---------- docs page ---------- */
.docs { display: grid; grid-template-columns: 240px minmax(0, 1fr); }
.toc { border-right: 1px solid var(--line); }
.toc > div { position: sticky; top: 72px; padding: 48px 32px 48px 48px; }
.toc p { font: 500 12px var(--mono); text-transform: uppercase; color: var(--grey); margin: 0 0 14px; }
.toc ol { list-style: none; margin: 0; padding: 0; font-size: 14.5px; }
.toc li { margin: 0 0 10px; }
.toc a { color: var(--grey-2); text-decoration: none; }
.toc a:hover { color: var(--ink); }
.doc { padding: 56px 56px 96px; max-width: 820px; min-width: 0; }
.doc h1 { font: 400 clamp(36px, 5vw, 54px)/1.08 var(--sans); letter-spacing: -0.035em; margin: 0 0 14px; }
.doc h2 { font: 400 30px/1.2 var(--sans); letter-spacing: -0.03em; margin: 64px 0 16px; scroll-margin-top: 90px; }
.doc h3 { font: 500 17px/1.3 var(--sans); margin: 28px 0 8px; }
.doc p, .doc li { color: #3b3b39; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin-bottom: 6px; }
.doc blockquote { margin: 18px 0; padding: 14px 18px; border: 1px solid var(--line); background: var(--panel); border-radius: 10px; color: var(--grey-2); }
.doc blockquote p { margin: 0; }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
.table-scroll { overflow-x: auto; margin: 14px 0 22px; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 500 11.5px var(--mono); text-transform: uppercase; color: var(--grey); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .band { padding: 64px 40px 0; }
  .ae-body { grid-template-columns: minmax(0, 1fr) 200px; }
  .ae-project { display: none; }
  .ae-tl { --label: 130px; }
  .cap { grid-template-columns: 1fr; }
  .cap-nav { display: none; }
  .cap-main { padding: 64px 24px; }
  .grid3, .setup, .usecase { grid-template-columns: 1fr; }
  .grid3 > div + div, .setup > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .strip { grid-template-columns: repeat(3, 1fr); }
  .strip span:nth-child(4) { border-left: 0; }
  .strip span:nth-child(n+4) { border-top: 1px solid var(--line); }
  .docs { grid-template-columns: 1fr; }
  .toc { border-right: 0; border-bottom: 1px solid var(--line); }
  .toc > div { position: static; padding: 28px 24px; }
  .doc { padding: 40px 24px 80px; }
}
@media (max-width: 680px) {
  .pad, .band, .dark-head, .setup > div, .closing, footer { padding-inline: 20px; }
  .band { padding-top: 48px; }
  .nav { gap: 12px; }
  .nav-links { display: none; }
  .chain { flex-direction: column; }
  .wire { width: 1px; height: 14px; }
  .wire::after { right: -2px; top: auto; bottom: -2px; }
  .nav .btn { padding: 10px 12px; font-size: 12px; }
  .brand { font-size: 16px; }
  .ae-body { grid-template-columns: 1fr; }
  .ae-log { display: none; }
  .ae-tools, .ae-vbar span:nth-child(n+3) { display: none; }
  .ae-tl { --label: 104px; }
  .ae-row:nth-child(n+5) { display: none; }
  .toast { top: 48px; white-space: nowrap; }
  .head { padding-block: 72px 48px; }
  .hero-copy { padding-block: 56px 44px; }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip span { border-left: 0 !important; border-top: 1px solid var(--line); }
  .strip span:nth-child(-n+2) { border-top: 0; }
  .strip span:nth-child(odd) { border-right: 1px solid var(--line); }
  .strip span:last-child { grid-column: 1 / -1; border-right: 0; }
  .cap-main { padding: 56px 14px; }
  .feat-lead { padding-left: 4px; }
  .stage { padding: 24px 12px; }
  .tabs { padding: 0 12px; grid-template-columns: repeat(2, 1fr); }
  .ruler { display: none; }
  .usecase { padding: 28px 20px 48px; }
  .grid3 > div { padding: 32px 20px; }
  .sheet { grid-template-columns: 1fr 1fr; }
  .ui-demo { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal-line span, .ae-log li { animation: none; }
  .ae.s-play .shot-a { animation: none; opacity: 0; }
  .ae.s-play .shot-b, .ae.s-play .dash-title span, .ae.s-play .bars i { animation: none; opacity: 1; transform: none; filter: none; }
  .cti, .cursor, .ae.s-play .cti { transition: none; }
  .ruler i { transition: none; }
  .streaks i { animation: none; }
}
