/*
 * alran.dev — one stylesheet for every page (published from content/raw/_shared).
 * A product page in the manner of a Pro launch: black stages for the product and the model, light gray
 * and white for the reading parts, very large type, one accent (the Ottili violet #674EB0 with the
 * ottili.one button shadow) and steel for the product name, after the brushed-steel Alran mark.
 * Motion is progressive: the stylesheet only hides or moves what the module has taken over
 * (html[data-anim]), and nothing moves under reduced motion.
 */

@font-face { font-family: 'Inter'; src: url('/assets/_shared/fonts/inter-latin-wght-normal.3100e775.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('/assets/_shared/fonts/jetbrains-mono-latin-wght-normal.18be4527.woff2') format('woff2'); font-weight: 100 800; font-display: swap; }
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

:root {
  --black: #000;
  --tile: #161617;
  --tile-2: #1d1d1f;
  --gray: #f5f5f7;
  --white: #fff;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #6e6e73;
  --line: #d2d2d7;
  --d-ink: #f5f5f7;
  --d-ink-2: #a1a1a6;
  --d-ink-3: #8f8f95;
  --d-line: rgba(255, 255, 255, .14);

  --violet: #674EB0;
  --violet-hover: #5A43A0;
  --violet-ink: #5A43A0;
  --violet-soft: #EFEBFA;
  --violet-night: #B9A9FF;
  --ok: #1F8A5B;
  --term: #0E0E12;
  --steel: linear-gradient(180deg, #ffffff 0%, #e4e4ea 38%, #9d9da6 100%);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', ui-sans-serif, system-ui, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --max: 1180px;
  --gut: clamp(16px, 4vw, 40px);
  --r: 28px;
  --ease: cubic-bezier(.2, .75, .2, 1);
  --shadow-btn: inset 0 1px 0 rgb(255 255 255 / .28), 0 8px 20px -10px color-mix(in srgb, #674eb0 85%, transparent);
  --shadow-win: 0 50px 100px -40px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .06);
  color-scheme: light;
}
[data-contrast='more'] { --ink-2: #3a3a3f; --ink-3: #4f4f55; --d-ink-2: #d1d1d6; --d-ink-3: #c0c0c6; --line: #a9a9b1; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
[data-motion='reduce'] { scroll-behavior: auto; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.47 var(--font); letter-spacing: -.011em; font-feature-settings: 'cv11', 'ss01'; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
a { color: inherit; }
p, h1, h2, h3, figure { margin: 0; }
h1, h2, h3 { font-weight: 600; }
ul, ol { margin: 0; padding: 0; list-style: none; }
code, kbd, pre { font-family: var(--mono); font-feature-settings: 'calt' 0, 'liga' 0; font-variant-ligatures: none; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.center { text-align: center; }

/* ---------- global nav (family) and local nav (product) ---------- */
.fam { background: #161617; color: var(--d-ink-2); font-size: 12px; }
.fam-in { display: flex; align-items: center; gap: 22px; height: 40px; }
.fam nav { display: flex; gap: 22px; }
.fam a { color: var(--d-ink-2); text-decoration: none; }
.fam a:hover { color: var(--d-ink); }
.langs { margin-left: auto; display: flex; gap: 2px; font: 500 11.5px/1 var(--font); }
.langs a { padding: 5px 8px; border-radius: 6px; }
.langs a[aria-current='page'] { color: var(--d-ink); background: rgba(255, 255, 255, .14); }

.hdr { position: sticky; top: 0; z-index: 50; transition: background .35s, border-color .35s; background: rgba(255, 255, 255, .8); border-bottom: 1px solid rgba(0, 0, 0, .08); -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px); }
.hdr-in { display: flex; align-items: center; gap: 20px; height: 56px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); flex: none; }
.logo img { width: 26px; height: 26px; }
.logo span { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { padding: 8px 10px; font-size: 13.5px; color: var(--ink-2); text-decoration: none; border-radius: 8px; transition: color .35s; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current='page'] { color: var(--ink); font-weight: 600; }
.hdr-act { display: flex; align-items: center; gap: 6px; }
.gh { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: var(--ink-2); }
.gh:hover { color: var(--ink); }
.gh svg { width: 19px; height: 19px; }
.gh span { display: none; }
.mnav { display: none; position: relative; }
.mnav summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: var(--ink-2); }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary svg { width: 18px; height: 18px; }
.mnav-p { position: absolute; right: 0; top: 46px; width: min(280px, calc(100vw - 32px)); display: grid; padding: 8px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 24px 48px -20px rgba(0, 0, 0, .35); }
.mnav-p a { padding: 12px; border-radius: 10px; text-decoration: none; font-weight: 500; }
.mnav-p a:hover { background: var(--gray); }
/* a page that opens on a black stage gets a dark bar */
body.dark-top { background: var(--black); }
.dark-top .hdr { background: rgba(22, 22, 23, .78); border-bottom-color: rgba(255, 255, 255, .08); }
.dark-top .hdr .logo, .dark-top .nav a[aria-current='page'], .dark-top .nav a:hover, .dark-top .hdr .gh:hover { color: var(--d-ink); }
.dark-top .nav a, .dark-top .hdr .gh, .dark-top .mnav summary { color: var(--d-ink-2); }

/* ---------- buttons and links ---------- */
.acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.acts-c { justify-content: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 24px; border-radius: 980px; font: 500 17px/1 var(--font); letter-spacing: -.01em; text-decoration: none; white-space: nowrap; transition: background .2s, box-shadow .2s, transform .2s, color .2s; }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-sm { height: 32px; padding: 0 14px; font-size: 13.5px; }
.btn-primary { background: var(--violet); color: #fff; box-shadow: var(--shadow-btn); }
.btn-primary:hover { background: var(--violet-hover); }
.btn-primary:active { transform: scale(.98); }
.btn-secondary { color: var(--violet-ink); box-shadow: inset 0 0 0 1px var(--violet); }
.btn-secondary:hover { background: var(--violet); color: #fff; }
.on-dark .btn-secondary, .sec-dark .btn-secondary, .stage .btn-secondary { color: var(--violet-night); box-shadow: inset 0 0 0 1px var(--violet-night); }
.on-dark .btn-secondary:hover, .sec-dark .btn-secondary:hover, .stage .btn-secondary:hover { background: var(--violet-night); color: #000; }
.btn .short { display: none; }
.more { display: inline-flex; align-items: center; gap: 4px; font-size: 19px; color: var(--violet-ink); text-decoration: none; }
.more::after { content: '›'; font-size: 1.2em; line-height: 1; transform: translateY(-1px); transition: transform .2s; }
.more:hover { text-decoration: underline; text-underline-offset: 3px; }
.more:hover::after { transform: translate(3px, -1px); }
.sec-dark .more, .on-dark .more, .stage .more { color: var(--violet-night); }
.link { color: var(--violet-ink); font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.link svg { width: 15px; height: 15px; }
.sec-dark .link { color: var(--violet-night); }

.cmd { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 5px 6px 5px 18px; border-radius: 26px; background: var(--gray); font: 500 15px/1 var(--mono); color: var(--ink); max-width: 100%; }
.cmd code { min-width: 0; white-space: normal; overflow-wrap: anywhere; line-height: 1.4; background: none; border: 0; padding: 0; border-radius: 0; font-size: inherit; }
.cmd .p { color: var(--ink-3); }
.stage .cmd, .on-dark .cmd, .sec-dark .cmd { background: rgba(255, 255, 255, .1); color: var(--d-ink); }
.stage .cmd .p, .on-dark .cmd .p, .sec-dark .cmd .p { color: var(--d-ink-3); }
.copy { flex: none; font: 500 12.5px/1 var(--font); color: var(--ink-2); background: #fff; border: 0; border-radius: 980px; padding: 9px 13px; cursor: pointer; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.copy:hover { color: var(--ink); }
.copy[data-state='done'] { color: var(--ok); }
.stage .copy, .on-dark .copy, .sec-dark .copy { background: rgba(255, 255, 255, .12); color: var(--d-ink); box-shadow: none; }

/* ---------- type ---------- */
.eyebrow { font-size: clamp(19px, 2vw, 24px); font-weight: 600; letter-spacing: -.01em; color: var(--violet-ink); }
.sec-dark .eyebrow, .on-dark .eyebrow { color: var(--violet-night); }
.steel { background: var(--steel); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mega { font-size: clamp(3.4rem, 10.5vw, 9.4rem); line-height: .94; letter-spacing: -.05em; font-weight: 700; }
.h1 { font-size: clamp(3rem, 7.4vw, 6.2rem); line-height: 1; letter-spacing: -.045em; font-weight: 700; text-wrap: balance; }
.h1-sm { font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.02; letter-spacing: -.04em; }
.h1 .dot, .mega .dot { color: var(--violet); }
.stage .mega .dot { color: var(--violet-night); }
.h2 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); line-height: 1.04; letter-spacing: -.04em; font-weight: 700; text-wrap: balance; }
.h3 { font-size: clamp(21px, 2vw, 28px); line-height: 1.14; letter-spacing: -.02em; font-weight: 600; }
.lede { font-size: clamp(19px, 1.9vw, 24px); line-height: 1.35; color: var(--ink-2); max-width: 46ch; font-weight: 500; letter-spacing: -.015em; }
.sec-dark .lede, .on-dark .lede, .stage .lede { color: var(--d-ink-2); }
/* the launch-page paragraph: grey, with the point in full ink */
.say { font-size: clamp(19px, 2vw, 24px); line-height: 1.38; font-weight: 600; letter-spacing: -.015em; color: var(--ink-3); max-width: 40ch; }
.say strong { color: var(--ink); font-weight: 600; }
.sec-dark .say, .on-dark .say { color: var(--d-ink-3); }
.sec-dark .say strong, .on-dark .say strong { color: var(--d-ink); }
.muted { color: var(--ink-2); }
.small { font-size: 14px; line-height: 1.5; }
.label { font: 600 12px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--violet-ink); }
.sec-dark .label { color: var(--violet-night); }
.prod { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; color: var(--ink-2); }
.prod img { width: 26px; height: 26px; }
.head { display: grid; gap: 18px; max-width: 860px; margin-bottom: clamp(40px, 6vw, 72px); }
.head-c { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.head-c .lede, .head-c .say { margin: 0 auto; }
p code, li code, td code, dd code { font-size: .86em; padding: .12em .42em; border-radius: 6px; background: var(--gray); color: var(--ink); }
.sec-white p code { background: #ececf0; }
.sec-dark p code, .sec-dark li code { background: rgba(255, 255, 255, .1); color: var(--d-ink); }

/* ---------- sections ---------- */
.sec { padding: clamp(96px, 13vw, 160px) 0; position: relative; }
.sec-tight { padding: clamp(48px, 6vw, 80px) 0; }
.sec-gray { background: var(--gray); }
.sec-white { background: var(--white); }
.sec-dark, .on-dark { background: var(--black); color: var(--d-ink); color-scheme: dark; }
.sec-dark :focus-visible, .on-dark :focus-visible, .stage :focus-visible { outline-color: var(--violet-night); }

/* ---------- motion (only once the module runs; never under reduced motion) ---------- */
[data-anim] [data-reveal] { opacity: 0; transform: translateY(42px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
[data-anim] [data-reveal='fade'] { transform: none; }
[data-anim] [data-reveal='zoom'] { transform: scale(.94); }
[data-anim] [data-reveal][data-in] { opacity: 1; transform: none; }
[data-anim] .d1 { transition-delay: .12s; }
[data-anim] .d2 { transition-delay: .24s; }
[data-anim] .d3 { transition-delay: .36s; }
[data-anim] .d4 { transition-delay: .48s; }
[data-anim] .d5 { transition-delay: .6s; }

/* ---------- hero: the product on a black stage ---------- */
.stage { background: var(--black); color: var(--d-ink); color-scheme: dark; position: relative; overflow: hidden; text-align: center; padding: clamp(40px, 5vw, 64px) 0 clamp(64px, 8vw, 104px); }
.stage .chip-wrap { margin-bottom: clamp(28px, 4vw, 44px); }
.stage-in { display: grid; justify-items: center; gap: 20px; }
.hero-mark { position: relative; width: clamp(110px, 14vw, 190px); margin-bottom: 8px; }
.hero-mark img { width: 100%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .6)); }
.hero-mark::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .75) 49%, rgba(200, 190, 255, .4) 52%, transparent 62%) 140% 0 / 260% 100% no-repeat;
  -webkit-mask: url('/assets/_shared/img/alran-mark-640.f38fae85.webp') center / contain no-repeat; mask: url('/assets/_shared/img/alran-mark-640.f38fae85.webp') center / contain no-repeat;
  animation: sheen 7s var(--ease) 1.4s infinite;
}
.hero-mark::before { content: ''; position: absolute; left: 4%; right: 4%; bottom: -24%; height: 26%; border-radius: 50%; background: radial-gradient(closest-side, rgba(150, 128, 255, .38), transparent); filter: blur(18px); }
.hero-float { animation: float 9s ease-in-out infinite; }
@keyframes sheen { 0% { background-position: 140% 0; } 45%, 100% { background-position: -40% 0; } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-10px) rotate(-1.2deg); } }
.stage .eyebrow { font-size: clamp(21px, 2.4vw, 28px); }
.stage .lede { margin: 0 auto; max-width: 38ch; }
.stage .acts { justify-content: center; margin-top: 14px; }
.stage-note { font-size: 14px; color: var(--d-ink-3); }

/* ---------- a subpage's opening: centred, light ---------- */
.hero { padding: clamp(64px, 9vw, 120px) 0 0; text-align: center; }
.hero-in { display: grid; justify-items: center; gap: 22px; }
.hero .lede { margin: 0 auto; }
.hero .acts { justify-content: center; }
.hero-b { padding-bottom: clamp(48px, 6vw, 80px); }
.hero-vis { margin-top: clamp(48px, 6vw, 72px); padding-bottom: clamp(72px, 9vw, 120px); }
.hero .stats { width: 100%; text-align: left; }
.hero + .sec-tight { padding-top: 0; }
.hero + .sec-tight.pt { padding-top: clamp(40px, 5vw, 64px); }

/* ---------- the film: the real CLI, played back ---------- */
.film { padding: 0 0 clamp(96px, 12vw, 150px); overflow-x: clip; }
.film-head { text-align: center; padding-top: clamp(32px, 5vw, 64px); margin-bottom: clamp(36px, 5vw, 56px); display: grid; gap: 14px; justify-items: center; }
.film-stage { perspective: 1800px; }
.film-win { --p: 1; transform-origin: 50% 0; transform: rotateX(calc((1 - var(--p)) * 24deg)) scale(calc(.82 + .18 * var(--p))); opacity: calc(.3 + .7 * var(--p)); }
.film-hud { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 760px; margin: 32px auto 0; }
.hud { border-radius: 20px; background: var(--tile-2); padding: 18px 22px; text-align: left; }
.hud b { display: block; font-size: clamp(28px, 3.4vw, 42px); font-weight: 650; letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; transition: color .4s; }
.hud span { font-size: 13.5px; color: var(--d-ink-3); }
.hud[data-done] b { color: #86e5b0; }
.film-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; margin-top: 22px; }
.play { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px 0 12px; border-radius: 980px; border: 0; background: rgba(255, 255, 255, .14); color: var(--d-ink); font: 500 13.5px/1 var(--font); cursor: pointer; }
.play:hover { background: rgba(255, 255, 255, .22); }
.play svg { width: 14px; height: 14px; fill: currentColor; }
.play .i-play { display: none; }
.play[data-paused] .i-play { display: block; }
.play[data-paused] .i-pause { display: none; }
.play[hidden] { display: none; }
.cap { margin-top: 14px; font-size: 13.5px; color: var(--ink-3); }
.sec-dark .cap, .on-dark .cap, .stage .cap { color: var(--d-ink-3); }
.film-bar .cap { margin: 0; }

/* ---------- terminal window ---------- */
.win { border-radius: 16px; overflow: hidden; background: var(--term); box-shadow: var(--shadow-win); }
.on-dark .win, .sec-dark .win { box-shadow: 0 70px 140px -60px rgba(130, 110, 255, .45), 0 0 0 1px rgba(255, 255, 255, .1); }
.win-bar { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 14px; background: #19191F; border-bottom: 1px solid rgba(255, 255, 255, .06); font: 500 12px/1 var(--mono); color: #8E8D99; }
.win-bar .dots { display: flex; gap: 7px; }
.win-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: #3A3A44; }
.win-bar .dots i:nth-child(1) { background: #ff5f57; }
.win-bar .dots i:nth-child(2) { background: #febc2e; }
.win-bar .dots i:nth-child(3) { background: #28c840; }
.win-bar .t { flex: 1; text-align: center; padding-right: 50px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-body { container-type: inline-size; padding: 16px 18px 18px; text-align: left; }
.tui { margin: 0; color: #EDEDF1; white-space: pre; overflow: hidden; font: 400 13px/1.32 var(--mono); --lh: 1.32em; }
.tui .bd { font-weight: 700; }
.tui .it { font-style: italic; }
.tui .ul { text-decoration: underline; }
.tui .st { text-decoration: line-through; }
.tui .g { display: inline-block; width: 1ch; height: var(--lh); vertical-align: top; text-align: center; overflow: visible; }
.tui .g.w2 { width: 2ch; }
.tui .blk { display: inline-block; height: var(--lh); vertical-align: top; background: currentColor; }
.tui .rl { display: inline-block; height: var(--lh); vertical-align: top; background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat; }
.tui .vl { display: inline-block; height: var(--lh); vertical-align: top; background: linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat; }

/* ---------- highlights gallery ---------- */
.gal { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 max(var(--gut), calc((100vw - var(--max)) / 2)) 8px; scroll-padding: 0 max(var(--gut), calc((100vw - var(--max)) / 2)); scrollbar-width: none; overscroll-behavior-x: contain; }
.gal::-webkit-scrollbar { display: none; }
.gal-nav { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 30px; }
.gal-dots { display: flex; gap: 2px; padding: 4px 10px; border-radius: 980px; background: rgba(0, 0, 0, .06); }
.gal-dots button { min-width: 24px; height: 36px; border: 0; padding: 0 4px; background: none; cursor: pointer; display: grid; place-items: center; }
.gal-dots button::before { content: ''; width: 8px; height: 8px; border-radius: 99px; background: rgba(0, 0, 0, .3); transition: width .3s var(--ease), background .3s; }
.gal-dots button[aria-current='true']::before { width: 36px; background: var(--ink); }
.gal-arrow { width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .06); color: var(--ink); cursor: pointer; }
.gal-arrow:hover { background: rgba(0, 0, 0, .1); }
.gal-arrow:disabled { opacity: .35; cursor: default; }
.gal-arrow svg { width: 18px; height: 18px; }
.gal-nav[hidden] { display: none; }

/* ---------- words that light up while you read ---------- */
.words { font-size: clamp(32px, 4.8vw, 66px); line-height: 1.1; letter-spacing: -.04em; font-weight: 700; max-width: 21ch; margin: 0 auto; text-align: center; color: var(--ink); }
.words .hi { color: var(--violet); }
[data-anim] .words .w { color: #d2d2d7; transition: color .4s; }
[data-anim] .words .w[data-on] { color: var(--ink); }
[data-anim] .words .w.hi[data-on] { color: var(--violet); }

/* ---------- scroll-scrubbed steps ---------- */
.scrub-track { height: 330vh; }
.scrub-pin { position: sticky; top: 56px; min-height: calc(100vh - 56px); display: grid; align-items: center; padding: 28px 0; }
.scrub-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.scrub-steps { display: grid; gap: 6px; }
.scrub-step { padding: 16px 20px; border-radius: 18px; transition: background .3s, opacity .3s; }
.scrub[data-live] .scrub-step { opacity: .42; }
.scrub[data-live] .scrub-step[data-active] { opacity: 1; }
.scrub-step[data-active] { background: var(--white); }
.scrub-step .n { font: 600 13px/1 var(--font); color: var(--violet-ink); }
.scrub-step h3 { font-size: clamp(21px, 2.1vw, 27px); line-height: 1.15; letter-spacing: -.025em; margin: 8px 0 4px; }
.scrub-step p { color: var(--ink-2); font-size: 16px; }
.scrub-meter { height: 3px; border-radius: 3px; background: rgba(0, 0, 0, .08); margin-top: 18px; overflow: hidden; }
.scrub-meter i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--violet); }
.scrub:not([data-live]) .scrub-track { height: auto; }
.scrub:not([data-live]) .scrub-pin { position: static; min-height: 0; }

/* ---------- feature tiles (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.tile { grid-column: span 2; border-radius: var(--r); background: var(--white); padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; gap: 12px; min-width: 0; overflow: hidden; position: relative; }
.sec-white .tile { background: var(--gray); }
.tile.w3 { grid-column: span 3; }
.tile.w4 { grid-column: span 4; }
.tile.w6 { grid-column: span 6; }
.tile p { color: var(--ink-2); font-size: 17px; }
.tile .h3 span { color: var(--ink-3); }
.tile-vis { margin-top: auto; padding-top: 14px; }
.tile-vis .win { box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); border-radius: 14px; }
.tile-vis .win-body { padding: 12px 12px 14px; }
.tile-vis .tui { --tui-max: 12.5px; }
.sec-dark .tile { background: var(--tile); color: var(--d-ink); }
.sec-dark .tile p { color: var(--d-ink-2); }
.sec-dark .tile .h3 span { color: var(--d-ink-3); }
.num, .tile .num { font-size: clamp(52px, 6.4vw, 92px); font-weight: 700; letter-spacing: -.05em; line-height: .95; font-variant-numeric: tabular-nums; }
.num small { font-size: .36em; font-weight: 600; letter-spacing: -.02em; margin-left: 6px; }
.num-grad { background: linear-gradient(90deg, #e2daff 0%, #b3a2f4 50%, #8f78ea 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tile .k { font-size: 16px; color: var(--ink-2); }
p.center { margin-top: clamp(32px, 4vw, 56px); }
.tbl-note.center { margin-left: auto; margin-right: auto; }
.sec-dark .tile .k { color: var(--d-ink-2); }
.tile-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(185, 169, 255, .14); color: var(--violet-night); }
.tile-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- the Werk chip ---------- */
.chip-wrap { display: grid; justify-items: center; margin: 0 auto clamp(56px, 7vw, 96px); }
.chip { position: relative; width: clamp(210px, 28vw, 330px); aspect-ratio: 1; border-radius: 22%; padding: 2px; background: conic-gradient(from var(--ang), #2c2c33, #d4caff, #6a55c4, #a8dcff, #2c2c33 62%, #2c2c33); animation: spin 7s linear infinite; box-shadow: 0 60px 140px -40px rgba(124, 92, 255, .5); }
@keyframes spin { to { --ang: 360deg; } }
.chip-in { position: relative; height: 100%; border-radius: 21%; background: radial-gradient(120% 120% at 30% 18%, #2a2a31 0%, #111114 52%, #060607 100%); display: grid; place-items: center; overflow: hidden; }
.chip-in::before { content: ''; position: absolute; inset: 10%; border-radius: 16%; border: 1px solid rgba(255, 255, 255, .09); background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 13px), repeating-linear-gradient(0deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 13px); }
.chip-txt { position: relative; z-index: 1; display: grid; justify-items: center; gap: 8px; }
.chip-txt img { width: 54px; }
.chip-txt b { font-size: clamp(34px, 4.6vw, 54px); letter-spacing: -.035em; line-height: 1; font-weight: 700; }
.chip-txt span { font: 600 11.5px/1 var(--font); letter-spacing: .34em; text-transform: uppercase; color: var(--d-ink-3); padding-left: .34em; }

/* ---------- speed stream ---------- */
.stream-box { border-radius: var(--r); background: var(--tile); padding: clamp(24px, 3vw, 36px); display: grid; gap: 16px; min-width: 0; }
.stream-head { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--d-ink-3); }
.stream-head b { color: var(--d-ink); font-variant-numeric: tabular-nums; font-weight: 600; }
.stream-head { flex-wrap: wrap; }
.stream-head span:last-child { white-space: nowrap; }
.stream-out { margin: 0; min-height: 12.8em; font: 400 14px/1.6 var(--mono); color: var(--d-ink); white-space: pre-wrap; overflow-wrap: anywhere; }
.stream-note { font-size: 13px; color: var(--d-ink-3); }

/* ---------- logos ---------- */
.logos { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; }
.logo-i { display: grid; justify-items: center; align-content: center; gap: 12px; padding: 26px 10px; border-radius: 22px; background: var(--white); text-align: center; min-width: 0; }
.sec-white .logo-i { background: var(--gray); }
.logo-i img { width: 36px; height: 36px; opacity: .85; transition: opacity .2s, transform .35s var(--ease); }
.logo-i:hover img { opacity: 1; transform: scale(1.08); }
.logo-i span { font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.logo-i .txt { display: grid; place-items: center; height: 36px; font: 700 15px/1 var(--font); letter-spacing: -.02em; color: var(--ink); }
.logos-note { margin-top: 20px; font-size: 12.5px; color: var(--ink-3); text-align: center; }

/* ---------- model cards ---------- */
.models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.model { border-radius: var(--r); background: var(--white); padding: clamp(26px, 3vw, 40px); display: grid; gap: 14px; align-content: start; min-width: 0; }
.model .badge { justify-self: start; font: 600 12px/1 var(--font); padding: 7px 11px; border-radius: 980px; background: var(--violet-soft); color: var(--violet-ink); }
.model .badge.plain { background: var(--gray); color: var(--ink-2); }
.model h3 { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.035em; line-height: 1.05; }
.model p { color: var(--ink-2); }
.model dl { margin: 6px 0 0; }
.model dl div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.model dt { color: var(--ink-2); font-size: 15px; }
.model dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.model-hi { box-shadow: inset 0 0 0 2px var(--violet); }

/* ---------- split, ticks, cards (subpages) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split-r { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split-wide { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.ticks { display: grid; gap: 12px; margin: 6px 0 8px; }
.ticks li { position: relative; padding-left: 32px; color: var(--ink-2); font-size: 17px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .15em; width: 22px; height: 22px; border-radius: 50%; background: var(--violet-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-5' fill='none' stroke='%23674EB0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; }
.sec-dark .ticks li { color: var(--d-ink-2); }
.sec-dark .ticks li::before { background-color: rgba(185, 169, 255, .18); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
/* Screenshots of the extension: a window each, with a short caption. */
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 36px); }
.shot { display: grid; gap: 14px; align-content: start; min-width: 0; }
.shot-w { grid-column: 1 / -1; }
.shot img { width: 100%; border-radius: 14px; background: var(--term); box-shadow: var(--shadow-win); }
.shot figcaption { display: grid; gap: 4px; }
.shot figcaption p { color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.card { background: var(--white); border-radius: var(--r); padding: clamp(24px, 3vw, 36px); display: grid; gap: 10px; align-content: start; min-width: 0; }
.sec-white .card { background: var(--gray); }
.card p { color: var(--ink-2); }
.reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.reason { padding: clamp(26px, 3vw, 40px); border-radius: var(--r); background: var(--white); display: grid; gap: 12px; align-content: start; }
.sec-white .reason { background: var(--gray); }
.sec-dark .reason { background: var(--tile); }
.sec-dark .reason p { color: var(--d-ink-2); }
.reason b { font-size: clamp(36px, 4vw, 54px); letter-spacing: -.05em; line-height: 1; color: var(--violet-ink); font-weight: 700; }
.sec-dark .reason b { color: var(--violet-night); }
.reason p { color: var(--ink-2); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--d-line); margin-top: clamp(40px, 5vw, 56px); }
.stat { padding: 26px 20px 0 0; display: grid; gap: 6px; }
.stat b { font-size: clamp(32px, 3.8vw, 52px); font-weight: 700; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { font-size: 14px; color: var(--d-ink-3); }
.stats-light { border-top-color: var(--line); }
.stats-light .stat span { color: var(--ink-2); }

/* ---------- editor composite (VS Code chrome around the real Alran panel) ---------- */
.vsc { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-win); background: #FFFFFF; text-align: left; }
.vsc-bar { height: 34px; display: flex; align-items: center; gap: 12px; padding: 0 12px; background: #F8F8F8; border-bottom: 1px solid #E5E5E5; font: 400 12px/1 var(--font); color: #6F6F6F; }
.vsc-bar .dots { display: flex; gap: 7px; }
.vsc-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.vsc-bar .dots i:nth-child(2) { background: #febc2e; }
.vsc-bar .dots i:nth-child(3) { background: #28c840; }
.vsc-bar .t { flex: 1; text-align: center; padding-right: 50px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vsc-body { display: grid; grid-template-columns: 40px minmax(0, 1fr) minmax(0, 360px); min-height: 0; }
.vsc-act { background: #F8F8F8; border-right: 1px solid #E5E5E5; display: grid; align-content: start; justify-items: center; gap: 18px; padding-top: 14px; }
.vsc-act i { width: 20px; height: 20px; border-radius: 5px; background: #C8C8C8; }
.vsc-act i.on { background: var(--violet); }
.vsc-ed { background: #FFFFFF; min-width: 0; border-right: 1px solid #E5E5E5; }
.vsc-tabs { display: flex; height: 34px; background: #F8F8F8; border-bottom: 1px solid #E5E5E5; font: 400 12.5px/34px var(--font); color: #6F6F6F; }
.vsc-tabs span { padding: 0 14px; border-right: 1px solid #E5E5E5; white-space: nowrap; }
.vsc-tabs span.on { background: #FFFFFF; color: #1F1F1F; box-shadow: inset 0 1px 0 var(--violet); }
.vsc-code { margin: 0; padding: 12px 0; font: 400 12px/1.75 var(--mono); color: #3B3B3B; white-space: pre; overflow: hidden; }
.vsc-code span { display: block; padding: 0 14px 0 0; }
.vsc-code .ln { display: inline-block; width: 36px; padding-right: 12px; text-align: right; color: #A0A0A0; }
.vsc-code .add { background: rgba(156, 204, 44, .2); }
.vsc-code .kw { display: inline; padding: 0; color: #AF00DB; }
.vsc-code .fn { display: inline; padding: 0; color: #795E26; }
.vsc-code .s { display: inline; padding: 0; color: #A31515; }
.vsc-code .c { display: inline; padding: 0; color: #008000; }
.vsc-panel { background: #F8F8F8; min-width: 0; }
.vsc-panel-h { height: 34px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-bottom: 1px solid #E5E5E5; font: 600 11px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; color: #6F6F6F; }
.vsc-panel img { width: 100%; }
.vsc-dark { background: #1F1F1F; }
.vsc-dark .vsc-bar, .vsc-dark .vsc-act, .vsc-dark .vsc-tabs, .vsc-dark .vsc-panel, .vsc-dark .vsc-panel-h { background: #181818; border-color: #2B2B2B; color: #9D9D9D; }
.vsc-dark .vsc-ed { background: #1F1F1F; border-color: #2B2B2B; }
.vsc-dark .vsc-tabs span { border-color: #2B2B2B; }
.vsc-dark .vsc-tabs span.on { background: #1F1F1F; color: #FFFFFF; }
.vsc-dark .vsc-act i { background: #4A4A4A; }
.vsc-dark .vsc-code { color: #CCCCCC; }
.vsc-dark .vsc-code .ln { color: #8A929C; }
.vsc-dark .vsc-code .add { background: rgba(155, 185, 85, .1); }
.vsc-dark .vsc-code .kw { color: #DBA6D6; }
.vsc-dark .vsc-code .fn { color: #E6E6B8; }
.vsc-dark .vsc-code .s { color: #E0A68E; }
.vsc-dark .vsc-code .c { color: #86B66F; }
.lift { --p: 1; transform: translateY(calc((1 - var(--p)) * 90px)) scale(calc(.92 + .08 * var(--p))); }

/* ---------- tables ---------- */
.tbl-wrap { border-radius: var(--r); background: var(--white); overflow-x: auto; }
.sec-white .tbl-wrap { background: var(--gray); }
.tbl { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 680px; }
.tbl th, .tbl td { padding: 16px 20px; text-align: left; border-top: 1px solid var(--line); vertical-align: top; }
.tbl thead th { border-top: 0; font: 600 14px/1.3 var(--font); color: var(--ink-2); padding-top: 22px; }
.tbl thead th.us { color: var(--violet-ink); }
.tbl tbody th { font-weight: 600; color: var(--ink); width: 22%; }
.tbl td { color: var(--ink-2); }
.tbl td.us { color: var(--ink); font-weight: 600; background: rgba(103, 78, 176, .07); }
.tbl .y { color: var(--ok); font-weight: 700; }
.tbl .n { color: var(--ink-3); }
.tbl-note { margin-top: 16px; font-size: 13px; color: var(--ink-3); max-width: 90ch; }
.price { min-width: 0; }
.price td:last-child, .price th:last-child { text-align: right; }
.price tbody th { width: auto; }
.price td.v { font-weight: 600; color: var(--ink); font-size: 18px; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- code card ---------- */
.code { border-radius: 20px; background: var(--tile-2); color: var(--d-ink); overflow: hidden; text-align: left; color-scheme: dark; }
.code-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; border-bottom: 1px solid var(--d-line); font: 500 12.5px/1 var(--mono); color: var(--d-ink-3); }
.code-bar .copy { background: rgba(255, 255, 255, .12); color: var(--d-ink-2); box-shadow: none; }
.code pre { margin: 0; padding: 20px 20px 22px; font-size: 13.5px; line-height: 1.7; overflow-x: auto; }
.code .k { color: #C9B8FF; }
.code .s { color: #9EE6B8; }
.code .c { color: #8a8996; }
.code .hi { background: rgba(168, 149, 240, .22); display: inline-block; border-radius: 4px; padding: 0 2px; margin: 0 -2px; }

/* ---------- get started steps ---------- */
.gs { display: grid; gap: 16px; }
.gs-i { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 20px; padding: clamp(22px, 3vw, 32px); border-radius: var(--r); background: var(--gray); }
.sec-gray .gs-i { background: var(--white); }
.gs-i .n { grid-row: span 3; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--violet); color: #fff; font: 600 15px/1 var(--font); }
.gs-i h3 { font-size: 22px; letter-spacing: -.02em; }
.gs-i p { color: var(--ink-2); }
.gs-i .cmd { margin-top: 10px; width: max-content; max-width: 100%; background: var(--white); }
.sec-gray .gs-i .cmd { background: var(--gray); }

/* ---------- keys ---------- */
.keys { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.keys div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
kbd { font: 600 12px/1 var(--mono); padding: 6px 9px; border-radius: 8px; background: var(--gray); color: var(--ink); white-space: nowrap; }
.sec-gray kbd { background: var(--white); }

/* ---------- the one open task ---------- */
.todo { max-width: 540px; margin: 0 auto; border-radius: var(--r); background: var(--white); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .3), 0 0 0 1px rgba(0, 0, 0, .05); overflow: hidden; text-align: left; }
.todo-h { display: flex; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid var(--gray); font: 600 13px/1 var(--font); color: var(--ink-3); letter-spacing: .02em; }
.todo-h b { color: var(--ink); font-variant-numeric: tabular-nums; }
.todo ul { padding: 8px 10px 10px; }
.todo li { display: flex; align-items: center; gap: 14px; padding: 13px 14px; border-radius: 14px; font-size: 17px; color: var(--ink); transition: color .45s; }
.todo .box { width: 24px; height: 24px; border-radius: 50%; flex: none; display: grid; place-items: center; box-shadow: inset 0 0 0 2px var(--line); transition: background .35s var(--ease), box-shadow .35s; }
.todo .box svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity .3s; }
.todo .t { background: linear-gradient(currentColor, currentColor) 0 55% / 0 1.5px no-repeat; transition: background-size .45s var(--ease); }
.todo li[data-done] { color: var(--ink-3); }
.todo li[data-done] .box { background: var(--violet); box-shadow: none; }
.todo li[data-done] .box svg { opacity: 1; }
.todo li[data-done] .t { background-size: 100% 1.5px; }
.todo li.open { background: var(--violet-soft); font-weight: 600; }
.todo li.open .box { box-shadow: inset 0 0 0 2px var(--violet); animation: ring 2.4s ease-in-out infinite; }
@keyframes ring { 50% { box-shadow: inset 0 0 0 2px var(--violet), 0 0 0 6px rgba(103, 78, 176, .16); } }
.close .h2 { margin: 48px auto 16px; }
.close .acts { justify-content: center; margin-top: 28px; }
.close .lede { margin: 0 auto; }
.close .wrap { text-align: center; }
.sec-gray .cmd { background: var(--white); }

/* ---------- powered by ---------- */
.powered { display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 980px; background: var(--white); font-weight: 600; font-size: 15px; color: var(--ink-2); box-shadow: 0 0 0 1px rgba(0, 0, 0, .05); }
.powered img { width: 34px; height: 34px; }

/* ---------- footer: light, the fine print first ---------- */
.foot { background: var(--gray); color: var(--ink-2); padding: 36px 0 34px; font-size: 12.5px; line-height: 1.55; }
.foot-note { padding-bottom: 20px; border-bottom: 1px solid var(--line); color: var(--ink-3); }
.foot-note code { background: rgba(0, 0, 0, .05); color: var(--ink); padding: .1em .35em; border-radius: 5px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; padding-top: 26px; }
.foot .logo span { font-size: 17px; }
.foot .logo img { width: 22px; height: 22px; }
.foot-brand { display: grid; gap: 12px; align-content: start; }
.foot-brand p { max-width: 34ch; }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.foot-cols div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 9px; align-content: start; }
.foot-h { font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.foot-cols a { color: var(--ink-2); text-decoration: none; justify-self: start; max-width: 100%; overflow-wrap: anywhere; }
.foot-cols a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot-legal { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; color: var(--ink-3); }
.foot-legal img { width: 18px; height: 18px; }
.foot-legal span { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- header: download link ---------- */
.dl { font-size: 13.5px; color: var(--ink-2); text-decoration: none; padding: 8px 10px; border-radius: 8px; transition: color .35s; }
.dl:hover, .dl[aria-current='page'] { color: var(--ink); }
.dark-top .dl { color: var(--d-ink-2); }
.dark-top .dl:hover, .dark-top .dl[aria-current='page'] { color: var(--d-ink); }

/* ---------- the install command ---------- */
.inst { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 12px; max-width: 100%; }
.cmd-inst { min-height: 54px; padding-left: 22px; font-size: 15.5px; }
.inst-dark .cmd-inst, .stage .cmd-inst { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.inst-alt { font-size: 14px; color: var(--ink-2); }
.inst-dark .inst-alt, .stage .inst-alt, .sec-dark .inst-alt { color: var(--d-ink-3); }
.hero-inst { margin-top: 6px; }
.film-link { gap: 8px; }
.film-link::after { content: none; }
.film-link svg { width: 14px; height: 14px; fill: currentColor; flex: none; }

/* ---------- the film: poster and player ---------- */
.trailer { padding: clamp(80px, 10vw, 140px) 0; }
.trailer .head { margin-bottom: clamp(32px, 4vw, 48px); }
.poster { position: relative; display: block; border-radius: var(--r); overflow: hidden; box-shadow: 0 60px 120px -50px rgba(124, 92, 255, .55), 0 0 0 1px rgba(255, 255, 255, .1); color: #fff; text-decoration: none; }
.poster img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 1.2s var(--ease); }
.poster:hover img { transform: scale(1.025); }
.poster::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .55)); pointer-events: none; }
.poster-play { position: absolute; left: clamp(18px, 3vw, 36px); bottom: clamp(18px, 3vw, 32px); z-index: 1; display: flex; align-items: center; gap: 16px; }
.poster-btn { width: clamp(52px, 6vw, 72px); height: clamp(52px, 6vw, 72px); border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: #000; transition: transform .35s var(--ease), background .3s; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .6); }
.poster-btn svg { width: 40%; height: 40%; fill: currentColor; transform: translateX(6%); }
.poster:hover .poster-btn { transform: scale(1.08); background: #fff; }
.poster-t { display: grid; font: 600 clamp(17px, 1.8vw, 22px)/1.2 var(--font); letter-spacing: -.01em; text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }
.poster-t small { font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .8); }
.player { width: min(1280px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 18px; background: #000; color: #fff; overflow: hidden; box-shadow: 0 40px 120px rgba(0, 0, 0, .6); }
.player::backdrop { background: rgba(0, 0, 0, .82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.player-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 18px; font: 600 14px/1 var(--font); color: var(--d-ink-2); }
.player-x { width: 36px; height: 36px; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; }
.player-x:hover { background: rgba(255, 255, 255, .22); }
.player-x svg { width: 14px; height: 14px; }
.player video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }

/* ---------- highlights: the real CLI, close up ---------- */
.hl-sec .head { margin-bottom: clamp(28px, 4vw, 44px); }
.hl { flex: 0 0 min(84vw, 900px); min-height: min(68vh, 560px); border-radius: var(--r); scroll-snap-align: start; position: relative; overflow: hidden; display: flex; flex-direction: column; color: var(--d-ink); color-scheme: dark;
  background: radial-gradient(70% 60% at 78% 62%, rgba(118, 90, 220, .5), transparent 70%), radial-gradient(60% 50% at 0% 0%, rgba(255, 255, 255, .07), transparent 70%), linear-gradient(180deg, #111116, #08080b); }
.hl-txt { padding: clamp(28px, 4vw, 48px) clamp(28px, 4vw, 48px) 0; display: grid; gap: 12px; position: relative; z-index: 1; }
.hl .label { color: var(--violet-night); }
.hl .h3 { font-size: clamp(26px, 2.8vw, 38px); max-width: 22ch; letter-spacing: -.03em; }
.hl .h3 span { color: var(--d-ink-3); }
.hl-screen { margin: clamp(24px, 3vw, 40px) 0 0 clamp(28px, 6vw, 88px); border-radius: 16px 0 0 0; overflow: hidden; background: var(--term); box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), -30px -20px 80px -30px rgba(0, 0, 0, .7); transform: translateY(var(--hl-y, 0)); }
.hl-screen .win-body { padding: 20px 22px 26px; }
.tui-big { --tui-max: 19px; }
.tui-big .tr { display: block; min-height: var(--lh); }
[data-anim] .hl .tui-big .tr { opacity: 0; transform: translateY(10px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
[data-anim] .hl[data-in] .tui-big .tr { opacity: 1; transform: none; }
.hl .tr:nth-child(2) { transition-delay: .08s; } .hl .tr:nth-child(3) { transition-delay: .16s; } .hl .tr:nth-child(4) { transition-delay: .24s; }
.hl .tr:nth-child(5) { transition-delay: .32s; } .hl .tr:nth-child(6) { transition-delay: .4s; } .hl .tr:nth-child(7) { transition-delay: .48s; }
.hl .tr:nth-child(8) { transition-delay: .56s; } .hl .tr:nth-child(9) { transition-delay: .64s; } .hl .tr:nth-child(10) { transition-delay: .72s; }
.hl .tr:nth-child(11) { transition-delay: .8s; } .hl .tr:nth-child(12) { transition-delay: .88s; }
.hl-chips { margin: auto clamp(28px, 4vw, 48px) clamp(28px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 12px; }
.hl-chips li { font: 500 clamp(15px, 1.5vw, 19px)/1 var(--mono); padding: 14px 18px; border-radius: 14px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); color: var(--d-ink); }
.hl-chips li.c7 { background: rgba(185, 169, 255, .18); color: #fff; }
[data-anim] .hl-plug .hl-chips li { opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .5s var(--ease), transform .5s var(--ease); }
[data-anim] .hl-plug[data-in] .hl-chips li { opacity: 1; transform: none; }
.hl-chips .c1 { transition-delay: .08s; } .hl-chips .c2 { transition-delay: .16s; } .hl-chips .c3 { transition-delay: .24s; } .hl-chips .c4 { transition-delay: .32s; } .hl-chips .c5 { transition-delay: .4s; } .hl-chips .c6 { transition-delay: .48s; } .hl-chips .c7 { transition-delay: .56s; }
.hl-img { margin: clamp(24px, 3vw, 40px) clamp(28px, 4vw, 48px) 0 auto; width: min(380px, 62%); border-radius: 14px 14px 0 0; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); }
.hl-big { margin: auto clamp(28px, 4vw, 48px) 8px; }
.hl-big b { display: block; font-size: clamp(96px, 15vw, 210px); font-weight: 700; letter-spacing: -.06em; line-height: .86; }
.hl-big small { display: block; font-size: clamp(18px, 2vw, 24px); font-weight: 600; color: var(--d-ink-2); margin-top: 14px; }
.hl-bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; margin: 18px clamp(28px, 4vw, 48px) clamp(28px, 4vw, 44px); }
.hl-bars i { flex: 1; height: 30%; border-radius: 3px; background: linear-gradient(180deg, #d4caff, #6a55c4); opacity: .85; }
[data-anim] .hl-werk[data-in] .hl-bars i { animation: eq 1.1s ease-in-out infinite alternate; }
.hl-bars .b1 { animation-delay: -.2s !important; height: 55%; } .hl-bars .b2 { animation-delay: -.5s !important; height: 80%; } .hl-bars .b3 { animation-delay: -.1s !important; height: 45%; }
.hl-bars .b4 { animation-delay: -.7s !important; height: 95%; } .hl-bars .b5 { animation-delay: -.35s !important; height: 60%; } .hl-bars .b6 { animation-delay: -.9s !important; height: 75%; } .hl-bars .b7 { animation-delay: -.6s !important; height: 40%; }
@keyframes eq { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
.hl-bars i { transform-origin: bottom; }
.hl-gh { margin: auto clamp(28px, 4vw, 48px) clamp(28px, 4vw, 48px); display: flex; align-items: center; gap: 24px; }
.hl-gh svg { width: clamp(72px, 9vw, 120px); height: auto; color: var(--d-ink); }
.hl-gh code { font-size: clamp(16px, 1.8vw, 22px); color: var(--d-ink-2); }

/* ---------- install band ---------- */
.inst-band .head { margin-bottom: clamp(36px, 5vw, 56px); }
.isteps { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr) minmax(0, 1.25fr); gap: 20px; counter-reset: s; }
.isteps-light { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.istep { border-radius: var(--r); background: var(--tile); padding: clamp(24px, 3vw, 34px); display: grid; gap: 12px; align-content: start; min-width: 0; }
.istep .n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--violet); color: #fff; font: 600 15px/1 var(--font); box-shadow: var(--shadow-btn); }
.istep h3 { font-size: 22px; letter-spacing: -.02em; }
.istep p { color: var(--d-ink-2); font-size: 16px; }
.istep .cmd { width: 100%; background: rgba(255, 255, 255, .08); color: var(--d-ink); min-height: 50px; font-size: 14px; }
.isteps-light .istep { background: var(--white); color: var(--ink); }
.isteps-light .istep p { color: var(--ink-2); }
.isteps-light .istep .cmd { background: var(--gray); color: var(--ink); }
.isteps-light .istep .cmd .p { color: var(--ink-3); }
.isteps-light .istep .copy { background: #fff; color: var(--ink-2); box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.inst-more { color: var(--d-ink-3); font-size: 16px; }
.inst-more code { background: rgba(255, 255, 255, .1); color: var(--d-ink); padding: .15em .45em; border-radius: 6px; font-size: .9em; }

/* ---------- Werk: stats, the agent loop, speed, three kinds of work ---------- */
.werk-stats { width: 100%; max-width: 980px; text-align: left; }
.werk-stats .stat b { color: var(--d-ink); }
.stat b span { font-size: inherit; color: inherit; }
.loop { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.loop-vis { position: relative; width: min(100%, 500px); aspect-ratio: 1; margin: 0 auto; }
.loop-ring { position: absolute; inset: 14%; border-radius: 50%; border: 1.5px dashed rgba(185, 169, 255, .35); animation: spin-ring 6s linear infinite; }
.loop-dot { position: absolute; top: -7px; left: calc(50% - 7px); width: 14px; height: 14px; border-radius: 50%; background: #d4caff; box-shadow: 0 0 0 6px rgba(185, 169, 255, .18), 0 0 24px rgba(185, 169, 255, .8); }
@keyframes spin-ring { to { transform: rotate(360deg); } }
.loop-core { position: absolute; inset: 34%; border-radius: 26%; display: grid; place-items: center; align-content: center; gap: 8px; background: radial-gradient(120% 120% at 30% 18%, #2a2a31, #0d0d10 70%); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 80px -20px rgba(124, 92, 255, .6); }
.loop-core img { width: 40px; }
.loop-core b { font-size: clamp(16px, 2vw, 22px); letter-spacing: -.02em; }
.loop-nodes { position: absolute; inset: 0; }
.lnode { position: absolute; width: 38%; display: grid; gap: 2px; text-align: center; padding: 12px 10px; border-radius: 16px; background: var(--tile-2); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); animation: node 6s infinite; }
.lnode b { font-size: 16px; }
.lnode span { font-size: 12.5px; color: var(--d-ink-3); }
.lnode0 { top: 0; left: 31%; } .lnode1 { top: 40%; right: -4%; animation-delay: 1.5s; } .lnode2 { bottom: 0; left: 31%; animation-delay: 3s; } .lnode3 { top: 40%; left: -4%; animation-delay: 4.5s; }
@keyframes node { 0%, 22% { background: #3a2f6b; box-shadow: 0 0 0 1px rgba(185, 169, 255, .6), 0 0 40px -6px rgba(150, 128, 255, .7); } 30%, 100% { background: var(--tile-2); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); } }
.loop-log { display: grid; gap: 10px; font: 400 14.5px/1.4 var(--mono); }
.lg { padding: 12px 16px; border-radius: 12px; background: var(--tile); color: var(--d-ink-2); position: relative; padding-left: 40px; overflow-wrap: anywhere; }
.lg::before { content: '•'; position: absolute; left: 18px; color: #7dd3fc; }
.lg-think::before { content: '●'; color: var(--violet-night); }
.lg-done { color: var(--d-ink); background: rgba(31, 138, 91, .22); }
.lg-done::before { content: '✓'; color: #86e5b0; }
.race { max-width: 900px; margin: 0 auto; display: grid; gap: 18px; }
.race-h { font-weight: 600; color: var(--ink-2); text-align: center; margin-bottom: 8px; }
.race-row { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr) 64px; gap: 18px; align-items: center; }
.race-l { font-size: 15px; color: var(--ink-2); }
.race-row.us .race-l { color: var(--ink); }
.race-bar { height: 14px; border-radius: 99px; background: var(--gray); overflow: hidden; }
.race-bar i { display: block; height: 100%; border-radius: 99px; background: #b5b5bd; transform-origin: left; transition: transform 1.6s var(--ease); }
.race-row.us .race-bar i { background: linear-gradient(90deg, #8f78ea, var(--violet)); }
.rb0 { width: 22%; } .rb1 { width: 50%; } .rb2 { width: 100%; }
[data-anim] .race:not([data-in]) .race-bar i { transform: scaleX(0); }
.race-row:nth-child(3) .race-bar i { transition-duration: 2.4s; } .race-row:nth-child(4) .race-bar i { transition-duration: 3.2s; }
.race-t { font-variant-numeric: tabular-nums; text-align: right; font-size: 18px; }
.race-note { font-size: 13px; color: var(--ink-3); text-align: center; margin-top: 6px; }
.works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.wk { border-radius: var(--r); background: var(--white); padding: clamp(24px, 3vw, 34px); display: grid; gap: 10px; align-content: start; min-width: 0; }
.wk p:not(.label) { color: var(--ink-2); }
.wk-vis { border-radius: 16px; background: var(--term); color: var(--d-ink); min-height: 196px; padding: 18px; margin-bottom: 10px; overflow: hidden; display: grid; align-content: center; color-scheme: dark; }
.wk-vis pre { margin: 0; font: 400 12.5px/1.75 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.wk-diff .c { color: #8a8996; } .wk-diff .a { color: #9ee6b8; } .wk-diff .d { color: #ff9f9f; }
.wk-json .k { color: #c9b8ff; } .wk-json .s { color: #9ee6b8; } .wk-json .r { color: #ff9f9f; } .wk-json .g { color: #86e5b0; font-weight: 700; }
.wk-mail { background: #fff; color: var(--ink); border-radius: 12px; padding: 14px 16px; display: grid; gap: 8px; font-size: 13.5px; line-height: 1.45; color-scheme: light; }
.wk-mail-h { display: grid; gap: 2px; padding-bottom: 8px; border-bottom: 1px solid var(--gray); }
.wk-mail-h span, .wk-mail-f { color: var(--ink-2); font-size: 12px; }
.wk-mail-f { font-family: var(--mono); }

/* ---------- the cost calculator and price bars ---------- */
.calc { max-width: 920px; margin: 0 auto; display: grid; gap: 22px; }
.calc-tabs { display: flex; justify-content: center; gap: 4px; padding: 4px; border-radius: 980px; background: var(--gray); justify-self: center; flex-wrap: wrap; }
.sec-gray .calc-tabs { background: var(--white); }
.calc-tabs[hidden] { display: none; }
.calc-tabs button { border: 0; background: none; cursor: pointer; font: 500 15px/1 var(--font); color: var(--ink-2); padding: 12px 18px; border-radius: 980px; }
.calc-tabs button[aria-selected='true'] { background: var(--ink); color: #fff; }
.calc-p { border-radius: var(--r); background: var(--gray); padding: clamp(24px, 3vw, 40px); display: grid; gap: 16px; }
.sec-gray .calc-p { background: var(--white); }
.calc-p[hidden] { display: none; }
.calc-h { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.02em; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 6px; }
.calc-h span { font-size: 15px; font-weight: 500; color: var(--ink-2); }
.calc-row { display: grid; grid-template-columns: minmax(0, 170px) minmax(0, 1fr) 88px; gap: 18px; align-items: center; }
.calc-m { font-size: 15.5px; color: var(--ink-2); }
.calc-row.us .calc-m { color: var(--ink); font-weight: 600; }
.calc-bar { height: 28px; border-radius: 8px; background: rgba(0, 0, 0, .05); overflow: hidden; }
.calc-bar i { display: block; height: 100%; border-radius: 8px; background: #b5b5bd; transform-origin: left; transition: transform 1.3s var(--ease); }
.calc-row.us .calc-bar i { background: linear-gradient(90deg, #a895f0, var(--violet)); }
[data-anim] [data-reveal]:not([data-in]) .calc-bar i { transform: scaleX(0); }
.calc-row b { text-align: right; font-size: 19px; font-variant-numeric: tabular-nums; }
.calc-row.us b { color: var(--violet-ink); }
.calc-f { margin-top: 6px; color: var(--ink-2); }
.calc-f b { font-size: 22px; color: var(--ink); letter-spacing: -.02em; }
.calc-note { font-size: 13px; color: var(--ink-3); text-align: center; max-width: 80ch; justify-self: center; }
.pbars { display: grid; gap: 26px; width: 100%; }
.pbars-g { display: grid; gap: 12px; border-radius: var(--r); background: var(--gray); padding: clamp(22px, 3vw, 32px); }
.pbars-h { font: 600 13px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 4px; }
.pbars .calc-row { grid-template-columns: minmax(0, 150px) minmax(0, 1fr) 72px; gap: 14px; }

/* ---------- doors, code tabs, specs, FAQ ---------- */
.doors3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.door { border-radius: var(--r); background: var(--white); padding: clamp(26px, 3vw, 38px); display: grid; gap: 10px; align-content: start; text-decoration: none; color: var(--ink); transition: transform .35s var(--ease), box-shadow .35s; }
.door:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .3); }
.door p:not(.label) { color: var(--ink-2); }
.door .more { margin-top: 8px; font-size: 17px; }
.code-tabs .code-bar { padding-left: 8px; }
.tab-btns { display: flex; gap: 2px; }
.tab-btns[hidden] { display: none; }
.tab-btns button { border: 0; background: none; color: var(--d-ink-3); font: 500 13px/1 var(--mono); padding: 9px 12px; border-radius: 8px; cursor: pointer; }
.tab-btns button[aria-selected='true'] { background: rgba(255, 255, 255, .12); color: var(--d-ink); }
.tab-p[hidden] { display: none; }
.tab-l { padding: 14px 20px 0; font: 600 12px/1 var(--mono); color: var(--d-ink-3); }
.code-tabs[data-live] .tab-l { display: none; }
.split-top { align-items: start; }
.spec { min-width: 0; }
.spec th { width: 36%; }
.spec td { color: var(--ink); }
.narrow { max-width: calc(820px + 2 * var(--gut)); }
.faqs { display: grid; border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-size: clamp(18px, 1.8vw, 21px); font-weight: 600; letter-spacing: -.015em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--violet-ink); transition: transform .3s; }
.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { padding: 0 0 22px; color: var(--ink-2); max-width: 64ch; }

/* ---------- compare ---------- */
.cmp-hero { padding-bottom: clamp(32px, 4vw, 48px); }
.same { border-radius: var(--r); background: var(--gray); padding: clamp(24px, 3vw, 36px); display: grid; gap: 16px; justify-items: center; text-align: center; }
.same-h { font-size: clamp(20px, 2vw, 24px); letter-spacing: -.02em; }
.same-l { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.same-l li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 980px; background: var(--white); font-size: 15px; color: var(--ink-2); }
.same-l svg { width: 16px; height: 16px; fill: none; stroke: var(--ok); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.same-t { font-size: 13.5px; color: var(--ink-2); }
.vs { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding: clamp(40px, 6vw, 80px) 0; border-top: 1px solid var(--gray); }
.vs:first-of-type { border-top: 0; }
.vs:nth-child(odd) .vs-txt { order: 2; }
.vs-txt { display: grid; gap: 16px; }
.vs-n { font: 600 14px/1 var(--mono); color: var(--violet-ink); }
.vs-h { font-size: clamp(2rem, 4vw, 3.2rem); }
.vs-vis { min-width: 0; }
.wallet { border-radius: var(--r); background: linear-gradient(160deg, #1d1b26, #0d0d11); color: var(--d-ink); padding: clamp(24px, 3vw, 34px); box-shadow: 0 40px 80px -40px rgba(64, 40, 160, .55); display: grid; gap: 18px; color-scheme: dark; }
.wallet-h { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: var(--d-ink-3); }
.wallet-h b { font-size: 13px; padding: 5px 10px; border-radius: 980px; background: rgba(185, 169, 255, .18); color: var(--violet-night); text-transform: uppercase; letter-spacing: .08em; }
.wallet ul { display: grid; gap: 10px; }
.wallet li { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .06); }
.wallet li b { font-size: 17px; }
.wallet li span { font-size: 13px; color: var(--d-ink-3); }
.wallet li code { font-size: 12.5px; color: var(--d-ink); background: rgba(255, 255, 255, .1); }
.wallet .wm-w { background: rgba(185, 169, 255, .16); box-shadow: inset 0 0 0 1px rgba(185, 169, 255, .4); }
.lic { display: grid; gap: 12px; }
.lic li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; border-radius: 18px; background: var(--gray); font-size: 17px; }
.lic b { font: 600 15px/1 var(--mono); }
.lic-y b { color: #16683f; }
.lic-n b { color: var(--ink-2); font-family: var(--font); }
.lic li.us { background: var(--violet-soft); box-shadow: inset 0 0 0 2px var(--violet); }
.pfmt { display: grid; gap: 12px; }
.pfmt-i { display: grid; grid-template-columns: minmax(0, 1fr) auto 28px; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 18px; background: var(--term); color: var(--d-ink); color-scheme: dark; }
.pfmt-i code { font-size: clamp(13px, 1.4vw, 15px); overflow-wrap: anywhere; }
.pfmt-i span { font-size: 13px; color: var(--d-ink-3); }
.pfmt-i i { font-style: normal; color: #86e5b0; font-weight: 700; text-align: center; }
.pfmt-n { font-size: 14px; color: var(--ink-2); text-align: center; margin-top: 4px; }
.cmp-tbl .tbl thead th.us { display: table-cell; }
.cmp-tbl thead th img { display: inline-block; width: 18px; height: 18px; vertical-align: -4px; margin-right: 8px; }
.cmp-tbl tr.grp th { font: 600 12px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--violet-ink); padding-top: 26px; background: none; }
.cmp-tbl tr.row-same td, .cmp-tbl tr.row-same th { color: var(--ink-2); }
.froms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.from { border-radius: var(--r); background: var(--gray); padding: clamp(24px, 3vw, 34px); display: grid; gap: 12px; align-content: start; }
.from .ticks li { font-size: 16px; }

/* ---------- pricing ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.tier { border-radius: var(--r); background: var(--gray); padding: clamp(26px, 3vw, 38px); display: grid; gap: 14px; align-content: start; grid-template-rows: auto auto auto 1fr auto; }
.tier .h3 { font-size: 22px; }
.tier-p { font-size: clamp(27px, 2.9vw, 40px); font-weight: 700; letter-spacing: -.04em; line-height: 1; white-space: nowrap; display: grid; gap: 8px; }
.tier .ticks { align-content: start; }
.tier-p small { font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--ink-2); }
.tier .btn { justify-self: start; margin-top: 8px; }
.tier-hi { background: var(--white); box-shadow: inset 0 0 0 2px var(--violet), 0 40px 80px -50px rgba(103, 78, 176, .5); }
.credit { display: grid; gap: 14px; }
.credit-i { border-radius: 20px; background: var(--gray); padding: 22px 24px; display: grid; gap: 6px; }
.credit-i b { font-size: 18px; letter-spacing: -.015em; }
.credit-i p { color: var(--ink-2); }

/* ---------- download ---------- */
.dl-stage .h1 { color: var(--d-ink); }
.dl-stage .lede code { background: rgba(255, 255, 255, .1); color: var(--d-ink); padding: .1em .4em; border-radius: 6px; font-size: .85em; }
.dl-inst .cmd-inst { min-height: 60px; font-size: clamp(14px, 1.6vw, 17px); padding-left: 24px; }
.ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.way { border-radius: var(--r); background: var(--gray); padding: clamp(24px, 3vw, 36px); display: grid; gap: 12px; align-content: start; min-width: 0; }
.way p { color: var(--ink-2); }
.way .cmd { background: var(--white); width: 100%; margin-top: 6px; }
.way-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.big-ticks li { font-size: 18px; }

/* grid cards hold commands that never wrap: their one column may shrink below the command's width */
.istep, .way, .tier, .from, .door, .wk, .credit-i, .calc-p, .pbars-g, .dhub-inst { grid-template-columns: minmax(0, 1fr); }

/* ---------- notes ---------- */
.note { border-radius: 16px; background: var(--violet-soft); padding: 16px 20px; color: var(--ink); }
.note p { color: var(--ink); }
.note-warn { background: #fdf3e2; }

/* ---------- docs ---------- */
.docs-page { background: var(--white); }
.docs-grid { display: grid; grid-template-columns: 236px minmax(0, 1fr) 200px; gap: clamp(28px, 4vw, 56px); align-items: start; padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(72px, 9vw, 120px); }
.docs-grid-hub { grid-template-columns: 236px minmax(0, 1fr); }
.docs-side { position: sticky; top: 76px; max-height: calc(100vh - 96px); overflow: auto; scrollbar-width: thin; }
.docs-menu summary { display: none; }
.docs-nav { display: grid; gap: 18px; font-size: 14.5px; }
.docs-g { display: grid; gap: 2px; }
.docs-g p { font: 600 12px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); padding: 0 10px 8px; }
.docs-nav a { padding: 7px 10px; border-radius: 8px; color: var(--ink-2); text-decoration: none; }
.docs-nav a:hover { color: var(--ink); background: var(--gray); }
.docs-nav a[aria-current='page'] { color: var(--violet-ink); background: var(--violet-soft); font-weight: 600; }
.docs-home { font-weight: 600; }
.doc { min-width: 0; max-width: 760px; }
.doc-crumb { display: flex; gap: 8px; font-size: 14px; color: var(--ink-2); margin-bottom: 14px; }
.doc-crumb a { color: var(--violet-ink); text-decoration: none; }
.doc-crumb a:hover { text-decoration: underline; }
.doc-h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1.04; letter-spacing: -.04em; font-weight: 700; }
.doc-h1-hub { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-top: 12px; }
.doc-lede { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.45; color: var(--ink-2); margin: 14px 0 0; max-width: 60ch; }
.doc-lede code { font-size: .85em; padding: .12em .42em; border-radius: 6px; background: var(--gray); color: var(--ink); }
.doc-body { margin-top: 36px; display: grid; gap: 18px; }
.doc-body h2, .doc-body h3 { overflow-wrap: anywhere; }
.doc-body h2 { font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -.025em; line-height: 1.15; margin-top: 26px; scroll-margin-top: 80px; }
.doc-body h3 { font-size: 20px; letter-spacing: -.015em; margin-top: 10px; scroll-margin-top: 80px; }
.doc-body p, .doc-body li { color: #3a3a3f; font-size: 16.5px; line-height: 1.65; }
.doc-body a { color: var(--violet-ink); text-underline-offset: 3px; }
.doc-body strong { color: var(--ink); }
.doc-list { display: grid; gap: 8px; padding-left: 22px; }
ul.doc-list { list-style: disc; }
ol.doc-list { list-style: decimal; }
.doc-list li::marker { color: var(--violet-ink); }
.doc-body .code pre { font-size: 13.5px; }
.doc-tbl { background: var(--gray); border-radius: 16px; }
.doc-tbl .tbl { min-width: 0; font-size: 15px; }
.doc-tbl .tbl th, .doc-tbl .tbl td { padding: 12px 16px; }
.doc-tbl .tbl tbody td:first-child { color: var(--ink); }
.doc-tbl .tbl td code, .doc-tbl .tbl th code { background: #fff; white-space: nowrap; }
.doc-body kbd { background: #fff; box-shadow: 0 0 0 1px var(--line), 0 1px 0 var(--line); }
.doc-body p code, .doc-body li code { background: var(--gray); }
.doc-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.doc-pn a { display: grid; gap: 4px; padding: 16px 20px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }
.doc-pn a:hover { box-shadow: inset 0 0 0 1px var(--violet); }
.doc-pn a span { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.doc-pn .next { text-align: right; grid-column: 2; }
.doc-toc { position: sticky; top: 76px; display: grid; gap: 2px; font-size: 13.5px; border-left: 1px solid var(--line); padding-left: 16px; }
.doc-toc p { font: 600 12px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px; }
.doc-toc a { color: var(--ink-2); text-decoration: none; padding: 5px 0; }
.doc-toc a:hover { color: var(--violet-ink); }
.doc-hub { max-width: none; }
.dhub-top { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 20px; margin: 32px 0 12px; }
.dhub-inst, .dsearch { border-radius: 20px; background: var(--gray); padding: 20px 22px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.dhub-k, .dsearch label { font: 600 13px/1 var(--font); color: var(--ink); }
.dhub-inst .inst { justify-items: start; }
.dhub-inst .cmd-inst { background: var(--white); width: 100%; min-height: 50px; font-size: 13px; }
.dsearch[hidden] { display: none; }
.dsearch input { height: 50px; border-radius: 14px; border: 0; padding: 0 16px; font: 500 16px/1 var(--font); background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); width: 100%; }
.dsearch input:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
.dsearch-none { font-size: 14px; color: var(--ink-2); }
.dgroup { margin-top: 40px; }
.dgroup[hidden] { display: none; }
.dgroup-h { font-size: 22px; letter-spacing: -.02em; margin-bottom: 14px; }
.dcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.dcard { border-radius: 18px; padding: 20px 22px; background: var(--gray); text-decoration: none; color: var(--ink); display: grid; gap: 6px; align-content: start; transition: background .25s, box-shadow .25s, transform .25s var(--ease); }
.dcard:hover { background: var(--white); box-shadow: inset 0 0 0 1px var(--violet), 0 20px 40px -24px rgba(103, 78, 176, .4); transform: translateY(-2px); }
.dcard[hidden] { display: none; }
.dcard b { font-size: 17px; letter-spacing: -.01em; }
.dcard span { font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.dhub-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 48px; }
.dmore { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; color: var(--ink); }
.dmore:hover { box-shadow: inset 0 0 0 1px var(--violet); }
.dmore svg { width: 26px; height: 26px; flex: none; color: var(--ink); }
.dmore span { display: grid; gap: 4px; color: var(--ink-2); font-size: 14.5px; }
.dmore b { color: var(--ink); font-size: 16px; }

/* ---------- reduced motion ---------- */
[data-motion='reduce'] *, [data-motion='reduce'] *::before, [data-motion='reduce'] *::after { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- legal documents (imprint, privacy, terms, …) ---------- */
.legal { max-width: 820px; margin: 0 auto; }
.legal-toc { border-radius: 18px; background: var(--gray); padding: 18px 22px; margin-bottom: 8px; }
.legal-toc p { font: 600 12px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px; }
.legal-toc ol { display: grid; gap: 6px; padding-left: 20px; list-style: decimal; }
.legal-toc li::marker { color: var(--violet-ink); }
.legal-toc a { color: var(--violet-ink); text-decoration: none; font-size: 15px; }
.legal-toc a:hover { text-decoration: underline; text-underline-offset: 3px; }
.legal .doc-body { margin-top: 22px; }
.legal .doc-body h2:first-child { margin-top: 0; }
.legal .op { background: #fdf3e2; color: #7a4a00; border-radius: 6px; padding: .12em .4em; font-size: .9em; }
.legal-meta { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13px; }

/* ---------- layout steps ---------- */
@media (max-width: 1068px) {
  .docs-grid { grid-template-columns: 220px minmax(0, 1fr); }
  .doc-toc { display: none; }
  .dcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav a { padding: 8px 7px; }
  .vsc-body { grid-template-columns: 40px minmax(0, 1fr) minmax(0, 300px); }
  .logos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tile, .tile.w3 { grid-column: span 3; }
  .tile.w4, .tile.w6 { grid-column: span 6; }
}
@media (max-width: 900px) {
  .loop, .vs { grid-template-columns: minmax(0, 1fr); }
  .vs:nth-child(odd) .vs-txt { order: 0; }
  .isteps, .works, .doors3, .froms, .tiers, .ways { grid-template-columns: minmax(0, 1fr); }
  .docs-grid, .docs-grid-hub { grid-template-columns: minmax(0, 1fr); padding-top: 16px; gap: 20px; }
  .docs-side { position: static; max-height: none; overflow: visible; }
  .docs-menu { border-radius: 16px; background: var(--gray); }
  .docs-menu summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; cursor: pointer; list-style: none; font-weight: 600; }
  .docs-menu summary::-webkit-details-marker { display: none; }
  .docs-menu summary::after { content: '▾'; color: var(--ink-2); }
  .docs-menu-l { font: 600 12px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
  .docs-menu .docs-nav { padding: 4px 8px 16px; }
  /* folded until opened (site.js sets data-open): the state lives here, so the article does not jump when the script runs */
  .docs-menu:not([data-open]) .docs-nav { display: none; }
  .dhub-top, .dhub-more { grid-template-columns: minmax(0, 1fr); }
  .hl-screen { margin-left: 20px; }
  .nav, .dl { display: none; }
  .mnav { display: block; }
  .hdr-act { margin-left: auto; }
  .split, .split-r, .split-wide, .scrub-grid { grid-template-columns: minmax(0, 1fr); }
  .scrub-track { height: 300vh; }
  .scrub-steps { order: 2; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scrub-step { padding: 10px 12px; }
  .scrub-step p { display: none; }
  .scrub-step h3 { font-size: 16px; }
  .cards, .reasons, .models, .shots { grid-template-columns: minmax(0, 1fr); }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile, .tile.w3, .tile.w4, .tile.w6 { grid-column: auto; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .film-hud { gap: 10px; }
  .hud { padding: 14px; }
  .foot-top { grid-template-columns: minmax(0, 1fr); }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .keys { grid-template-columns: minmax(0, 1fr); }
  .vsc-body { grid-template-columns: minmax(0, 1fr); }
  .vsc-act, .vsc-ed { display: none; }
  .vsc { max-width: 440px; margin: 0 auto; }
}
@media (max-width: 600px) {
  .hl { flex-basis: 88vw; min-height: 560px; }
  .tui-big { --tui-max: 15px; }
  .calc-row, .pbars .calc-row { grid-template-columns: minmax(0, 1fr) 76px; gap: 6px 12px; }
  .calc-row .calc-bar { grid-column: 1 / -1; grid-row: 2; height: 18px; }
  .race-row { grid-template-columns: minmax(0, 1fr) 56px; gap: 6px 12px; }
  .race-bar { grid-column: 1 / -1; grid-row: 2; }
  .dcards { grid-template-columns: minmax(0, 1fr); }
  .doc-pn { grid-template-columns: minmax(0, 1fr); }
  .doc-pn .next { grid-column: auto; }
  .cmd-inst { font-size: 13px; padding-left: 16px; }
  .dl-inst .cmd-inst { min-height: 54px; font-size: 13px; }
  .lnode { width: 44%; padding: 8px 6px; }
  .lnode span { display: none; }
  .poster-t small { display: none; }
  body { font-size: 16px; }
  .fam nav a:nth-child(n+2) { display: none; }
  .hdr-in { height: 52px; gap: 12px; }
  .scrub-pin { top: 52px; }
  .logo span { font-size: 18px; }
  .btn { height: 44px; }
  .stage .acts .btn, .close .acts .btn { flex: 1 1 auto; }
  .cmd { width: 100%; }
  .win-bar .t { padding-right: 0; }
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gs-i { grid-template-columns: minmax(0, 1fr); }
  .gs-i .n { grid-row: auto; }
  .hud b { font-size: 24px; }
  .hud span { font-size: 12px; }
}
@media (max-width: 400px) {
  .hdr-act .btn .long { display: none; }
  .hdr-act .btn .short { display: inline; }
}

/* ---------- film page ---------- */
.film-pg { padding-top: clamp(56px, 7vw, 96px); }
.film-cta { display: flex; justify-content: center; margin-top: clamp(32px, 4vw, 48px); }
.wb-eq { margin: auto 0 0; height: 72px; }
[data-anim] [data-in] .wb-eq i { animation: eq 1.1s ease-in-out infinite alternate; }

/* a command box is one pill: the inline-code chip of the surrounding text must not show through */
.cmd > code, li .cmd > code, p .cmd > code, td .cmd > code, dd .cmd > code { background: none; padding: 0; border-radius: 0; color: inherit; font-size: inherit; text-align: left; }

/* skills: one command, and the names of what is in the store */
.skills-cmd { display: flex; justify-content: center; margin: 0 0 clamp(26px, 3.5vw, 40px); }
.skill-pills { list-style: none; margin: 0 auto clamp(24px, 3vw, 34px); padding: 0; max-width: 900px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.skill-pills li { padding: 9px 16px; border-radius: 999px; background: var(--white); color: var(--ink-2); font-size: 15px; line-height: 1.2; font-weight: 500; letter-spacing: -.005em; }
.skill-pills li.more-n { background: none; padding-left: 6px; padding-right: 6px; }

/* the confirmation after a copy (site.js); the global reduced-motion rule above removes the transition */
.toast { position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); z-index: 90; max-width: calc(100vw - 32px); padding: 12px 20px; border-radius: 999px; background: var(--ink); color: var(--d-ink); font-size: 15px; line-height: 1.3; font-weight: 500; text-align: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .28); opacity: 0; transform: translate(-50%, 16px); pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* without a script nothing could open the folded menu, so it stays open */
@media (max-width: 900px) and (scripting: none) { .docs-menu:not([data-open]) .docs-nav { display: grid; } }

/* ---------- terminal colours and cell widths (generated by raw-src/tui.mjs) ---------- */
.tui .f-0E0E12{color:#0E0E12}
.tui .f-1ccdd2{color:#1ccdd2}
.tui .f-28c567{color:#28c567}
.tui .f-4c1d95{color:#4c1d95}
.tui .f-632bae{color:#632bae}
.tui .f-666666{color:#7e7e7e}
.tui .f-68c0ff{color:#68c0ff}
.tui .f-7a39c6{color:#7a39c6}
.tui .f-9147df{color:#9147df}
.tui .f-a855f7{color:#a855f7}
.tui .f-adadad{color:#adadad}
.tui .f-d6d6d6{color:#d6d6d6}
.tui .k-262626{background-color:#262626}
.tui .k-EDEDF1{background-color:#EDEDF1}
.tui .k-adadad{background-color:#adadad}
.tui .n1{width:1ch}
.tui .n2{width:2ch}
.tui .n3{width:3ch}
.tui .n4{width:4ch}
.tui .n5{width:5ch}
.tui .n6{width:6ch}
.tui .n7{width:7ch}
.tui .n18{width:18ch}
.tui .n26{width:26ch}
.tui .n54{width:54ch}
.tui .n90{width:90ch}
.tui.c58{font-size:clamp(4px,calc(100cqw / 35.2),var(--tui-max,13.5px))}
.tui.c64{font-size:clamp(4px,calc(100cqw / 38.8),var(--tui-max,13.5px))}
.tui.c96{font-size:clamp(4px,calc(100cqw / 58.0),var(--tui-max,13.5px))}
/* bar widths (raw-src/blocks.mjs) */
.bw-1{width:1%}.bw-2{width:2%}.bw-3{width:3%}.bw-4{width:4%}.bw-5{width:5%}.bw-6{width:6%}.bw-7{width:7%}.bw-8{width:8%}.bw-9{width:9%}.bw-10{width:10%}.bw-11{width:11%}.bw-12{width:12%}.bw-13{width:13%}.bw-14{width:14%}.bw-15{width:15%}.bw-16{width:16%}.bw-17{width:17%}.bw-18{width:18%}.bw-19{width:19%}.bw-20{width:20%}.bw-21{width:21%}.bw-22{width:22%}.bw-23{width:23%}.bw-24{width:24%}.bw-25{width:25%}.bw-26{width:26%}.bw-27{width:27%}.bw-28{width:28%}.bw-29{width:29%}.bw-30{width:30%}.bw-31{width:31%}.bw-32{width:32%}.bw-33{width:33%}.bw-34{width:34%}.bw-35{width:35%}.bw-36{width:36%}.bw-37{width:37%}.bw-38{width:38%}.bw-39{width:39%}.bw-40{width:40%}.bw-41{width:41%}.bw-42{width:42%}.bw-43{width:43%}.bw-44{width:44%}.bw-45{width:45%}.bw-46{width:46%}.bw-47{width:47%}.bw-48{width:48%}.bw-49{width:49%}.bw-50{width:50%}.bw-51{width:51%}.bw-52{width:52%}.bw-53{width:53%}.bw-54{width:54%}.bw-55{width:55%}.bw-56{width:56%}.bw-57{width:57%}.bw-58{width:58%}.bw-59{width:59%}.bw-60{width:60%}.bw-61{width:61%}.bw-62{width:62%}.bw-63{width:63%}.bw-64{width:64%}.bw-65{width:65%}.bw-66{width:66%}.bw-67{width:67%}.bw-68{width:68%}.bw-69{width:69%}.bw-70{width:70%}.bw-71{width:71%}.bw-72{width:72%}.bw-73{width:73%}.bw-74{width:74%}.bw-75{width:75%}.bw-76{width:76%}.bw-77{width:77%}.bw-78{width:78%}.bw-79{width:79%}.bw-80{width:80%}.bw-81{width:81%}.bw-82{width:82%}.bw-83{width:83%}.bw-84{width:84%}.bw-85{width:85%}.bw-86{width:86%}.bw-87{width:87%}.bw-88{width:88%}.bw-89{width:89%}.bw-90{width:90%}.bw-91{width:91%}.bw-92{width:92%}.bw-93{width:93%}.bw-94{width:94%}.bw-95{width:95%}.bw-96{width:96%}.bw-97{width:97%}.bw-98{width:98%}.bw-99{width:99%}.bw-100{width:100%}
