/* Knight AI+AV, v3 (2026-10-26). The keep: a moonlit library and cathedral world, the gold helm, the
   white and red KNIGHT AI+AV wordmark, product relics with their own glow. Night is the hall after dark;
   Day turns the same plates into etchings on limestone. */

@font-face { font-family: "Archivo"; src: url("../v2/fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Knight Display"; src: url("../v2/fonts/knight-display.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Knight Mono"; src: url("../v2/fonts/mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --sans: "Archivo", system-ui, sans-serif;
  --serif: "Knight Display", Georgia, serif;
  --mono: "Knight Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --gut: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --sect: clamp(80px, 10vw, 150px);
  --r: 22px;

  /* Day: limestone and ink, the plates printed as etchings */
  color-scheme: light;
  --bg: #ece7df;
  --bg-2: #e3ddd3;
  --surface: #f6f2ec;
  --ink: #17140f;
  --ink-2: #554f47;
  --ink-3: #6b655c;
  --rule: #cdc5b8;
  --red: #c4231b;
  --red-text: #a81d16;
  --gold: #7c5d1c;
  --ember: #c2541b;
  --ember-text: #a3431a;
  --tide: #0f7f77;
  --focus: #1f5fd1;
  --plate-filter: grayscale(1) invert(1) contrast(.92) brightness(1.04) sepia(.18);
  --plate-opacity: .5;
  --veil: linear-gradient(180deg, rgba(236, 231, 223, .35) 0%, rgba(236, 231, 223, .55) 55%, var(--bg) 100%);
  --glass: rgba(246, 242, 236, .72);
  --wm-a: var(--ink);
  --wm-b: var(--red);
  --shadow: 0 30px 80px -30px rgba(40, 28, 10, .35);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #08080a;
  --bg-2: #0e0e11;
  --surface: #121215;
  --ink: #ede9e3;
  --ink-2: #a39d94;
  --ink-3: #8c867d;
  --rule: #26252a;
  --red: #e3261f;
  --red-text: #ff5446;
  --gold: #cfaa62;
  --ember: #ff6f33; --ember-text: #ff6f33;
  --tide: #39d6c8;
  --focus: #8bb6ff;
  --plate-filter: saturate(.85) brightness(.92);
  --plate-opacity: 1;
  --veil: radial-gradient(120% 90% at 50% 40%, rgba(8, 8, 10, .15) 0%, rgba(8, 8, 10, .6) 60%, var(--bg) 100%);
  --glass: rgba(14, 14, 17, .66);
  --shadow: 0 40px 100px -30px rgba(0, 0, 0, .8);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --bg: #08080a; --bg-2: #0e0e11; --surface: #121215; --ink: #ede9e3; --ink-2: #a39d94; --ink-3: #8c867d;
    --rule: #26252a; --red: #e3261f; --red-text: #ff5446; --gold: #cfaa62; --ember: #ff6f33; --ember-text: #ff6f33; --tide: #39d6c8; --focus: #8bb6ff;
    --plate-filter: saturate(.85) brightness(.92); --plate-opacity: 1;
    --veil: radial-gradient(120% 90% at 50% 40%, rgba(8, 8, 10, .15) 0%, rgba(8, 8, 10, .6) 60%, var(--bg) 100%);
    --glass: rgba(14, 14, 17, .66); --shadow: 0 40px 100px -30px rgba(0, 0, 0, .8);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); font-stretch: 100%; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: clip; transition: background-color .5s var(--ease), color .5s var(--ease); }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
main:focus { outline: none; }

/* Film grain over everything, very quiet */
body::after { content: ""; position: fixed; inset: -50%; z-index: 150; pointer-events: none; opacity: .07; 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='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* Royal cursor on mouse-driven screens, plus a ring that names what a click does */
@media (pointer: fine) {
  html.cursor, html.cursor a, html.cursor button, html.cursor summary, html.cursor label { cursor: url("img/cursor-32.png") 3 2, auto; }
  html.cursor input, html.cursor textarea { cursor: text; }
}
.ring { position: fixed; left: 0; top: 0; z-index: 160; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--gold) 70%, transparent); pointer-events: none; display: grid; place-items: center; opacity: 0; transform: translate3d(-100px, -100px, 0); transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background-color .35s var(--ease), opacity .3s; }
.ring span { font: 500 11px/1 var(--mono); letter-spacing: .06em; color: var(--bg); opacity: 0; transition: opacity .2s; }
.ring.on { opacity: 1; }
.ring.big { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--gold); border-color: var(--gold); }
.ring.big span { opacity: 1; }

/* ------------------------------------------------------------- wordmark */
/* Each stroke has pathLength 1, so a dash offset of 1 hides it and 0 draws it in full. */
.wm { display: block; width: 100%; height: auto; overflow: visible; }
.wm path { stroke-dasharray: 1 1; }
.wm .wm-a { stroke: var(--wm-a); stroke-dashoffset: var(--draw-a, 0); }
.wm .wm-b { stroke: var(--wm-b); stroke-dashoffset: var(--draw-b, 0); }

/* Load-in states, set in <head> before first paint. If the script never runs, these give up after a
   few seconds so nothing stays hidden. */
html.intro-run .intro .wm, html.intro-lite .hero h1 .wm { --draw-a: 1; --draw-b: 1; animation: intro-safe .01s 5s forwards; }
html.intro-lite .hero .pill, html.intro-lite .hero .relic, html.intro-lite .cue { opacity: 0; animation: intro-safe .01s 5s forwards; }
html.intro-run .intro { animation: intro-gone .01s 8s forwards; }
@keyframes intro-safe { to { opacity: 1; --draw-a: 0; --draw-b: 0; } }
@keyframes intro-gone { to { opacity: 0; visibility: hidden; } }

/* ---------------------------------------------------------------- intro */
.intro { position: fixed; inset: 0; z-index: 180; display: none; place-items: center; background: var(--bg); }
html.intro-run .intro { display: grid; }
.intro .seal { display: grid; justify-items: center; gap: 22px; width: min(520px, 78vw); }
.intro .helm { width: 64px; height: 64px; }
.intro .wm { width: 100%; }
.intro .bar { width: 62%; height: 1px; background: var(--rule); overflow: hidden; }
.intro .bar i { display: block; height: 100%; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: 0 50%; }
.intro .count { font: 500 12px/1 var(--mono); color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------- header */
.top { position: fixed; inset: 0 0 auto; z-index: 120; transition: transform .5s var(--ease), background-color .4s, border-color .4s; border-bottom: 1px solid transparent; }
.top.solid { background: var(--glass); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); border-bottom-color: color-mix(in srgb, var(--rule) 70%, transparent); }
.top.away { transform: translateY(-100%); }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 72px; max-width: none; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 30px; height: 30px; }
.brand .wm { width: 150px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 999px; color: var(--ink); position: relative; }
.nav a:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 1px; background: var(--red); }
.flag { display: inline-flex !important; align-items: center; gap: 8px; border: 1px solid color-mix(in srgb, var(--ember) 55%, var(--rule)); }
.flag small { font: 500 10px/1 var(--mono); letter-spacing: .05em; color: var(--ember-text); border: 1px solid color-mix(in srgb, var(--ember) 45%, transparent); padding: 3px 6px; border-radius: 99px; }
.theme { display: inline-flex; border: 1px solid var(--rule); border-radius: 999px; padding: 3px; gap: 2px; }
.theme button { border: 0; background: none; padding: 6px 11px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.theme button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--ink); background: var(--ink); color: var(--bg); font-size: 15px; font-weight: 600; text-decoration: none; letter-spacing: .005em; white-space: nowrap; position: relative; overflow: hidden; isolation: isolate; transition: color .35s var(--ease), border-color .35s; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--red); transform: translateY(101%); transition: transform .45s var(--ease); }
.btn:hover::before { transform: none; }
.btn:hover { border-color: var(--red); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); border-color: color-mix(in srgb, var(--ink) 35%, transparent); }
.btn.small { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translate(3px, -3px); }
.menu-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--rule); background: color-mix(in srgb, var(--surface) 60%, transparent); display: grid; place-items: center; padding: 0; }
.menu-btn span, .menu-btn span::before { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; transition: transform .4s var(--ease); }
.menu-btn span::before { content: ""; position: absolute; top: 6px; }
.menu-btn span { transform: translateY(-3px); }
html.menu-open .menu-btn span { transform: translateY(0) rotate(45deg); }
html.menu-open .menu-btn span::before { transform: translateY(-6px) rotate(-90deg); }
@media (max-width: 1180px) { .nav .sec { display: none; } }
@media (max-width: 860px) { .nav, .top .theme, .top .cta { display: none; } .brand .wm { width: 132px; } }

/* ----------------------------------------------------------------- menu */
.menu { position: fixed; inset: 0; z-index: 110; background: var(--bg); visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-io), visibility 0s linear .7s; overflow-y: auto; }
html.menu-open .menu { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .7s var(--ease-io); }
.menu .plate { position: absolute; inset: 0; opacity: .22; }
.menu .inner { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding: 120px var(--gut) 48px; min-height: 100%; align-content: start; }
.menu .big { list-style: none; margin: 0; padding: 0; }
.menu .big a { display: flex; align-items: baseline; gap: 18px; text-decoration: none; font: 400 clamp(44px, 6.4vw, 92px)/1.02 var(--serif); padding: 4px 0; }
.menu .big a small { font: 500 13px/1 var(--mono); color: var(--ink-3); }
.menu .big a:hover { color: var(--red-text); }
.menu h2 { font: 500 13px/1 var(--mono); color: var(--ink-3); margin: 10px 0 18px; letter-spacing: .04em; }
.menu ul.col { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.menu ul.col a { text-decoration: none; font-size: 20px; }
.menu ul.col a:hover { color: var(--red-text); }
.menu .foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; border-top: 1px solid var(--rule); padding-top: 24px; }
.menu .foot .theme { display: inline-flex; }
html.menu-open { overflow: hidden; }
@media (max-width: 860px) { .menu .inner { grid-template-columns: 1fr 1fr; padding-top: 104px; } .menu .big-wrap { grid-column: 1 / -1; } }

/* --------------------------------------------------------------- plates */
.plate { position: relative; overflow: hidden; }
.plate img { width: 100%; height: 100%; object-fit: cover; filter: var(--plate-filter); opacity: var(--plate-opacity); transition: filter .6s, opacity .6s; }

/* ----------------------------------------------------------------- hero */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr auto; overflow: hidden; isolation: isolate; }
.hero .plate { position: absolute; inset: 0; z-index: -2; }
.hero .plate img { transform: scale(1.08); transform-origin: 50% 40%; will-change: transform; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--veil); }
.hero .center { align-self: center; display: grid; justify-items: center; gap: 28px; padding: 120px var(--gut) 40px; text-align: center; }
.hero h1 { margin: 0; width: min(1180px, 88vw); }
.hero .wm { filter: drop-shadow(0 6px 30px rgba(0, 0, 0, .35)); }
.pill { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--red) 40%, var(--rule)); background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font: 500 14px/1.2 var(--mono); color: var(--ink); }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px color-mix(in srgb, var(--red) 22%, transparent); animation: rec 1.2s steps(1) infinite; }
@keyframes rec { 50% { opacity: .2; } }
.relics { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; width: min(980px, 100%); margin: 0 auto; padding: 0 var(--gut) 34px; }
.relic { --glow: var(--ember); display: grid; grid-template-columns: 92px 1fr auto; align-items: center; gap: 18px; padding: 16px 20px 16px 16px; border-radius: 26px; border: 1px solid color-mix(in srgb, var(--glow) 30%, var(--rule)); background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); text-decoration: none; position: relative; transform-style: preserve-3d; transition: border-color .4s, transform .5s var(--ease), box-shadow .5s; }
.relic.tide { --glow: var(--tide); }
.relic::before { content: ""; position: absolute; left: 22%; right: 22%; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--glow), transparent); }
.relic img { width: 92px; height: 92px; border-radius: 22px; box-shadow: 0 18px 40px -16px color-mix(in srgb, var(--glow) 70%, transparent); transition: transform .6s var(--ease); }
.relic:hover { border-color: var(--glow); box-shadow: 0 30px 80px -40px var(--glow); }
.relic:hover img { transform: rotate(-6deg) scale(1.05); }
.relic > div { min-width: 0; }
.relic b { display: block; font: 400 clamp(26px, 2.6vw, 36px)/1 var(--serif); }
.relic > div > span { display: block; margin-top: 6px; color: var(--ink-2); font-size: 15px; }
.relic .go { font: 500 12px/1 var(--mono); color: var(--glow); border: 1px solid color-mix(in srgb, var(--glow) 45%, transparent); padding: 8px 10px; border-radius: 99px; white-space: nowrap; }
.cue { position: absolute; right: var(--gut); bottom: 40px; writing-mode: vertical-rl; font: 500 12px/1 var(--mono); color: var(--ink-3); letter-spacing: .1em; display: flex; align-items: center; gap: 12px; }
.cue::after { content: ""; width: 1px; height: 56px; background: linear-gradient(var(--ink-3), transparent); animation: drip 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 760px) {
  .relics { grid-template-columns: 1fr; gap: 12px; }
  .relic { grid-template-columns: 64px 1fr auto; padding: 12px 14px 12px 12px; border-radius: 20px; }
  .relic img { width: 64px; height: 64px; border-radius: 16px; }
  .cue { display: none; }
  .hero .center { padding-top: 104px; gap: 22px; }
}

/* --------------------------------------------------------------- ticker */
.ticker { border-block: 1px solid var(--rule); background: var(--bg-2); display: grid; grid-template-columns: auto 1fr; align-items: stretch; overflow: hidden; }
.ticker .rank { display: flex; align-items: center; gap: 10px; padding: 0 22px; border-right: 1px solid var(--rule); font: 500 13px/1.2 var(--mono); text-decoration: none; white-space: nowrap; background: var(--bg); }
.ticker .rank img { width: 20px; height: 20px; border-radius: 5px; }
.ticker .rank:hover { color: var(--red-text); }
.marq { overflow: hidden; display: flex; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marq .track { display: flex; flex: none; gap: 0; padding: 22px 0; will-change: transform; }
.marq span { font: 400 clamp(26px, 3.4vw, 46px)/1 var(--serif); white-space: nowrap; padding: 0 26px; display: inline-flex; align-items: center; gap: 52px; }
.marq span::after { content: "\2726"; font-size: .45em; color: var(--red); }
.marq span.out { color: transparent; -webkit-text-stroke: 1px var(--ink-2); }
@media (max-width: 760px) { .ticker { grid-template-columns: 1fr; } .ticker .rank { border-right: 0; border-bottom: 1px solid var(--rule); padding: 12px 16px; } }

/* -------------------------------------------------------------- sections */
.sect { padding-block: var(--sect); position: relative; }
.eyebrow { display: flex; align-items: center; gap: 14px; font: 500 13px/1 var(--mono); color: var(--ink-3); margin-bottom: 28px; }
.eyebrow b { color: var(--red-text); font-weight: 500; }
.eyebrow::after { content: ""; flex: 1; height: 1px; background: var(--rule); max-width: 220px; }
.h2 { font: 400 clamp(44px, 7.4vw, 112px)/.98 var(--serif); margin: 0; letter-spacing: -.01em; }
.h3 { font: 400 clamp(30px, 3.6vw, 50px)/1.04 var(--serif); margin: 0; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 56ch; margin: 18px 0 0; }
.split .ln { display: block; overflow: hidden; padding: .14em 0 .08em; margin: -.14em 0 -.08em; }
.split .ln > span { display: inline-block; will-change: transform; }

/* ----------------------------------------------------- product chapters */
.chapter { --glow: var(--ember); position: relative; padding-block: clamp(70px, 8vw, 120px); overflow: hidden; }
.chapter.tide { --glow: var(--tide); }
.chapter .grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.chapter.flip .grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.chapter.flip .art { order: 2; }
.art { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.art::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--glow) 34%, transparent), transparent 70%); filter: blur(30px); }
.art img { position: relative; width: 78%; height: auto; will-change: transform; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .35)); }
.art .halo { position: absolute; inset: 2%; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--glow) 30%, transparent); }
.art .halo.two { inset: 12%; border-style: dashed; opacity: .5; }
.chapter .kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font: 500 13px/1 var(--mono); color: var(--ink-2); margin-bottom: 22px; }
.chapter .kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 14px var(--glow); }
.chapter .name { font: 400 clamp(64px, 11vw, 168px)/.9 var(--serif); margin: 0; letter-spacing: -.02em; }
.chapter .tag { font: 400 clamp(24px, 2.6vw, 36px)/1.15 var(--serif); margin: 18px 0 0; }
.chapter .tag em { font-style: normal; color: var(--glow); }
.chips { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1px solid var(--rule); border-radius: 999px; padding: 8px 14px; font-size: 14px; color: var(--ink-2); background: color-mix(in srgb, var(--surface) 50%, transparent); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 30px; }
.chapter .btn:not(.ghost)::before { background: var(--glow); }
.chapter .btn:not(.ghost):hover { border-color: var(--glow); color: #0b0b0b; }
@media (max-width: 900px) {
  .chapter .grid, .chapter.flip .grid { grid-template-columns: 1fr; }
  .chapter.flip .art { order: 0; }
  .art { width: min(380px, 80vw); margin: 0 auto; }
}

/* D-REC transcript demo */
.demo { margin-top: 40px; border: 1px solid var(--rule); border-radius: var(--r); background: color-mix(in srgb, var(--surface) 75%, transparent); backdrop-filter: blur(8px); overflow: hidden; }
.demo .bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--rule); font: 500 13px/1 var(--mono); color: var(--ink-2); }
.demo .bar .rec { display: inline-flex; align-items: center; gap: 8px; color: var(--red-text); }
.demo .bar .rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: rec 1s steps(1) infinite; }
.scrub { position: relative; height: 3px; background: var(--rule); }
.scrub::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--at, 0%); background: var(--glow); transition: width .45s var(--ease); }
.transcript { display: grid; padding: 6px; }
.line { display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: baseline; text-align: left; border: 0; background: none; padding: 12px 14px; border-radius: 12px; font-size: 16px; color: var(--ink-2); transition: background-color .25s, color .25s; }
.line .tc { font: 500 13px/1 var(--mono); font-variant-numeric: tabular-nums; color: var(--ink-3); }
.line:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); color: var(--ink); }
.line[aria-current="true"] { background: color-mix(in srgb, var(--glow) 14%, transparent); color: var(--ink); }
.line[aria-current="true"] .tc { color: var(--ink); }

/* Talk DAT! hold-to-talk demo */
.dictate { padding: 18px; display: grid; gap: 14px; }
.dictate .field { min-height: 92px; border: 1px solid var(--rule); border-radius: 14px; padding: 14px 16px; font-size: 17px; background: var(--bg); }
.dictate .placeholder { color: var(--ink-3); }
.dictate .caret { display: inline-block; width: 2px; height: 1.1em; vertical-align: -.18em; background: var(--ink); margin-left: 2px; animation: rec 1s steps(1) infinite; }
.hold { position: relative; overflow: hidden; min-height: 56px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--glow) 55%, var(--rule)); background: color-mix(in srgb, var(--glow) 10%, transparent); font-weight: 600; font-size: 15px; display: flex; align-items: center; justify-content: center; gap: 12px; user-select: none; -webkit-user-select: none; touch-action: none; }
.hold .bars { display: inline-flex; gap: 3px; align-items: center; height: 18px; }
.hold .bars i { width: 3px; height: 30%; border-radius: 2px; background: var(--glow); }
.hold.on .bars i { animation: eq .7s var(--ease) infinite alternate; }
.hold.on .bars i:nth-child(2) { animation-delay: .1s; } .hold.on .bars i:nth-child(3) { animation-delay: .2s; } .hold.on .bars i:nth-child(4) { animation-delay: .05s; } .hold.on .bars i:nth-child(5) { animation-delay: .15s; }
@keyframes eq { to { height: 100%; } }

/* ------------------------------------------------------------------ work */
.feature { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: end; margin-top: 56px; }
.reel { position: relative; border-radius: var(--r); overflow: hidden; background: #000; aspect-ratio: 16 / 9; clip-path: inset(0 0 0 0 round var(--r)); box-shadow: var(--shadow); }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel .meta { position: absolute; left: 16px; bottom: 16px; font: 500 12px/1 var(--mono); color: #fff; background: rgba(0, 0, 0, .5); padding: 8px 12px; border-radius: 99px; backdrop-filter: blur(6px); }
.feature .copy .h3 { margin-top: 10px; }
.feature .copy p { color: var(--ink-2); margin: 14px 0 0; max-width: 44ch; }
.feature .when { font: 500 13px/1.4 var(--mono); color: var(--ink-3); }
.omni { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; margin-top: 28px; padding: clamp(24px, 3.4vw, 44px); border-radius: var(--r); border: 1px solid var(--rule); background: color-mix(in srgb, var(--surface) 70%, transparent); text-decoration: none; transition: border-color .4s; }
.omni:hover { border-color: color-mix(in srgb, var(--red) 50%, var(--rule)); }
.omni .small { font: 500 13px/1 var(--mono); color: var(--ink-3); }
.omni p { color: var(--ink-2); margin: 12px 0 0; max-width: 46ch; }
.formats { display: grid; gap: 8px; }
.formats div { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 1px solid var(--rule); border-radius: 12px; padding: 12px 16px; font: 500 13px/1 var(--mono); background: var(--bg); }
.formats b { font-weight: 500; }
.formats span { color: var(--ink-2); text-align: right; }
.index { list-style: none; margin: 56px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.index a { display: grid; grid-template-columns: 70px 1.2fr 1fr 48px; gap: 16px; align-items: center; padding: clamp(18px, 2.4vw, 30px) 4px; border-bottom: 1px solid var(--rule); text-decoration: none; position: relative; overflow: hidden; }
.index a::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); z-index: -1; }
.index li { position: relative; z-index: 0; }
.index a:hover::before { transform: scaleY(1); }
.index a:hover { color: var(--bg); }
.index .n { font: 500 13px/1 var(--mono); color: var(--ink-3); }
.index .t { font: 400 clamp(28px, 3.4vw, 50px)/1 var(--serif); transition: transform .5s var(--ease); }
.index a:hover .t { transform: translateX(14px); }
.index .k { color: var(--ink-2); font-size: 15px; }
.index a:hover .k, .index a:hover .n { color: color-mix(in srgb, var(--bg) 70%, transparent); }
.index .go { justify-self: end; font-size: 22px; transition: transform .5s var(--ease); }
.index a:hover .go { transform: rotate(-45deg); }
.peek { position: fixed; left: 0; top: 0; z-index: 90; width: 300px; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; pointer-events: none; opacity: 0; transform: translate3d(-400px, -400px, 0) scale(.85); transition: opacity .35s var(--ease); box-shadow: var(--shadow); }
.peek.on { opacity: 1; }
.peek img { width: 100%; height: 100%; object-fit: cover; filter: var(--plate-filter); }
.ask { margin-top: 64px; display: grid; justify-items: center; text-align: center; gap: 16px; padding: clamp(36px, 6vw, 72px) var(--gut); border-radius: var(--r); border: 1px solid var(--rule); position: relative; overflow: hidden; }
.ask .plate { position: absolute; inset: 0; z-index: -1; opacity: .25; }
.ask p { color: var(--ink-2); margin: 0; max-width: 52ch; }
@media (max-width: 900px) {
  .feature, .omni { grid-template-columns: 1fr; }
  .index a { grid-template-columns: 44px 1fr 36px; }
  .index .k { display: none; }
  .peek { display: none; }
}

/* -------------------------------------------------------------- services */
.services { list-style: none; margin: 56px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.services details { border-bottom: 1px solid var(--rule); }
.services summary { list-style: none; display: grid; grid-template-columns: 70px 1fr auto; gap: 16px; align-items: center; padding: clamp(22px, 2.6vw, 34px) 4px; }
.services summary::-webkit-details-marker { display: none; }
.services .n { font: 500 13px/1 var(--mono); color: var(--red-text); }
.services .t { font: 400 clamp(28px, 3.8vw, 56px)/1.02 var(--serif); }
.services .plus { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--rule); position: relative; transition: transform .5s var(--ease), background-color .3s; }
.services .plus::before, .services .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -.75px 0 0 -7px; background: var(--ink); }
.services .plus::after { transform: rotate(90deg); transition: transform .5s var(--ease); }
.services details[open] .plus { background: var(--ink); }
.services details[open] .plus::before, .services details[open] .plus::after { background: var(--bg); }
.services details[open] .plus::after { transform: rotate(0); }
.services summary:hover .t { color: var(--red-text); }
.services .body { display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding: 0 4px 34px; }
.services .body p { grid-column: 2; margin: 0; color: var(--ink-2); max-width: 52ch; font-size: 18px; }
.services .body .chips { grid-column: 3; margin: 0; align-content: start; }
@media (max-width: 760px) { .services summary { grid-template-columns: 40px 1fr auto; } .services .body { grid-template-columns: 1fr; padding-left: 4px; } .services .body p, .services .body .chips { grid-column: 1; } }

/* ----------------------------------------------------------------- tools */
.tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.tool { display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px; padding: 24px; min-height: 320px; border-radius: var(--r); border: 1px solid var(--rule); background: color-mix(in srgb, var(--surface) 70%, transparent); text-decoration: none; position: relative; overflow: hidden; transition: transform .6s var(--ease), border-color .4s; }
.tool:hover { transform: translateY(-8px); border-color: color-mix(in srgb, var(--gold) 60%, var(--rule)); }
.tool svg { width: 44px; height: 44px; stroke: var(--gold); fill: none; stroke-width: 1.4; }
.tool b { font: 400 30px/1.05 var(--serif); }
.tool p { margin: 0; color: var(--ink-2); font-size: 15px; }
.tool .go { font: 500 13px/1 var(--mono); color: var(--ink); display: flex; justify-content: space-between; border-top: 1px solid var(--rule); padding-top: 14px; }
.tool .go::after { content: "\2197"; transition: transform .4s var(--ease); }
.tool:hover .go::after { transform: translate(3px, -3px); }
@media (max-width: 1100px) { .tools { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tools { grid-template-columns: 1fr; } .tool { min-height: 0; } }

/* AI rankings panel */
.ranks { margin-top: 20px; border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; display: grid; grid-template-columns: minmax(220px, .8fr) repeat(3, minmax(0, 1fr)); background: color-mix(in srgb, var(--surface) 70%, transparent); }
.ranks > div, .ranks > a { padding: 22px 24px; border-left: 1px solid var(--rule); text-decoration: none; }
.ranks > :first-child { border-left: 0; }
.ranks .ttl { display: grid; gap: 8px; align-content: center; }
.ranks .ttl b { font: 400 26px/1.1 var(--serif); }
.ranks .ttl span { color: var(--ink-2); font-size: 14px; }
.ranks .m { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; align-items: center; transition: background-color .3s; }
.ranks .m:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); }
.ranks .m .pos { grid-row: span 2; font: 400 40px/1 var(--serif); color: var(--gold); }
.ranks .m .nm { font-weight: 600; display: flex; gap: 8px; align-items: center; min-width: 0; }
.ranks .m .nm img { width: 18px; height: 18px; border-radius: 4px; flex: none; }
.ranks .m .nm span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ranks .m .sc { font: 500 13px/1 var(--mono); color: var(--ink-2); }
@media (max-width: 900px) { .ranks { grid-template-columns: 1fr; } .ranks > div, .ranks > a { border-left: 0; border-top: 1px solid var(--rule); } .ranks > :first-child { border-top: 0; } }

/* ----------------------------------------------------------------- about */
.about { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: center; margin-top: 56px; }
.portrait { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; position: relative; }
.portrait img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .8s var(--ease), transform 1.2s var(--ease); }
.portrait:hover img { filter: none; transform: scale(1.03); }
.portrait figcaption { position: absolute; left: 14px; bottom: 14px; font: 500 12px/1 var(--mono); color: #fff; background: rgba(0, 0, 0, .5); padding: 8px 12px; border-radius: 99px; }
.about .say { font: 400 clamp(26px, 2.8vw, 40px)/1.25 var(--serif); margin: 0; }
.about .say em { font-style: normal; color: var(--gold); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .portrait { max-width: 420px; } }

/* --------------------------------------------------------------- contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); margin-top: 24px; }
.contact .mail { display: inline-flex; gap: 10px; align-items: baseline; font: 400 clamp(22px, 2.4vw, 32px)/1.2 var(--serif); text-decoration: none; border-bottom: 1px solid var(--rule); padding-bottom: 6px; margin-top: 30px; overflow-wrap: anywhere; }
.contact .mail:hover { color: var(--red-text); border-color: var(--red); }
.facts { display: grid; gap: 0; margin: 40px 0 0; border-top: 1px solid var(--rule); }
.facts div { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.facts dt { font: 500 13px/1.6 var(--mono); color: var(--ink-3); }
.facts dd { margin: 0; }
.form { display: grid; gap: 16px; padding: clamp(22px, 3vw, 36px); border-radius: var(--r); border: 1px solid var(--rule); background: color-mix(in srgb, var(--surface) 80%, transparent); align-content: start; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 8px; font-size: 14px; font-weight: 600; }
.form label small { font-weight: 400; color: var(--ink-3); }
.form input, .form textarea { width: 100%; border: 1px solid var(--rule); border-radius: 12px; background: var(--bg); padding: 13px 14px; font-size: 16px; font-weight: 400; transition: border-color .25s; }
.form input:focus, .form textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 30%, transparent); }
.form textarea { min-height: 150px; resize: vertical; }
.form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.form legend { font-size: 14px; font-weight: 600; padding: 0; margin-bottom: 10px; }
.needs { display: flex; flex-wrap: wrap; gap: 8px; }
.needs label { display: inline-flex; font-weight: 500; }
.needs input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.needs span { border: 1px solid var(--rule); border-radius: 999px; padding: 9px 14px; font-size: 14px; background: var(--bg); transition: background-color .25s, color .25s, border-color .25s; }
.needs input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.needs input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.form .count { font: 500 12px/1 var(--mono); color: var(--ink-3); justify-self: end; margin-top: -8px; }
.form .foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form .msg { margin: 0; font-size: 15px; }
.form .msg.ok { color: var(--tide); font-weight: 600; }
.form .msg.err { color: var(--red-text); font-weight: 600; }
.form .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form .direct { font-size: 14px; color: var(--ink-2); margin: 0; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form .two { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- footer */
.foot-main { position: relative; padding: clamp(64px, 9vw, 120px) 0 28px; border-top: 1px solid var(--rule); overflow: hidden; }
.foot-main .big { margin: 0 0 clamp(40px, 6vw, 80px); }
.foot-cols { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-cols h2 { font: 500 13px/1 var(--mono); color: var(--ink-3); margin: 0 0 18px; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-cols a:not(.btn) { text-decoration: none; color: var(--ink); }
.foot-cols a:not(.btn):hover { color: var(--red-text); }
.foot-cols .say { font: 400 26px/1.25 var(--serif); margin: 0 0 22px; max-width: 18ch; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 64px; padding-top: 22px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--ink-2); }
.foot-legal p { margin: 0; }
.foot-legal a { color: inherit; }
@media (max-width: 900px) { .foot-cols { grid-template-columns: 1fr 1fr; } .foot-cols > :first-child { grid-column: 1 / -1; } }

/* ----------------------------------------------------------- inner pages */
.page-head { position: relative; padding-top: 150px; padding-bottom: 56px; overflow: hidden; isolation: isolate; }
.page-head .plate { position: absolute; inset: 0; z-index: -2; }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 40%, transparent), var(--bg)); }
.page-head .h1 { font: 400 clamp(52px, 8vw, 120px)/.95 var(--serif); margin: 0; }
.page-head .lead { margin-top: 18px; }
.page-head .lead a { color: inherit; }
.prose { max-width: 74ch; padding-bottom: var(--sect); }
.prose h2 { font: 400 clamp(28px, 2.8vw, 38px)/1.1 var(--serif); margin: 56px 0 14px; }
.prose h3 { font-size: 19px; font-weight: 650; margin: 30px 0 8px; }
.prose p + p { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 1.2em; display: grid; gap: 8px; margin: 12px 0; }
.prose a { text-decoration-color: color-mix(in srgb, var(--ink) 35%, transparent); text-underline-offset: 3px; }
.prose a:hover { color: var(--red-text); text-decoration-color: currentColor; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 16px 0; }
.prose th, .prose td { border-top: 1px solid var(--rule); padding: 10px 12px 10px 0; text-align: left; vertical-align: top; }
.prose strong { font-weight: 650; }
.studio { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.studio img { border-radius: var(--r); width: 100%; height: auto; }
@media (max-width: 860px) { .studio { grid-template-columns: 1fr; } }
.notfound { min-height: 100svh; display: grid; align-content: center; justify-items: start; gap: 22px; padding-top: 120px; padding-bottom: 80px; position: relative; isolation: isolate; }
.notfound .plate { position: fixed; inset: 0; z-index: -2; }
.notfound::before { content: ""; position: fixed; inset: 0; z-index: -1; background: var(--veil); }
.notfound .h1 { font: 400 clamp(52px, 9vw, 140px)/.95 var(--serif); margin: 0; }
.slate { display: inline-flex; gap: 14px; align-items: center; font: 500 14px/1 var(--mono); font-variant-numeric: tabular-nums; border: 1px solid var(--rule); padding: 10px 14px; border-radius: 99px; background: var(--glass); }
.slate .rec { color: var(--red-text); display: inline-flex; gap: 8px; align-items: center; }
.slate .rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: rec 1s steps(1) infinite; }


/* ------------------------------------------------------------ odds and ends */
.theme-art-dark { display: none; }
:root[data-theme="dark"] .theme-art-light { display: none; }
:root[data-theme="dark"] .theme-art-dark { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .theme-art-light { display: none; } :root:not([data-theme]) .theme-art-dark { display: block; } }
figure { margin: 0; }
.chapter .kicker span { color: var(--ink-3); padding-left: 10px; border-left: 1px solid var(--rule); }
.chapter .copy { max-width: 640px; }
.chapter .lead { margin-top: 16px; }
.demo .bar strong { font-weight: 500; color: var(--ink); margin-right: auto; margin-left: 4px; }
.demo.dictate { padding: 18px; }
.ranks .ttl .btn { justify-self: start; margin-top: 6px; }
.foot-main .big .wm { width: 100%; }
.foot-cols .actions { margin-top: 0; }
.menu .big-wrap h2 { margin-top: 0; }
.hero h1 .sr { position: absolute; }
.omni .h3 { margin-top: 10px; }
.ask .h3 { max-width: 20ch; }
.ask .btn { margin-top: 8px; }
.page-head .plate img { opacity: calc(var(--plate-opacity) * .55); }

/* ------------------------------------------------------- reveal states */
html.ready .rv:not(.in) { opacity: 0; transform: translateY(28px); }
html.ready .rv.in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1.1s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  html.ready .rv:not(.in) { opacity: 1; transform: none; }
  .hero .plate img { transform: none; }
  .ring, .peek { display: none; }
}

/* ------------------------------------------- Dandelist (2026-10-28) */
/* The third flagship, in its own emerald and gold. Emerald passes 4.5:1 as text on both grounds. */
:root { --emerald: #1d6a46; --on-emerald: #fff; }
:root[data-theme="dark"] { --emerald: #3fbf86; --on-emerald: #0b0b0b; }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) { --emerald: #3fbf86; --on-emerald: #0b0b0b; } }
.relic.dand, .chapter.dand { --glow: var(--emerald); }
.chapter.dand .btn:not(.ghost):hover { color: var(--on-emerald); }
.chapter.dand .art img { border-radius: 22%; }
@media (min-width: 1100px) {
  .relics { grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(1240px, 100%); }
  .relics .relic { grid-template-columns: 72px 1fr auto; gap: 14px; }
  .relics .relic img { width: 72px; height: 72px; border-radius: 18px; }
}
@media (min-width: 761px) and (max-width: 1099px) { .relics { grid-template-columns: 1fr; width: min(600px, 100%); gap: 12px; } }

.demo.plan { padding: 18px; }
.plan-note { margin: 0 0 12px; font: 500 12px/1 var(--mono); color: var(--ink-3); }
.plan-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.plan-items label { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--rule); border-radius: 14px; cursor: pointer; transition: border-color .3s; }
.plan-items label:hover { border-color: var(--emerald); }
.plan-items input { width: 18px; height: 18px; margin: 0; accent-color: var(--emerald); }
.plan-items .n { font-weight: 600; }
.plan-items .p { text-align: right; font-variant-numeric: tabular-nums; }
.plan-items small { display: block; color: var(--ink-3); font-size: 12px; font-weight: 400; }
.plan-save { display: grid; grid-template-columns: 1fr auto; gap: 10px 12px; align-items: center; margin-top: 18px; }
.plan-save label { font-size: 14px; color: var(--ink-2); }
.plan-save output { font: 400 24px/1 var(--serif); font-variant-numeric: tabular-nums; }
.plan-save input { grid-column: 1 / -1; width: 100%; margin: 0; accent-color: var(--emerald); }
.plan-result { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.plan-result span { color: var(--ink-2); }
.plan-result strong { font: 400 clamp(30px, 3.2vw, 44px)/1 var(--serif); color: var(--emerald); font-variant-numeric: tabular-nums; }
.plan-result small { flex-basis: 100%; color: var(--ink-2); font-size: 14px; }

/* /dandelist/: the hero is a dark emerald panel in both themes, framed below the header */
.dl-hero { --ink: #f2ebdc; --ink-2: #d4cbb8; --ink-3: #bdb29b; --bg: #03140d; --rule: rgba(242, 235, 220, .24); --red: #cba35c; --focus: #9cc4ff;
  position: relative; isolation: isolate; overflow: hidden; margin: 84px var(--gut) 0; border-radius: 28px; min-height: min(82vh, 820px);
  display: grid; align-items: end; padding: clamp(48px, 8vw, 110px) 0; background: #03140d; color: var(--ink); color-scheme: dark; }
.dl-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.dl-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(3, 20, 13, .92) 0%, rgba(3, 20, 13, .7) 45%, rgba(3, 20, 13, .25) 100%); }
.dl-status { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 30px; padding: 9px 14px; border: 1px solid var(--rule); border-radius: 99px; background: rgba(3, 20, 13, .55); font: 500 13px/1.2 var(--mono); color: var(--ink-2); }
.dl-status i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #cba35c; box-shadow: 0 0 14px #cba35c; }
.dl-hero h1 { margin: 0; }
.dl-hero h1 img { display: block; width: min(720px, 80vw); height: auto; }
.dl-tag { margin: 26px 0 0; font: 400 clamp(28px, 3.4vw, 48px)/1.1 var(--serif); }
.dl-lead { max-width: 50ch; margin: 16px 0 0; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--ink-2); }
.dl-hero .btn:hover { color: #03140d; }
.dl-steps { list-style: none; counter-reset: step; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.dl-steps li { counter-increment: step; padding: 26px 22px 28px; border-top: 1px solid var(--emerald); }
.dl-steps li::before { content: counter(step); display: block; margin-bottom: 22px; font: 400 44px/1 var(--serif); color: var(--emerald); }
.dl-steps h3, .dl-feats h3 { margin: 0; font: 400 clamp(24px, 2.2vw, 30px)/1.12 var(--serif); }
.dl-steps p, .dl-feats p { margin: 12px 0 0; color: var(--ink-2); line-height: 1.6; }
.dl-shots { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 300px)); justify-content: center; gap: clamp(18px, 3vw, 44px); }
.dl-shots:focus-visible { outline: 2px solid var(--focus); outline-offset: 6px; border-radius: 12px; }
.dl-shots figure { margin: 0; }
.dl-shots img { display: block; width: 100%; height: auto; border-radius: 30px; border: 1px solid var(--rule); background: #03140d; box-shadow: 0 40px 80px -40px color-mix(in srgb, var(--emerald) 60%, transparent); }
.dl-shots figcaption { margin-top: 16px; text-align: center; color: var(--ink-2); line-height: 1.5; }
.dl-try { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.dl-try .demo { margin-top: 0; }
.dl-feats { margin-top: 56px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; }
.dl-feats article { padding: clamp(26px, 3vw, 44px); background: var(--bg); }
.dl-cta { text-align: center; }
.dl-cta .wrap { display: grid; justify-items: center; }
.dl-icon { width: 120px; height: 120px; border-radius: 27px; margin-bottom: 30px; box-shadow: 0 30px 70px -30px color-mix(in srgb, var(--emerald) 80%, transparent); }
.dl-cta .lead { margin-inline: auto; }
.dl-cta .actions { justify-content: center; }
.dl-legal { margin: 30px 0 0; font-size: 14px; color: var(--ink-3); }
.dl-legal a { color: var(--ink-2); }
@media (max-width: 1000px) { .dl-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dl-try { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .dl-hero { margin: 76px 10px 0; border-radius: 22px; min-height: 0; padding-top: 56px; }
  .dl-hero::after { background: linear-gradient(180deg, rgba(3, 20, 13, .55) 0%, rgba(3, 20, 13, .92) 70%); }
  .dl-steps, .dl-feats { grid-template-columns: 1fr; }
  .dl-shots { grid-template-columns: repeat(3, 72vw); justify-content: start; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .dl-shots figure { scroll-snap-align: center; }
}
.chapter.dand .name { font-size: clamp(52px, 7.4vw, 116px); }
@media (max-width: 900px) { .chapter.dand .name { font-size: clamp(52px, 14vw, 116px); } }
