/* Copyright (c) 2026 kosa8. All rights reserved. Proprietary; see LICENSE. */

/* kosa8.com — one stylesheet for every page.
 *
 * The look is a calm, monochrome product UI: a #FAFAFA canvas, #F3F3F3
 * surfaces, white cards on #E4E4E4 hairlines, near-black ink (#1C1C1C) for
 * headings, primary buttons and the logo tile, and one green (#4CC35A) kept
 * for live dots and success. Corners are 10-14px, icons are drawn with thin
 * lines, sections sit on a hairline grid with mono "/ label" eyebrows. Dark
 * mode follows prefers-color-scheme and inverts the same tokens.
 *
 * Fonts are self-hosted (assets/fonts, SIL OFL): Inter for text and
 * headings, JetBrains Mono for commands and labels. Nothing is loaded from
 * anywhere else: the CSP is default-src 'none' with font-src 'self', and
 * inline style attributes are blocked by it too, so every stagger below is an
 * nth-child or a class rather than a style="" on the markup. Inline SVGs keep
 * their light-mode fills as attributes; the rules near the end of this file
 * remap them for dark mode.
 */

@font-face { font-family: "Inter"; src: url("/assets/fonts/inter.woff2") format("woff2");
  font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 400 600; font-display: swap; }

:root {
  color-scheme: light;
  --paper: #fafafa;      /* page canvas */
  --paper-2: #f3f3f3;    /* surfaces, sidebars, quiet fills */
  --white: #ffffff;      /* cards */
  --hover: #e8e8e8;      /* active / hover fill */
  --text: #1c1c1c;
  --text-2: #5a5a5a;
  --text-3: #6b6b6b;     /* small muted text: AA on the canvas and on surfaces */
  --icon: #8a8a8a;       /* icons and decoration only, never body text */
  --surface: #ffffff;
  --surface-2: #f3f3f3;
  --line: #e4e4e4;       /* hairlines */
  --line-2: #d4d4d4;     /* inputs, stronger hairlines */
  --rule: #e4e4e4;
  --accent: #1c1c1c;     /* the old amber's jobs, done in ink */
  --accent-2: #e8e8e8;
  --ink: #1c1c1c;
  --ink-hover: #3a3a3a;
  --on-ink: #ffffff;     /* text on an ink fill */
  --on-ink-2: #c4c4c4;
  --ok: #4cc35a;         /* the one accent: live, online, success */
  --ok-t: #1f7a30;       /* the same green, dark enough for text */
  --ok-2: #e7f6e9;
  --warn: #5a5a5a;
  --warn-2: #efefef;
  --term: #ffffff;
  --ember: #5a5a5a;
  --plum: #5a5a5a;
  --teal: #1f7a30;
  --hatch: #d4d4d4;
  --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 4px 16px -8px rgba(0, 0, 0, .08);
  --shadow-lg: 0 1px 2px rgba(0, 0, 0, .04), 0 24px 48px -24px rgba(0, 0, 0, .18);

  --display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --r: 12px;
  --r-sm: 8px;
  --r-lg: 14px;
  --gut: 24px;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --paper: #0f0f0f;
    --paper-2: #171717;
    --white: #1a1a1a;
    --hover: #262626;
    --text: #f3f3f3;
    --text-2: #b4b4b4;
    --text-3: #959595;
    --icon: #7a7a7a;
    --surface: #1a1a1a;
    --surface-2: #171717;
    --line: #2a2a2a;
    --line-2: #3a3a3a;
    --rule: #2a2a2a;
    --accent: #f3f3f3;
    --accent-2: #262626;
    --ink: #f3f3f3;
    --ink-hover: #d4d4d4;
    --on-ink: #111111;
    --on-ink-2: #4a4a4a;
    --ok: #4cc35a;
    --ok-t: #6fd47b;
    --ok-2: #14301a;
    --warn: #b4b4b4;
    --warn-2: #222222;
    --term: #141414;
    --ember: #b4b4b4;
    --plum: #b4b4b4;
    --teal: #6fd47b;
    --hatch: #3a3a3a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .5);
    --shadow-lg: 0 1px 2px rgba(0, 0, 0, .5), 0 24px 48px -24px rgba(0, 0, 0, .8);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; background: var(--paper); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { max-width: 100%; }
a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-2);
  text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { text-decoration-color: var(--text); }
code, kbd, pre { font-family: var(--mono); }
code { font-size: .86em; background: var(--paper-2); border: 1px solid var(--line); border-radius: 6px; padding: .08em .38em; color: var(--text); overflow-wrap: anywhere; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -.025em; font-weight: 600; font-family: var(--display); }
p { margin: 0; }
::selection { background: var(--hover); color: var(--text); }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

/* The old aurora: gone. The element stays in the markup harmlessly. */
.sky { display: none; }

/* ---- the field: drawn dashes, fading out at the edges ------------------- */
.field { position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='14'%3E%3Cpath d='M2 7h22M32 7h14' stroke='%23d4d4d4' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='14'%3E%3Cpath d='M10 7h10M38 7h12' stroke='%231c1c1c' stroke-opacity='.35' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 56px 14px, 56px 14px; background-position: 0 0, 28px 7px;
  -webkit-mask-image: radial-gradient(ellipse 58% 62% at 50% 46%, #000 30%, transparent 78%);
          mask-image: radial-gradient(ellipse 58% 62% at 50% 46%, #000 30%, transparent 78%); }

/* ---- layout ------------------------------------------------------------- */
.wrap { position: relative; z-index: 1; width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gut); }
.wrap--narrow { max-width: 860px; }
section { position: relative; }
.sec { padding: 112px 0; }
.sec--tight { padding: 56px 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.center { text-align: center; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 12.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 9px; height: 9px; background: var(--accent); }
.eyebrow--warn::before { background: var(--warn); }
.eyebrow--ok::before { background: var(--ok); }
.h1 { font-size: clamp(40px, 7vw, 80px); letter-spacing: -.035em; font-weight: 600; }
.h2 { font-size: clamp(32px, 4.6vw, 56px); letter-spacing: -.03em; }
.h3 { font-size: clamp(22px, 2.6vw, 30px); }
.lead { font-size: clamp(17px, 1.7vw, 20px); color: var(--text-2); max-width: 680px; margin-top: 20px; line-height: 1.55; }
.center .lead { margin-left: auto; margin-right: auto; }
.bar { display: block; width: 56px; height: 3px; background: var(--accent); margin: 24px 0 0; }
.center .bar { margin-left: auto; margin-right: auto; }
.bar--warn { background: var(--warn); }
.sec-head { margin-bottom: 64px; }
.muted { color: var(--text-3); }
.note { color: var(--text-2); font-size: 15px; margin-top: 18px; max-width: 820px; overflow-wrap: break-word; }
.note b { color: var(--text); }

/* Emphasis in headings is a block of ink, like a marker pressed hard. */
.phero em, .hero em, .h2 em { font-style: normal; color: var(--paper); background: var(--ink); padding: 0 .14em; margin: 0 .02em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---- the mark ----------------------------------------------------------- */
.mark { display: inline-block; width: 28px; height: 28px; flex: none; vertical-align: middle; }
.lockup { display: inline-flex; align-items: center; gap: .36em; font: 650 1em/1 var(--display); color: var(--text); letter-spacing: -.02em; text-decoration: none; }
.lockup:hover { text-decoration: none; }
.lockup--hero { font-size: 44px; gap: 18px; }
.lockup--hero .mark { width: 64px; height: 64px; }

/* ---- nav ---------------------------------------------------------------- */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid var(--line); }
.nav__inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.nav .lockup { font-size: 22px; }
.nav__links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav__links a { color: var(--text-2); font-size: 14.5px; padding: 8px 12px; white-space: nowrap; text-decoration: none; }
.nav__links a:hover { color: var(--text); }
.nav__links a[aria-current="page"] { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav__links a.nav__cta { background: var(--ink); color: var(--paper); font-weight: 600; margin-left: 10px; padding: 9px 16px; }
.nav__links a.nav__cta:hover { background: var(--ink-hover); }

/* ---- buttons ------------------------------------------------------------ */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.center .btns { justify-content: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; font: 600 15.5px/1 var(--sans); border: 1px solid var(--rule); cursor: pointer; text-decoration: none; transition: transform .18s var(--ease), background .18s, box-shadow .18s; }
.btn:hover { text-decoration: none; transform: none; box-shadow: none; }
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { box-shadow: none; }
.btn--ghost { background: var(--white); color: var(--text); }
.btn--sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn svg { width: 16px; height: 16px; }

/* ---- copyable command --------------------------------------------------- */
.cmd { display: flex; align-items: center; gap: 14px; width: 100%; max-width: 100%; text-align: left; background: var(--white); color: var(--text); border: 1px solid var(--rule); padding: 14px 14px 14px 18px; font: 14.5px/1.55 var(--mono); cursor: pointer; transition: box-shadow .18s, transform .18s var(--ease); }
.cmd:hover { box-shadow: none; transform: none; }
/* A command never wraps: a line break inside `curl … | sh` reads as two
   commands. Explicit newlines (multi-line commands) are kept; a line wider
   than the box scrolls inside it instead of breaking. */
.cmd .t { flex: 1; min-width: 0; white-space: pre; overflow-x: auto; scrollbar-width: thin; }
.cmd .t::before { content: "$ "; color: var(--text-3); }
.cmd .ico { flex: none; font: 600 10.5px/1 var(--mono); letter-spacing: .12em; color: var(--text-2); border: 1px solid var(--line-2); padding: 6px 8px; }
.cmd[data-done] { box-shadow: none; }
.cmd[data-done] .ico { color: var(--ok-t); border-color: var(--ok); }
.cmd--big { width: max-content; max-width: 100%; margin-inline: auto; font-size: clamp(13px, 1.5vw, 16.5px); padding: 17px 16px 17px 22px; }
.cmd--inline { display: inline-flex; width: auto; }
/* PowerShell commands take its prompt, not the shell's. */
.cmd--ps .t::before { content: "> "; }

/* ---- the install block: macOS | Linux | Windows over one command ---------
   site.js ("the install block") picks the visitor's tab and runs the arrow
   keys. The chosen tab is an ink tab standing on the command's top edge. */
.inst { margin-top: 36px; max-width: 560px; }
.inst__tabs { display: flex; flex-wrap: wrap; }
.inst__tab { font: 600 12.5px/1 var(--mono); letter-spacing: .02em; color: var(--text-3); background: none;
  border: 1px solid transparent; border-bottom: 0; padding: 9px 14px 8px; cursor: pointer; }
.inst__tab:hover { color: var(--text); }
.inst__tab[aria-selected="true"] { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.inst__tab:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.inst__panel[hidden] { display: none; }
.inst .cmd { font-size: 15px; padding: 15px 14px 15px 18px; }
/* The tab is attached to the box, so the box stays put on hover. */
.inst .cmd:hover { transform: none; }
.inst__next { margin-top: 12px; font: 12.5px/1.5 var(--mono); color: var(--text-3); }
.inst__next code { font-size: inherit; color: var(--text); background: none; border: 0; padding: 0; }
.inst--big { max-width: 640px; }
.install .inst { margin-top: 0; }
.inst--big .cmd { font-size: clamp(13px, 1.5vw, 16.5px); padding: 17px 16px 17px 22px; }
@media (max-width: 600px) {
  /* The line fits a phone whole: the text scales with the screen and the
     COPY label goes (tapping the box still copies, and it flashes green). */
  .inst .cmd, .inst--big .cmd { font-size: min(13px, 3.1vw); padding: 13px 12px; }
  .inst .cmd .ico { display: none; }
}

/* ---- hero --------------------------------------------------------------- */
.hero { padding: 72px 0 40px; text-align: center; overflow: hidden; }
.hero .field { inset: -20px 0 0; }
.wordmark { display: inline-flex; align-items: center; gap: .14em; font: 600 clamp(84px, 15vw, 196px)/.9 var(--display); letter-spacing: -.055em; color: var(--text); margin: 0 0 28px; }
.wordmark .mark { width: .62em; height: .62em; margin-right: .06em; transform: translateY(.03em); }
/* One line from tablet width up; two balanced lines on a phone. */
.hero .h1 { max-width: 1060px; margin: 0 auto; font-size: clamp(30px, 4.6vw, 56px); font-weight: 500; letter-spacing: -.03em; text-wrap: balance; }
/* Wide screens: the headline sits on one line, sized to the viewport. */
@media (min-width: 900px) { .hero .h1 { max-width: none; white-space: nowrap; font-size: min(3.25vw, 54px); } }
.hero .lead { font-size: clamp(17px, 1.8vw, 20px); max-width: 640px; }
.hero__what { font-size: 15px; color: var(--text-2); max-width: 640px; margin: 10px auto 0; line-height: 1.55; }
.hero__install { max-width: 640px; margin: 40px auto 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero__note { margin-top: 14px; font-size: 14px; color: var(--text-3); }
.trial { display: inline-block; font: 500 12.5px/1 var(--mono); color: var(--paper); background: var(--ink); padding: 6px 9px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 26px; }
.chip { font: 13px var(--mono); color: var(--text-2); border: 1px solid var(--line-2); background: var(--white); padding: 6px 11px; }
.phero { padding: 96px 0 72px; overflow: hidden; }
.phero .field { -webkit-mask-image: radial-gradient(ellipse 60% 70% at 85% 30%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse 60% 70% at 85% 30%, #000 20%, transparent 70%); }
.phero .h1 { font-size: clamp(38px, 6vw, 68px); max-width: 920px; }
.phero .chips { justify-content: flex-start; }

/* floating sealed cubes around the wordmark */
.floaters { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.fl { position: absolute; display: block; animation: bob 7s ease-in-out infinite; }
.fl svg { display: block; width: 100%; height: auto; }
.fl1 { width: 46px; left: 12%; top: 18%; }
.fl2 { width: 64px; right: 13%; top: 14%; animation-delay: -2s; }
.fl3 { width: 38px; left: 27%; top: 6%; animation-delay: -4s; }
.fl4 { width: 54px; right: 8%; top: 52%; animation-delay: -1s; }
.fl5 { width: 40px; left: 6%; top: 70%; animation-delay: -5s; }
.fl6 { width: 50px; right: 24%; top: 76%; animation-delay: -3s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-9px) rotate(-1.5deg); } }

/* ---- isometric line art (hero floaters and the scene) ------------------- */
.iso .f-t { fill: var(--white); stroke: var(--ink); stroke-width: 1.3; stroke-linejoin: round; }
.iso .f-l { fill: var(--paper-2); stroke: var(--ink); stroke-width: 1.3; stroke-linejoin: round; }
.iso .f-r { fill: var(--white); stroke: var(--ink); stroke-width: 1.3; stroke-linejoin: round; }
.iso .h { stroke: var(--ink); stroke-width: .7; opacity: .55; }
.iso .seam { fill: none; stroke: var(--ink); stroke-width: 1; stroke-dasharray: 3 2.5; }
.iso .lock { fill: var(--ink); }
.iso .lock-s { fill: none; stroke: var(--ink); stroke-width: 1.1; }
.is-key .f-t { fill: var(--accent); }
.is-key .f-l { fill: var(--text-3); }
.is-key .f-r { fill: var(--accent-2); }
.iso .slab .f-t { fill: var(--white); stroke: var(--ink); stroke-width: 1.4; }
.iso .slab .f-l, .iso .slab .f-r { fill: var(--paper-2); stroke: var(--ink); stroke-width: 1.4; }
.iso .slab .grid { stroke: var(--line-2); stroke-width: .8; stroke-dasharray: 2 4; }
.iso .lead { fill: none; stroke: var(--ink); stroke-width: .9; stroke-dasharray: 2 3; }
.iso .dot { fill: var(--ink); }
.iso .lbl { font: 600 13px var(--mono); fill: var(--ink); }
.iso .lbl2 { font: 12px var(--mono); fill: var(--text-3); }
.iso .cap { font-size: 12.5px; }
.iso--scene .cube { animation: isofloat 6s ease-in-out infinite; }
.iso--scene .b2 { animation-delay: -1.5s; } .iso--scene .b3 { animation-delay: -3s; } .iso--scene .b4 { animation-delay: -4.5s; }
@keyframes isofloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.scene { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 24px 0 96px; text-align: left; }
.scene .iso--scene { width: 100%; height: auto; display: block; }
.scene .term { align-self: center; }

/* ---- film --------------------------------------------------------------- */
.film { position: relative; overflow: hidden; border: 1px solid var(--rule); background: #0d0d0d; box-shadow: none; aspect-ratio: 16 / 9; }
.film video { display: block; width: 100%; height: 100%; object-fit: cover; background: #0d0d0d; }
.film__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, .45)); border: 0; cursor: pointer; color: var(--text); font: 600 15px var(--sans); }
.film__play span { display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px 12px 12px; background: var(--white); border: 1px solid var(--rule); transition: transform .2s var(--ease), box-shadow .2s; }
.film__play:hover span { transform: none; box-shadow: none; }
.film__play i { width: 36px; height: 36px; background: var(--ink); display: grid; place-items: center; }
.film__play i::before { content: ""; border-left: 11px solid var(--paper); border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.film[data-playing] .film__play { display: none; }
.film__cap { margin-top: 22px; color: var(--text-3); font: 13.5px var(--mono); text-align: center; }

/* ---- cards and grids ---------------------------------------------------- */
.grid { display: grid; gap: 0; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.grid > * { border-right: 1px solid var(--rule) !important; border-bottom: 1px solid var(--rule) !important; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--white); border: 0; padding: 28px; min-width: 0; }
.card h3 { font-size: 20px; letter-spacing: -.015em; margin-bottom: 10px; }
.card p { color: var(--text-2); font-size: 15px; }
.card p + p { margin-top: 10px; }
.card--link { display: block; color: inherit; text-decoration: none; transition: background .2s; }
.card--link:hover { text-decoration: none; background: var(--paper-2); }
.card .go { display: inline-block; margin-top: 16px; color: var(--text); font: 600 13.5px var(--mono); }
.card .go::after { content: " →"; }
.card__ico { width: 42px; height: 42px; display: grid; place-items: center; background: var(--accent-2); border: 1px solid var(--rule); margin-bottom: 18px; color: var(--ink); }
.card__ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---- problems ----------------------------------------------------------- */
.pcard { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.pcard__art { aspect-ratio: 16 / 9; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.pcard__art svg { display: block; width: 100%; height: 100%; }
.pcard__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.pcard .kw { font: 600 11.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--warn); margin-bottom: 10px; }
.pcard h3 { font-size: 19px; margin-bottom: 14px; }

.sectors { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.sector { background: var(--white); border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 20px; transition: background .25s; }
.sector b { display: block; font: 600 16px var(--display); }
.sector span { display: block; margin-top: 6px; font-size: 13px; color: var(--text-3); }
.sector:hover { background: var(--warn-2); }
.sector:hover span { color: var(--warn); }

/* ---- the turn ----------------------------------------------------------- */
.turn { text-align: center; padding: 128px 0 48px; }
.turn .mark { width: 84px; height: 84px; margin-bottom: 28px; }
.turn__where { margin-top: 18px; color: var(--ok-t); font: 14px var(--mono); }

/* ---- benefits ----------------------------------------------------------- */
.benefit { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: center; padding: 72px 0; }
.benefit + .benefit { border-top: 1px solid var(--line); }
.benefit--flip > :first-child { order: 2; }
.benefit h3 { font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -.03em; }
.benefit .sub { margin-top: 16px; color: var(--text-2); font-size: 17px; }
.benefit .cmd { margin-top: 26px; }
.benefit ul { margin: 18px 0 0; padding: 0; list-style: none; }
.benefit li { position: relative; padding-left: 26px; color: var(--text-2); margin-top: 8px; font-size: 15.5px; }
.benefit li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 12px; height: 7px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.stage { background: var(--white); border: 1px solid var(--rule); padding: 20px; min-width: 0; box-shadow: none; }
.stage svg { display: block; width: 100%; height: auto; }
.badges { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.badge { display: flex; gap: 14px; align-items: center; background: var(--white); border: 1px solid var(--rule); border-top: 0; padding: 12px 16px; }
.badge i { flex: none; width: 24px; height: 24px; background: var(--ok); position: relative; }
.badge i::after { content: ""; position: absolute; left: 7px; top: 6px; width: 9px; height: 5px; border-left: 2px solid var(--white); border-bottom: 2px solid var(--white); transform: rotate(-45deg); }
.badge b { display: block; font-size: 15.5px; }
.badge span { display: block; font-size: 13px; color: var(--text-3); }

/* ---- problem -> answer -------------------------------------------------- */
.answers { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.answer { display: grid; grid-template-columns: minmax(0, 1fr) 32px minmax(0, 1.5fr); align-items: center; gap: 16px; background: var(--white); border: 1px solid var(--rule); border-top: 0; padding: 16px 20px; }
.answer s { color: var(--text-3); text-decoration-color: var(--warn); text-decoration-thickness: 2px; font-weight: 500; }
.answer .arr { color: var(--text-3); text-align: center; font-family: var(--mono); }
.answer span:last-child { display: flex; gap: 12px; align-items: center; font-weight: 550; }
.answer span:last-child::before { content: ""; flex: none; width: 20px; height: 20px; background: var(--ok) no-repeat center / 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.3l2.6 2.5L10 3.4' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* ---- pricing ------------------------------------------------------------ */
.prices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.price, .plan { position: relative; display: flex; flex-direction: column; background: var(--white); border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 28px 24px; min-width: 0; }
.plan { border: 1px solid var(--rule); }
.price--best, .plan--best { background: var(--paper-2); box-shadow: inset 0 4px 0 var(--accent); }
.price h3, .plan h3 { font-size: 21px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.best { font: 600 10.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--paper); background: var(--ink); padding: 5px 7px; }
.amount { margin-top: 18px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.amount b { font: 600 48px/1 var(--display); letter-spacing: -.04em; }
.amount span { color: var(--text-3); font-size: 14px; }
.blurb { color: var(--text-2); font-size: 14.5px; margin-top: 10px; min-height: 3em; }
.prods { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 6px; }
.prods li { font-size: 14px; color: var(--text-2); padding-left: 22px; position: relative; }
.prods li::before { content: ""; position: absolute; left: 3px; top: .45em; width: 9px; height: 5px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.limits { margin-top: 18px; font: 12.5px/1.5 var(--mono); color: var(--text); background: var(--paper-2); border: 1px solid var(--line-2); padding: 8px 10px; }
.price .btn, .plan .btn { margin-top: 18px; width: 100%; }
.annual { margin-top: auto; padding-top: 16px; font-size: 13.5px; }
.contract { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; background: var(--white); border: 1px solid var(--rule); box-shadow: none; padding: 44px; }
.addons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.addon .big { font: 600 32px var(--display); letter-spacing: -.03em; display: block; margin-bottom: 8px; }

.buylist { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.buyrow { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 20px; align-items: center; background: var(--white); border: 1px solid var(--rule); border-top: 0; padding: 14px 16px 14px 20px; }
.buyrow b { display: block; }
.buyrow span { display: block; color: var(--text-3); font-size: 13.5px; }
.buyrow__price { font: 600 22px var(--display); text-align: right; }

/* ---- terminal: a light page, coloured output ---------------------------- */
.term { background: var(--white); border: 1px solid var(--rule); overflow: hidden; min-width: 0; box-shadow: none; }
.term__bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; border-bottom: 1px solid var(--rule); background: var(--paper-2); }
.term__bar i { width: 9px; height: 9px; border: 1px solid var(--ink); background: var(--white); }
.term__bar i:first-child { background: var(--accent); }
.term__bar span { margin-left: 8px; font: 12px var(--mono); color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.term pre { margin: 0; padding: 18px 18px 20px; font-size: 12.8px; line-height: 1.7; color: var(--text-2); overflow-x: auto; white-space: pre; }
.term--tall pre { max-height: 560px; overflow-y: auto; }
.term .ln { display: inline-block; min-height: 1em; }
.term .p { color: var(--text); font-weight: 500; }
.term .p::before { content: "$ "; color: var(--accent); }
.term .g { color: var(--ok-t); }
.term .r { color: var(--warn); }
.term .a { color: var(--text-2); }
.term .d { color: var(--text-3); }
.term .c { color: var(--text); }
.term b { font-weight: 600; }
.js .term[data-anim] .ln { opacity: 0; transform: translateY(4px); transition: opacity .35s ease, transform .35s var(--ease); }
.js .term[data-anim].in .ln { opacity: 1; transform: none; }
.js .term[data-anim].in .ln:nth-child(2) { transition-delay: .25s; }
.js .term[data-anim].in .ln:nth-child(3) { transition-delay: .45s; }
.js .term[data-anim].in .ln:nth-child(4) { transition-delay: .65s; }
.js .term[data-anim].in .ln:nth-child(5) { transition-delay: .85s; }
.js .term[data-anim].in .ln:nth-child(6) { transition-delay: 1.05s; }
.js .term[data-anim].in .ln:nth-child(7) { transition-delay: 1.25s; }
.js .term[data-anim].in .ln:nth-child(8) { transition-delay: 1.45s; }
.js .term[data-anim].in .ln:nth-child(9) { transition-delay: 1.65s; }
.js .term[data-anim].in .ln:nth-child(10) { transition-delay: 1.85s; }
.js .term[data-anim].in .ln:nth-child(11) { transition-delay: 2.05s; }
.js .term[data-anim].in .ln:nth-child(12) { transition-delay: 2.25s; }
.js .term[data-anim].in .ln:nth-child(n+13) { transition-delay: 2.45s; }

/* product rows (text + terminal) */
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; padding: 56px 0; }
.row + .row { border-top: 1px solid var(--line); }
.row--flip > :first-child { order: 2; }
.row h3 { font-size: clamp(26px, 2.8vw, 34px); letter-spacing: -.025em; }
.row p { color: var(--text-2); margin-top: 14px; font-size: 16.5px; }
.kicker { display: inline-flex; gap: 10px; align-items: center; font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.kicker b { color: var(--paper); background: var(--ink); font-family: var(--mono); letter-spacing: 0; padding: 2px 6px; }
.more { display: inline-block; margin-top: 18px; font: 600 14px var(--mono); }
.stats { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 24px; }
.stats b { display: block; font: 600 34px/1.1 var(--display); letter-spacing: -.03em; }
.stats b i { font-style: normal; font-size: 16px; color: var(--text-3); font-weight: 500; margin-left: 2px; }
.stats span { color: var(--text-3); font: 12.5px var(--mono); }

.shot { margin: 0; overflow: hidden; border: 1px solid var(--rule); background: var(--white); box-shadow: none; }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption { padding: 12px 16px; color: var(--text-3); font: 13px var(--mono); border-top: 1px solid var(--rule); }

/* ---- steps -------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; text-align: left; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.step { background: var(--white); border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 24px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.step__n { width: 30px; height: 30px; display: grid; place-items: center; background: var(--ink); color: var(--paper); font: 600 13px var(--mono); }
.step h3 { font-size: 19px; }
.step p { color: var(--text-2); font-size: 14.5px; flex: 1; }
.step .cmd { font-size: 12.5px; }

/* ---- download ----------------------------------------------------------- */
.relbar { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font: 13px var(--mono); color: var(--text-2); }
.relbar span { display: inline-flex; align-items: center; gap: 8px; }
.relbar .dot { width: 8px; height: 8px; background: var(--ok); }
.install { margin-top: 32px; max-width: 700px; }
.detect { display: none; margin-top: 18px; font-size: 15px; color: var(--text-2); gap: 10px 16px; flex-wrap: wrap; align-items: center; }
.detect[data-on] { display: flex; }
.detect a[data-detect-link] { font-weight: 600; }
.tabs__bar { display: flex; gap: 0; flex-wrap: wrap; border: 1px solid var(--rule); width: max-content; max-width: 100%; margin-bottom: 28px; background: var(--white); }
.tabs__bar button { font: 600 14px var(--mono); color: var(--text-2); background: none; border: 0; border-right: 1px solid var(--rule); padding: 11px 18px; cursor: pointer; }
.tabs__bar button:last-child { border-right: 0; }
.tabs__bar button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.tabs__panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.tabs__panel[hidden] { display: none; }
.way { background: var(--white); border: 1px solid var(--rule); padding: 24px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.way--primary { box-shadow: inset 0 4px 0 var(--accent); }
.way--wide { grid-column: 1 / -1; }
.way h3 { font-size: 19px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.way p { color: var(--text-2); font-size: 14.5px; }
.tag { font: 600 10.5px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; padding: 4px 7px; color: var(--ink); background: var(--accent-2); border: 1px solid var(--rule); }
.tag--ok { background: var(--ok-2); }
.tag--mute { background: var(--paper-2); color: var(--text-2); border-color: var(--line-2); }
.files { display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.filerow { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px; background: var(--white); border: 1px solid var(--line-2); border-top: 0; color: var(--text); min-width: 0; text-decoration: none; }
.filerow:hover { background: var(--paper-2); text-decoration: none; }
.filerow__name { font: 13px var(--mono); min-width: 0; overflow-wrap: anywhere; }
.filerow__what { display: block; font: 12.5px var(--sans); color: var(--text-3); margin-top: 3px; }
.filerow__sz { flex: none; font: 12px var(--mono); color: var(--text-3); }
.panel-note { grid-column: 1 / -1; font-size: 14.5px; color: var(--text-2); background: var(--warn-2); border: 1px solid var(--warn); padding: 14px 16px; }
.panel-note--ok { background: var(--ok-2); border-color: var(--ok); }
.panel-note b { color: var(--text); }
.verify { display: grid; gap: 16px; }

/* ---- commands reference ------------------------------------------------- */
.filter { display: flex; align-items: center; gap: 10px; max-width: 460px; margin-bottom: 40px; background: var(--white); border: 1px solid var(--rule); padding: 0 14px; }
.filter input { flex: 1; min-width: 0; background: none; border: 0; color: var(--text); font: 15px var(--mono); padding: 13px 0; outline: none; }
.filter svg { width: 18px; height: 18px; fill: none; stroke: var(--text-2); stroke-width: 2; }
.cgroup { margin-bottom: 48px; }
.cgroup > h3 { font: 600 12.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); margin-bottom: 14px; }
.ctable { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.crow { background: var(--white); border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 14px 16px; min-width: 0; }
.crow code { background: none; border: 0; padding: 0; font-size: 14px; color: var(--text); font-weight: 600; }
.crow p { color: var(--text-2); font-size: 14px; margin-top: 4px; }
.crow .next { display: inline-block; margin-left: 6px; padding: 0 6px; border: 1px solid var(--rule); border-radius: 999px; font-size: 12px; color: var(--text-2); }
.subs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.subs span { font: 11.5px var(--mono); color: var(--text-2); background: var(--paper-2); border: 1px solid var(--line-2); padding: 2px 7px; }
.crow[hidden], .cgroup[hidden] { display: none; }

/* ---- closer + footer ---------------------------------------------------- */
.closer { text-align: center; padding: 128px 0; overflow: hidden; }
.closer .mark { width: 72px; height: 72px; margin-bottom: 26px; }
.closer .steps { margin-top: 52px; }
footer { position: relative; border-top: 1px solid var(--rule); padding: 72px 0 0; background: var(--paper); overflow: hidden; }
.fgrid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.fgrid h2 { font: 600 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.fgrid a:not(.lockup) { display: block; color: var(--text-2); font-size: 14.5px; padding: 4px 0; text-decoration: none; }
.fgrid a:not(.lockup):hover { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); }
.fgrid .tagline { color: var(--text-2); font-size: 14.5px; margin-top: 14px; max-width: 280px; }
.fine { margin-top: 56px; padding: 22px 0 28px; border-top: 1px solid var(--line); font: 12.5px var(--mono); color: var(--text-3); }
/* the closing line of the page: the field again, under the footer */
footer::after { content: ""; display: block; height: 72px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='14'%3E%3Cpath d='M2 7h22M32 7h14' stroke='%23d4d4d4' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 56px 14px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 60%); mask-image: linear-gradient(180deg, transparent, #000 60%); }

/* ---- reveal ------------------------------------------------------------- */
.reveal.pre { opacity: 0; transform: translateY(18px); }
.reveal { transition: opacity .8s var(--ease), transform .8s var(--ease); }

/* =========================================================================
/* =========================================================================
 * Illustrations. Every animation is a loop on the SVG's own elements, and
 * every one is switched off under prefers-reduced-motion at the bottom.
 * ======================================================================= */
.art text { font-family: var(--sans); }
.art .mono { font-family: var(--mono); }
.art .t1 { fill: var(--text); }
.art .t2 { fill: var(--text-2); }
.art .t3 { fill: var(--text-3); }
.art .tw { fill: var(--warn); }
.art .ta { fill: var(--accent); }
.art .to { fill: var(--ok); }
.art .srf { fill: var(--surface); stroke: var(--line-2); }
.art .srf2 { fill: var(--surface-2); }
.art .trm { fill: var(--term); stroke: var(--line-2); }
.art * { transform-box: fill-box; transform-origin: center; }

/* 1 deleted: rows drain from both databases */
.a-del .row { fill: var(--line-2); animation: drain 7s ease-in infinite; }
.a-del .db2 .row { fill: var(--hatch); animation-name: drain2; }
.a-del .row:nth-child(1) { animation-delay: .0s; } .a-del .row:nth-child(2) { animation-delay: .12s; }
.a-del .row:nth-child(3) { animation-delay: .24s; } .a-del .row:nth-child(4) { animation-delay: .36s; }
.a-del .row:nth-child(5) { animation-delay: .48s; } .a-del .row:nth-child(6) { animation-delay: .6s; }
.a-del .rim { stroke: var(--accent); animation: rimWarn 7s ease infinite; }
.a-del .db2 .rim { stroke: var(--text-3); animation-delay: .5s; }
.a-del .clock { animation: clock 7s ease infinite; }
@keyframes drain { 0%, 20% { opacity: 1; } 40%, 90% { opacity: 0; } 100% { opacity: 1; } }
@keyframes drain2 { 0%, 30% { opacity: 1; } 50%, 90% { opacity: 0; } 100% { opacity: 1; } }
@keyframes rimWarn { 0%, 22% { stroke: var(--accent); } 40%, 90% { stroke: var(--warn); } 100% { stroke: var(--accent); } }
@keyframes clock { 0%, 18% { opacity: 0; } 30%, 90% { opacity: 1; } 100% { opacity: 0; } }

/* 2 injection: the poisoned line glows, the data leaves */
.a-inj .evil { animation: glow 3.2s ease-in-out infinite; }
.a-inj .pkt { fill: var(--ember); animation: leave 2.8s linear infinite; opacity: 0; }
.a-inj .pkt:nth-of-type(2) { animation-delay: .7s; } .a-inj .pkt:nth-of-type(3) { animation-delay: 1.4s; } .a-inj .pkt:nth-of-type(4) { animation-delay: 2.1s; }
@keyframes glow { 0%, 100% { opacity: .65; } 50% { opacity: 1; } }
@keyframes leave { 0% { transform: translateX(0); opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(118px); opacity: 0; } }

/* 3 CLI hijack: lines type in, keys fly off */
.a-cli .tl { opacity: 0; animation: lineIn 7s steps(1) infinite; }
.a-cli .tl:nth-of-type(1) { animation-delay: 0s; } .a-cli .tl:nth-of-type(2) { animation-delay: .5s; }
.a-cli .tl:nth-of-type(3) { animation-delay: 1s; } .a-cli .tl:nth-of-type(4) { animation-delay: 1.5s; }
.a-cli .tl:nth-of-type(5) { animation-delay: 2s; } .a-cli .tl:nth-of-type(6) { animation-delay: 2.4s; }
.a-cli .tl:nth-of-type(7) { animation-delay: 2.8s; }
.a-cli .key { stroke: var(--ember); fill: none; stroke-width: 2; animation: fly 3s ease-in infinite; opacity: 0; }
.a-cli .key:nth-of-type(2) { animation-delay: .6s; } .a-cli .key:nth-of-type(3) { animation-delay: 1.2s; }
.a-cli .key:nth-of-type(4) { animation-delay: 1.8s; } .a-cli .key:nth-of-type(5) { animation-delay: 2.4s; }
@keyframes lineIn { 0% { opacity: 0; } 4% { opacity: 1; } 92% { opacity: 1; } 96% { opacity: 0; } }
@keyframes fly { 0% { transform: translate(0, 0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translate(70px, -26px); opacity: 0; } }

/* 4 MCP: every mail gets a copy */
.a-mcp .flow { stroke-dasharray: 5 6; animation: dash 1.2s linear infinite; }
.a-mcp .bcc { stroke: var(--warn); stroke-dasharray: 5 6; animation: dash 1.2s linear infinite; }
.a-mcp .cp { fill: var(--warn); animation: drop 1.8s ease-in infinite; }
.a-mcp .cp:nth-of-type(2) { animation-delay: .9s; }
@keyframes dash { to { stroke-dashoffset: -22; } }
@keyframes drop { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(34px); opacity: 0; } }

/* 5 packages: the worm spreads outward */
.a-pkg rect.p { fill: var(--paper-2); stroke: var(--line-2); animation: infect 6s ease infinite; }
.a-pkg .d1 { animation-delay: .3s; } .a-pkg .d2 { animation-delay: .6s; } .a-pkg .d3 { animation-delay: .9s; }
.a-pkg .d4 { animation-delay: 1.2s; } .a-pkg .d5 { animation-delay: 1.5s; } .a-pkg .d6 { animation-delay: 1.8s; }
.a-pkg .d7 { animation-delay: 2.1s; } .a-pkg .d8 { animation-delay: 2.4s; } .a-pkg .d9 { animation-delay: 2.7s; }
.a-pkg .d10 { animation-delay: 3s; } .a-pkg .d11 { animation-delay: 3.3s; }
@keyframes infect { 0%, 8% { fill: var(--paper-2); stroke: var(--line-2); } 16%, 88% { fill: var(--warn-2); stroke: var(--warn); } 100% { fill: var(--paper-2); stroke: var(--line-2); } }

/* 6 secrets: keys float up */
.a-sec .up { animation: rise 5s linear infinite; opacity: 0; }
.a-sec .up:nth-of-type(2n) { animation-duration: 6.2s; } .a-sec .up:nth-of-type(3n) { animation-duration: 4.4s; }
.a-sec .s1 { animation-delay: .4s; } .a-sec .s2 { animation-delay: 1.1s; } .a-sec .s3 { animation-delay: 1.9s; }
.a-sec .s4 { animation-delay: 2.6s; } .a-sec .s5 { animation-delay: 3.3s; } .a-sec .s6 { animation-delay: 4s; }
@keyframes rise { 0% { transform: translateY(40px); opacity: 0; } 15% { opacity: .9; } 80% { opacity: .5; } 100% { transform: translateY(-60px); opacity: 0; } }

/* 7 shadow AI: unknowns keep appearing */
.a-sha .n { animation: pop 5s ease infinite; opacity: 0; }
.a-sha .d1 { animation-delay: .2s; } .a-sha .d2 { animation-delay: .5s; } .a-sha .d3 { animation-delay: .8s; }
.a-sha .d4 { animation-delay: 1.1s; } .a-sha .d5 { animation-delay: 1.4s; } .a-sha .d6 { animation-delay: 1.7s; }
.a-sha .d7 { animation-delay: 2s; } .a-sha .d8 { animation-delay: 2.3s; }
@keyframes pop { 0% { opacity: 0; transform: scale(.4); } 10% { opacity: 1; transform: scale(1); } 85% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(.8); } }

/* 8 no proof: the actor column never resolves */
.a-prf .who { animation: flicker 1.3s steps(2) infinite; }
.a-prf .who:nth-of-type(2n) { animation-delay: .4s; }
.a-prf .q { animation: glow 2.4s ease-in-out infinite; }
@keyframes flicker { 0% { fill: var(--warn); } 50% { fill: var(--text-3); } }

/* benefits ---------------------------------------------------------------- */
.b-vm .wall { stroke: var(--accent); stroke-width: 3; animation: wall 5s var(--ease) infinite; transform-origin: center; }
.b-vm .vm { animation: vmIn .9s var(--ease) both; }
.b-vm .vm:nth-of-type(2) { animation-delay: .15s; } .b-vm .vm:nth-of-type(3) { animation-delay: .3s; } .b-vm .vm:nth-of-type(4) { animation-delay: .45s; }
.b-vm .bad { animation: bad 5s ease infinite; }
@keyframes wall { 0%, 25% { transform: scaleY(0); } 40%, 92% { transform: scaleY(1); } 100% { transform: scaleY(0); } }
@keyframes vmIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes bad { 0%, 50% { stroke: var(--accent); fill: var(--surface); } 60%, 85% { stroke: var(--warn); fill: var(--warn-2); } 95%, 100% { stroke: var(--accent); fill: var(--surface); } }

.b-egr .ok { stroke: var(--ok); stroke-width: 2.5; }
.b-egr .no { stroke: var(--warn); stroke-width: 2.5; stroke-dasharray: 100; animation: reach 4s ease infinite; }
.b-egr .x { stroke: var(--warn); stroke-width: 3; animation: xin 4s ease infinite; opacity: 0; }
.b-egr .dot { fill: var(--ok); }
.b-egr .dotL { animation: toL 2.2s linear infinite; }
.b-egr .dotR { animation: toR 2.2s linear infinite; animation-delay: .6s; }
@keyframes reach { 0% { stroke-dashoffset: 100; } 30%, 100% { stroke-dashoffset: 0; } }
@keyframes xin { 0%, 28% { opacity: 0; } 35%, 100% { opacity: 1; } }
@keyframes toL { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: none; opacity: 0; } }
@keyframes toR { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translate(45px, -80px); opacity: 0; } }

.b-apr .tick1, .b-apr .tick2, .b-apr .done { opacity: 0; animation: appr 6s ease infinite; }
.b-apr .tick2 { animation-name: appr2; }
.b-apr .done { animation-name: appr3; }
.b-apr .wait1 { animation: wait1 6s ease infinite; }
.b-apr .wait2 { animation: wait2 6s ease infinite; }
@keyframes appr { 0%, 20% { opacity: 0; } 26%, 94% { opacity: 1; } 100% { opacity: 0; } }
@keyframes appr2 { 0%, 45% { opacity: 0; } 51%, 94% { opacity: 1; } 100% { opacity: 0; } }
@keyframes appr3 { 0%, 60% { opacity: 0; } 68%, 94% { opacity: 1; } 100% { opacity: 0; } }
@keyframes wait1 { 0%, 20% { opacity: 1; } 24%, 96% { opacity: 0; } 100% { opacity: 1; } }
@keyframes wait2 { 0%, 45% { opacity: 1; } 49%, 96% { opacity: 0; } 100% { opacity: 1; } }

.b-rew .f { animation: broke 6s ease infinite; }
.b-rew .strike { stroke: var(--warn); stroke-width: 2.5; animation: strike 6s ease infinite; transform-origin: left; transform: scaleX(0); }
.b-rew .dial { stroke: var(--ok); stroke-width: 7; fill: none; stroke-dasharray: 320; stroke-dashoffset: 320; animation: dial 6s ease infinite; transform-origin: center; transform: rotate(-90deg); }
.b-rew .lbl-bad { animation: lblBad 6s ease infinite; opacity: 0; }
.b-rew .lbl-ok { animation: lblOk 6s ease infinite; opacity: 0; }
@keyframes broke { 0%, 20% { fill: var(--text-2); opacity: 1; } 28%, 55% { fill: var(--warn); opacity: .45; } 68%, 100% { fill: var(--ok); opacity: 1; } }
@keyframes strike { 0%, 20% { transform: scaleX(0); } 28%, 55% { transform: scaleX(1); } 62%, 100% { transform: scaleX(0); } }
@keyframes dial { 0%, 50% { stroke-dashoffset: 320; } 68%, 92% { stroke-dashoffset: 25; } 100% { stroke-dashoffset: 320; } }
@keyframes lblBad { 0%, 22% { opacity: 0; } 28%, 55% { opacity: 1; } 60%, 100% { opacity: 0; } }
@keyframes lblOk { 0%, 64% { opacity: 0; } 70%, 96% { opacity: 1; } 100% { opacity: 0; } }

.b-frk .br { fill: var(--line-2); transform-origin: left; animation: grow 6s ease-out infinite; }
.b-frk .br1 { animation-name: g1; } .b-frk .br2 { animation-name: g2; } .b-frk .br3 { animation-name: g3; }
.b-frk .br4 { animation-name: g4; } .b-frk .br5 { animation-name: g5; } .b-frk .br6 { animation-name: g6; }
.b-frk .br7 { animation-name: g7; }
.b-frk .win { fill: var(--ok); transform-origin: left; animation: gw 6s ease-out infinite; }
.b-frk .keep { animation: keep 6s ease infinite; opacity: 0; }
.b-frk .rest { animation: rest 6s ease infinite; }
@keyframes gw { 0%, 8% { transform: scaleX(0); } 55%, 94% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes g1 { 0%, 8% { transform: scaleX(0); } 55%, 94% { transform: scaleX(.62); } 100% { transform: scaleX(0); } }
@keyframes g2 { 0%, 8% { transform: scaleX(0); } 55%, 94% { transform: scaleX(.8); } 100% { transform: scaleX(0); } }
@keyframes g3 { 0%, 8% { transform: scaleX(0); } 55%, 94% { transform: scaleX(.55); } 100% { transform: scaleX(0); } }
@keyframes g4 { 0%, 8% { transform: scaleX(0); } 55%, 94% { transform: scaleX(.7); } 100% { transform: scaleX(0); } }
@keyframes g5 { 0%, 8% { transform: scaleX(0); } 55%, 94% { transform: scaleX(.5); } 100% { transform: scaleX(0); } }
@keyframes g6 { 0%, 8% { transform: scaleX(0); } 55%, 94% { transform: scaleX(.85); } 100% { transform: scaleX(0); } }
@keyframes g7 { 0%, 8% { transform: scaleX(0); } 55%, 94% { transform: scaleX(.66); } 100% { transform: scaleX(0); } }
@keyframes keep { 0%, 58% { opacity: 0; } 64%, 94% { opacity: 1; } 100% { opacity: 0; } }
@keyframes rest { 0%, 58% { opacity: 1; } 66%, 94% { opacity: .3; } 100% { opacity: 1; } }

.b-aud .blk { opacity: 0; animation: blk 6s ease infinite; }
.b-aud .blk:nth-of-type(2) { animation-delay: .35s; } .b-aud .blk:nth-of-type(3) { animation-delay: .7s; } .b-aud .blk:nth-of-type(4) { animation-delay: 1.05s; }
.b-aud .dst { opacity: 0; animation: dst 6s ease infinite; }
.b-aud .ok { opacity: 0; animation: appr3 6s ease infinite; }
@keyframes blk { 0% { opacity: 0; transform: translateY(6px); } 8%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes dst { 0%, 30% { opacity: 0; } 38%, 94% { opacity: 1; } 100% { opacity: 0; } }

.b-kit .wire { stroke: color-mix(in srgb, var(--ink) 35%, transparent); stroke-width: 1.5; stroke-dasharray: 4 5; animation: dash 1.4s linear infinite; }
.b-kit .wo { stroke: var(--ok); stroke-width: 1.8; }
.b-kit .wx { stroke: var(--warn); stroke-width: 1.8; stroke-dasharray: 4 5; }
.b-kit .gw { animation: glow 3s ease-in-out infinite; }

.b-sov .ring { fill: none; stroke: color-mix(in srgb, var(--ink) 25%, transparent); animation: ring 4s ease-out infinite; transform-origin: center; }
.b-sov .ring2 { animation-delay: 1.3s; } .b-sov .ring3 { animation-delay: 2.6s; }
.b-sov .cut { stroke: var(--warn); stroke-width: 4; }
@keyframes ring { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }


/* The illustrations were drawn for a dark page and carry their fills as
   attributes. A CSS rule outranks a presentation attribute, so the palette is
   remapped here instead of in a dozen hand-drawn SVGs. */
.art [fill="#12161c"], .stage [fill="#12161c"] { fill: var(--white); }
.art [fill="#171c23"], .stage [fill="#171c23"] { fill: var(--paper-2); }
.art [fill="#06080b"], .stage [fill="#06080b"], .art [fill="#08090e"] { fill: var(--paper-2); }
.art [fill="#3a2219"], .stage [fill="#3a2219"] { fill: var(--warn-2); }
.art [fill="#16302c"], .stage [fill="#16302c"] { fill: var(--ok-2); }
.art [fill="#e6ebf1"], .stage [fill="#e6ebf1"] { fill: var(--text); }
.art [fill="#a3adba"], .stage [fill="#a3adba"] { fill: var(--text-2); }
.art [fill="#7d8794"], .stage [fill="#7d8794"] { fill: var(--text-3); }
.art [stroke="#2f3742"], .stage [stroke="#2f3742"], .art [stroke="#1e242d"] { stroke: var(--line-2); }
.art [fill="#4db6a4"], .stage [fill="#4db6a4"] { fill: var(--ok); }
.art [stroke="#4db6a4"], .stage [stroke="#4db6a4"] { stroke: var(--ok); }
.art [fill="#e8825a"], .stage [fill="#e8825a"] { fill: var(--warn); }
.art [stroke="#e8825a"], .stage [stroke="#e8825a"] { stroke: var(--warn); }
.art [stroke="#7d8794"], .stage [stroke="#7d8794"] { stroke: var(--text-3); }
.art .srf, .stage .srf { stroke: var(--ink); stroke-width: 1.1; }
.art .trm { fill: var(--paper-2); stroke: var(--ink); }

/* ---- responsive --------------------------------------------------------- */
@media (max-width: 1080px) {
  .grid--4, .prices, .addons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sectors { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 880px) {
  :root { --gut: 20px; }
  .sec { padding: 84px 0; }
  .nav__inner { flex-wrap: wrap; height: auto; padding: 10px 0 0; gap: 0; position: relative; }
  .nav__links { order: 3; width: 100%; margin: 6px 0 0; overflow-x: auto; padding-bottom: 8px; padding-right: 0; scrollbar-width: none; }
  .nav__links::-webkit-scrollbar { display: none; }
  .nav__links a { padding: 7px 10px; font-size: 14px; }
  .nav__act { position: absolute; right: 0; top: 10px; }
  .nav__links .nav__act a { height: 36px; padding: 0 12px; }
  .nav__links .nav__act a.nav__dl { width: 36px; padding: 0; }
  html { scroll-padding-top: 110px; }
  .benefit, .row, .contract, .scene { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .benefit--flip > :first-child, .row--flip > :first-child { order: 0; }
  .grid--3, .steps, .ctable { grid-template-columns: minmax(0, 1fr); }
  .tabs__panel { grid-template-columns: minmax(0, 1fr); }
  .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fgrid > :first-child { grid-column: 1 / -1; }
  .answer { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .answer .arr { display: none; }
  .contract { padding: 28px; }
  .fl3, .fl6 { display: none; }
}
@media (max-width: 600px) {
  :root { --gut: 16px; }
  .grid--2, .grid--4, .prices, .addons { grid-template-columns: minmax(0, 1fr); }
  .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { padding: 48px 0 24px; }
  .wordmark { font-size: 27vw; margin-bottom: 22px; }
  .fl1 { left: 3%; top: 10%; width: 34px; } .fl2 { right: 3%; top: 8%; width: 42px; }
  .fl4 { right: 2%; top: 58%; width: 36px; } .fl5 { left: 2%; top: 64%; width: 30px; }
  .lockup--hero { font-size: 34px; }
  .lockup--hero .mark { width: 50px; height: 50px; }
  .buyrow { grid-template-columns: minmax(0, 1fr) auto; }
  .buyrow .btn { grid-column: 1 / -1; }
  .buyrow__price { text-align: left; }
  .term pre { font-size: 11.5px; padding: 14px; }
  .cmd { font-size: 12.5px; padding: 11px 10px 11px 14px; }
  /* The install line fits a phone whole: the text scales with the screen and
     the COPY label goes (tapping the box still copies). */
  .cmd--big { font-size: min(13.5px, 2.95vw); padding: 13px 10px; }
  .cmd--big .ico { display: none; }
  .cmd--big .t::before { content: none; }
  .tabs__bar { width: 100%; }
  .tabs__bar button { flex: 1; padding: 10px 8px; }
  .filerow { flex-direction: column; align-items: flex-start; gap: 6px; }
  .benefit { padding: 52px 0; }
  .stage { padding: 10px; box-shadow: none; }
  .term, .film, .shot { box-shadow: none; }
  .scene { padding-bottom: 64px; }
}

/* Reduced motion means none: the light, the grid and every loop stop, and
 * the illustrations are left on their finished frame. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal.pre { opacity: 1; transform: none; }
  .js .term[data-anim] .ln { opacity: 1; transform: none; }
  .a-inj .pkt, .a-cli .key, .a-sec .up { opacity: .8; }
  .a-cli .tl, .a-sha .n, .b-vm .vm, .b-apr .tick1, .b-apr .tick2, .b-apr .done, .b-rew .lbl-ok,
  .b-frk .keep, .b-aud .blk, .b-aud .dst, .b-aud .ok, .a-del .clock, .b-egr .x { opacity: 1; }
  .b-apr .wait1, .b-apr .wait2 { opacity: 0; }
  .a-del .row { opacity: .25; }
  .b-frk .br, .b-frk .win { transform: none; }
  .b-frk .br1 { transform: scaleX(.62); } .b-frk .br2 { transform: scaleX(.8); } .b-frk .br3 { transform: scaleX(.55); }
  .b-frk .br4 { transform: scaleX(.7); } .b-frk .br5 { transform: scaleX(.5); } .b-frk .br6 { transform: scaleX(.85); } .b-frk .br7 { transform: scaleX(.66); }
  .b-frk .rest { opacity: .3; }
  .b-rew .dial { stroke-dashoffset: 25; }
  .b-rew .f { fill: var(--ok); }
  .b-egr .no { stroke-dashoffset: 0; }
  .b-vm .wall { transform: none; }
  .a-pkg .d0, .a-pkg .d1, .a-pkg .d2, .a-pkg .d3 { fill: var(--warn-2); stroke: var(--warn); }
  .fl, .iso--scene .cube { transform: none; }
}

/* page heroes carry a terminal or an install line under the copy */
.phero .term, .phero .install { margin-top: 40px; max-width: 860px; }
.phero .install .cmd--big { max-width: min(640px, 100%); }
.hero .lead { margin-left: auto; margin-right: auto; }
.hero .btns { justify-content: center; }
.note.center { margin-left: auto; margin-right: auto; }
.btns.center { justify-content: center; }
.closer .lead { margin-left: auto; margin-right: auto; }
.closer .btns { justify-content: center; }
.turn .mark, .closer .mark { display: block; margin-left: auto; margin-right: auto; }
@media (min-width: 881px) { .closer .steps { grid-template-columns: 1.45fr 1fr 1fr; } }
.steps + .term { margin-top: 28px; }

/* ---- footer: social icons and the launch badge --------------------------- */
.fgrid .social { display: flex; flex-wrap: wrap; gap: 0; margin-top: 20px; border-left: 1px solid var(--rule); width: max-content; }
.fgrid .social a { display: inline-grid; place-items: center; width: 42px; height: 42px; padding: 0;
  border: 1px solid var(--rule); border-left: 0; background: var(--white); color: var(--text);
  transition: background .15s, color .15s; }
.fgrid .social a:hover, .fgrid .social a:focus-visible { background: var(--ink); color: var(--paper); text-decoration: none; }
.fgrid .social svg { display: block; width: 18px; height: 18px; }
/* Kosa8 Labs siblings (llamay, MAQPNA): each mark sits beside its name */
.llamay-link, .labs-link { display: inline-flex; align-items: center; gap: .45em; }
.llamay-mark, .labs-mark { display: inline-block; flex: none; }
h3 .llamay-link { margin-right: .45em; vertical-align: middle; }

/* page heroes are left-aligned: their install line is too */
.phero .cmd--big { margin-inline: 0; }
.nav__links a.nav__cta[aria-current] { text-decoration: none; }
/* On a phone the floaters would sit on the words, and the scene's labels
   would shrink below reading size: the cubes alone carry the picture. */
@media (max-width: 600px) {
  .floaters { display: none; }
  .iso--scene .lbl, .iso--scene .lbl2, .iso--scene .lead, .iso--scene .dot { display: none; }
}

/* ---- landing: downloads, proof, who it's for, built to be checked -------- */
.dlcount { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font: 13px var(--mono); color: var(--text-2); }
.dlcount b { color: var(--text); font-size: 32px; font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.dlcount__dot { width: 8px; height: 8px; background: var(--ok); box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 45%, transparent); animation: live 2.4s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 45%, transparent); } 70%, 100% { box-shadow: 0 0 0 9px color-mix(in srgb, var(--ok) 0%, transparent); } }


.who__bar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--rule); background: var(--white); margin-bottom: 28px; }
.who__bar button { text-align: left; background: none; border: 0; border-left: 1px solid var(--rule); padding: 16px 18px; cursor: pointer; color: var(--text); transition: background .2s; }
.who__bar button:first-child { border-left: 0; }
.who__bar button b { display: block; font: 600 16px/1.2 var(--display); }
.who__bar button span { display: block; margin-top: 4px; font: 12px var(--mono); color: var(--text-3); }
.who__bar button:hover { background: var(--paper-2); }
.who__bar button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.who__bar button[aria-selected="true"] span { color: var(--line-2); }

.icp { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.icp[hidden] { display: none; }
.icp h3 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -.03em; }
.icp__today, .icp__with { margin-top: 22px; }
.icp__today b, .icp__with b { display: inline-block; font: 600 11.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 3px 7px; }
.icp__today b { color: var(--warn); background: var(--warn-2); }
.icp__with b { color: var(--ok-t); background: var(--ok-2); }
.icp__today p { margin-top: 10px; color: var(--text-2); font-size: 16px; }
.icp__with ul { margin: 10px 0 0; padding: 0; list-style: none; }
.icp__with li { position: relative; padding-left: 26px; margin-top: 8px; color: var(--text-2); font-size: 15.5px; }
.icp__with li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.icp .cmd { margin-top: 24px; }

.goal { position: relative; background: var(--white); border: 1px solid var(--rule); padding: 30px 28px 26px; box-shadow: none; }
.goal__tag { position: absolute; top: -12px; left: 22px; font: 600 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); background: var(--accent); border: 1px solid var(--rule); padding: 6px 9px; }
.goal__line { font: 600 clamp(22px, 2.2vw, 28px)/1.2 var(--display); letter-spacing: -.02em; }
.goal__checks { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--line); }
.goal__checks li { display: flex; align-items: baseline; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--text-2); font-size: 15px; }
.goal__checks li b { flex: none; min-width: 3.6em; font: 600 26px/1 var(--display); letter-spacing: -.03em; color: var(--text); }
.goal__checks li::after { content: ""; margin-left: auto; flex: none; width: 18px; height: 18px; background: var(--ok) no-repeat center / 11px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.3l2.6 2.5L10 3.4' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
/* when a tab opens, its outcomes land one after another */
.icp:not([hidden]) .goal__checks li { animation: land .5s var(--ease) both; }
.icp:not([hidden]) .goal__checks li:nth-child(2) { animation-delay: .15s; }
.icp:not([hidden]) .goal__checks li:nth-child(3) { animation-delay: .3s; }
.icp:not([hidden]) .goal { animation: lift .45s var(--ease) both; }
@keyframes land { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
@keyframes lift { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }


@media (max-width: 1080px) {
  .who__bar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .who__bar button:nth-child(4) { border-left: 0; }
  .who__bar button:nth-child(n+4) { border-top: 1px solid var(--rule); }
}
@media (max-width: 880px) {
  .icp { grid-template-columns: minmax(0, 1fr); }
    }
@media (max-width: 600px) {
  .who__bar { display: flex; overflow-x: auto; scrollbar-width: none; }
  .who__bar::-webkit-scrollbar { display: none; }
  .who__bar button { flex: 0 0 auto; border-top: 0 !important; border-left: 1px solid var(--rule) !important; }
  .who__bar button:first-child { border-left: 0 !important; }
    .goal { box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
  .dlcount__dot, .icp .goal, .icp .goal__checks li { animation: none !important; }
}

/* ---- landing: FAQ, the sticky download bar ------------------------------- */
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font: 600 clamp(18px, 1.8vw, 21px)/1.3 var(--display); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--rule); font: 500 18px/1 var(--mono); transition: transform .2s var(--ease), background .2s; }
.faq details[open] summary::after { content: "−"; background: var(--ink); color: var(--paper); }
.faq summary:hover::after { background: var(--accent-2); }
.faq details[open] summary:hover::after { background: var(--ink); }
.faq details p { padding: 0 44px 22px 0; color: var(--text-2); font-size: 16px; }

.stickycta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--rule); font: 13px var(--mono); color: var(--text-2); transform: translateY(110%); transition: transform .3s var(--ease); }
.stickycta b { color: var(--text); }
.stickycta[data-on] { transform: none; }
.stickycta[hidden] { display: none; }
@media (min-width: 881px) { .stickycta { display: none !important; } }
@media (max-width: 880px) { body { padding-bottom: 64px; } }

/* fixes: the number inside a proof figure is not its caption */
.goal__checks li b { min-width: 2.7em; }

/* ---- the ribbon: industries, rolling left to right ---------------------- */
.ribbon { padding: 18px 0 30px; overflow: hidden; }
.ribbon__lead { text-align: center; font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 16px; }
.ribbon__track { display: flex; width: max-content; animation: ribbon 46s linear infinite;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ribbon:hover .ribbon__track { animation-play-state: paused; }
.ribbon__row { display: flex; gap: 14px; margin: 0; padding: 0 7px; list-style: none; }
/* left to right: the track starts shifted one row left and moves to zero */
@keyframes ribbon { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.ind { display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; background: var(--white); border: 1px solid var(--rule); white-space: nowrap; }
.ind__box { position: relative; display: grid; place-items: center; width: 34px; height: 34px; background: var(--paper-2); border: 1px solid var(--rule); }
/* the lid seam: each industry in its own sealed box */
.ind__box::after { content: ""; position: absolute; left: 3px; right: 3px; top: 8px; border-top: 1px dashed var(--ink); opacity: .55; }
.ind__box svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-top: 5px; }
.ind--key .ind__box { background: var(--accent); }
.ind__name { font: 600 15px var(--display); letter-spacing: -.01em; }
@media (prefers-reduced-motion: reduce) {
  .ribbon__track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; -webkit-mask-image: none; mask-image: none; }
  .ribbon__row { flex-wrap: wrap; justify-content: center; gap: 10px; }
  .ribbon__row[aria-hidden] { display: none; }
}

/* ---- built to be checked: one drawing ----------------------------------- */
.trustart { margin: 0; }
.trustart svg { display: block; width: 100%; height: auto; }
.iso .ring { fill: none; stroke: var(--ok); stroke-width: 1.4; stroke-dasharray: 6 5; animation: ringdash 2.4s linear infinite; }
@keyframes ringdash { to { stroke-dashoffset: -22; } }
.iso .seal { fill: var(--ink); }
.iso .seal-tick { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.iso .tick { fill: var(--ok); }
.iso .tick-m { fill: none; stroke: var(--white); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.iso .t-title { font: 600 19px var(--display); fill: var(--ink); letter-spacing: -.01em; }
.iso .t-sub { font: 13px var(--mono); fill: var(--text-2); }
.iso--trust .hero-cube { animation: isofloat 6s ease-in-out infinite; }
.trustlist { display: none; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.trustlist li { padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line); position: relative; color: var(--text-2); font-size: 15px; }
.trustlist li::before { content: ""; position: absolute; left: 0; top: 17px; width: 16px; height: 16px; background: var(--ok) no-repeat center / 10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.3l2.6 2.5L10 3.4' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.trustlist b { display: block; color: var(--text); font: 600 16px var(--display); }
/* below tablet width the callouts would be too small to read: the drawing's
   machine stays as a picture, and the six facts become a list under it */
@media (max-width: 880px) {
  .trustart .t-title, .trustart .t-sub, .trustart .lead, .trustart .dot, .trustart .tick, .trustart .tick-m { display: none; }
  .trustart svg { max-width: 520px; margin: -20px auto -40px; }
  .trustlist { display: block; margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) { .iso .ring, .iso--trust .hero-cube { animation: none; } }

/* ---- customers: quotes with names and logos, after pricing ------------- */
.voices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.voice { position: relative; margin: 0; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--rule); padding: 28px 26px 24px;
  transition: transform .2s var(--ease), box-shadow .2s; }
.voice:hover { transform: none; box-shadow: none; }
.voice::before { content: "\201C"; position: absolute; right: 18px; top: -8px; font: 700 110px/1 var(--display); color: var(--accent); opacity: .9; }
.voice__logo { height: 34px; display: flex; align-items: center; }
.voice__logo img { max-height: 30px; max-width: 150px; width: auto; filter: grayscale(1) contrast(1.1); transition: filter .2s; }
.voice:hover .voice__logo img { filter: none; }
.voice blockquote { margin: 22px 0 0; flex: 1; font: 500 18px/1.5 var(--display); letter-spacing: -.01em; color: var(--text); }
.voice figcaption { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.voice figcaption b { display: block; font: 600 15px var(--sans); }
.voice figcaption span { display: block; margin-top: 2px; font: 12.5px var(--mono); color: var(--text-3); }
.logowall { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px 44px; margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--line); }
.logowall img { height: 26px; width: auto; filter: grayscale(1); opacity: .7; }
.cust { position: relative; display: inline-flex; align-items: center; padding: 6px 14px 6px 0; }
.cust img { height: 26px; width: auto; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
a.cust:hover img, a.cust:focus-visible img { filter: none; opacity: 1; }
.yc { position: absolute; top: 0; right: 0; width: 13px; height: 13px; display: grid; place-items: center;
  background: #f26522; color: #fff; font: 700 9px/1 var(--sans); }
.ribbon--cust .ribbon__row { gap: 44px; align-items: center; }
@media (max-width: 1080px) { .voices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .voices { grid-template-columns: minmax(0, 1fr); } }

/* =========================================================================
 * Motion, in the spirit of an old workstation: windows with title bars, a
 * Game of Life that cannot leave its box, terminals that type, halftone
 * clouds, a drifting audit chain and crop marks. All of it stops under
 * prefers-reduced-motion, and the scripted parts pause off screen.
 * ======================================================================= */

/* crop marks frame every section heading */
.sec-head { position: relative; }
.sec-head::before, .sec-head::after { content: ""; position: absolute; top: -26px; width: 12px; height: 12px; border: 0 solid var(--rule); opacity: .7; }
.sec-head::before { left: -22px; border-top-width: 1px; border-left-width: 1px; }
.sec-head::after { right: -22px; border-top-width: 1px; border-right-width: 1px; }
.sec-head.center::before { left: calc(50% - 360px); } .sec-head.center::after { right: calc(50% - 360px); }

/* halftone clouds: an ordered dot screen showing through drifting blobs */
.phero::after, .closer::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(circle, color-mix(in srgb, var(--ink) 55%, transparent) 1.05px, transparent 1.35px);
  background-size: 7px 7px;
  -webkit-mask-image: radial-gradient(closest-side, #000 25%, transparent), radial-gradient(closest-side, #000 15%, transparent), radial-gradient(closest-side, #000 20%, transparent);
          mask-image: radial-gradient(closest-side, #000 25%, transparent), radial-gradient(closest-side, #000 15%, transparent), radial-gradient(closest-side, #000 20%, transparent);
  -webkit-mask-size: 520px 360px, 380px 300px, 300px 260px; mask-size: 520px 360px, 380px 300px, 300px 260px;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: 92% 10%, 70% 95%, 102% 70%; mask-position: 92% 10%, 70% 95%, 102% 70%;
  opacity: .28; animation: halftone 26s ease-in-out infinite alternate; }
.closer::after { -webkit-mask-position: 4% 20%, 96% 80%, 50% 115%; mask-position: 4% 20%, 96% 80%, 50% 115%; opacity: .22; }
@keyframes halftone { to { -webkit-mask-position: 84% 22%, 76% 80%, 96% 52%; mask-position: 84% 22%, 76% 80%, 96% 52%; } }
.phero > .wrap, .closer > .wrap { position: relative; z-index: 1; }

/* the audit chain, drifting up the edge of a hero */
.chain { position: absolute; top: 0; bottom: 0; left: 18px; width: 14px; overflow: hidden; z-index: 1; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); }
.chain__col { writing-mode: vertical-rl; font: 10px/14px var(--mono); color: var(--text-3); white-space: nowrap; animation: chain 60s linear infinite; }
.chain--r { left: auto; right: 18px; }
.chain--r .chain__col { animation-duration: 75s; animation-direction: reverse; }
@keyframes chain { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@media (max-width: 1080px) { .chain { display: none; } }


/* terminals that type: the script reveals line by line, typing commands */
.term[data-typing] .ln { opacity: 0; transform: translateY(3px); transition: opacity .25s ease, transform .25s var(--ease); }
.term[data-typing] .ln.on { opacity: 1; transform: none; }
.term .caret { display: inline-block; width: .55em; height: 1.05em; margin-left: 1px; vertical-align: -.15em; background: var(--accent); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* sealed.life — a Game of Life in a box it cannot leave */
.lifebox { display: inline-block; border: 1px solid var(--rule); background: var(--white); box-shadow: none; }
.lifebox__bar { display: flex; justify-content: space-between; gap: 18px; background: var(--ink); color: var(--paper); font: 11px/1 var(--mono); padding: 5px 7px; }
.lifebox canvas { display: block; margin: 8px; image-rendering: pixelated; }
.lifebox__cap { font: 10.5px var(--mono); color: var(--text-3); padding: 0 8px 7px; }
.fine { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 18px; }

@media (prefers-reduced-motion: reduce) {
  .phero::after, .closer::after, .chain__col, .term .caret { animation: none !important; }
  .term[data-typing] .ln { opacity: 1; transform: none; }
}

/* ---- current-generation touches, all progressive ------------------------ */
/* page to page: a cross-fade, with the mark carried across (View Transitions) */
@view-transition { navigation: auto; }
.nav .lockup { view-transition-name: brand; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }

/* reading progress, from scroll position alone where the browser can */
@supports (animation-timeline: scroll()) {
  body::before { content: ""; position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 80; background: var(--accent);
    transform-origin: 0 50%; transform: scaleX(0); animation: progress linear both; animation-timeline: scroll(root); }
  @keyframes progress { to { transform: scaleX(1); } }
}

/* a spotlight that follows the pointer across a card */
.spot { position: relative; isolation: isolate; }
.spot::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .25s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--ink) 9%, transparent), transparent 70%); }
.spot:hover::after { opacity: 1; }

/* headlines arrive a word at a time */
.h2 .w { display: inline-block; opacity: 0; transform: translateY(.45em); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.h2.words-in .w { opacity: 1; transform: none; }

/* magnetic buttons ease back when the pointer leaves */
.btn--primary { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  body::before { display: none; }
  .h2 .w { opacity: 1; transform: none; transition: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
/* on a phone the gutter is 16px: the crop marks stay inside it */
@media (max-width: 880px) {
  .sec-head::before { left: -10px; } .sec-head::after { right: -10px; }
  .sec-head.center::before { left: -10px; } .sec-head.center::after { right: -10px; }
}
.over { margin-top: 6px; font: 11.5px var(--mono); color: var(--text-3); }

/* =========================================================================
 * Play: an 8-bit agent patrolling its sandbox, achievements, pixel bursts,
 * squash-and-stretch, and a cheat code. Decoration that never gets between
 * a visitor and what they came for; all of it stops for reduced motion.
 * ======================================================================= */

/* the agent on patrol, along the bottom of every page */
.patrol { position: relative; height: 54px; margin: 30px 0 0; border-bottom: 1px solid var(--line-2); }
.patrol::before, .patrol::after { content: ""; position: absolute; bottom: 0; width: 10px; height: 34px; background: var(--accent); border: 1px solid var(--line-2); }
.patrol::before { left: 0; } .patrol::after { right: 0; }
.bot { position: absolute; bottom: 2px; left: 16px; width: 36px; height: 36px; cursor: pointer; image-rendering: pixelated; }
.bot svg { width: 100%; height: 100%; display: block; }
.bot.flip svg { transform: scaleX(-1); }
.bot.jump { animation: botjump .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes botjump { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-26px) scale(1, 1.1); } 85% { transform: translateY(0) scale(1.15, .85); } }
.bot__say { position: absolute; bottom: 42px; left: 50%; transform: translateX(-50%); font: 700 11px/1 var(--mono); background: var(--white); border: 1px solid var(--line-2); padding: 3px 5px; white-space: nowrap; opacity: 0; transition: opacity .15s; pointer-events: none; }
.bot__say.on { opacity: 1; }
.bot__say::after { content: ""; position: absolute; left: 50%; bottom: -6px; margin-left: -4px; border: 4px solid transparent; border-top-color: var(--ink); }

/* achievement unlocked */
.toasts { position: fixed; left: 16px; bottom: 16px; z-index: 90; display: grid; gap: 10px; pointer-events: none; }
.toast { display: flex; gap: 12px; align-items: center; min-width: 260px; max-width: 340px; background: var(--ink); color: var(--paper); border: 1px solid var(--line-2); outline: 2px solid var(--accent); outline-offset: -6px;
  padding: 12px 14px; font: 12px/1.35 var(--mono); box-shadow: none; animation: toastin .45s cubic-bezier(.2, 1.4, .4, 1) both; }
.toast.out { animation: toastout .35s ease-in forwards; }
.toast b { display: block; color: var(--accent); font-size: 10.5px; letter-spacing: .12em; }
.toast svg { flex: none; width: 28px; height: 28px; image-rendering: pixelated; }
@keyframes toastin { from { transform: translateY(30px) scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes toastout { to { transform: translateX(-120%); opacity: 0; } }
@media (max-width: 880px) { .toasts { bottom: 80px; } }

/* pixel bursts */
.px { position: fixed; z-index: 95; width: 7px; height: 7px; pointer-events: none; }

/* cartoon squash-and-stretch on press */
.btn:active, .cmd:active { animation: squash .28s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes squash { 0% { transform: scale(1); } 35% { transform: scale(1.06, .9); } 70% { transform: scale(.97, 1.04); } 100% { transform: scale(1); } }

/* the cheat code: the hero's sealed boxes rain down */
body.konami .fl { animation: rain 1.4s cubic-bezier(.5, 0, .9, .6) forwards !important; }
body.konami .fl:nth-child(2n) { animation-delay: .15s !important; } body.konami .fl:nth-child(3n) { animation-delay: .3s !important; }
@keyframes rain { to { transform: translateY(120vh) rotate(540deg); } }

@media (prefers-reduced-motion: reduce) {
  .patrol { display: none; }
  .toast, .toast.out, .btn:active, .cmd:active { animation: none; }
  body.konami .fl { animation: none !important; }
}

/* ---- celebrations: downloads, checkouts, and coming back as a customer --- */
.confetti { position: fixed; inset: 0; z-index: 120; pointer-events: none; }
.cheer { position: fixed; left: 50%; bottom: 28px; z-index: 121; transform: translateX(-50%); width: min(460px, calc(100vw - 32px));
  background: var(--white); border: 1px solid var(--line-2); box-shadow: none; padding: 18px 20px 16px; text-align: left;
  animation: cheerin .55s cubic-bezier(.2, 1.5, .4, 1) both; }
.cheer.out { animation: cheerout .35s ease-in forwards; }
.cheer__big { font: 700 26px/1.1 var(--display); letter-spacing: -.02em; }
.cheer__big span { display: inline-block; animation: wiggle .9s ease-in-out .2s 2; }
.cheer p { margin-top: 6px; color: var(--text-2); font-size: 14.5px; }
.cheer code { font-size: 12.5px; }
.cheer__x { position: absolute; top: 8px; right: 10px; border: 0; background: none; font: 600 18px/1 var(--mono); cursor: pointer; color: var(--text-3); }
@keyframes cheerin { from { transform: translate(-50%, 40px) scale(.85); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }
@keyframes cheerout { to { transform: translate(-50%, 30px) scale(.95); opacity: 0; } }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-14deg) scale(1.15); } 75% { transform: rotate(12deg) scale(1.15); } }
@media (prefers-reduced-motion: reduce) { .cheer, .cheer.out, .cheer__big span { animation: none; } }

/* ---- life bands: the Game of Life between sections, on every page -------- */
.lifeband { display: block; width: 100%; height: 48px; margin: 0; cursor: crosshair; image-rendering: pixelated;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.lifeband--wrap { position: relative; max-width: 1180px; margin: 0 auto; padding: 0 var(--gut); }
.lifeband--wrap::before, .lifeband--wrap::after { content: ""; position: absolute; top: 6px; bottom: 6px; width: 4px; background: var(--accent); }
.lifeband--wrap::before { left: var(--gut); } .lifeband--wrap::after { right: var(--gut); }
@media (max-width: 600px) { .lifeband { height: 36px; } }

/* =========================================================================
 * Pixels: an 8-bit defence game, pixel-wipe reveals and a block progress bar.
 * ======================================================================= */

/* reveals arrive in chunky steps, top to bottom */
.reveal { clip-path: inset(-60px -60px -60px -60px); transition: clip-path .7s steps(9, end); }
.reveal.pre { opacity: 1; transform: none; clip-path: inset(-60px -60px 100% -60px); }

/* the reading progress bar, as blocks */
@supports (animation-timeline: scroll()) {
  body::before { height: 6px; background: repeating-linear-gradient(90deg, var(--accent) 0 10px, transparent 10px 12px); }
}

/* "Nothing gets through": the defence game */
.defend { padding: 96px 0; }
.arcade { position: relative; border: 1px solid var(--line-2); background: var(--white); box-shadow: none; }
.arcade__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--ink); color: var(--paper); font: 12px/1 var(--mono); padding: 8px 12px; }
.arcade__bar b { color: var(--accent); font-weight: 600; }
.arcade canvas { display: block; width: 100%; height: 300px; cursor: crosshair; image-rendering: pixelated; }
.arcade__note { margin-top: 18px; font: 12.5px var(--mono); color: var(--text-3); }
@media (max-width: 600px) { .arcade canvas { height: 240px; } .arcade__bar { font-size: 11px; } }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.pre { clip-path: none; transition: none; }
}

/* =========================================================================
 * Coming back: XP and levels, a trophy case, golden cubes hidden across the
 * site, a daily tip, and an agent with moods. Kept in the visitor's own
 * browser only; nothing is sent anywhere.
 * ======================================================================= */
.hud { display: flex; align-items: center; gap: 12px; font: 11px/1 var(--mono); }
.hud__lv { background: var(--ink); color: var(--accent); padding: 5px 6px; font-weight: 700; letter-spacing: .06em; }
.hud__xp { width: 120px; height: 10px; border: 1px solid var(--line-2); background: var(--white); position: relative; }
.hud__xp i { position: absolute; left: 0; top: 0; bottom: 0; background: repeating-linear-gradient(90deg, var(--accent) 0 6px, var(--text-3) 6px 8px); transition: width .6s steps(8, end); }
.hud button { font: 600 11px/1 var(--mono); background: var(--white); border: 1px solid var(--line-2); padding: 5px 8px; cursor: pointer; }
.hud button:hover { background: var(--accent-2); }

.trophies { border: 1px solid var(--line-2); padding: 0; max-width: 560px; width: calc(100vw - 32px); background: var(--white); box-shadow: none; }
.trophies::backdrop { background: color-mix(in srgb, var(--ink) 45%, transparent); }
.trophies__bar { display: flex; justify-content: space-between; align-items: center; background: var(--ink); color: var(--paper); font: 12px/1 var(--mono); padding: 9px 12px; }
.trophies__bar button { background: none; border: 0; color: var(--paper); font: 600 16px/1 var(--mono); cursor: pointer; }
.trophies ul { list-style: none; margin: 0; padding: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.trophies li { display: flex; gap: 10px; align-items: center; border: 1px solid var(--line-2); padding: 8px; font: 12px/1.35 var(--mono); color: var(--text-2); }
.trophies li b { display: block; color: var(--text); font-size: 12.5px; }
.trophies li svg { flex: none; width: 26px; height: 26px; }
.trophies li.locked { opacity: .55; filter: grayscale(1); }
.trophies__foot { padding: 0 14px 14px; font: 11.5px var(--mono); color: var(--text-3); }
@media (max-width: 600px) { .trophies ul { grid-template-columns: minmax(0, 1fr); } }

.gold { position: absolute; z-index: 5; width: 22px; height: 22px; cursor: pointer; animation: goldbob 2.4s ease-in-out infinite; filter: drop-shadow(0 2px 0 color-mix(in srgb, var(--ink) 25%, transparent)); }
.gold svg { width: 100%; height: 100%; display: block; }
.gold:hover { animation-duration: .6s; }
@keyframes goldbob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

.ind:hover { animation: jelly .6s ease-in-out; }
@keyframes jelly { 0%, 100% { transform: scale(1, 1); } 25% { transform: scale(1.08, .92); } 50% { transform: scale(.94, 1.06); } 75% { transform: scale(1.03, .97); } }

@media (prefers-reduced-motion: reduce) { .gold, .ind:hover { animation: none; } .hud__xp i { transition: none; } }

/* ---- the launch: a bar on every page, and the reminder list ------------- */
.launchform { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 520px; margin: 0 auto; }
.launchform input[type=email] { flex: 1 1 260px; min-width: 0; font: 15px var(--mono); padding: 13px 14px; border: 1px solid var(--line-2); background: var(--white); color: var(--text); }
.launchform input[type=email]:focus { outline: none; box-shadow: none; }
.launchform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.launchform__msg { flex-basis: 100%; min-height: 1.4em; margin-top: 4px; font: 13px var(--mono); color: var(--text-2); }
.launchform__fine { margin-top: 10px; font: 12px var(--mono); color: var(--text-3); }
.newsform { margin-top: 20px; max-width: 320px; }
.newsform__h { font: 600 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); margin-bottom: 8px; }
.newsform__row { display: flex; }
.newsform input[type=email] { flex: 1; min-width: 0; font: 13px var(--mono); padding: 9px 10px; border: 1px solid var(--line-2); border-right: 0; background: var(--white); color: var(--text); }
.newsform input[type=email]:focus { outline: none; background: var(--paper-2); }
.newsform button { font: 600 13px var(--mono); background: var(--ink); color: var(--paper); border: 1px solid var(--line-2); padding: 0 12px; cursor: pointer; }
.newsform button:hover { background: var(--ink-hover); }
.newsform .launchform__msg { display: block; font-size: 12px; margin-top: 6px; }

/* ---- the blog: daily field notes (rendered by scripts/blog.py) ---------- */
.posthead { padding: 72px 0 28px; }
.posthead .h1 { font-size: clamp(32px, 5vw, 56px); line-height: 1.06; letter-spacing: -.025em; margin: 10px 0 18px; }
.crumbs { font: 500 12.5px var(--mono); color: var(--text-3); margin-bottom: 18px; }
.crumbs a { color: inherit; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; }
.tags span { font: 500 11.5px/1 var(--mono); padding: 6px 8px; border: 1px solid var(--rule); background: var(--white); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 22px 0 0; }
.share span { font: 600 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-right: 4px; }
.share a, .share button { font: 600 12.5px/1 var(--mono); color: var(--text); text-decoration: none; border: 1px solid var(--line-2); background: var(--white); padding: 8px 10px; cursor: pointer; transition: transform .15s var(--ease), box-shadow .15s; }
.share a:hover, .share button:hover { transform: none; box-shadow: none; text-decoration: none; }
.share--follow { margin-top: 10px; }
.postbody { padding-bottom: 40px; }
.postbody p, .postbody li { font-size: 18px; line-height: 1.7; color: var(--text-2, var(--text-2)); }
.postbody p { margin: 0 0 18px; }
.postbody ul, .postbody ol { margin: 0 0 20px 22px; padding: 0; }
.postbody li { margin: 0 0 8px; }
/* Comparison tables in guides: scroll inside their own box on a phone
   rather than pushing the page sideways. */
.postbody .tablewrap { overflow-x: auto; margin: 0 0 22px; }
.postbody table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.5; }
.postbody th, .postbody td { border-bottom: 1px solid var(--line); padding: 9px 10px; text-align: left; vertical-align: top; }
.postbody th { color: var(--ink); font-weight: 600; border-bottom-color: var(--line-2); }
.postbody code { font: .88em var(--mono); background: var(--white); border: 1px solid var(--line); padding: 1px 5px; }
.toc { border: 1px solid var(--line-2); background: var(--white); padding: 18px 22px; margin: 18px 0 40px; box-shadow: none; }
.toc p { font: 600 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin: 0 0 10px; }
.toc ol { margin: 0 0 0 20px; }
.toc li { font-size: 16px; margin: 0 0 4px; }
.toc a { color: var(--text); }
.postsec { margin: 0 0 30px; scroll-margin-top: 90px; }
.postsec .h3 { display: flex; gap: 14px; align-items: baseline; margin: 34px 0 16px; }
.postsec__n { font: 600 13px var(--mono); color: var(--paper); background: var(--ink); padding: 4px 7px; flex: none; transform: translateY(-4px); }
.chart { margin: 36px 0; border: 1px solid var(--line-2); background: var(--white); padding: 20px 22px 16px; }
.chart figcaption { display: grid; gap: 6px; margin-bottom: 16px; }
.chart figcaption .eyebrow { margin: 0; }
.chart figcaption b { font: 700 18px/1.3 var(--display, var(--sans)); }
.chart svg { display: block; width: 100%; height: auto; }
.chart__l { font: 500 13px var(--mono); fill: var(--text-2); }
.chart__n { font: 700 13px var(--mono); fill: var(--ink); }
.chart .bar { transform-box: fill-box; transform-origin: left; transition: transform .9s cubic-bezier(.2,.7,.3,1); }
.chart .col { transform-box: fill-box; transform-origin: bottom; transition: transform .8s steps(8, end); }
.chart.pre .bar { transform: scaleX(0); }
.chart.pre .col { transform: scaleY(0); }
.chart g:nth-child(2) .bar, .chart g:nth-child(2) .col { transition-delay: .08s; }
.chart g:nth-child(3) .bar, .chart g:nth-child(3) .col { transition-delay: .16s; }
.chart g:nth-child(4) .bar, .chart g:nth-child(4) .col { transition-delay: .24s; }
.chart g:nth-child(5) .bar, .chart g:nth-child(5) .col { transition-delay: .32s; }
.chart g:nth-child(6) .bar, .chart g:nth-child(6) .col { transition-delay: .4s; }
.chart g:nth-child(7) .bar, .chart g:nth-child(7) .col { transition-delay: .48s; }
.chart__foot { font: 12px/1.5 var(--mono) !important; color: var(--text-3) !important; margin: 12px 0 0 !important; }
.postnews { border: 1px dashed var(--line-2); padding: 22px; margin: 36px 0; background: var(--paper-2); }
.postnews .eyebrow { margin: 0 0 6px; }
.postnews .h3 { font-size: 22px; margin: 0 0 8px; }
.postnews p { font-size: 16px; margin: 0 0 4px; }
.postnews .newsform { max-width: 440px; }
.invform { max-width: 460px; margin-top: 28px; }
.invform input[type=email] { font-size: 14px; padding: 12px; }
.invform button { padding: 0 16px; font-size: 14px; }
.takeaways { border: 1px solid var(--line-2); background: var(--ink); color: var(--paper); padding: 24px 26px 10px; margin: 40px 0 28px; box-shadow: none; }
.takeaways .h3 { color: var(--paper); margin: 0 0 14px; }
.takeaways li { color: var(--paper) !important; }
.kosa8note { border-left: 6px solid var(--accent); padding: 4px 0 4px 20px; margin: 0 0 32px; }
.kosa8note .cmd { margin-top: 6px; }
.quiz { border: 1px solid var(--line-2); background: var(--white); padding: 22px 24px; margin: 0 0 36px; }
.quiz .h3 { font-size: 22px; margin: 6px 0 16px; }
.quiz__opts { display: grid; gap: 8px; }
.quiz__opts button { text-align: left; font: 500 16px/1.4 var(--sans); padding: 13px 16px; border: 1px solid var(--line-2); background: var(--paper); color: var(--text); cursor: pointer; transition: transform .15s var(--ease), box-shadow .15s, background .2s; }
.quiz__opts button:hover:not(:disabled) { transform: none; box-shadow: none; }
.quiz__opts button.right { background: var(--ok); color: #fff; }
.quiz__opts button.wrong { background: var(--ink); color: #fff; animation: shake .35s steps(4, end); }
.quiz__opts button:disabled { cursor: default; }
.quiz__why { margin: 14px 0 0 !important; font-size: 16px !important; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.postfaq { margin: 0 0 32px; }
.postfaq .h3 { margin-bottom: 8px; }
.postfaq details p { font-size: 16.5px; }
.sources ol li { font-size: 15.5px; }
.sources ol li span { color: var(--text-3); }
.sources__note { font: 13px/1.6 var(--mono) !important; color: var(--text-3) !important; }
.postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 36px 0 0; }
.postnav a { border: 1px solid var(--line-2); padding: 16px; color: var(--text); text-decoration: none; font-weight: 700; background: var(--white); transition: transform .15s var(--ease), box-shadow .15s; }
.postnav a:hover { transform: none; box-shadow: none; }
.postnav span { display: block; font: 600 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 6px; }
.postcta { text-align: center; padding: 80px 16px 96px; }
.postcta .lead { margin: 12px auto 24px; }
.postcta .btns { justify-content: center; }
.bloghero .h1 { max-width: 980px; }
.blogmeta { display: flex; flex-wrap: wrap; gap: 14px; font: 500 13px var(--mono); color: var(--text-3); margin-top: 18px; }
.postgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.postcard { display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--line-2); background: var(--white); padding: 22px; color: var(--text); text-decoration: none; transition: transform .18s var(--ease), box-shadow .18s; }
.postcard:hover { transform: none; box-shadow: none; text-decoration: none; }
.postcard h2, .postcard h3 { font: 800 21px/1.25 var(--display, var(--sans)); letter-spacing: -.01em; margin: 0; }
.postcard p { font-size: 15px; line-height: 1.55; color: var(--text-2); margin: 0; flex: 1; }
.postcard__date { font: 600 11.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.postcard__go { font: 700 13px var(--mono); }
.postcard--lead { grid-column: 1 / -1; background: var(--ink); color: var(--paper); }
.postcard--lead p, .postcard--lead .postcard__date { color: var(--on-ink-2); }
.postcard--lead h2 { font-size: clamp(24px, 3vw, 34px); }
.postcard--lead .tags span { background: transparent; border-color: var(--paper); }
@media (max-width: 640px) {
  .postbody p, .postbody li { font-size: 17px; }
  .postnav { grid-template-columns: 1fr; }
  .chart { padding: 16px 12px 12px; }
}
@media (prefers-reduced-motion: reduce) { .chart .bar, .chart .col { transition: none; } .quiz__opts button.wrong { animation: none; } }
.fit { margin: 36px 0; border: 1px solid var(--line-2); background: var(--white); padding: 20px 22px; box-shadow: none; }
.fit figcaption { display: grid; gap: 6px; margin-bottom: 14px; }
.fit figcaption .eyebrow { margin: 0; }
.fit figcaption b { font: 700 18px/1.3 var(--display); }
.fit ol { list-style: none; margin: 0 !important; padding: 0; counter-reset: fit; }
.fit li { display: grid; grid-template-columns: 1fr 28px 1.3fr; gap: 10px; align-items: center; padding: 12px 0; border-top: 1px dashed var(--line-2); margin: 0 !important; font-size: 16px !important; }
.fit li:first-child { border-top: 0; }
.fit__need { font-weight: 700; color: var(--text); }
.fit__arrow { font: 700 18px var(--mono); color: var(--accent); text-align: center; }
.fit__ans { color: var(--text-2); }
.fit.pre li { opacity: 0; transform: translateX(-12px); }
.fit li { transition: opacity .5s var(--ease), transform .5s var(--ease); }
.fit li:nth-child(2) { transition-delay: .1s; } .fit li:nth-child(3) { transition-delay: .2s; } .fit li:nth-child(4) { transition-delay: .3s; } .fit li:nth-child(5) { transition-delay: .4s; } .fit li:nth-child(6) { transition-delay: .5s; }
.blogfilter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.blogfilter button { font: 600 13px var(--mono); padding: 9px 14px; border: 1px solid var(--line-2); background: var(--white); color: var(--text); cursor: pointer; }
.blogfilter button[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }
@media (max-width: 640px) { .fit li { grid-template-columns: 1fr; gap: 4px; } .fit__arrow { display: none; } }
.postcard[hidden] { display: none; }

/* Research page (/research/) */
.research__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.research__list { margin-top: 28px; }
.research__fig { display: block; width: 100%; height: auto; background: var(--white); border: 1px solid var(--rule); }

/* the footer's Kosa8 Labs column and the products page's family cards */
.fgrid a.labs-link { display: flex; }
.labs-card { display: flex; flex-direction: column; gap: 10px; color: var(--text); text-decoration: none; }
.labs-card:hover { outline: 1px solid var(--accent); text-decoration: none; }
.labs-card .labs-mark { color: var(--text); margin-bottom: 6px; }
.labs-card p { color: var(--text-2); }
.labs-card__go { margin-top: auto; font: 500 13px var(--mono); color: var(--accent-ink, var(--text)); }

/* kosa8 Cloud sign-in, next to Download in the top bar. */
/* Right of the nav: Start free (Cloud sign-up), then a square Download icon. */
.nav__act { display: inline-flex; align-items: center; gap: 8px; margin-left: 10px; }
.nav__links .nav__act a { box-sizing: border-box; height: 40px; display: inline-flex; align-items: center; }
.nav__links .nav__act a.nav__cta { margin-left: 0; }
.nav__links a.nav__dl { display: inline-flex; align-items: center; justify-content: center; width: 40px; padding: 0; border: 1px solid var(--line-2); color: var(--ink); background: var(--paper); }
.nav__links a.nav__dl:hover, .nav__links a.nav__dl[aria-current] { background: var(--ink); color: var(--paper); }
.nav__links a.nav__dl svg { flex: none; }

/* --- /deploy/: where kosa8 runs (dp-) ------------------------------------ */
.dp-fig { margin: 0; border: 1px solid var(--rule); background: var(--white); box-shadow: none; }
.dp-fig__scroll { overflow-x: auto; padding: 18px 12px 6px; }
.dp-dial { display: block; width: 100%; min-width: 620px; height: auto; }
.dp-dial text { font-family: var(--mono); }
.dp-box rect { fill: var(--ink); }
.dp-box path { fill: none; stroke: var(--paper); stroke-width: 4; stroke-linecap: square; }
.dp-you { fill: var(--white); stroke: var(--ink); stroke-width: 1.4; }
.dp-us { fill: var(--ink); stroke: var(--ink); stroke-width: 1.4; }
.dp-net { fill: var(--paper-2); stroke: var(--line-2); stroke-width: 1.2; stroke-dasharray: 4 4; }
.dp-in { font-size: 14px; fill: var(--ink); text-anchor: middle; }
.dp-in--us { fill: var(--paper); }
.dp-name { font: 700 18px var(--sans); fill: var(--ink); text-anchor: middle; }
.dp-sub { font-size: 12.5px; fill: var(--text-2); text-anchor: middle; }
.dp-axis line, .dp-axis path { fill: none; stroke: var(--text-2); stroke-width: 1.4; }
.dp-axis text { font-size: 12.5px; fill: var(--text-2); }
.dp-key { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; padding: 12px 18px 16px; border-top: 1px solid var(--line); font: 13px var(--mono); color: var(--text-2); }
.dp-key__you::before, .dp-key__us::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 8px; vertical-align: -2px; border: 1.4px solid var(--ink); }
.dp-key__you::before { background: var(--white); }
.dp-key__us::before { background: var(--ink); }

.dp-modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.dp-mode { border: 1px solid var(--rule); background: var(--white); padding: 26px 26px 24px; display: flex; flex-direction: column; min-width: 0; }
.dp-mode__head { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: baseline; margin-bottom: 18px; }
.dp-mode__n { grid-row: span 2; font: 600 13px/1 var(--mono); color: var(--paper); background: var(--ink); padding: 7px 8px; }
.dp-mode__head h3 { font-size: 22px; line-height: 1.2; }
.dp-mode__head p { color: var(--text-2); font-size: 15px; }
.dp-facts { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 10px 16px; margin: 0 0 22px; font-size: 15px; }
.dp-facts dt { font: 500 12px/1.9 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.dp-facts dd { margin: 0; color: var(--text); overflow-wrap: anywhere; }
.dp-mode .btns { margin-top: auto; }

.dp-table { overflow-x: auto; border: 1px solid var(--rule); background: var(--white); }
.dp-table table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.dp-table th, .dp-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.dp-table thead th { font: 600 13px var(--mono); background: var(--paper-2); }
.dp-table tbody th { font: 500 12px var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--text-2); white-space: nowrap; }
.dp-table tbody tr:last-child th, .dp-table tbody tr:last-child td { border-bottom: 0; }

/* Cloud pricing on /pricing/ */
.dp-rates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.dp-rate { border: 1px solid var(--rule); background: var(--white); padding: 20px; min-width: 0; }
.dp-rate .big { display: block; font: 700 28px/1.1 var(--sans); margin-bottom: 8px; }
.dp-rate p { color: var(--text-2); font-size: 15px; }

@media (max-width: 880px) {
  .dp-modes { grid-template-columns: minmax(0, 1fr); }
  .dp-rates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .dp-mode { padding: 20px 18px; }
  .dp-facts { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .dp-facts dd { margin-bottom: 10px; }
  .dp-rates { grid-template-columns: minmax(0, 1fr); }
}
.note.center { margin-left: auto; margin-right: auto; }
/* The homepage's one-line promise, under the headline. "safe to trust" is
   underlined by a warm band drawn in once, so the line reads as the point
   of the page rather than as body copy. */
.hero__promise { font-size: clamp(20px, 2.4vw, 28px); font-weight: 500; letter-spacing: -0.01em; color: var(--text); max-width: 760px; margin: 22px auto 34px; line-height: 1.35; text-wrap: balance; }
.hero__mark { position: relative; white-space: nowrap; font-style: italic; }
.hero__mark::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: 0.06em; height: 0.36em; background: var(--accent); opacity: .35; border-radius: 3px; z-index: -1; transform-origin: left; animation: hero-mark 900ms 300ms cubic-bezier(.2,.7,.2,1) both; }
@keyframes hero-mark { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .hero__mark::after { animation: none; } }

/* "Let's meet": a 30-minute call on cal.com, beside Cloud in the top bar. */
.nav__links a.nav__meet { display: inline-flex; align-items: center; gap: 6px; }
.nav__links a.nav__meet svg { flex: none; }
.nav__links a.nav__meet:hover { color: var(--accent); }

/* Pricing: four ways to run, under the headline. */
.pchoose { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.pchoose a { display: block; border: 1px solid var(--rule); background: var(--white); padding: 16px 18px; color: inherit; text-decoration: none; min-width: 0; transition: border-color .15s; }
.pchoose a:hover, .pchoose a:focus-visible { border-color: var(--text); }
.pchoose b { display: block; font-size: 16px; }
.pchoose span { display: block; color: var(--text-2); font-size: 14px; margin-top: 4px; }
.prods li.plus { color: var(--text); font-weight: 600; padding-left: 0; }
.prods li.plus::before { display: none; }
@media (max-width: 860px) { .pchoose { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .pchoose { grid-template-columns: minmax(0, 1fr); } }

/* FAQ page: topic links and group headings. */
.faq__toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.faq__toc a { border: 1px solid var(--rule); background: var(--white); padding: 6px 12px; font-size: 14px; color: inherit; text-decoration: none; }
.faq__toc a:hover, .faq__toc a:focus-visible { border-color: var(--text); }
.faq__group { margin: 0 0 14px; scroll-margin-top: 90px; }
.sec[id] { scroll-margin-top: 80px; }
.faq__more { margin-top: 18px; }

/* Trust Center. */
.tc-status { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tc-badge { border: 1px solid var(--rule); background: var(--white); padding: 20px; min-width: 0; }
.tc-badge b { font-size: 17px; }
.tc-badge p { color: var(--text-2); font-size: 14px; margin-top: 8px; }
.tc-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; }
.tc-dot--ok { background: var(--ok); }
.tc-dot--prog { background: var(--text-3); }
.tc-cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tc-cat { border: 1px solid var(--rule); background: var(--white); padding: 24px; min-width: 0; }
.tc-cat h3 { font-size: 19px; }
.tc-sub { color: var(--text-2); font-size: 14px; margin: 4px 0 14px; }
.tc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.tc-list li { display: flex; gap: 10px; font-size: 15px; line-height: 1.45; }
.tc-ok { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; margin-top: 1px; }
.tc-where { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tc-where > div { border-top: 3px solid var(--text); padding-top: 14px; min-width: 0; }
.tc-where p { color: var(--text-2); font-size: 15px; margin-top: 6px; }
.tc-table { overflow-x: auto; border: 1px solid var(--rule); background: var(--white); }
.tc-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.tc-table th, .tc-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.tc-table th { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--text-2); }
.tc-table tr:last-child td { border-bottom: 0; }
.tc-docs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tc-doc { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; border: 1px solid var(--rule); background: var(--white); padding: 16px 18px; color: inherit; text-decoration: none; min-width: 0; }
.tc-doc:hover, .tc-doc:focus-visible { border-color: var(--text); }
.tc-doc small { display: block; color: var(--text-2); font-size: 13px; margin-top: 4px; }
.tc-tag { flex: none; font-style: normal; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; padding: 3px 8px; border: 1px solid var(--rule); white-space: nowrap; }
.tc-tag--pub { color: var(--ok-t); border-color: currentColor; }
.tc-tag--req { color: var(--text-2); }
@media (max-width: 960px) { .tc-status, .tc-where { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tc-docs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tc-status, .tc-where, .tc-cats, .tc-docs { grid-template-columns: minmax(0, 1fr); } }

/* Products: what each plan includes. */
.plan-matrix { margin-bottom: 24px; }
.plan-matrix th small { display: block; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--text-2); }
.plan-matrix tbody th { font-weight: 600; color: var(--text); text-transform: none; letter-spacing: 0; font-size: 15px; }
.plan-matrix td { text-align: center; white-space: nowrap; }
.plan-matrix thead th:not(:first-child) { text-align: center; }
.pm-yes { color: var(--ok-t); font-weight: 700; }
.pm-no { color: var(--text-2); }
.pm-add { font-size: 13px; color: var(--text-2); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Skip to content: the first link on every page, shown when it has focus. */
.skip { position: absolute; left: 12px; top: -100px; z-index: 1000; padding: 10px 14px; background: var(--ink); color: var(--paper); font-weight: 600; text-decoration: none; border-radius: 8px; }
.skip:focus { top: 12px; outline: 2px solid #4cc35a; outline-offset: 2px; }
#addons { margin-top: 56px; }
.price .credit, .plan .credit { margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--ok-t); }
/* Pricing: the credit as an outcome, who each plan is for, and the way to talk to a person. */
.price .credit__hrs { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 400; color: var(--text-2); }
.price .who { color: var(--text); }
.pwho { margin-bottom: 32px; }
.pwho .eyebrow { margin-bottom: 8px; }
.pwho h3 { font-size: 18px; }
.pwho code { font-size: 12.5px; }
.ptalk { margin-top: 20px; }
.ptable td.pt-once small { display: block; font-weight: 400; color: var(--text-2); }
.tc-table tr:last-child th { border-bottom: 0; }

/* Pricing: every plan in one table, where it runs and what Cloud it carries. */
.ptable { position: relative; }
.ptable table { min-width: 820px; table-layout: fixed; }
.ptable thead th { font-size: 12px; line-height: 1.35; text-align: center; vertical-align: bottom; padding: 16px 10px; }
.ptable thead th:first-child { text-align: left; width: 30%; padding-left: 20px; }
.ptable th, .ptable td { border-right: 1px solid var(--rule); }
.ptable th:last-child, .ptable td:last-child { border-right: 0; }
.ptable tbody th { text-transform: none; letter-spacing: 0; color: var(--ink); font-size: 15px; padding: 16px 20px; vertical-align: middle; }
.ptable td { vertical-align: middle; text-align: center; padding: 16px 10px; }
.ptable tbody tr:nth-child(even) th, .ptable tbody tr:nth-child(even) td { background: var(--paper); }
.ptable tr.pt-best th, .ptable tr.pt-best td { background: var(--paper-2); }
.ptable tr.pt-best th { box-shadow: inset 4px 0 0 var(--accent); }
.pt-name { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; margin-right: 8px; }
.pt-price { display: inline; color: var(--text-2); font-size: 14px; }
.pt-price b { font-size: 18px; color: var(--ink); margin-right: 2px; }
.pt-inc { display: block; margin-top: 6px; font-weight: 400; color: var(--text-2); font-size: 13.5px; line-height: 1.45; }
.ptable .yes { color: var(--ok-t); font-weight: 700; font-size: 20px; line-height: 1; }
.ptable td small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--text-2); }
.ptable .pt-no { color: var(--text-2); }
.ptable td.credit { font-weight: 700; color: var(--ok-t); font-size: 15px; }
.ptable td.pt-once { color: var(--ink); font-weight: 600; font-size: 14px; }
.ptable td.pt-lim { font-family: var(--mono, monospace); font-size: 14px; white-space: nowrap; }
.ptable td.pt-c { color: var(--text-2); font-size: 14px; }
@media (max-width: 760px) {
  .ptable table { min-width: 720px; }
  .ptable thead th:first-child { width: 150px; }
  .ptable tbody th { position: sticky; left: 0; z-index: 1; background: var(--white); }
  .ptable .pt-inc:not(.pt-go) { display: none; }
  .pt-price { display: block; }
}
.pt-head { margin-top: 72px; }
.pt-try { display: inline-block; margin-top: 8px; font-size: 13.5px; font-weight: 600; }
.plan-matrix .pm-buy { width: 100%; padding-left: 8px; padding-right: 8px; font-size: 14px; white-space: nowrap; }

/* Landing: reassurance where the decision is made. */
.hero__risk { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 16px; font-size: 14px; color: var(--text-2); }
.hero__risk span::before { content: "✓"; color: var(--ok-t); font-weight: 700; margin-right: 6px; }
/* Landing hero: the install line sits under the promise, then the two CTAs,
   then the one measured number with where it was measured. */
.hero .hero__install { margin-top: 0; }
.hero .hero__install + .btns { margin-top: 22px; }
.hero__proof { margin: 26px auto 0; max-width: 640px; font: 13px/1.5 var(--mono); color: var(--text-2); text-wrap: balance; }
.hero__proof b { color: var(--text); font-size: 15px; font-weight: 600; margin-right: 4px; }
.hero__proof span { display: block; margin-top: 2px; font-size: 11.5px; color: var(--text-3); }
.icp__plan { margin-top: 18px; padding: 12px 14px; border-left: 3px solid var(--accent); background: var(--paper-2); font-size: 14.5px; line-height: 1.5; }
.icp__plan a { font-weight: 600; margin-left: 4px; white-space: nowrap; }
.assure { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin: 22px 0 0; padding: 0; font-size: 14px; color: var(--text-2); }
.assure li::before { content: "✓"; color: var(--ok-t); font-weight: 700; margin-right: 6px; }
/* The plan finder. */
.finder { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 18px 28px; align-items: end; margin: 0 0 28px; padding: 20px 22px; border: 1px solid var(--rule); background: var(--white); }
.finder[hidden] { display: none; }
.finder fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.finder legend { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-2); margin-bottom: 8px; }
.finder label { display: inline-block; margin: 0 6px 6px 0; cursor: pointer; }
.finder input { position: absolute; opacity: 0; pointer-events: none; }
.finder label span { display: inline-block; padding: 8px 12px; border: 1px solid var(--rule); font-size: 14px; white-space: nowrap; }
.finder input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.finder input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.finder__out { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 18px; align-items: center; padding-left: 22px; border-left: 1px solid var(--rule); }
.finder__plan { margin: 0; font-size: 15px; color: var(--text-2); }
.finder__plan span { white-space: nowrap; }
.finder__plan b { font-size: 22px; color: var(--ink); margin-right: 6px; font-family: var(--display); }
.finder__why { margin: 0; grid-column: 1; font-size: 14px; color: var(--text-2); line-height: 1.45; }
.finder__out .btn { grid-column: 2; grid-row: 1 / span 2; white-space: nowrap; }
@media (max-width: 980px) {
  .finder { grid-template-columns: minmax(0, 1fr); }
  .finder__out { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); padding-top: 16px; }
}
@media (max-width: 520px) {
  .finder__out { grid-template-columns: minmax(0, 1fr); }
  .finder__out .btn { grid-column: 1; grid-row: auto; width: 100%; }
}
/* Plan cards line up row by row (name, price, blurb, limits, credit,
   button) across the four, whatever wraps in one of them: each card is a
   subgrid of the row's tracks. Browsers without subgrid keep the flex
   column, with the button pushed to the bottom. */
.plan .credit { margin-bottom: 18px; }
.plan .btn { margin-top: auto; }
@supports (grid-template-rows: subgrid) {
  #pricing .prices { grid-template-rows: repeat(6, auto); }
  #pricing .plan { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
  #pricing .plan .limits { align-self: start; }
  #pricing .plan .btn { align-self: end; margin-top: 0; }
  #plans .prices { grid-template-rows: repeat(8, auto); }
  #plans .price { display: grid; grid-row: span 8; grid-template-rows: subgrid; row-gap: 0; }
  /* Team and Scale have the seat stepper (row 6); the other line and Buy share rows 7 and 8 on every card. */
  #plans .price > .annual { grid-row: 7; }
  #plans .price > .btn { grid-row: 8; }
  #plans .price .limits, #plans .price .prods { align-self: start; }
  #plans .price .annual { margin-top: 0; align-self: end; }
}
@media (max-width: 1080px) {
  #pricing .prices, #plans .prices { grid-template-rows: none; }
  #pricing .plan, #plans .price { display: flex; grid-row: auto; }
}
.prices .limits span, .prices .credit b { display: block; }
.prices .credit b { font-size: 17px; }
.prices .annual span { display: block; color: var(--text-2); font-size: 12.5px; }

/* Download gate: the files show once an email is in (site.js, the download list). */
html.dl-locked [data-dlgate] { filter: blur(7px); pointer-events: none; user-select: none; }
.dlgate { max-width: 560px; margin: 0 0 22px; padding: 18px 20px; border: 1px solid var(--line-2); background: var(--white); box-shadow: none; }
.dlgate[hidden] { display: none; }
.dlgate__h { font: 700 18px/1.3 inherit; margin: 0 0 10px; }
.dlgate input[type=email] { flex: 1; min-width: 0; font: 14px var(--mono); padding: 11px 12px; border: 1px solid var(--line-2); border-right: 0; background: var(--white); color: var(--text); }
.dlgate input[type=email]:focus { outline: none; background: var(--paper-2); }
.dlgate button { font: 700 14px inherit; padding: 0 16px; border: 1px solid var(--line-2); background: var(--ink); color: var(--white); cursor: pointer; white-space: nowrap; }
.dlgate__note { margin: 10px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--text-3); }
.dlgate .launchform__msg { display: block; margin-top: 8px; font-size: 13px; }

/* ---- homepage, pixel edition ---------------------------------------------
   One hero (copy beside the pixel sandbox), four pixel-icon facts, a price
   line and the closing install. Everything lines up on the .wrap edges. */
.hx { padding: 72px 0 40px; }
.hx__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hx .h1 { font-size: clamp(36px, 4.6vw, 62px); line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
.hx .h1 em { font-style: normal; color: var(--paper); background: var(--ink); padding: 0 .12em; }
.hx__sub { margin-top: 20px; max-width: 34em; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.5; color: var(--text-2); }
.hx .hero__install { margin: 28px 0 0; align-items: stretch; max-width: none; }
.hx .cmd--big { width: 100%; max-width: 560px; margin-inline: 0; }
.hx .btns { margin-top: 18px; justify-content: flex-start; }
.hx .hero__risk { justify-content: flex-start; }
.sbx { margin: 0; }
.sbx canvas { display: block; width: 100%; height: auto; aspect-ratio: 30 / 18; }
.sbx__cap { margin-top: 12px; font: 12.5px/1.4 var(--mono); color: var(--text-2); text-align: center; letter-spacing: .02em; }
.sbx__cap span::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; background: var(--accent); }
.hx__proof { margin-top: 40px; font: 13px/1.5 var(--mono); color: var(--text-2); }
.hx__proof b { color: var(--text); font-size: 15px; margin-right: 6px; }
.hx__proof span { margin-left: 10px; color: var(--text-3); font-size: 12px; }
.hx__proof span::before { content: "· "; }

.feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.feat { padding: 28px 24px 30px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--white); }
.feat h3 { margin-top: 18px; font-size: 18px; letter-spacing: -.01em; }
.feat p { margin-top: 6px; font-size: 14.5px; line-height: 1.5; color: var(--text-2); }
.pix { width: 36px; height: 36px; display: block; fill: var(--ink); shape-rendering: crispEdges; }
.pix .a { fill: var(--accent); }

.tease { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.tease .h2 { font-size: clamp(28px, 3.4vw, 40px); }
.tease p { margin-top: 10px; max-width: 40em; color: var(--text-2); }
.closer .hero__install { margin: 32px auto 0; align-items: center; }
.closer .cmd--big { margin-inline: auto; }
.closer .hero__risk { justify-content: center; }

@media (max-width: 960px) {
  .hx__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .hx { padding: 36px 0 24px; }
  .feats { grid-template-columns: minmax(0, 1fr); }
  .feat { padding: 22px 18px; display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 16px; }
  .feat .pix { grid-row: span 2; }
  .feat h3 { margin-top: 0; }
  .tease { flex-direction: column; align-items: flex-start; }
  .hx__proof span { display: block; margin-left: 0; }
  .hx__proof span::before { content: none; }
}
.hx .cmd--big { max-width: none; font-size: clamp(12.5px, 1.15vw, 15px); }
.pix { width: 40px; height: 40px; }
.closer--home { padding: 96px 0; }
.closer--home .h2 { font-size: clamp(30px, 4vw, 48px); }
.pcost { margin-top: 28px; }

/* ---- homepage: few words, pixels carry it ---------------------------------
   The note under the CTA, the hero's Break it / Rewind controls and a slim
   referral ribbon. Mono, square pixels, no logos. */
.hx .hero__risk + .hero__note { margin-top: 6px; font-size: 13px; }
.sbx__ctl { display: flex; justify-content: center; gap: 10px; margin-top: 12px; }
.sbx__ctl[hidden] { display: none; }
.sbx__ctl .btn[disabled] { opacity: .45; cursor: default; box-shadow: none; transform: none; }
.feats .feat h3 { margin-top: 16px; }
.tease .h2 { max-width: 22em; }
.rot { position: relative; }
.rot a { color: inherit; text-decoration: none; }
/* The swap: the box wipes shut and open in four hard steps, like pixels. */
.rot--out { animation: rot-out .2s steps(4, end) forwards; }
.rot--in { animation: rot-in .26s steps(4, end); }
@keyframes rot-out { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(0 100% 0 0); } }
@keyframes rot-in { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) { .rot--out, .rot--in { animation: none; } }
.ribbon { margin: 0; border-top: 1px solid var(--rule); background: var(--accent-2); }
.ribbon a { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 14px; padding: 11px var(--gut); font: 13px/1.4 var(--mono); color: var(--text); text-decoration: none; }
.ribbon__px { width: 8px; height: 8px; background: var(--accent); box-shadow: 10px 0 0 var(--ink); margin-right: 10px; }
.ribbon__go { font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.ribbon a:hover .ribbon__go { text-decoration-color: var(--ink); }
@media (max-width: 640px) {
  .ribbon__px { display: none; }
}

/* ---- footer: a brand column and four even link columns --------------------
 * Every link column holds 6 to 8 links so they end at about the same height;
 * Kosa8 Labs is a short row under the brand. The icon row and the newsletter
 * field share the brand column's exact width. Tablet: brand on top, four
 * columns below. Phone: two columns. */
.fgrid { grid-template-columns: 296px repeat(4, minmax(0, 1fr)); gap: 32px 40px; align-items: start; }
.fgrid h2 { line-height: 16px; margin-bottom: 12px; white-space: nowrap; }
.fgrid > div > a:not(.lockup) { padding: 4px 0; line-height: 20px; }
.fbrand { width: 100%; max-width: 296px; }
.fgrid .tagline { max-width: none; margin-top: 12px; font-size: 14px; }
.fgrid .social { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); width: 100%; }
.fgrid .social a { width: auto; }
.fbrand .newsform { width: 100%; max-width: none; }
.flabs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin-top: 20px; }
.flabs span { flex: 0 0 100%; margin-bottom: 4px; font: 600 12px/16px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.fgrid .flabs a.labs-link { display: inline-flex; align-items: center; gap: 6px; padding: 2px 0; font-size: 13.5px; line-height: 20px; white-space: nowrap; }
.flabs .labs-mark { display: block; }
@media (max-width: 1100px) {
  .fgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fgrid > .fbrand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
  .fbrand { max-width: none; }
}

/* ---- inner pages, pixel edition -------------------------------------------
   Every page below the homepage uses the same few parts: a short hero (pixel
   icon, one headline, one line under it, Start free and the pay-per-second line), rows
   of pixel-icon facts (.feats, from the homepage), and the homepage's closing
   call. Words are short; the pixels carry the meaning. */
.pxh { padding: 72px 0 44px; }
.pxh .pix { width: 48px; height: 48px; margin-bottom: 22px; }
.pxh .eyebrow { margin-bottom: 14px; }
.pxh .h1 { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.05; letter-spacing: -.035em; text-wrap: balance; max-width: 16em; }
.pxh .h1 em { font-style: normal; color: var(--paper); background: var(--ink); padding: 0 .12em; }
.pxh__sub { margin-top: 18px; max-width: 36em; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.5; color: var(--text-2); }
.pxh .btns { margin-top: 24px; justify-content: flex-start; }
.pxh .hero__risk { justify-content: flex-start; }
.pxh .hero__risk + .hero__note { margin-top: 6px; font-size: 13px; }
.pxh .hero__install { margin: 24px 0 0; align-items: stretch; max-width: 640px; }
.pxh .cmd--big { width: 100%; margin-inline: 0; }
.pxs { padding: 48px 0; }
.pxs + .pxs { border-top: 1px solid var(--line); }
.pxs__h { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.02em; margin-bottom: 22px; text-wrap: balance; }
.pxs__p { margin: -10px 0 22px; max-width: 44em; color: var(--text-2); }
.pxs .note { margin-top: 16px; font-size: 14px; }
.feats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feats--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feat .go { display: inline-block; margin-top: 10px; font: 600 13px var(--mono); color: var(--text); }
.feat .go::after { content: " →"; }
a.feat { display: block; color: inherit; text-decoration: none; transition: background .2s; }
a.feat:hover { background: var(--paper-2); text-decoration: none; }
a.feat:hover .go { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.feat code { font-size: .9em; }
.pxlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.pxlist li { display: grid; grid-template-columns: minmax(0, 14em) minmax(0, 1fr); gap: 6px 24px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.pxlist li > b { font: 600 13.5px/1.5 var(--mono); }
.pxlist li > span { color: var(--text-2); }
@media (max-width: 960px) {
  .feats--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .pxh { padding: 40px 0 28px; }
  .pxh .pix { width: 40px; height: 40px; margin-bottom: 16px; }
  .pxs { padding: 36px 0; }
  .feats--3, .feats--2 { grid-template-columns: minmax(0, 1fr); }
  a.feat { display: grid; }
  .feat .go { grid-column: 2; }
  .pxlist li { grid-template-columns: minmax(0, 1fr); }
}
.pxcmds { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; max-width: 760px; margin-top: 22px; }
.pxs .faq { max-width: 860px; }
@media (max-width: 640px) {
  /* Cards with more than a title and one line: everything beside the icon. */
  .feat > :not(.pix) { grid-column: 2; }
}

/* ---- customers page ---------------------------------------------------------
   Real stories render into #stories from site/testimonials.json at deploy;
   with none, the "Be our first story" card. Example workflows: pixel cards
   that filter by use case (site.js, [data-usefilter]) and one detail row
   each, text beside the commands. */
.firstcard { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 22px; padding: 28px; background: var(--white); border: 2px dashed var(--rule); max-width: 820px; }
.firstcard .pix { width: 56px; height: 56px; }
.firstcard h3 { font-size: 22px; letter-spacing: -.01em; }
.firstcard p { margin-top: 8px; color: var(--text-2); max-width: 40em; }
.firstcard .btns { margin-top: 18px; }
.nums { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.nums li { padding: 22px 20px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--white); }
.nums b { display: block; font: 700 clamp(28px, 3.2vw, 40px)/1 var(--mono); letter-spacing: -.03em; }
.nums span { display: block; margin-top: 10px; font: 13px/1.4 var(--mono); color: var(--text-2); }
.usefilter[hidden], .storycards > li[hidden], .story[hidden] { display: none; }
.storycards > li { display: flex; }
.storycards > li > .feat { flex: 1; min-width: 0; }
.storylist { padding-top: 8px; }
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 32px; align-items: start; padding: 40px 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.story:first-child { border-top: 0; }
.story__label { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.story__label .pix { width: 28px; height: 28px; margin-right: 4px; }
.story h3 { margin-top: 14px; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.02em; }
.story dl { margin: 14px 0 0; }
.story dt { margin-top: 12px; font: 600 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.story dd { margin: 4px 0 0; font-size: 15.5px; line-height: 1.55; color: var(--text-2); }
.story__num { margin-top: 18px; padding: 12px 14px; border: 1px solid var(--rule); background: var(--accent-2); }
.story__num b { display: block; font: 700 24px/1 var(--mono); }
.story__num span { display: block; margin-top: 6px; font: 12.5px/1.45 var(--mono); color: var(--text-2); }
.story__go { display: inline-block; margin-top: 16px; font: 600 13px var(--mono); color: var(--text); }
.story__go::after { content: " →"; }
.story__term pre { font-size: 12.5px; }
.term .p--ps::before { content: "PS> "; }
.sharelist a { color: var(--text); }
#stories .voices { margin-top: 4px; }
@media (max-width: 960px) {
  .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}
@media (max-width: 640px) {
  .firstcard { grid-template-columns: minmax(0, 1fr); padding: 20px 18px; }
  .firstcard .pix { width: 40px; height: 40px; }
  #stories .voices { grid-template-columns: minmax(0, 1fr); }
}

/* ---- coin scenes: /refer/ and /affiliates/ --------------------------------
 * How earning works, step by step, on the homepage's pixel grid: the kosa8
 * coin (the mark on a 15-pixel disc) is a picture of credit or commission,
 * never a unit of it; every figure in a scene is in US dollars and is a
 * published term. Same approach as the homepage touchdown (home.css, td-*):
 * one 8-second loop of stepped keyframes, run only while the scene is on
 * screen (site.js adds .is-on). Without motion, or without script, the scene
 * is its last frame: the coins already earned, and every step shown. */
.pxh--cs .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: 48px; align-items: center; }
.cs { margin: 0; min-width: 0; background: var(--white); border: 1px solid var(--rule); box-shadow: none; }
.cs__sc { display: block; width: 100%; height: auto; padding: 18px 18px 6px; overflow: visible; }
.cs__ink { fill: var(--ink); }
.cs__box { fill: var(--white); }
.cs__acc { fill: var(--ink); }
.cs__gr { fill: color-mix(in srgb, var(--ink) 18%, transparent); }
.cs__pt { fill: color-mix(in srgb, var(--ink) 32%, transparent); }
.cs__t { font: 700 4.2px var(--mono); letter-spacing: .04em; fill: var(--ink); }
.cs__lb { fill: var(--text-2); font-weight: 600; }
.cs__plus { font-size: 5.4px; fill: var(--text-2); }
.cs__cell { fill: var(--paper-2); }
.cs__cell.cs__lit { fill: var(--ink); }
.cs__spin, .cs__goal, .cs__card, .cs__ok { transform-box: fill-box; transform-origin: center; }
.cs__link, .cs__pay { opacity: 0; }
.cs__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.cs__steps li { padding: 12px 12px 14px; font-size: 13px; line-height: 1.4; color: var(--text-2); border-left: 1px solid var(--line-2); }
.cs__steps li:first-child { border-left: 0; }
.cs__steps b { display: block; margin-bottom: 4px; font: 700 11px/1 var(--mono); letter-spacing: .06em; color: var(--ink); }
.cs__steps b::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 7px; background: var(--ink); vertical-align: 0; }
@media (prefers-reduced-motion: no-preference) {
  .cs.is-on .cs__spin { animation: cs-spin 1.2s steps(1, end) infinite; }
  .cs.is-on .cs__steps li { animation: cs-step 8s steps(1, end) infinite; }
  .cs.is-on .cs__steps li:nth-child(2) { animation-delay: 2s; }
  .cs.is-on .cs__steps li:nth-child(3) { animation-delay: 4s; }
  .cs.is-on .cs__steps li:nth-child(4) { animation-delay: 6s; }
  /* refer: link out, they pay, two coins split, one cell of the year lights */
  .cs--refer.is-on .cs__link { animation: cs-r-link 8s infinite; }
  .cs--refer.is-on .cs__pay { animation: cs-r-pay 8s infinite; }
  .cs--refer.is-on .cs__card { animation: cs-r-card 8s infinite steps(1, end); }
  .cs--refer.is-on .cs__ca { animation: cs-r-ca 8s infinite; }
  .cs--refer.is-on .cs__cb { animation: cs-r-cb 8s infinite; }
  .cs--refer.is-on .cs__plus { animation: cs-r-plus 8s infinite steps(1, end); }
  .cs--refer.is-on .cs__l1 { animation: cs-r-cell 8s infinite steps(1, end); }
  .cs--refer.is-on .cs__you, .cs--refer.is-on .cs__team { animation: cs-r-land 8s infinite steps(1, end); }
  /* affiliates: approved, link out, they pay, 20% waits out the hold, then fills the meter */
  .cs--aff.is-on .cs__ok { animation: cs-a-ok 8s infinite steps(1, end); }
  .cs--aff.is-on .cs__link { animation: cs-a-link 8s infinite; }
  .cs--aff.is-on .cs__pay { animation: cs-a-pay 8s infinite; }
  .cs--aff.is-on .cs__ca { animation: cs-a-coin 8s infinite; }
  .cs--aff.is-on .cs__plus { animation: cs-a-pct 8s infinite steps(1, end); }
  .cs--aff.is-on .cs__sand { animation: cs-a-sand 8s infinite steps(1, end); }
  .cs--aff.is-on .cs__lit { animation: cs-a-cell 8s infinite steps(1, end); }
  .cs--aff.is-on .cs__goal { animation: cs-a-goal 8s infinite steps(1, end); }
  .cs--aff.is-on .cs__you { animation: cs-a-land 8s infinite steps(1, end); }
  .cs--aff.is-on .cs__lit { animation-fill-mode: backwards; }
  .cs--aff.is-on .cs__l2 { animation-delay: 55ms; }
  .cs--aff.is-on .cs__l3 { animation-delay: 110ms; }
  .cs--aff.is-on .cs__l4 { animation-delay: 165ms; }
  .cs--aff.is-on .cs__l5 { animation-delay: 220ms; }
  .cs--aff.is-on .cs__l6 { animation-delay: 275ms; }
  .cs--aff.is-on .cs__l7 { animation-delay: 330ms; }
  .cs--aff.is-on .cs__l8 { animation-delay: 385ms; }
  .cs--aff.is-on .cs__l9 { animation-delay: 440ms; }
  .cs--aff.is-on .cs__l10 { animation-delay: 495ms; }
  .cs--aff.is-on .cs__l11 { animation-delay: 550ms; }
  .cs--aff.is-on .cs__l12 { animation-delay: 605ms; }
  .cs--aff.is-on .cs__l13 { animation-delay: 660ms; }
  .cs--aff.is-on .cs__l14 { animation-delay: 715ms; }
  .cs--aff.is-on .cs__l15 { animation-delay: 770ms; }
  .cs--aff.is-on .cs__l16 { animation-delay: 825ms; }
  .cs--aff.is-on .cs__l17 { animation-delay: 880ms; }
}
@keyframes cs-spin { 0% { transform: scaleX(1); } 12% { transform: scaleX(.6); } 24% { transform: scaleX(.15); } 36% { transform: scaleX(-.6); }
  48% { transform: scaleX(-1); } 60% { transform: scaleX(-.6); } 72% { transform: scaleX(-.15); } 84% { transform: scaleX(.6); } 96%, 100% { transform: scaleX(1); } }
@keyframes cs-step { 0% { background: var(--accent-2); color: var(--ink); } 25%, 100% { background: transparent; color: var(--text-2); } }
@keyframes cs-r-link { 0% { opacity: 0; transform: translate(-80px, 0); } 2% { opacity: 1; transform: translate(-80px, 0); animation-timing-function: steps(10, end); }
  20% { opacity: 1; transform: translate(0, 0); } 23%, 100% { opacity: 0; transform: translate(0, 0); } }
@keyframes cs-r-pay { 0%, 25% { opacity: 0; transform: translateY(6px); } 26% { opacity: 1; transform: translateY(6px); animation-timing-function: steps(3, end); }
  31% { transform: translateY(0); } 47% { opacity: 1; transform: translateY(0); } 49%, 100% { opacity: 0; } }
@keyframes cs-r-card { 0%, 36% { transform: none; } 37% { transform: scale(1.12); } 40%, 100% { transform: none; } }
@keyframes cs-r-ca { 0%, 49% { opacity: 0; transform: translate(60px, -14px); } 50% { opacity: 1; transform: translate(60px, -14px); }
  56% { transform: translate(60px, -16px); animation-timing-function: steps(8, end); } 72% { transform: translate(0, 0); } 96% { opacity: 1; } 98%, 100% { opacity: 0; transform: translate(0, 0); } }
@keyframes cs-r-cb { 0%, 49% { opacity: 0; transform: none; } 50% { opacity: 1; transform: none; }
  56% { transform: none; animation-timing-function: steps(8, end); } 72% { transform: translate(0, 0); } 96% { opacity: 1; } 98%, 100% { opacity: 0; transform: translate(0, 0); } }
@keyframes cs-r-plus { 0%, 72% { opacity: 0; } 73% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes cs-r-cell { 0%, 75% { fill: var(--paper-2); } 76% { fill: var(--ink); } 78%, 97% { fill: var(--ink); } 98%, 100% { fill: var(--paper-2); } }
@keyframes cs-r-land { 0%, 71% { transform: none; } 72% { transform: translateY(1px); } 74%, 100% { transform: none; } }
@keyframes cs-a-ok { 0%, 4% { opacity: 0; transform: scale(1.4); } 5% { opacity: 1; transform: scale(1.4); } 8% { transform: scale(1); } 97% { opacity: 1; } 98%, 100% { opacity: 0; } }
@keyframes cs-a-link { 0%, 26% { opacity: 0; transform: translate(-80px, 0); } 27% { opacity: 1; transform: translate(-80px, 0); animation-timing-function: steps(10, end); }
  39% { opacity: 1; transform: translate(0, 0); } 41%, 100% { opacity: 0; transform: translate(0, 0); } }
@keyframes cs-a-pay { 0%, 40% { opacity: 0; transform: translateY(6px); } 41% { opacity: 1; transform: translateY(6px); animation-timing-function: steps(3, end); }
  45% { transform: translateY(0); } 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes cs-a-coin { 0%, 49% { opacity: 0; transform: translate(120px, 0); } 50% { opacity: 1; transform: translate(120px, 0); animation-timing-function: steps(8, end); }
  58% { transform: translate(60px, 0); } 75% { transform: translate(60px, 0); animation-timing-function: steps(8, end); } 82% { transform: translate(0, 0); }
  97% { opacity: 1; } 98%, 100% { opacity: 0; transform: translate(0, 0); } }
@keyframes cs-a-pct { 0%, 57% { opacity: 0; } 58% { opacity: 1; } 75%, 100% { opacity: 0; } }
@keyframes cs-a-sand { 0%, 59% { opacity: 0; } 60% { opacity: .5; } 66% { opacity: 1; } 75%, 100% { opacity: 1; } }
@keyframes cs-a-cell { 0%, 82% { fill: var(--paper-2); } 83%, 97% { fill: var(--ink); } 98%, 100% { fill: var(--paper-2); } }
@keyframes cs-a-goal { 0%, 91% { transform: none; } 92% { transform: scaleX(.3); } 93% { transform: scaleX(-1); } 94% { transform: scaleX(.3); } 95%, 100% { transform: none; } }
@keyframes cs-a-land { 0%, 81% { transform: none; } 82% { transform: translateY(1px); } 84%, 100% { transform: none; } }
@media (max-width: 980px) {
  .pxh--cs .wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .cs { max-width: 560px; }
}
@media (max-width: 560px) {
  .cs__sc { padding: 12px 10px 4px; }
  .cs__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs__steps li:nth-child(3) { border-left: 0; }
  .cs__steps li:nth-child(n+3) { border-top: 1px solid var(--line-2); }
}

/* =========================================================================
 * Monochrome identity (Nov 2026). The last layer, so it settles the look
 * of every part above: hairline grids with rounded outer corners, 10-14px
 * radii, ink primary buttons, mono "/ label" eyebrows, light terminals, the
 * ink mark tile, calm motion. Earlier sections keep their layout rules;
 * where one of them still says something louder, this is the one that wins.
 * ======================================================================= */

/* ---- page frame: two hairlines on the container edges, wide screens only */
@media (min-width: 1260px) {
  body { background:
    linear-gradient(var(--line), var(--line)) calc(50% - 590px) 0 / 1px 100% no-repeat,
    linear-gradient(var(--line), var(--line)) calc(50% + 590px) 0 / 1px 100% no-repeat,
    var(--paper); }
}

/* ---- decoration from the old look, retired ------------------------------- */
.field, .chain, .floaters { display: none; }
.phero::after, .closer::after, footer::after { content: none; display: none; }
.sec-head::before, .sec-head::after { content: none; }
.lifeband--wrap::before, .lifeband--wrap::after { content: none; }
.lifeband { opacity: .4; }
@supports (animation-timeline: scroll()) {
  body::before { height: 2px; background: var(--ink); }
}
/* reveals: a quiet fade, not the pixel wipe */
.reveal { clip-path: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.pre { clip-path: none; opacity: 0; transform: translateY(12px); }

/* ---- type ---------------------------------------------------------------- */
.h1 { font-weight: 600; letter-spacing: -.04em; line-height: 1.04; }
.h2 { font-weight: 600; letter-spacing: -.035em; line-height: 1.08; }
.h3 { font-weight: 600; letter-spacing: -.02em; }
.lead { color: var(--text-2); }
/* Emphasis in a headline: a soft fill behind ink, like a selected row. */
.phero em, .hero em, .h2 em, .hx .h1 em, .pxh .h1 em, .h1 em { font-style: normal; color: var(--text); padding: 0 .04em;
  background: linear-gradient(var(--hover), var(--hover)) 0 86% / 100% .34em no-repeat; border-radius: 0; }
.eyebrow { gap: 8px; font: 500 12px/1 var(--mono); letter-spacing: .08em; color: var(--text-3); }
.eyebrow::before { content: "/"; width: auto; height: auto; background: none; color: var(--icon); }
.eyebrow--warn::before { background: none; }
.eyebrow--ok::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.bar { height: 2px; width: 40px; background: var(--ink); border-radius: 2px; }
.kicker { color: var(--text-3); }
.kicker b { color: var(--text); background: var(--paper-2); border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; }
.muted { color: var(--text-3); }

/* ---- the mark ------------------------------------------------------------ */
.lockup { font-family: var(--display); font-weight: 650; letter-spacing: -.035em; gap: .4em; }
.nav .lockup { font-size: 20px; }
.nav .lockup .mark { width: 26px; height: 26px; }

/* ---- nav ----------------------------------------------------------------- */
.nav { background: color-mix(in srgb, var(--paper) 82%, transparent); border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); }
.nav__inner { height: 64px; }
.nav__links { gap: 4px; }
.nav__links a { color: var(--text-2); font-size: 14px; font-weight: 500; padding: 7px 12px; border-radius: var(--r-sm); transition: background .15s, color .15s; }
.nav__links a:hover { color: var(--text); background: var(--hover); }
.nav__links a[aria-current="page"] { color: var(--text); background: var(--hover); text-decoration: none; }
.nav__act { gap: 8px; margin-left: 12px; }
.nav__links .nav__act a { height: 36px; }
.nav__links a.nav__cta { background: var(--ink); color: var(--on-ink); font-weight: 600; padding: 0 16px; border-radius: 10px; }
.nav__links a.nav__cta:hover { background: var(--ink-hover); color: var(--on-ink); }
.nav__links a.nav__dl { width: 36px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--white); color: var(--text); }
.nav__links a.nav__dl:hover, .nav__links a.nav__dl[aria-current] { background: var(--hover); color: var(--text); }
.nav__links a.nav__dl svg { width: 16px; height: 16px; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 880px) {
  .nav__links .nav__act a { height: 34px; }
  .nav__links .nav__act a.nav__dl { width: 34px; }
}

/* ---- buttons ------------------------------------------------------------- */
.btn { min-height: 44px; padding: 0 20px; border-radius: 10px; border: 1px solid var(--line-2); font: 600 15px/1 var(--sans);
  letter-spacing: -.01em; transition: background .15s, border-color .15s, color .15s; }
.btn:hover { transform: none; box-shadow: none; }
.btn--primary { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.btn--primary:hover { background: var(--ink-hover); border-color: var(--ink-hover); box-shadow: none; }
.btn--ghost { background: var(--white); color: var(--text); }
.btn--ghost:hover { background: var(--hover); border-color: var(--line-2); }
.btn--sm { min-height: 36px; padding: 0 14px; font-size: 14px; border-radius: var(--r-sm); }
.btn:active, .cmd:active { animation: none; }
.btn:focus-visible, .cmd:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }

/* ---- commands and the install block ------------------------------------- */
.cmd { background: var(--white); border: 1px solid var(--line-2); border-radius: 10px; padding: 13px 12px 13px 16px; color: var(--text);
  transition: border-color .15s, box-shadow .15s; box-shadow: var(--shadow); }
.cmd:hover { transform: none; box-shadow: var(--shadow); border-color: var(--icon); }
.cmd .t::before { color: var(--icon); }
.cmd .ico { color: var(--text-2); border: 1px solid var(--line); border-radius: 6px; background: var(--paper-2); padding: 6px 8px; letter-spacing: .08em; }
.cmd[data-done] { border-color: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 18%, transparent); }
.cmd[data-done] .ico { color: var(--ok-t); border-color: color-mix(in srgb, var(--ok) 50%, transparent); background: var(--ok-2); }
.inst__tabs { gap: 2px; padding: 3px; margin-bottom: 8px; width: max-content; max-width: 100%; background: var(--paper-2);
  border: 1px solid var(--line); border-radius: 10px; }
.inst__tab { border: 0; border-radius: 7px; padding: 7px 12px; color: var(--text-2); font-weight: 500; }
.inst__tab:hover { color: var(--text); }
.inst__tab[aria-selected="true"] { color: var(--text); background: var(--white); border: 0; box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 0 0 1px var(--line); }
.inst__tab:focus-visible { outline: 2px solid var(--text); outline-offset: 1px; }
.inst__next { color: var(--text-3); }

/* ---- terminals: a light window ------------------------------------------ */
.term { background: var(--term); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.term__bar { background: var(--paper-2); border-bottom: 1px solid var(--line); padding: 11px 14px; gap: 6px; }
.term__bar i, .term__bar i:first-child { width: 10px; height: 10px; border: 0; border-radius: 50%; background: var(--line-2); }
.term__bar span { color: var(--text-3); }
.term pre { color: var(--text-2); }
.term .p { color: var(--text); }
.term .p::before { color: var(--icon); }
.term .g { color: var(--ok-t); }
.term .r { color: var(--text); font-weight: 600; text-decoration: line-through; text-decoration-color: var(--icon); }
.term .a { color: var(--text-2); }
.term .c { color: var(--text); }
.term .caret { background: var(--ink); border-radius: 1px; }

/* ---- hairline grids: one rounded frame, 1px lines between the cells ----
 * Cells draw their lines as outlines in a 1px gap, so a short last row
 * leaves white space rather than grey blocks; the frame clips the outer
 * edge. */
.grid, .feats, .sectors, .prices, .steps, .addons, .ctable, .nums {
  gap: 1px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--white); }
.grid > *, .feats > *, .sectors > *, .prices > *, .steps > *, .addons > *, .ctable > *, .nums > * {
  border: 0 !important; border-radius: 0 !important; outline: 1px solid var(--line); box-shadow: none; }
.grid > a:focus-visible, .feats > a:focus-visible, .feats > li > a:focus-visible { outline: 2px solid var(--text); outline-offset: -2px; }
.storycards > li > .feat { outline: 0; }
/* stacked lists: one frame, a hairline between rows */
.answers, .badges, .buylist, .files { gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--white); }
.answer, .badge, .buyrow, .filerow { border: 0; border-bottom: 1px solid var(--line); background: var(--white); }
.answer:last-child, .badge:last-child, .buyrow:last-child, .filerow:last-child { border-bottom: 0; }
.answer span:last-child::before { border-radius: 50%; }
.badge i { border-radius: 50%; }
.filerow:hover { background: var(--paper-2); }

/* ---- cards and tiles ----------------------------------------------------- */
.card, .feat, .step, .crow, .sector, .price, .plan { background: var(--white); }
.card--link:hover, a.feat:hover { background: var(--paper-2); }
.card__ico { width: 40px; height: 40px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 10px; color: var(--text-2); }
.card__ico svg { stroke-width: 1.5; }
.feat { padding: 28px 26px 30px; }
.feat h3 { font-weight: 600; letter-spacing: -.015em; }
.feat .go, .card .go, .story__go, .more { font: 500 13px var(--mono); color: var(--text); }
a.feat:hover .go { text-decoration: underline; text-decoration-color: var(--text); text-decoration-thickness: 1px; }
.step__n { width: 28px; height: 28px; border-radius: 8px; background: var(--paper-2); color: var(--text); border: 1px solid var(--line); font-weight: 500; }
.sector:hover { background: var(--paper-2); }
.sector:hover span { color: var(--text-2); }
/* The pixel icons sit in a rounded tile, drawn in grey ink. */
.pix { box-sizing: border-box; width: 43px; height: 43px; padding: 7px; fill: var(--text-2); background: var(--paper-2);
  border: 1px solid var(--line); border-radius: 10px; }
.pix .a { fill: var(--text); }
.pxh .pix, .firstcard .pix { width: 56px; height: 56px; padding: 9px; border-radius: 14px; margin-bottom: 24px; }
.firstcard .pix { margin-bottom: 0; }
.story__label .pix { width: 29px; height: 29px; padding: 5px; border-radius: 7px; }
@media (max-width: 640px) {
  .pxh .pix, .firstcard .pix { width: 43px; height: 43px; padding: 7px; border-radius: 10px; }
  .feat { grid-template-columns: 43px minmax(0, 1fr); }
}

.stage, .shot, .film, .contract, .way, .filter, .goal, .voice, .dp-fig, .dp-mode, .dp-table, .dp-rate, .pchoose a, .tc-badge,
.tc-cat, .tc-table, .tc-doc, .finder, .firstcard, .cs, .chart, .fit, .toc, .quiz, .postnews, .postcard, .postnav a, .arcade,
.trophies, .lifebox, .cheer, .research__fig, .atk, .dlgate, .panel-note, .labs-card, .story__num, .ptag {
  border-radius: var(--r-lg); }
.stage, .shot, .film, .contract, .way, .goal, .voice, .dp-fig, .dp-mode, .dp-rate, .tc-badge, .tc-cat, .tc-doc, .finder, .cs,
.chart, .fit, .toc, .quiz, .postcard, .postnav a, .arcade, .atk, .dlgate, .labs-card {
  border: 1px solid var(--line); box-shadow: none; }
.shot, .film, .dp-table, .tc-table, .cs, .atk, .arcade, .trophies, .lifebox { overflow: hidden; }
.stage, .shot, .film { box-shadow: var(--shadow-lg); }
.limits, .subs span, .chip, .tag, .tags span, .ind, .ind__box, .st-strip li, .faq__toc a, .finder label span,
.share a, .share button, .blogfilter button, .quiz__opts button, .launchform input[type=email] { border-radius: var(--r-sm); }
.limits { background: var(--paper-2); border-color: var(--line); color: var(--text-2); }
.chip { background: var(--white); border-color: var(--line); color: var(--text-2); }
.tag { background: var(--paper-2); border: 1px solid var(--line); color: var(--text); }
.tag--ok { background: var(--ok-2); color: var(--ok-t); border-color: color-mix(in srgb, var(--ok) 40%, transparent); }
.best, .trial, .goal__tag { border-radius: 999px; background: var(--ink); color: var(--on-ink); border: 0; }
.goal__tag { padding: 6px 10px; }
.price--best, .plan--best { background: var(--white); box-shadow: inset 0 2px 0 var(--ink); }
.amount b { font-weight: 600; letter-spacing: -.04em; }
.prods li::before, .benefit li::before, .icp__with li::before { border-color: var(--ok); }
.panel-note { background: var(--paper-2); border: 1px solid var(--line); }
.panel-note--ok { background: var(--ok-2); border-color: color-mix(in srgb, var(--ok) 40%, transparent); }
.tabs__bar { border: 1px solid var(--line); border-radius: 10px; padding: 3px; gap: 2px; background: var(--paper-2); }
.tabs__bar button { border: 0 !important; border-radius: 7px; color: var(--text-2); font-weight: 500; }
.tabs__bar button[aria-selected="true"] { background: var(--white); color: var(--text); box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 0 0 1px var(--line); }
.way--primary { box-shadow: inset 0 2px 0 var(--ink); }
.who__bar { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.who__bar button { border-left-color: var(--line); }
.who__bar button[aria-selected="true"] { background: var(--paper-2); color: var(--text); box-shadow: inset 0 -2px 0 var(--ink); }
.who__bar button[aria-selected="true"] span { color: var(--text-3); }
.icp__today b, .icp__with b { border-radius: 6px; }
.icp__plan { border-left: 2px solid var(--ink); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.goal__checks li::after, .trustlist li::before { border-radius: 50%; }
.ind { background: var(--white); border-color: var(--line); }
.ind__box { background: var(--paper-2); border-color: var(--line); }
.ind__box::after { border-top-color: var(--line-2); opacity: 1; }
.ind__box svg { stroke: var(--text-2); }
.ind--key .ind__box { background: var(--ink); }
.ind--key .ind__box svg { stroke: var(--on-ink); }
.ind:hover { animation: none; }
.voice:hover { transform: none; box-shadow: var(--shadow); }
.voice::before { color: var(--line-2); }
.yc { background: var(--ink); color: var(--on-ink); border-radius: 3px; }
.stats b, .nums b { font-weight: 600; }
.dp-mode__n, .postsec__n { border-radius: 7px; background: var(--paper-2); color: var(--text); border: 1px solid var(--line); }
.tc-where > div { border-top: 1px solid var(--ink); }
.tc-tag { border-radius: 999px; }
.ptable tr.pt-best th { box-shadow: inset 2px 0 0 var(--ink); }
.ptable th, .ptable td { border-right-color: var(--line); }
.tc-table th, .tc-table td { border-bottom-color: var(--line); }
.finder input:checked + span { background: var(--ink); color: var(--on-ink); }
.finder label span { border-color: var(--line-2); background: var(--white); }

/* ---- sections and page heroes -------------------------------------------- */
.sec { padding: 104px 0; }
.sec + .sec, .pxs + .pxs { border-top: 1px solid var(--line); }
.pxh, .phero { border-bottom: 1px solid var(--line); }
.pxh { padding: 88px 0 64px; }
.pxh .eyebrow { margin-bottom: 16px; }
.pxh .h1 { font-size: clamp(36px, 4.8vw, 64px); font-weight: 600; letter-spacing: -.045em; line-height: 1.02; }
.pxh__sub { color: var(--text-2); margin-top: 20px; }
.pxh .btns { margin-top: 28px; }
.pxs { padding: 64px 0; }
.pxs__h { font-weight: 600; letter-spacing: -.03em; }
.phero .h1 { font-weight: 600; letter-spacing: -.045em; }
.pxlist { border-top-color: var(--line); }
.hero__risk span::before, .assure li::before { color: var(--ok-t); }
@media (max-width: 640px) {
  .pxh { padding: 48px 0 40px; }
  .pxs { padding: 44px 0; }
  .sec { padding: 72px 0; }
}

/* ---- FAQ ------------------------------------------------------------------ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { font-weight: 600; letter-spacing: -.015em; }
.faq summary::after { border: 1px solid var(--line-2); border-radius: 8px; background: var(--white); color: var(--text-2); font-weight: 400; }
.faq summary:hover::after { background: var(--hover); }
.faq details[open] summary::after, .faq details[open] summary:hover::after { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }

/* ---- the closing call: centred, on a faint hairline grid ----------------- */
.closer { position: relative; border-top: 1px solid var(--line); }
.closer::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000, transparent 75%);
          mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000, transparent 75%); opacity: .7; }
.closer > .wrap { position: relative; z-index: 1; }
.closer .mark { width: 56px; height: 56px; }
.closer .h2 { letter-spacing: -.04em; }

/* ---- footer ---------------------------------------------------------------- */
footer { background: var(--paper); border-top: 1px solid var(--line); padding-top: 64px; }
.fgrid h2 { font: 500 12px/16px var(--mono); letter-spacing: .08em; color: var(--text-3); }
.fgrid a:not(.lockup) { color: var(--text-2); font-size: 14px; }
.fgrid a:not(.lockup):hover { color: var(--text); text-decoration: none; }
.fgrid .tagline { color: var(--text-2); }
.fgrid .social { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; gap: 1px; background: var(--line); }
.fgrid .social a { border: 0; background: var(--white); color: var(--text-2); }
.fgrid .social a:hover, .fgrid .social a:focus-visible { background: var(--hover); color: var(--text); }
.fine { border-top: 1px solid var(--line); color: var(--text-3); }
.newsform__h, .flabs span { color: var(--text-3); font-weight: 500; }
.newsform__row { border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; background: var(--white); }
.newsform input[type=email] { border: 0; background: var(--white); }
.newsform input[type=email]:focus { background: var(--white); }
.newsform__row:focus-within { border-color: var(--text-2); }
.newsform button { border: 0; background: var(--ink); color: var(--on-ink); font-weight: 600; }
.newsform button:hover { background: var(--ink-hover); }
.launchform input[type=email] { border: 1px solid var(--line-2); border-radius: 10px; }
.launchform input[type=email]:focus { box-shadow: 0 0 0 3px var(--hover); border-color: var(--text-2); }
.dlgate input[type=email] { border: 1px solid var(--line-2); border-right: 0; border-radius: 10px 0 0 10px; }
.dlgate input[type=email]:focus { background: var(--white); border-color: var(--text-2); }
.dlgate button { border: 1px solid var(--ink); border-radius: 0 10px 10px 0; background: var(--ink); color: var(--on-ink); }
.lifebox { border-color: var(--line); box-shadow: none; }
.lifebox__bar { background: var(--paper-2); color: var(--text-3); border-bottom: 1px solid var(--line); }

/* ---- the blog and guides --------------------------------------------------- */
.posthead { padding: 80px 0 32px; }
.posthead .h1 { font-weight: 600; letter-spacing: -.04em; }
.crumbs { color: var(--text-3); }
.crumbs a { text-decoration-color: var(--line-2); }
.postbody p, .postbody li { color: var(--text-2); }
.postbody .toc p { color: var(--text-3); }
.postbody h2, .postbody h3 { letter-spacing: -.025em; }
.postbody code { background: var(--paper-2); border: 1px solid var(--line); border-radius: 6px; }
.postbody .tablewrap { border: 1px solid var(--line); border-radius: var(--r); }
.postbody .tablewrap table { margin: 0; }
.postbody th { background: var(--paper-2); }
.tags span { border-color: var(--line); background: var(--white); color: var(--text-2); }
.share a, .share button, .blogfilter button { border: 1px solid var(--line-2); background: var(--white); }
.share a:hover, .share button:hover { background: var(--hover); transform: none; box-shadow: none; }
.blogfilter button[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.toc { background: var(--paper-2); }
.toc a { text-decoration-color: var(--line-2); }
.postcard { background: var(--white); transition: border-color .15s, box-shadow .15s; }
.postcard:hover { transform: none; border-color: var(--line-2); box-shadow: var(--shadow); }
.postcard h2, .postcard h3 { font-weight: 650; }
.postcard p { color: var(--text-2); }
.postcard--lead { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.postcard--lead:hover { border-color: var(--ink); }
.postcard--lead p, .postcard--lead .postcard__date { color: var(--on-ink-2); }
.postcard--lead .tags span { color: var(--on-ink); border-color: var(--on-ink-2); background: transparent; }
.postnav a { transition: border-color .15s; }
.postnav a:hover { transform: none; border-color: var(--line-2); }
.takeaways { background: var(--paper-2); color: var(--text); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: none; }
.takeaways .h3 { color: var(--text); }
.takeaways li { color: var(--text-2) !important; }
.kosa8note { border-left: 2px solid var(--ink); }
.postnews { background: var(--paper-2); border: 1px dashed var(--line-2); }
.quiz__opts button { background: var(--white); border: 1px solid var(--line-2); }
.quiz__opts button:hover:not(:disabled) { transform: none; box-shadow: none; background: var(--hover); }
.quiz__opts button.right { background: var(--ok-2); color: var(--text); border-color: var(--ok); }
.quiz__opts button.wrong { background: var(--paper-2); color: var(--text-3); border-color: var(--line-2); text-decoration: line-through; }
.chart { background: var(--white); }
.chart__l { fill: var(--text-2); }
.chart__n { fill: var(--text); }
.chart rect[fill="#1c1c1c"] { fill: var(--ink); }
.chart rect[fill="#c4c4c4"] { fill: var(--chart-2, #c4c4c4); }
.fit li { border-top-color: var(--line); }
.fit__arrow { color: var(--icon); }

/* ---- play: the patrol, toasts, HUD, celebrations -------------------------- */
.patrol { border-bottom: 1px solid var(--line-2); }
.patrol::before, .patrol::after { width: 6px; height: 24px; background: var(--line-2); border: 0; border-radius: 3px; }
.bot__say { border: 1px solid var(--line-2); border-radius: 6px; font-weight: 600; }
.bot__say::after { border-top-color: var(--line-2); }
.toast { background: var(--ink); color: var(--on-ink); border: 0; outline: 0; border-radius: var(--r); box-shadow: var(--shadow-lg); }
.toast b { color: var(--on-ink-2); }
.hud__lv { background: var(--ink); color: var(--on-ink); border-radius: 5px; }
.hud__xp { border: 1px solid var(--line-2); border-radius: 5px; overflow: hidden; }
.hud__xp i { background: var(--ink); }
.hud button { border: 1px solid var(--line-2); border-radius: 6px; }
.hud button:hover { background: var(--hover); }
.trophies { border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.trophies__bar { background: var(--paper-2); color: var(--text); border-bottom: 1px solid var(--line); }
.trophies__bar button { color: var(--text); }
.trophies li { border-color: var(--line); border-radius: var(--r-sm); }
.cheer { border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.arcade__bar { background: var(--paper-2); color: var(--text-2); border-bottom: 1px solid var(--line); }
.arcade__bar b { color: var(--text); }
.gold { filter: none; }

/* ---- coin scenes, deploy dial, security diagram ---------------------------- */
.cs__acc, .cs__cell.cs__lit { fill: var(--ink); }
.cs__steps b::before { background: var(--ink); border-radius: 50%; }
.cs__steps { border-top-color: var(--line); }
.cs__steps li { border-left-color: var(--line); }
.dp-key__you::before, .dp-key__us::before { border-radius: 4px; }

/* ---- illustration fills in dark mode --------------------------------------
 * Inline SVGs carry their light fills as attributes; CSS outranks them. */
@media (prefers-color-scheme: dark) {
  :root { --chart-2: #4a4a4a; }
  /* The amber mark reads on both themes, so it keeps its own colours. */
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.pre { opacity: 1; transform: none; transition: none; }
}

/* ---- green stays for status; prices and credit read in ink --------------- */
.price .credit, .plan .credit, .ptable td.credit { color: var(--text); }
.ribbon { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ribbon__px { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); box-shadow: none; }
.ribbon__go { text-decoration-color: var(--line-2); text-decoration-thickness: 1px; }
.ribbon a:hover .ribbon__go { text-decoration-color: var(--text); }
.st-strip li { border-color: var(--line); border-radius: var(--r-sm); }
.st-strip li::before { width: 6px; height: 6px; border-radius: 50%; background: var(--icon); }
@media (max-width: 880px) { .nav__links { padding-bottom: 10px; } }
@media (max-width: 880px) {
  .nav__inner { height: auto; padding: 10px var(--gut) 0; }
  .nav__act { right: var(--gut); }
}

/* On a phone a copyable command wraps instead of scrolling inside its
   button: the button is the only focusable part, so a keyboard could never
   reach the end of a long line (axe: scrollable-region-focusable). */
@media (max-width: 600px) {
  .cmd .t { white-space: pre-wrap; overflow-wrap: anywhere; overflow-x: visible; }
}

/* Footer: a small link to a short video, styled as a tiny play chip. */
.fgrid a.fwatch { display: inline-flex; max-width: 100%; box-sizing: border-box; align-items: center; gap: 10px; margin-top: 14px; padding: 6px 12px 6px 6px; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s; }
.fgrid a.fwatch:hover { border-color: var(--ink); transform: translateY(-1px); }
.fwatch__play { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); position: relative; }
.fwatch__play::after { content: ""; position: absolute; left: 11px; top: 8px; border-style: solid; border-width: 6px 0 6px 9px; border-color: transparent transparent transparent var(--paper); }
.fwatch__t { display: flex; flex-direction: column; line-height: 1.25; }
.fwatch__t b { font-size: 13.5px; font-weight: 600; }
.fwatch__t small { font-size: 12px; color: var(--text-2); }
@media (prefers-reduced-motion: reduce) { .fgrid a.fwatch { transition: none; } .fgrid a.fwatch:hover { transform: none; } }

/* Seats on the Team and Scale cards (site.js "seats"). */
.seats { margin: 14px 0 6px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.seats__l { display: block; font: 600 12.5px/1.4 var(--mono, monospace); color: var(--text-2); margin-bottom: 6px; }
.seats__step { display: inline-flex; align-items: stretch; border: 1px solid var(--rule); }
.seats__step button { width: 36px; min-height: 36px; border: 0; background: var(--paper); color: var(--ink); font-size: 18px; cursor: pointer; }
.seats__step input { width: 64px; border: 0; border-left: 1px solid var(--rule); border-right: 1px solid var(--rule); text-align: center; font: 600 15px var(--mono, monospace); background: var(--white); color: var(--ink); -moz-appearance: textfield; appearance: textfield; }
.seats__step input::-webkit-outer-spin-button, .seats__step input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.seats__out { margin: 8px 0 0; font-size: 14px; color: var(--text-2); }
.seats__out b { color: var(--ink); }
.seats__out span { display: block; margin-top: 2px; }
.seats__out [data-seats-first], .seats__out [data-seats-second] { display: inline; margin: 0; }

/* Monthly or yearly, per plan card (site.js "monthly or yearly"). */
.cycle { display: inline-flex; border: 1px solid var(--rule); margin: 6px 0 2px; }
.cycle button { white-space: nowrap; min-height: 32px; padding: 4px 8px; border: 0; background: var(--paper); color: var(--text-2); font: 600 12px/1.2 var(--mono, monospace); cursor: pointer; }
.cycle button + button { border-left: 1px solid var(--rule); }
.cycle button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.cycle button span { font-weight: 400; margin-left: 2px; font-size: 11px; }
.cycle button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Add-on packs (pricing page). */
.packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 16px; }
.pack { border: 1px solid var(--rule); padding: 16px; background: var(--white); }
.pack h3 { margin: 0 0 6px; font-size: 17px; }
.pack .amount { margin: 0 0 6px; }
.pack .amount b { font-size: 32px; }
.pack p { margin: 0; font-size: 14px; color: var(--text-2); }
.psteps { counter-reset: step; }
.psteps li > b::before { counter-increment: step; content: counter(step) ". "; }
/* Measured figures inside an article (benchmarks, best-sandbox pages). */
.postbody .nums { margin: 6px 0 12px; }
.postbody .nums li { margin: 0; }

/* Pricing: the start-free ladder, and the per-hour / per-second switch.
 * The switch is two radio inputs and CSS only (no script): the per-second
 * figures are hidden until "Per second" is picked. */
.pxs__h3 { margin: 40px 0 14px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.prungs th[scope="row"] { text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--ink); font-weight: 600; white-space: nowrap; }
.prungs td:last-child { white-space: nowrap; }
.ptoggle__tabs { display: inline-flex; gap: 4px; margin: 0 0 12px; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.ptoggle__tabs label { padding: 6px 12px; border-radius: 7px; font-size: 14px; cursor: pointer; color: var(--text-2); }
#rate-h:checked ~ .ptoggle__tabs label[for="rate-h"], #rate-s:checked ~ .ptoggle__tabs label[for="rate-s"] { background: var(--ink); color: var(--paper); }
#rate-h:focus-visible ~ .ptoggle__tabs label[for="rate-h"], #rate-s:focus-visible ~ .ptoggle__tabs label[for="rate-s"] { outline: 2px solid #4cc35a; outline-offset: 2px; }
.ptoggle .u-s { display: none; }
#rate-s:checked ~ .tc-table .u-s { display: inline; }
#rate-s:checked ~ .tc-table .u-h { display: none; }
