/* MightyBench website · generated by build.mjs */
:root { --c: #5B6CFF; --c-rgb: 91 108 255; --c-hi: #8C98FF; --c-lo: #3E49AD; }
.cat-video { --c: #5B6CFF; --c-rgb: 91 108 255; --c-hi: #8C98FF; --c-lo: #3E49AD; }
.cat-audio { --c: #B05CFF; --c-rgb: 176 92 255; --c-hi: #C88DFF; --c-lo: #783FAD; }
.cat-images { --c: #1FB57A; --c-rgb: 31 181 122; --c-hi: #62CBA2; --c-lo: #157B53; }
.cat-pdf { --c: #FF5A5F; --c-rgb: 255 90 95; --c-hi: #FF8C8F; --c-lo: #AD3D41; }
.cat-ai { --c: #14B8D4; --c-rgb: 20 184 212; --c-hi: #5BCDE1; --c-lo: #0E7D90; }
.cat-files { --c: #F5A524; --c-rgb: 245 165 36; --c-hi: #F8C066; --c-lo: #A77018; }

/* tokens.css */
/* ==========================================================================
   Design tokens: "graphite & glass". Dark first.
   The LIGHT block is emitted twice by build.mjs: once for
   prefers-color-scheme: light (unless the visitor chose dark), and once for
   an explicit [data-theme="light"] from the nav toggle.
   ========================================================================== */
:root {
  color-scheme: dark;

  --font-sans: 'Geist', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Instrument Serif', ui-serif, 'New York', Georgia, serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SF Mono', SFMono-Regular, Menlo, monospace;

  --bg: #0B0B0E;
  --bg-raise: #111116;
  --bg-sunk: #08080A;
  --ink: #F4F4F6;
  --ink-2: #B9B9C3;
  --ink-3: #8D8D99;
  --ink-4: #5C5C67;
  --line: rgb(255 255 255 / .08);
  --line-2: rgb(255 255 255 / .13);
  --line-3: rgb(255 255 255 / .22);
  --surface: rgb(255 255 255 / .03);
  --surface-2: rgb(255 255 255 / .055);
  --surface-3: rgb(255 255 255 / .09);
  --glass: rgb(22 22 28 / .55);
  --glass-strong: rgb(19 19 25 / .8);
  --glass-hi: rgb(255 255 255 / .09);
  --shadow-sm: 0 1px 2px rgb(0 0 0 / .45);
  --shadow-md: 0 18px 40px -20px rgb(0 0 0 / .8);
  --shadow-lg: 0 50px 100px -40px rgb(0 0 0 / .9), 0 20px 44px -26px rgb(0 0 0 / .65);
  --btn-bg: #F4F4F6;
  --btn-ink: #0B0B0E;
  --btn-hover: #FFFFFF;
  --accent: #A3ADFF;
  --focus: #A3ADFF;
  --focus-ring: rgb(163 173 255 / .28);
  --pos: #3DD68C;
  --pos-bg: rgb(61 214 140 / .14);
  --neg: #FF6B6E;
  --neg-bg: rgb(255 107 110 / .13);
  --warn: #F5B94A;
  --mix-to: #FFFFFF;
  --mix-amt: 42%;
  --grain-opacity: .07;
  --grain-img: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --bloom: 1;
  --shade: rgb(0 0 0 / .5);

  /* Mock windows */
  --win: rgb(27 27 33 / .9);
  --win-solid: #1B1B21;
  --win-stage: #131317;
  --win-side: rgb(255 255 255 / .045);
  --win-line: rgb(255 255 255 / .08);
  --win-ink: #EDEDF2;
  --win-ink-2: #A6A6B1;
  --win-ink-3: #74747F;
  --ctl-track: rgb(255 255 255 / .075);
  --ctl-thumb: rgb(255 255 255 / .17);
  --ctl-field: rgb(0 0 0 / .26);
  --row: rgb(255 255 255 / .035);
  --row-line: rgb(255 255 255 / .065);
  --paper: #E9E9EE;
  --paper-ink: #C3C3CD;
  --paper-head: #7B7B89;
  --checker-a: #2B2B32;
  --checker-b: #36363E;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: clamp(16px, 4vw, 32px);
  --max: 1200px;
}

/* LIGHT-TOKENS */
:root[data-theme="light"] {
  color-scheme: light;

  --bg: #F7F6F3;
  --bg-raise: #FFFFFF;
  --bg-sunk: #EFEDE8;
  --ink: #141417;
  --ink-2: #4A4A52;
  --ink-3: #6A6A73;
  --ink-4: #A1A1A8;
  --line: rgb(25 22 18 / .08);
  --line-2: rgb(25 22 18 / .13);
  --line-3: rgb(25 22 18 / .22);
  --surface: rgb(255 255 255 / .5);
  --surface-2: rgb(255 255 255 / .78);
  --surface-3: #FFFFFF;
  --glass: rgb(255 255 255 / .62);
  --glass-strong: rgb(255 255 255 / .84);
  --glass-hi: rgb(255 255 255 / .95);
  --shadow-sm: 0 1px 2px rgb(40 30 20 / .08);
  --shadow-md: 0 18px 40px -22px rgb(40 30 20 / .28);
  --shadow-lg: 0 50px 90px -44px rgb(40 30 20 / .36), 0 18px 40px -26px rgb(40 30 20 / .2);
  --btn-bg: #141417;
  --btn-ink: #FFFFFF;
  --btn-hover: #000000;
  --accent: #3343D2;
  --focus: #3343D2;
  --focus-ring: rgb(51 67 210 / .22);
  --pos: #0B8A57;
  --pos-bg: rgb(11 138 87 / .1);
  --neg: #D4383D;
  --neg-bg: rgb(212 56 61 / .09);
  --warn: #A86C12;
  --mix-to: #000000;
  --mix-amt: 24%;
  --grain-opacity: .05;
  --grain-img: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --bloom: .6;
  --shade: rgb(255 255 255 / .62);

  --win: rgb(252 252 251 / .9);
  --win-solid: #FCFCFB;
  --win-stage: #F3F3F1;
  --win-side: rgb(0 0 0 / .032);
  --win-line: rgb(0 0 0 / .085);
  --win-ink: #1C1C20;
  --win-ink-2: #62626B;
  --win-ink-3: #8E8E97;
  --ctl-track: rgb(0 0 0 / .06);
  --ctl-thumb: #FFFFFF;
  --ctl-field: #FFFFFF;
  --row: rgb(255 255 255 / .85);
  --row-line: rgb(0 0 0 / .065);
  --paper: #FFFFFF;
  --paper-ink: #DADAE1;
  --paper-head: #8B8B98;
  --checker-a: #E4E4E9;
  --checker-b: #F6F6F8;
}
/* /LIGHT-TOKENS */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
  color-scheme: light;

  --bg: #F7F6F3;
  --bg-raise: #FFFFFF;
  --bg-sunk: #EFEDE8;
  --ink: #141417;
  --ink-2: #4A4A52;
  --ink-3: #6A6A73;
  --ink-4: #A1A1A8;
  --line: rgb(25 22 18 / .08);
  --line-2: rgb(25 22 18 / .13);
  --line-3: rgb(25 22 18 / .22);
  --surface: rgb(255 255 255 / .5);
  --surface-2: rgb(255 255 255 / .78);
  --surface-3: #FFFFFF;
  --glass: rgb(255 255 255 / .62);
  --glass-strong: rgb(255 255 255 / .84);
  --glass-hi: rgb(255 255 255 / .95);
  --shadow-sm: 0 1px 2px rgb(40 30 20 / .08);
  --shadow-md: 0 18px 40px -22px rgb(40 30 20 / .28);
  --shadow-lg: 0 50px 90px -44px rgb(40 30 20 / .36), 0 18px 40px -26px rgb(40 30 20 / .2);
  --btn-bg: #141417;
  --btn-ink: #FFFFFF;
  --btn-hover: #000000;
  --accent: #3343D2;
  --focus: #3343D2;
  --focus-ring: rgb(51 67 210 / .22);
  --pos: #0B8A57;
  --pos-bg: rgb(11 138 87 / .1);
  --neg: #D4383D;
  --neg-bg: rgb(212 56 61 / .09);
  --warn: #A86C12;
  --mix-to: #000000;
  --mix-amt: 24%;
  --grain-opacity: .05;
  --grain-img: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --bloom: .6;
  --shade: rgb(255 255 255 / .62);

  --win: rgb(252 252 251 / .9);
  --win-solid: #FCFCFB;
  --win-stage: #F3F3F1;
  --win-side: rgb(0 0 0 / .032);
  --win-line: rgb(0 0 0 / .085);
  --win-ink: #1C1C20;
  --win-ink-2: #62626B;
  --win-ink-3: #8E8E97;
  --ctl-track: rgb(0 0 0 / .06);
  --ctl-thumb: #FFFFFF;
  --ctl-field: #FFFFFF;
  --row: rgb(255 255 255 / .85);
  --row-line: rgb(0 0 0 / .065);
  --paper: #FFFFFF;
  --paper-ink: #DADAE1;
  --paper-head: #8B8B98;
  --checker-a: #E4E4E9;
  --checker-b: #F6F6F8;
}
}

/* base.css */
/* ==========================================================================
   Base: reset, typography, primitives
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  position: relative;
  isolation: isolate;
}
/* Film grain over the background, under the content. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: var(--grain-img);
  background-size: 220px 220px;
  opacity: var(--grain-opacity);
}
img, svg, video { display: block; max-width: 100%; }
svg.i { width: 1em; height: 1em; flex: none; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: rgb(124 134 255 / .35); }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
a:focus-visible:not([class]), summary:focus-visible { border-radius: 6px; }
main:focus { outline: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-ink); font-weight: 600; text-decoration: none;
  transform: translateY(-160%); transition: transform .2s var(--ease);
}
.skip-link:focus-visible { transform: none; }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container.narrow { max-width: calc(760px + var(--gutter) * 2); }
.center { text-align: center; }

/* ---------------------------------------------------------------- type */
.display {
  font-size: clamp(2.6rem, 1.15rem + 6.2vw, 6.6rem);
  line-height: .98;
  letter-spacing: -.048em;
  font-weight: 620;
  text-wrap: balance;
}
.display .line { display: block; }
.accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.012em;
  font-size: 1.09em;
  line-height: .9;
  padding-right: .06em;
}
.h2 {
  font-size: clamp(2rem, 1.25rem + 2.9vw, 3.65rem);
  line-height: 1.04;
  letter-spacing: -.038em;
  font-weight: 620;
  text-wrap: balance;
}
.h3 { font-size: 1.4rem; line-height: 1.2; letter-spacing: -.02em; font-weight: 620; }
.lede {
  font-size: clamp(1.06rem, .98rem + .38vw, 1.26rem);
  line-height: 1.55;
  color: var(--ink-2);
  text-wrap: pretty;
}
.lede a, .prose a, .faq-a a { color: var(--ink); text-decoration-color: var(--line-3); }
.lede a:hover, .prose a:hover { text-decoration-color: currentColor; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ink-3);
}
.fineprint { font-size: 13.5px; color: var(--ink-3); margin-top: 18px; }
.muted { color: var(--ink-3); }
.mono { font-family: var(--font-mono); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  height: 44px; padding: 0 20px; border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px; font-weight: 560; letter-spacing: -.01em; line-height: 1;
  text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .2s, box-shadow .25s, border-color .2s, color .2s;
}
.btn .i { width: 17px; height: 17px; }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary {
  background: var(--btn-bg); color: var(--btn-ink);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .45), 0 10px 30px -12px rgb(130 140 255 / .65);
}
.btn-primary:hover { background: var(--btn-hover); transform: translateY(-1px); box-shadow: inset 0 1px 0 rgb(255 255 255 / .45), 0 16px 38px -12px rgb(130 140 255 / .8); }
.btn-glass {
  background: var(--surface-2); color: var(--ink); border-color: var(--line-2);
  box-shadow: inset 0 1px 0 var(--glass-hi);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.btn-glass:hover { background: var(--surface-3); border-color: var(--line-3); transform: translateY(-1px); }
.btn-lg { height: 52px; padding: 0 26px; font-size: 16px; }
.btn-sm { height: 34px; padding: 0 14px; font-size: 14px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--ink); font-weight: 560; text-decoration: none;
  padding-bottom: 2px; border-bottom: 1px solid var(--line-3);
  transition: border-color .2s, gap .2s var(--ease);
}
.text-link .i { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.text-link:hover { border-color: currentColor; }
.text-link:hover .i { transform: translateX(3px); }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 13px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--surface-2);
  font-size: 13px; font-weight: 500; color: var(--ink-2);
  box-shadow: inset 0 1px 0 var(--glass-hi);
}
.pill .i { width: 14px; height: 14px; }

/* ---------------------------------------------------------------- keycaps */
kbd, .keys kbd {
  display: inline-grid; place-items: center;
  min-width: 24px; height: 24px; padding: 0 6px;
  border-radius: 6px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500; line-height: 1;
  color: var(--ink-2);
  background: linear-gradient(180deg, var(--surface-3), var(--surface));
  border: 1px solid var(--line-2);
  box-shadow: 0 1px 0 var(--line-2), inset 0 1px 0 var(--glass-hi);
}
.keys { display: inline-flex; gap: 4px; align-items: center; flex: none; }
.keys kbd.wide { padding: 0 9px; }
.keys-sm kbd { min-width: 20px; height: 20px; font-size: 11px; padding: 0 5px; border-radius: 5px; }

/* ---------------------------------------------------------------- tool tiles */
.tile {
  --s: 44px;
  position: relative;
  width: var(--s); height: var(--s); flex: none;
  display: inline-grid; place-items: center;
  border-radius: calc(var(--s) * .27);
  color: #fff;
  background: linear-gradient(145deg, var(--c-hi) 0%, var(--c) 52%, var(--c-lo) 100%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / .38),
    inset 0 -1px 0 rgb(0 0 0 / .18),
    0 calc(var(--s) * .12) calc(var(--s) * .32) calc(var(--s) * -.12) rgb(var(--c-rgb) / .6);
  isolation: isolate;
}
.tile::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  background: radial-gradient(120% 80% at 30% 0%, rgb(255 255 255 / .28), transparent 55%);
}
.tile .i { width: 54%; height: 54%; stroke-width: 1.9; filter: drop-shadow(0 1px 1px rgb(0 0 0 / .18)); }
.dot { width: 9px; height: 9px; border-radius: 3px; flex: none; display: inline-block; background: linear-gradient(145deg, var(--c-hi), var(--c-lo)); }

/* ---------------------------------------------------------------- wordmark */
.wordmark { display: inline-flex; align-items: center; gap: 10px; }
.wordmark .mark { flex: none; border-radius: 27%; box-shadow: 0 4px 14px -4px rgb(124 108 255 / .5); }
.wordmark-text { font-weight: 650; font-size: 18px; letter-spacing: -.035em; }

/* ---------------------------------------------------------------- reveal */
.reveal-on [data-reveal] {
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.reveal-on [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(20px); }

/* Snapshot mode (?snapshot) and reduced motion: everything static and visible. */
.snapshot *, .snapshot *::before, .snapshot *::after { animation: none !important; transition: none !important; }
.snapshot [data-reveal] { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.site-nav { position: sticky; top: 0; z-index: 60; }
.site-nav::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity .3s;
}
.site-nav.is-scrolled::before, .site-nav.is-open::before { opacity: 1; }
.nav-inner { display: flex; align-items: center; gap: 20px; height: 64px; }
.nav-brand { display: inline-flex; text-decoration: none; border-radius: 10px; }
.nav-links { display: flex; gap: 2px; margin-inline: auto; }
.nav-links a {
  padding: 7px 13px; border-radius: 999px;
  color: var(--ink-2); font-size: 14.5px; font-weight: 500; text-decoration: none;
  transition: color .2s, background-color .2s;
}
.nav-links a:hover { color: var(--ink); background: var(--surface-2); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 36px; height: 36px; border-radius: 999px; padding: 0;
  display: grid; place-items: center;
  color: var(--ink-2); background: var(--surface); border: 1px solid var(--line);
  transition: color .2s, background-color .2s, border-color .2s;
}
.icon-btn:hover { color: var(--ink); background: var(--surface-2); border-color: var(--line-2); }
.icon-btn .i { width: 17px; height: 17px; }
.i-moon, .i-close { display: none; }
:root[data-theme="light"] .i-sun { display: none; }
:root[data-theme="light"] .i-moon { display: block; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .i-sun { display: none; }
  :root:not([data-theme="dark"]) .i-moon { display: block; }
}
.nav-menu-btn { display: none; }
.nav-menu-btn[aria-expanded="true"] .i-menu { display: none; }
.nav-menu-btn[aria-expanded="true"] .i-close { display: block; }
.nav-sheet { position: relative; border-bottom: 1px solid var(--line); }
.nav-sheet nav { display: flex; flex-direction: column; padding-block: 8px 20px; }
.nav-sheet a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 4px; font-size: 18px; font-weight: 560; letter-spacing: -.02em;
  text-decoration: none; border-bottom: 1px solid var(--line);
}
.nav-sheet a .i { width: 18px; height: 18px; color: var(--ink-3); }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
  .nav-menu-btn { display: grid; }
}
@media (min-width: 861px) { .nav-sheet { display: none !important; } }
@media (max-width: 380px) {
  .nav-inner { gap: 10px; }
  .nav-cta { padding: 0 12px; }
  .wordmark-text { font-size: 17px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  position: relative;
  padding: 72px 0 36px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-sunk), var(--bg) 60%);
  font-size: 14px;
}
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 44px; border-bottom: 1px solid var(--line); }
.footer-logo { display: inline-flex; text-decoration: none; border-radius: 10px; }
.footer-logo .wordmark-text { font-size: 21px; }
.footer-tagline { margin-top: 14px; color: var(--ink-2); font-size: 16px; }
.footer-mail a { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--ink-3); text-decoration: none; }
.footer-mail a:hover { color: var(--ink); }
.footer-mail .i { width: 15px; height: 15px; }
.footer-site ul { display: flex; flex-wrap: wrap; gap: 4px 22px; max-width: 520px; }
.footer-site a, .footer-col a { color: var(--ink-2); text-decoration: none; line-height: 2; transition: color .2s; }
.footer-site a:hover, .footer-col a:hover { color: var(--ink); }
.footer-heading {
  display: flex; align-items: center; gap: 8px; margin-bottom: 12px;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .14em; color: var(--ink-3);
}
.footer-tools { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 36px 24px; padding: 44px 0; }
.footer-col a { font-size: 13.5px; line-height: 1.95; display: inline-block; }
.footer-family { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 22px 0; border-top: 1px solid var(--line); font-size: 14px; }
.footer-family-label { color: var(--ink-3); }
.footer-family ul { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.footer-family a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-weight: 500; text-decoration: none; transition: color .2s; }
.footer-family img { width: 18px; height: 18px; border-radius: 5px; }
.footer-family .i { width: 12px; height: 12px; color: var(--ink-4); transition: transform .2s, color .2s; }
.footer-family a:hover { color: var(--ink); }
.footer-family a:hover .i { color: var(--ink); transform: translate(1px, -1px); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13px; }
.footer-made { display: inline-flex; align-items: center; gap: 8px; }
.footer-made .mark { border-radius: 27%; }
@media (max-width: 1040px) { .footer-tools { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; } }

/* ==========================================================================
   Shared sections
   ========================================================================== */
.section { position: relative; padding-block: clamp(64px, 7vw, 108px); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .h2 { margin: 16px 0 18px; }
.section-head.center .lede { margin-inline: auto; max-width: 40em; }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; max-width: none; margin-bottom: 28px; }

.checks { display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.checks li .i {
  flex: none; width: 20px; height: 20px; margin-top: 1px; padding: 4px;
  border-radius: 999px; color: var(--ink); background: var(--surface-3);
  box-shadow: inset 0 0 0 1px var(--line); stroke-width: 3;
}

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-intro { position: sticky; top: 104px; }
.faq-intro .h2 { margin: 16px 0 18px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 2px; cursor: pointer; list-style: none;
  font-size: 17px; font-weight: 560; letter-spacing: -.012em; line-height: 1.4;
  border-radius: 8px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover .faq-icon { border-color: var(--line-3); color: var(--ink); }
.faq-icon {
  flex: none; width: 30px; height: 30px; border-radius: 999px;
  display: grid; place-items: center;
  border: 1px solid var(--line-2); color: var(--ink-2);
  transition: transform .35s var(--ease), border-color .2s, color .2s, background-color .2s;
}
.faq-icon .i { width: 14px; height: 14px; }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--surface-3); color: var(--ink); }
.faq-a { padding: 0 56px 24px 2px; color: var(--ink-2); font-size: 16px; line-height: 1.65; }
@media (max-width: 860px) {
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-intro { position: static; }
  .faq-a { padding-right: 8px; }
}

/* Closing CTA */
.closing { padding: clamp(32px, 5vw, 64px) 0 clamp(80px, 10vw, 140px); }
.closing-card {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  padding: clamp(56px, 8vw, 104px) 24px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line-2);
  background: var(--glass);
  box-shadow: inset 0 1px 0 var(--glass-hi), var(--shadow-lg);
}
.closing-glow {
  position: absolute; inset: 0; z-index: -1; opacity: var(--bloom);
  background:
    radial-gradient(48% 70% at 50% 0%, rgb(124 108 255 / .38), transparent 70%),
    radial-gradient(40% 60% at 12% 100%, rgb(20 184 212 / .22), transparent 70%),
    radial-gradient(40% 60% at 88% 100%, rgb(255 90 95 / .16), transparent 70%);
}
.closing-mark { display: block; margin: 0 auto 28px; border-radius: 27%; filter: drop-shadow(0 14px 32px rgb(124 108 255 / .45)); }
.closing .h2 { max-width: 16ch; margin-inline: auto; }
.closing-text { color: var(--ink-2); font-size: clamp(1.02rem, .96rem + .3vw, 1.18rem); max-width: 34em; margin: 18px auto 34px; }

@media (max-width: 520px) {
  .cta-row .btn { width: 100%; }
}

/* home.css */
/* ==========================================================================
   Home
   ========================================================================== */

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding-top: clamp(48px, 8vw, 112px); padding-bottom: 24px; }
.hero-bloom {
  position: absolute; left: 0; right: 0; top: -64px; height: 1200px; z-index: -1;
  pointer-events: none; opacity: var(--bloom);
  background:
    radial-gradient(34% 30% at 27% 22%, rgb(91 108 255 / .36), transparent 70%),
    radial-gradient(30% 28% at 74% 18%, rgb(176 92 255 / .28), transparent 70%),
    radial-gradient(36% 32% at 52% 58%, rgb(20 184 212 / .17), transparent 72%),
    radial-gradient(22% 22% at 86% 64%, rgb(255 90 95 / .11), transparent 70%),
    radial-gradient(22% 22% at 12% 66%, rgb(31 181 122 / .1), transparent 70%);
}
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 11px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--surface);
  box-shadow: inset 0 1px 0 var(--glass-hi);
  font-size: 13.5px; font-weight: 500; color: var(--ink-2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.hero-pill .i { width: 15px; height: 15px; color: var(--accent); }
.hero .display { margin: 28px 0 26px; }
.hero .display .line:first-child {
  background: linear-gradient(180deg, var(--ink) 30%, color-mix(in oklab, var(--ink) 72%, transparent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .04em;
}
.hero-lede { max-width: 35em; margin-bottom: 36px; }
.hero-stage { display: flex; flex-direction: column; align-items: center; margin-top: clamp(52px, 7vw, 92px); }
.launcher-caption { margin-top: 18px; font-size: 13px; color: var(--ink-3); }

/* ---------------------------------------------------------------- launcher */
.launcher { position: relative; width: min(100%, 720px); text-align: left; }
.launcher::before {
  content: ''; position: absolute; inset: 14% 4% -10%; z-index: -1;
  background: radial-gradient(50% 60% at 50% 40%, rgb(124 108 255 / .4), transparent 72%);
  filter: blur(36px); opacity: var(--bloom); pointer-events: none;
}
.launcher-panel {
  border-radius: 24px; overflow: hidden;
  background: var(--glass-strong);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-lg), inset 0 1px 0 var(--glass-hi);
  -webkit-backdrop-filter: blur(32px) saturate(1.6); backdrop-filter: blur(32px) saturate(1.6);
}
.launcher-search { display: flex; align-items: center; gap: 12px; padding: 16px 16px 16px 20px; border-bottom: 1px solid var(--line); }
.launcher-glass { width: 22px; height: 22px; color: var(--ink-3); }
.launcher-input {
  flex: 1; min-width: 0; height: 36px; padding: 0;
  background: none; border: 0; outline: 0;
  font-size: 21px; font-weight: 450; letter-spacing: -.015em;
  color: var(--ink); caret-color: var(--accent);
}
.launcher-input::placeholder { color: var(--ink-4); }
.launcher-input:focus-visible { outline: none; }
.launcher-panel:focus-within { border-color: color-mix(in oklab, var(--focus) 55%, var(--line-2)); box-shadow: var(--shadow-lg), inset 0 1px 0 var(--glass-hi), 0 0 0 4px var(--focus-ring); }
.launcher-results { padding: 8px; min-height: calc(6 * 56px + 16px); }
.launcher-results li > a {
  display: flex; align-items: center; gap: 14px;
  padding: 9px 12px; border-radius: 13px;
  color: inherit; text-decoration: none;
}
.launcher-results li[aria-selected="true"] > a { background: var(--surface-3); box-shadow: inset 0 0 0 1px var(--line); }
.lr-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.lr-name { font-size: 15.5px; font-weight: 560; letter-spacing: -.01em; color: var(--ink); }
.lr-name mark { background: none; color: var(--accent); }
.lr-tag { font-size: 13.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lr-cat { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-3); }
.lr-enter {
  width: 28px; height: 24px; flex: none; display: grid; place-items: center;
  border-radius: 7px; border: 1px solid var(--line-2); color: var(--ink-2);
  opacity: 0; transition: opacity .15s;
}
.lr-enter .i { width: 14px; height: 14px; }
.launcher-results li[aria-selected="true"] .lr-enter { opacity: 1; }
html:not(.js) .launcher-results li:nth-child(n+7) { display: none; }
.launcher-empty { padding: 28px 20px 36px; text-align: center; color: var(--ink-3); font-size: 15px; min-height: calc(6 * 56px + 16px); }
.launcher-foot {
  display: flex; align-items: center; gap: 18px;
  padding: 11px 18px; border-top: 1px solid var(--line);
  font-size: 12px; color: var(--ink-3);
}
.launcher-foot kbd { min-width: 20px; height: 20px; font-size: 11px; padding: 0 4px; margin-right: 2px; }
.lf-brand { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-weight: 560; color: var(--ink-2); }
.lf-brand .mark { border-radius: 27%; }
.launcher.is-compact { margin: 28px auto 32px; }
.launcher.is-compact .launcher-results, .launcher.is-compact .launcher-empty { min-height: 0; }
@media (max-width: 600px) {
  .launcher-input { font-size: 18px; }
  .lr-cat { display: none; }
  .launcher-search { padding: 12px 12px 12px 16px; }
  .launcher-results, .launcher-empty { min-height: calc(6 * 54px + 16px); }
  .launcher-foot span:nth-child(2) { display: none; }
}
@media (max-width: 440px) { .launcher-keys { display: none; } }

/* ---------------------------------------------------------------- tile wall */
.tile-wall {
  display: grid; gap: 14px; padding: clamp(48px, 7vw, 88px) 0 8px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.tw-track { display: flex; width: max-content; animation: tw-scroll 90s linear infinite; }
.tw-row.is-reverse .tw-track { animation-direction: reverse; animation-duration: 100s; }
.tile-wall:hover .tw-track { animation-play-state: paused; }
.tw-item {
  display: inline-flex; align-items: center; gap: 12px; margin-right: 14px;
  padding: 9px 18px 9px 9px; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--line);
  white-space: nowrap; font-size: 14.5px; font-weight: 500; color: var(--ink-2);
}
@keyframes tw-scroll { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- principles */
.principles { padding-top: clamp(48px, 7vw, 88px); }
.principles-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  background: var(--glass);
  box-shadow: inset 0 1px 0 var(--glass-hi);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.principle { padding: 30px 28px 32px; }
.principle + .principle { border-left: 1px solid var(--line); }
.principle-icon {
  width: 42px; height: 42px; margin-bottom: 22px; border-radius: 13px;
  display: grid; place-items: center;
  color: var(--ink); background: var(--surface-3);
  box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 var(--glass-hi);
}
.principle-icon .i { width: 20px; height: 20px; }
.principle-icon[class*="cat-"] { color: #fff; background: linear-gradient(145deg, var(--c-hi), var(--c) 55%, var(--c-lo)); box-shadow: inset 0 1px 0 rgb(255 255 255 / .35), 0 8px 20px -10px rgb(var(--c-rgb) / .8); }
.principle h3 { font-size: 17px; font-weight: 620; letter-spacing: -.015em; margin-bottom: 8px; }
.principle p { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
@media (max-width: 980px) {
  .principles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principle:nth-child(3) { border-left: 0; }
  .principle:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 580px) {
  .principles-grid { grid-template-columns: minmax(0, 1fr); }
  .principle + .principle { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------------------------------------------------------------- stories */
.features { padding-bottom: clamp(24px, 3vw, 40px); }
.features .section-head { margin-bottom: clamp(16px, 3vw, 40px); }
.story {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
  padding-block: clamp(48px, 7vw, 100px);
}
.story + .story { border-top: 1px solid var(--line); }
.story.is-flipped { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.story.is-flipped .story-copy { order: 2; }
.story-title { margin: 16px 0 18px; font-size: clamp(1.9rem, 1.2rem + 2.3vw, 3.1rem); }
.story-text { color: var(--ink-2); font-size: 17px; line-height: 1.6; margin-bottom: 26px; }
.story-copy .text-link { margin-top: 30px; }
.story-visual { position: relative; }
.story-bloom {
  position: absolute; inset: 6% 2%; z-index: -1; pointer-events: none; opacity: var(--bloom);
  background: radial-gradient(closest-side, rgb(var(--c-rgb) / .42), transparent);
  filter: blur(34px);
}
.story-floating { position: relative; }
.float-chip {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px 9px 10px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--ink);
  background: var(--glass-strong); border: 1px solid var(--line-2);
  box-shadow: var(--shadow-md), inset 0 1px 0 var(--glass-hi);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  animation: float 7s ease-in-out infinite;
}
.float-chip .i { width: 22px; height: 22px; padding: 4px; border-radius: 7px; color: #fff; background: linear-gradient(145deg, #FF8A8D, #FF5A5F 55%, #B03E42); }
.fc-1 { top: 18%; left: -18px; }
.fc-2 { bottom: 14%; right: -14px; animation-delay: -3.5s; }
@keyframes float { 50% { transform: translateY(-8px); } }
@media (max-width: 1000px) {
  .story, .story.is-flipped { grid-template-columns: minmax(0, 1fr); }
  .story.is-flipped .story-copy { order: 0; }
  .story-copy { max-width: 640px; }
}
@media (max-width: 600px) {
  .fc-1 { left: auto; right: 14px; top: -18px; }
  .fc-2 { right: auto; left: 14px; bottom: -18px; }
}

/* ---------------------------------------------------------------- catalog */
.catalog-controls { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-bottom: 36px; }
.search-field {
  position: relative; width: min(100%, 540px); height: 54px;
  display: flex; align-items: center; gap: 10px; padding: 0 12px 0 18px;
  border-radius: 18px; background: var(--glass-strong); border: 1px solid var(--line-2);
  box-shadow: inset 0 1px 0 var(--glass-hi), var(--shadow-md);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  transition: border-color .2s, box-shadow .2s;
}
.search-field > .i { width: 19px; height: 19px; color: var(--ink-3); }
.search-field input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; font-size: 16px; color: var(--ink); }
.search-field input::placeholder { color: var(--ink-3); }
.search-field input::-webkit-search-decoration { -webkit-appearance: none; }
.search-field:focus-within { border-color: color-mix(in oklab, var(--focus) 60%, var(--line-2)); box-shadow: inset 0 1px 0 var(--glass-hi), 0 0 0 4px var(--focus-ring); }
.search-field input:focus-visible { outline: none; }
@media (max-width: 600px), (hover: none) { .search-field kbd { display: none; } }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.filter {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 15px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  color: var(--ink-2); font-size: 14px; font-weight: 520;
  transition: background-color .2s, color .2s, border-color .2s;
}
.filter:hover { color: var(--ink); border-color: var(--line-2); background: var(--surface-2); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: transparent; }
.filter .count { font-family: var(--font-mono); font-size: 11.5px; opacity: .65; }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 268px), 1fr)); gap: 12px; }
.tool-grid > li { display: flex; }
.tool-card {
  position: relative; flex: 1;
  display: flex; align-items: center; gap: 15px;
  padding: 16px 18px 16px 16px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--line);
  color: inherit; text-decoration: none;
  transition: transform .3s var(--ease), background-color .25s, border-color .25s, box-shadow .3s;
}
.tool-card:hover { transform: translateY(-3px); background: var(--surface-2); border-color: var(--line-2); box-shadow: var(--shadow-md); }
.tool-card:hover .tile { transform: scale(1.04); }
.tool-card .tile { transition: transform .3s var(--ease); }
.tool-card-text { min-width: 0; display: flex; flex-direction: column; gap: 2px; padding-right: 10px; }
.tool-card-name { font-size: 15.5px; font-weight: 600; letter-spacing: -.012em; line-height: 1.3; }
.tool-card-tag { font-size: 13.5px; color: var(--ink-3); line-height: 1.4; text-wrap: pretty; }
.tool-card-arrow { position: absolute; top: 12px; right: 12px; width: 15px; height: 15px; color: var(--ink-3); opacity: 0; transition: opacity .2s, transform .25s var(--ease); }
.tool-card:hover .tool-card-arrow, .tool-card:focus-visible .tool-card-arrow { opacity: 1; transform: translate(1px, -1px); }
.catalog-empty {
  display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
  padding: 56px 20px; border: 1px dashed var(--line-2); border-radius: var(--radius-lg); color: var(--ink-2);
}
.catalog-empty > .i { width: 28px; height: 28px; color: var(--ink-3); }
.catalog-empty strong { color: var(--ink); font-weight: 600; }

/* ---------------------------------------------------------------- why */
.why-visual { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 20px; }
.why-side {
  position: relative; display: flex; flex-direction: column; min-height: 420px;
  padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden;
}
.why-side figcaption {
  margin-top: auto; padding-top: 22px; text-align: center;
  font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-3);
}
.why-usual { background: repeating-linear-gradient(135deg, var(--surface) 0 14px, transparent 14px 28px), var(--bg-sunk); }
.why-ours { background: var(--glass); box-shadow: inset 0 1px 0 var(--glass-hi); }
.why-ours::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: var(--bloom);
  background: radial-gradient(60% 60% at 50% 40%, rgb(91 108 255 / .25), transparent 70%);
}
.why-stack { position: relative; flex: 1; min-height: 320px; filter: saturate(.55); }
.bw {
  position: absolute; width: 70%; border-radius: 12px; overflow: hidden;
  background: var(--win-solid); border: 1px solid var(--win-line); box-shadow: var(--shadow-md);
}
.bw-1 { top: 2%; left: 0; width: 64%; transform: rotate(-3.5deg); }
.bw-2 { top: 27%; right: 0; width: 60%; transform: rotate(2.5deg); z-index: 1; }
.bw-3 { top: 60%; left: 4%; width: 62%; transform: rotate(-1.5deg); z-index: 2; }
.bw-toast { z-index: 3; }
.bw-bar { display: flex; align-items: center; gap: 5px; padding: 8px 10px; background: var(--win-side); border-bottom: 1px solid var(--win-line); }
.bw-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--win-ink-3); opacity: .45; }
.bw-bar span { flex: 1; height: 13px; margin-left: 8px; border-radius: 99px; background: var(--ctl-track); }
.bw-body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; font-size: 12.5px; color: var(--win-ink-2); }
.bw-body b { color: var(--win-ink); font-size: 13.5px; font-weight: 600; }
.bw-ico { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--ctl-track); color: var(--win-ink-2); }
.bw-ico .i { width: 15px; height: 15px; }
.bw-ico.warn { color: #E5484D; background: rgb(229 72 77 / .12); }
.bw-prog { width: 100%; height: 6px; border-radius: 99px; background: var(--ctl-track); overflow: hidden; }
.bw-prog i { display: block; width: 34%; height: 100%; background: repeating-linear-gradient(45deg, #9A9AA6 0 6px, #74747F 6px 12px); background-size: 17px 17px; animation: stripes 1s linear infinite; }
@keyframes stripes { to { background-position: 17px 0; } }
.bw-btn { padding: 5px 12px; border-radius: 999px; background: #E9A23B; color: #2A1A05; font-weight: 650; font-size: 12px; }
.bw-img { position: relative; width: 100%; height: 58px; border-radius: 8px; overflow: hidden; background: linear-gradient(135deg, #8A8FA8, #565A70); }
.bw-img em { position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 15px; letter-spacing: .24em; color: rgb(255 255 255 / .5); transform: rotate(-10deg); }
.bw-toast {
  position: absolute; right: 2%; bottom: 3%; display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 12px; background: #2C2C34; color: #fff; font-size: 12.5px; font-weight: 500;
  box-shadow: var(--shadow-md); transform: rotate(2deg);
}
.bw-toast .i { width: 15px; height: 15px; color: #FFB4B6; }
.bw-ad {
  position: absolute; top: 3%; right: 5%; width: 74px; height: 50px; display: grid; place-items: center;
  border-radius: 8px; border: 1px dashed var(--line-3); background: var(--surface-2);
  font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); transform: rotate(5deg);
}
.why-card {
  margin: auto; width: min(100%, 380px);
  border-radius: 16px; overflow: hidden;
  background: var(--win-solid); border: 1px solid var(--win-line);
  box-shadow: var(--shadow-lg), inset 0 1px 0 var(--glass-hi);
  color: var(--win-ink);
}
.wc-head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 12px; border-bottom: 1px solid var(--win-line); }
.wc-head b { display: block; font-size: 13.5px; }
.wc-head small { display: block; font-size: 11.5px; color: var(--win-ink-3); }
.wc-badge { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 600; color: var(--pos); background: var(--pos-bg); }
.wc-badge .i { width: 12px; height: 12px; }
.wc-rows { padding: 8px; display: grid; gap: 4px; }
.wc-row { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; background: var(--row); border: 1px solid var(--row-line); font-size: 12.5px; }
.wc-row .ok { width: 16px; height: 16px; color: var(--pos); }
.wc-size { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: var(--win-ink); }
.wc-size s { color: var(--win-ink-3); margin-right: 4px; }
.wc-foot { display: flex; align-items: center; gap: 8px; padding: 10px 16px; font-family: var(--font-mono); font-size: 11px; color: var(--win-ink-2); border-top: 1px solid var(--win-line); }
.wc-foot .i { width: 14px; height: 14px; color: #8F9BFF; }
.wc-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 16px; }
.wc-chips span { padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 550; background: var(--ctl-track); color: var(--win-ink); }

.compare { border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden; background: var(--glass); box-shadow: inset 0 1px 0 var(--glass-hi); }
.compare-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.compare-table th, .compare-table td { padding: 17px 22px; text-align: left; vertical-align: top; }
.compare-table tr + tr th, .compare-table tr + tr td, .compare-table tbody tr:first-child > * { border-top: 1px solid var(--line); }
.compare-table thead th { font-family: var(--font-mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); padding-block: 16px; }
.compare-table thead th.is-ours { color: var(--ink); }
.compare-table thead th.is-ours .mark { display: inline-block; vertical-align: -4px; margin-right: 8px; border-radius: 27%; }
.compare-table tbody th { width: 22%; font-weight: 600; color: var(--ink); }
.compare-table td { width: 39%; color: var(--ink-3); }
.compare-table td.is-ours { color: var(--ink); background: var(--surface); }
.cmp-x, .cmp-ok { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 10px; border-radius: 999px; vertical-align: -4px; }
.cmp-x { background: var(--neg-bg); color: var(--neg); }
.cmp-ok { background: var(--pos-bg); color: var(--pos); }
.cmp-x .i, .cmp-ok .i { width: 12px; height: 12px; stroke-width: 3; }
@media (max-width: 900px) {
  .why-visual { grid-template-columns: minmax(0, 1fr); }
  .why-side { min-height: 380px; }
}
@media (max-width: 620px) {
  .why-side { min-height: 0; padding: 20px; }
  .why-stack { display: grid; gap: 12px; min-height: 0; }
  .bw, .bw-toast { position: relative; inset: auto; width: 100%; }
  .bw-1 { transform: rotate(-1.2deg); }
  .bw-2 { transform: rotate(1deg); width: 94%; justify-self: end; }
  .bw-3 { transform: rotate(-.8deg); width: 96%; }
  .bw-toast { justify-self: end; width: auto; transform: rotate(1.2deg); margin-top: -26px; }
  .bw-ad { display: none; }
}
@media (max-width: 680px) {
  .compare-table thead { display: none; }
  .compare-table, .compare-table tbody { display: block; }
  .compare-table tr { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
  .compare-table tbody tr:first-child { border-top: 0; }
  .compare-table tr > * { border-top: 0 !important; }
  .compare-table tbody th { grid-column: 1 / -1; width: auto; padding: 16px 16px 6px; }
  .compare-table td { width: auto; padding: 6px 16px 16px; font-size: 14px; }
  .compare-table td.is-ours { background: none; }
  .compare-table td::before { content: attr(data-label); display: block; margin-bottom: 6px; font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); }
  .cmp-x, .cmp-ok { display: none; }
}

/* ---------------------------------------------------------------- pricing */
.price-card {
  position: relative; isolation: isolate; overflow: hidden;
  max-width: 1000px; margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border-radius: var(--radius-xl); border: 1px solid var(--line-2);
  background: var(--glass); box-shadow: var(--shadow-lg), inset 0 1px 0 var(--glass-hi);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
}
.price-glow {
  position: absolute; z-index: -1; inset: -30% 40% 30% -20%; pointer-events: none; opacity: var(--bloom);
  background: radial-gradient(closest-side, rgb(91 108 255 / .34), transparent);
}
.price-main { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: clamp(28px, 4vw, 52px); border-right: 1px solid var(--line); }
.pill-launch { color: var(--ink); }
.pill-launch .i { color: #FFC56B; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin-top: 6px; }
.price-amount { font-size: clamp(4.2rem, 3rem + 5vw, 6.8rem); font-weight: 620; letter-spacing: -.055em; line-height: .9; }
.price-was s { font-size: 30px; font-weight: 500; color: var(--ink-3); text-decoration-thickness: 2px; letter-spacing: -.02em; }
.price-unit { font-family: var(--font-mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); }
.price-note { color: var(--ink-2); font-size: 16px; max-width: 26em; }
.price-main .btn { width: 100%; margin-top: 6px; }
.price-meta { display: grid; gap: 10px; margin-top: 6px; font-size: 14px; color: var(--ink-2); }
.price-meta li { display: flex; align-items: flex-start; gap: 10px; }
.price-meta .i { width: 16px; height: 16px; margin-top: 3px; color: var(--ink-3); }
.price-meta a { color: var(--ink); }
.price-list { padding: clamp(28px, 4vw, 52px); }
.price-list-title { font-size: 13px; font-family: var(--font-mono); font-weight: 500; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-3); margin-bottom: 22px; }
@media (max-width: 820px) {
  .price-card { grid-template-columns: minmax(0, 1fr); }
  .price-main { border-right: 0; border-bottom: 1px solid var(--line); }
}

/* ---------------------------------------------------------------- sister app (FindGlance) */
.sister-card {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: clamp(24px, 4vw, 56px);
  padding: clamp(28px, 4vw, 52px);
  border-radius: var(--radius-xl); border: 1px solid var(--line-2);
  background: var(--glass); box-shadow: var(--shadow-lg), inset 0 1px 0 var(--glass-hi);
}
.sister-glow {
  position: absolute; z-index: -1; inset: -40% -10% 20% 35%; pointer-events: none; opacity: var(--bloom);
  background: radial-gradient(closest-side, rgb(155 92 246 / .32), rgb(240 96 158 / .14) 55%, transparent);
}
.sister-text { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; min-width: 0; }
.sister-text .eyebrow { margin: 0; }
.sister-brand { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 620; letter-spacing: -.02em; }
.sister-brand img { width: 48px; height: 48px; border-radius: 12px; }
.sister-text .h2 { margin: 0; }
.sister-text .lede { margin: 0; color: var(--ink-2); }
.sister-points { display: grid; gap: 12px; margin: 4px 0 0; }
.sister-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.sister-points .i { flex: none; width: 18px; height: 18px; margin-top: 2px; color: #B07CFF; }
.sister-points b { display: block; color: var(--ink); font-weight: 560; }
.sister-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 6px; }
.sister-meta { font-size: 13px; color: var(--ink-3); }
.sister-shot {
  display: block; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line-2); box-shadow: var(--shadow-lg);
  transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}
.sister-shot:hover { transform: translateY(-3px); }
.sister-shot img { display: block; width: 100%; height: auto; }
@media (max-width: 900px) {
  .sister-card { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .sister-shot { transition: none; } .sister-shot:hover { transform: none; } }

/* mock.css */
/* ==========================================================================
   Mock window: macOS 26 "Liquid Glass" MightyBench window, pure HTML/CSS.
   Container queries keep it right at any width (home stories, tool pages,
   phones).
   ========================================================================== */
.mock { container: mock / inline-size; position: relative; width: 100%; }
.win {
  position: relative; display: flex; text-align: left;
  min-height: 560px;
  border-radius: 24px;
  background: var(--win);
  border: 1px solid var(--win-line);
  box-shadow: var(--shadow-lg), inset 0 1px 0 var(--glass-hi), 0 0 0 .5px rgb(0 0 0 / .35);
  color: var(--win-ink);
  font-size: 13px; line-height: 1.35;
  -webkit-backdrop-filter: blur(30px) saturate(1.4); backdrop-filter: blur(30px) saturate(1.4);
  overflow: hidden;
}
.win .i { stroke-width: 1.9; }

/* Traffic lights */
.w-lights { display: flex; gap: 8px; padding: 3px 4px 4px; }
.w-lights i { width: 12px; height: 12px; border-radius: 50%; background: #FF5F57; box-shadow: inset 0 0 0 .5px rgb(0 0 0 / .22); }
.w-lights i:nth-child(2) { background: #FEBC2E; }
.w-lights i:nth-child(3) { background: #28C840; }
.w-lights-alt { display: none; padding: 0; margin-right: 4px; }

/* Floating glass sidebar */
.w-side {
  flex: none; width: 204px; margin: 8px 0 8px 8px; padding: 12px 10px;
  display: flex; flex-direction: column; gap: 14px;
  border-radius: 17px;
  background: var(--win-side); border: 1px solid var(--win-line);
  box-shadow: inset 0 1px 0 var(--glass-hi);
}
.w-search { display: flex; align-items: center; gap: 7px; height: 28px; padding: 0 9px; border-radius: 9px; background: var(--ctl-track); color: var(--win-ink-3); font-size: 12.5px; }
.w-search .i { width: 13px; height: 13px; }
.w-group { display: flex; flex-direction: column; gap: 1px; }
.w-label { padding: 4px 8px 5px; font-size: 11px; font-weight: 600; color: var(--win-ink-3); }
.w-item { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 8px; border-radius: 8px; font-size: 12.5px; white-space: nowrap; color: var(--win-ink); }
.w-item > span:not(.tile):not(.w-dot) { overflow: hidden; text-overflow: ellipsis; }
.w-item > .i { width: 15px; height: 15px; color: var(--win-ink-2); }
.w-item.on { background: rgb(var(--c-rgb) / .22); box-shadow: inset 0 0 0 .5px rgb(var(--c-rgb) / .35); font-weight: 600; }
.w-item small { margin-left: auto; font-size: 11px; color: var(--win-ink-3); }
.w-item .tile { border-radius: 5px; box-shadow: inset 0 .5px 0 rgb(255 255 255 / .35); }
.w-item .tile .i { width: 62%; height: 62%; stroke-width: 2.2; filter: none; }
.w-dot { width: 11px; height: 11px; border-radius: 3.5px; flex: none; margin: 0 3px; background: linear-gradient(145deg, var(--c-hi), var(--c-lo)); }
.win:not(.no-insp) .w-cats { margin-top: auto; }

/* Main column */
.w-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.w-toolbar { display: flex; align-items: center; gap: 12px; height: 54px; padding: 0 12px 0 16px; flex: none; }
.w-title { display: flex; align-items: center; gap: 10px; min-width: 0; }
.w-title > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.w-title b { font-size: 13.5px; font-weight: 650; letter-spacing: -.01em; white-space: nowrap; }
.w-title small { font-size: 11.5px; color: var(--win-ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-title .tile { border-radius: 6px; }
.w-title .tile .i { stroke-width: 2.2; filter: none; }
.w-tbtns {
  margin-left: auto; display: flex; gap: 2px; padding: 3px; flex: none;
  border-radius: 999px; background: var(--win-side); border: 1px solid var(--win-line);
  box-shadow: inset 0 1px 0 var(--glass-hi);
}
.w-tbtn { width: 30px; height: 26px; display: grid; place-items: center; border-radius: 999px; color: var(--win-ink-2); }
.w-tbtn .i { width: 15px; height: 15px; }
.w-body { flex: 1; display: flex; gap: 8px; padding: 0 8px 8px; min-height: 0; }
.w-stage {
  container: stage / inline-size;
  flex: 1; min-width: 0; min-height: 440px; display: flex;
  border-radius: 15px; overflow: hidden;
  background: var(--win-stage); border: 1px solid var(--win-line);
}

/* Inspector */
.w-insp {
  flex: none; width: 264px; display: flex; flex-direction: column;
  border-radius: 17px; background: var(--win-side); border: 1px solid var(--win-line);
  box-shadow: inset 0 1px 0 var(--glass-hi);
}
.w-insp-head { padding: 14px 16px 4px; font-size: 11px; font-weight: 600; color: var(--win-ink-3); }
.w-insp-body { flex: 1; display: flex; flex-direction: column; gap: 16px; padding: 8px 16px 16px; }
.w-insp-foot { padding: 12px 14px 14px; border-top: 1px solid var(--win-line); }
.w-primary {
  display: flex; align-items: center; justify-content: center; gap: 8px; height: 34px;
  border-radius: 999px; color: #fff; font-weight: 620; font-size: 13px; letter-spacing: -.005em;
  background: linear-gradient(180deg, var(--c-hi), var(--c) 70%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .35), 0 8px 18px -8px rgb(var(--c-rgb) / .8);
}
.w-primary kbd { height: 18px; min-width: 0; padding: 0 5px; font-size: 10.5px; color: #fff; background: rgb(255 255 255 / .2); border: 0; box-shadow: none; }

/* Inspector controls (also used in the "How it works" step visuals) */
.ctl { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.ctl-label { font-size: 12px; font-weight: 500; color: var(--win-ink-2); }
.ctl-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ctl-val { font-family: var(--font-mono); font-size: 11.5px; color: var(--win-ink); }
.ctl-inline { flex-direction: row; align-items: center; justify-content: space-between; }
.ctl-link { font-size: 11.5px; color: color-mix(in oklab, var(--c), var(--mix-to) var(--mix-amt)); }
.seg { display: flex; padding: 2px; border-radius: 9px; background: var(--ctl-track); box-shadow: inset 0 0 0 .5px var(--win-line); }
.seg > span {
  flex: 1 1 auto; min-width: 0; padding: 5px 3px; border-radius: 7px; text-align: center;
  font-size: 11.5px; color: var(--win-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.seg > span.on { background: var(--ctl-thumb); color: var(--win-ink); font-weight: 600; box-shadow: 0 1px 2px rgb(0 0 0 / .2), 0 0 0 .5px rgb(0 0 0 / .06); }
.seg.is-dense > span { font-size: 10.5px; padding-inline: 2px; }
.slider { position: relative; height: 18px; }
.slider::before, .slider::after { content: ''; position: absolute; left: 0; top: 7px; height: 4px; border-radius: 99px; }
.slider::before { right: 0; background: var(--ctl-track); }
.slider::after { width: calc(9px + (100% - 18px) * var(--p, .5)); background: var(--c); }
.slider i { position: absolute; z-index: 1; top: 0; left: calc((100% - 18px) * var(--p, .5)); width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / .35), 0 0 0 .5px rgb(0 0 0 / .12); }
.switch { position: relative; flex: none; width: 34px; height: 20px; border-radius: 99px; background: var(--ctl-track); box-shadow: inset 0 0 0 .5px var(--win-line); }
.switch i { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .3); }
.switch.on { background: var(--c); }
.switch.on i { left: 16px; }
.popup, .field {
  display: flex; align-items: center; gap: 8px; height: 28px; min-width: 0;
  border-radius: 8px; background: var(--ctl-field); border: 1px solid var(--win-line);
  font-size: 12px; color: var(--win-ink);
  box-shadow: 0 1px 1px rgb(0 0 0 / .06);
}
.popup { justify-content: space-between; padding: 0 7px 0 10px; }
.popup span, .field { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.popup .i { width: 13px; height: 13px; color: var(--win-ink-3); }
.field { padding: 0 10px; }
.field.mono { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .02em; }
.filechip { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 4px 0 9px; border-radius: 9px; background: var(--ctl-field); border: 1px solid var(--win-line); }
.filechip .i { width: 15px; height: 15px; color: color-mix(in oklab, var(--c), var(--mix-to) var(--mix-amt)); }
.filechip-name { flex: 1; min-width: 0; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-btn {
  display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; flex: none;
  border-radius: 6px; background: var(--ctl-thumb); color: var(--win-ink);
  font-size: 11px; font-weight: 550; white-space: nowrap;
  box-shadow: 0 0 0 .5px var(--win-line), 0 1px 1px rgb(0 0 0 / .12);
}
.mini-btn .i { width: 12px; height: 12px; }
.mini-btn.is-primary { background: var(--c); color: #fff; }
.ctl-note { flex-direction: row; align-items: flex-start; gap: 8px; padding: 10px 12px; border-radius: 10px; background: var(--ctl-track); font-size: 12px; line-height: 1.45; color: var(--win-ink-2); }
.ctl-note .i { width: 15px; height: 15px; margin-top: 1px; color: color-mix(in oklab, var(--c), var(--mix-to) var(--mix-amt)); }
.sigpad { position: relative; display: grid; place-items: center; height: 74px; border-radius: 10px; background: var(--ctl-field); border: 1px solid var(--win-line); color: var(--win-ink); }
.sigpad .sig { width: 88%; height: 78%; }
.sig-x { position: absolute; left: 10px; bottom: 9px; font-style: normal; font-size: 12px; color: var(--win-ink-3); }

/* Responsive window */
@container mock (max-width: 1040px) {
  .w-side { display: none; }
  .w-lights-alt { display: flex; }
  .w-insp { width: 236px; }
  .w-insp-body { padding-inline: 14px; }
}
@container mock (max-width: 660px) {
  .win { min-height: 0; border-radius: 20px; }
  .w-body { flex-direction: column; }
  .w-stage { min-height: 0; }
  .w-insp { width: auto; }
  .w-insp-body { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px 18px; }
  .w-insp-body > .ctl-inline { align-self: end; min-height: 28px; }
}
@container mock (max-width: 460px) {
  .w-toolbar { padding: 0 8px 0 12px; height: 50px; }
  .w-tbtn:not(.w-tbtn-insp) { display: none; }
  .w-title .tile { display: none; }
  .w-body { padding: 0 6px 6px; gap: 6px; }
}

/* stages.css */
/* ==========================================================================
   Stages: the tool-specific content inside a mock window
   ========================================================================== */
.stage { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; padding: 16px; font-size: 12.5px; color: var(--win-ink); }
.stage .muted { color: var(--win-ink-3); }
.stage .mono { font-family: var(--font-mono); font-size: 11.5px; }
.c-ink, .stage .ok { color: var(--pos); }

/* Shared bits */
.s-foot {
  margin-top: auto; display: flex; align-items: center; gap: 8px; min-width: 0;
  padding: 10px 12px; border-radius: 11px; background: var(--row); border: 1px solid var(--row-line);
  font-size: 11.5px; color: var(--win-ink-2);
}
.s-foot > .i { width: 14px; height: 14px; color: color-mix(in oklab, var(--c), var(--mix-to) var(--mix-amt)); }
.s-path { flex: 1; min-width: 0; font-family: var(--font-mono); font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-foot b { font-weight: 600; color: var(--pos); white-space: nowrap; }
.s-banner {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 10px 12px; border-radius: 11px; font-size: 12px;
  background: rgb(245 165 36 / .12); border: 1px solid rgb(245 165 36 / .32);
}
.s-banner > .i { width: 16px; height: 16px; color: var(--warn); }
.s-banner > span:first-of-type { flex: 1 1 180px; }
.s-banner b { font-weight: 650; }
.ondevice {
  display: inline-flex; align-items: center; gap: 5px; flex: none; margin-left: auto;
  padding: 3px 9px; border-radius: 999px; white-space: nowrap;
  font-size: 10.5px; font-weight: 650; color: color-mix(in oklab, var(--c), var(--mix-to) var(--mix-amt));
  background: rgb(var(--c-rgb) / .13); border: 1px solid rgb(var(--c-rgb) / .3);
}
.ondevice .i { width: 11px; height: 11px; }
.ruler { display: flex; justify-content: space-between; padding: 0 2px; font-family: var(--font-mono); font-size: 10px; color: var(--win-ink-3); }
.hd { position: absolute; width: 11px; height: 11px; border: 0 solid #fff; }
.hd.tl { top: -2px; left: -2px; border-top-width: 3px; border-left-width: 3px; }
.hd.tr { top: -2px; right: -2px; border-top-width: 3px; border-right-width: 3px; }
.hd.bl { bottom: -2px; left: -2px; border-bottom-width: 3px; border-left-width: 3px; }
.hd.br { bottom: -2px; right: -2px; border-bottom-width: 3px; border-right-width: 3px; }
.scene { width: 100%; height: 100%; }
.rec-dot { width: 10px; height: 10px; flex: none; border-radius: 50%; background: #FF453A; box-shadow: 0 0 0 4px rgb(255 69 58 / .22); animation: pulse 1.6s ease-in-out infinite; }
.rec-dot.sm { width: 8px; height: 8px; box-shadow: 0 0 0 3px rgb(255 69 58 / .2); }
@keyframes pulse { 50% { opacity: .45; } }
.caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: text-bottom; background: var(--c); animation: blink 1.05s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Waveform */
.wave { display: flex; align-items: center; gap: 2px; width: 100%; height: 100%; }
.wave i { flex: 1 1 0; min-width: 1px; height: var(--h); min-height: 2px; border-radius: 2px; background: currentColor; }

/* ---------------------------------------------------------------- batch file list */
.flist { display: flex; flex-direction: column; gap: 6px; }
.frow {
  display: flex; align-items: center; gap: 12px; min-width: 0;
  padding: 7px 12px 7px 7px; border-radius: 12px;
  background: var(--row); border: 1px solid var(--row-line);
}
.fthumb { position: relative; flex: none; width: 54px; height: 38px; border-radius: 7px; overflow: hidden; background: var(--ctl-track); }
.fthumb.is-video > i { position: absolute; right: 4px; bottom: 4px; width: 15px; height: 15px; display: grid; place-items: center; border-radius: 50%; background: rgb(0 0 0 / .5); color: #fff; }
.fthumb.is-video > i .i { width: 8px; height: 8px; fill: currentColor; stroke-width: 0; }
.fthumb.is-glyph { display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, var(--c-hi), var(--c-lo)); }
.fthumb.is-glyph.cat-audio { --c-hi: #D19BFF; --c-lo: #7832B8; }
.fthumb.is-glyph .i { width: 18px; height: 18px; }
.fthumb.is-page { display: grid; place-items: center; }
.pg-mini { display: flex; flex-direction: column; gap: 2px; width: 25px; height: 32px; padding: 4px 3px; border-radius: 3px; background: var(--paper); box-shadow: 0 1px 2px rgb(0 0 0 / .25); }
.pg-mini i { height: 2px; border-radius: 1px; background: var(--paper-ink); }
.pg-mini i.h { height: 3px; width: 72%; background: var(--paper-head); }
.pg-mini i.s { width: 60%; }
.fthumb .lock { position: absolute; right: 8px; bottom: 3px; width: 16px; height: 16px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--c); box-shadow: 0 1px 3px rgb(0 0 0 / .3); }
.fthumb .lock .i { width: 9px; height: 9px; stroke-width: 2.6; }
.fmeta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.fmeta b { font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fmeta small { font-size: 11px; color: var(--win-ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fstat { flex: none; display: flex; align-items: center; gap: 8px; font-size: 11.5px; }
.fsz { display: flex; align-items: center; gap: 5px; font-family: var(--font-mono); font-size: 11px; color: var(--win-ink-2); }
.fsz s { color: var(--win-ink-3); }
.fsz .i { width: 11px; height: 11px; color: var(--win-ink-3); }
.fsz b { font-weight: 600; color: var(--win-ink); }
.delta { padding: 2px 6px; border-radius: 6px; font-family: var(--font-mono); font-size: 10.5px; font-weight: 650; color: var(--pos); background: var(--pos-bg); }
.fto { color: var(--win-ink-2); white-space: nowrap; }
.fstat .ok { width: 16px; height: 16px; }
.fbar { width: 92px; height: 5px; border-radius: 99px; overflow: hidden; background: var(--ctl-track); }
.fbar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--c), var(--c-hi)); }
.fpct { width: 30px; text-align: right; font-family: var(--font-mono); font-size: 10.5px; color: var(--win-ink-2); }
.fwait { color: var(--win-ink-3); white-space: nowrap; }
.ffail { display: flex; align-items: center; gap: 6px; color: var(--neg); white-space: nowrap; }
.ffail .i { width: 14px; height: 14px; }
@container stage (max-width: 470px) {
  .fsz s, .fsz .i { display: none; }
  .fbar { width: 46px; }
  .fthumb { width: 44px; height: 34px; }
  .frow { gap: 10px; padding-right: 10px; }
}
@container stage (max-width: 360px) {
  .delta, .fpct { display: none; }
}

/* ---------------------------------------------------------------- timeline */
.stage-timeline { gap: 10px; }
.tl-frame { position: relative; width: 100%; aspect-ratio: 16 / 8.2; border-radius: 11px; overflow: hidden; background: #000; container-type: inline-size; }
.tl-frame > .scene { position: absolute; inset: 0; }
.tl-transport { display: flex; align-items: center; gap: 10px; min-width: 0; }
.tl-btn { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--ctl-thumb); box-shadow: 0 0 0 .5px var(--win-line), 0 1px 2px rgb(0 0 0 / .15); }
.tl-btn .i { width: 11px; height: 11px; fill: currentColor; stroke-width: 0; margin-left: 1px; }
.tl-time { font-family: var(--font-mono); font-size: 11px; color: var(--win-ink-3); white-space: nowrap; }
.tl-time b { font-weight: 500; color: var(--win-ink); }
.tl-keys { margin-left: auto; display: flex; gap: 12px; color: var(--win-ink-2); font-size: 11.5px; }
.tl-keys span { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.tl-keys .i { width: 13px; height: 13px; }
.tl-keys kbd, .wv-undo kbd { min-width: 18px; height: 18px; padding: 0 4px; font-size: 10px; border-radius: 4px; }
.tl-lanes { display: flex; flex-direction: column; gap: 6px; }
.lane { position: relative; height: 48px; border-radius: 8px; overflow: hidden; background: var(--ctl-track); }
.lane .strip { position: absolute; inset: 0; width: 100%; height: 100%; }
.lane-video::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), rgb(0 0 0 / .32) calc(10% - 1px) 10%); }
.shade { position: absolute; top: 0; bottom: 0; z-index: 1; background: var(--shade); }
.lane-video .shade { background: rgb(0 0 0 / .58); }
.cut { position: absolute; top: 0; bottom: 0; z-index: 1; background: repeating-linear-gradient(135deg, rgb(255 90 95 / .62) 0 6px, rgb(20 0 0 / .5) 6px 12px); }
.range { position: absolute; top: 0; bottom: 0; z-index: 2; border: 2px solid #FFCB2E; border-inline-width: 10px; border-radius: 8px; }
.range::before, .range::after { content: ''; position: absolute; top: 50%; width: 2px; height: 14px; margin-top: -7px; border-radius: 1px; background: rgb(0 0 0 / .45); }
.range::before { left: -6px; }
.range::after { right: -6px; }
.range.is-loop { border-color: var(--c-hi); }
.tl-head { position: absolute; top: -1px; bottom: -1px; z-index: 3; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 .5px rgb(0 0 0 / .45); }
.tl-head::before { content: ''; position: absolute; top: 0; left: -4px; width: 10px; height: 7px; border-radius: 0 0 3px 3px; background: #fff; }
.seg-clip {
  position: absolute; top: 3px; bottom: 3px; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px; border: 1.5px solid rgb(255 255 255 / .6);
  font-family: var(--font-mono); font-size: 11px; font-weight: 650; color: #fff; text-shadow: 0 1px 2px rgb(0 0 0 / .7);
  background: rgb(0 0 0 / .18);
}
.seg-clip + .seg-clip { margin-left: 3px; }
.seg-clip b { padding: 2px 7px; border-radius: 6px; background: rgb(0 0 0 / .62); font-weight: 650; text-shadow: none; }
.seg-clip.slow { background: rgb(176 92 255 / .38); }
.seg-clip.on { border-color: #FFCB2E; box-shadow: 0 0 0 1px #FFCB2E; }
.lane-tag {
  position: absolute; left: 8px; top: 50%; z-index: 2; transform: translateY(-50%);
  display: flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 6px;
  background: rgb(0 0 0 / .58); color: #fff; font-size: 10.5px; font-weight: 550; white-space: nowrap;
}
.lane-tag .i { width: 11px; height: 11px; }
.lane-audio { --lc: 176 92 255; height: 36px; background: rgb(var(--lc) / .13); color: rgb(var(--lc) / .85); }
.lane-audio.is-muted { background: repeating-linear-gradient(135deg, var(--ctl-track) 0 6px, transparent 6px 12px); }
.lane-wave { position: absolute; inset: 5px 10px; width: auto; height: auto; }
.loop-mark { position: absolute; top: 0; bottom: 0; z-index: 2; width: 2px; background: rgb(255 255 255 / .7); }
.loop-mark .i { position: absolute; top: 50%; left: 50%; width: 18px; height: 18px; padding: 3px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--win-solid); color: var(--win-ink); box-shadow: 0 1px 3px rgb(0 0 0 / .3); }
.lane-captions { height: 28px; background: rgb(20 184 212 / .1); }
.lane-captions > span:not(.tl-head) {
  position: absolute; top: 3px; bottom: 3px; display: flex; align-items: center; padding: 0 7px;
  border-radius: 5px; background: rgb(20 184 212 / .3); color: var(--win-ink);
  font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lane-captions > span.on { background: rgb(20 184 212 / .75); color: #fff; }
.frame-tag {
  position: absolute; z-index: 2; left: 10px; top: 10px;
  display: flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px;
  background: rgb(0 0 0 / .52); color: #fff; font-size: 11px; font-weight: 600;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.frame-tag.right { left: auto; right: 10px; font-family: var(--font-mono); font-size: 10.5px; }
.frame-tag .i { width: 12px; height: 12px; }
.crop-frame { position: absolute; z-index: 1; top: 6%; bottom: 6%; left: 50%; aspect-ratio: 9 / 16; transform: translateX(-50%); border: 1.5px solid #fff; box-shadow: 0 0 0 9999px rgb(0 0 0 / .55); }
.crop-frame .g1, .crop-frame .g2 { position: absolute; inset: 0; }
.crop-frame .g1 { left: 33.3%; right: 33.3%; border-inline: 1px solid rgb(255 255 255 / .35); }
.crop-frame .g2 { top: 33.3%; bottom: 33.3%; border-block: 1px solid rgb(255 255 255 / .35); }
.caption-box {
  position: absolute; z-index: 1; left: 50%; bottom: 9%; transform: translateX(-50%);
  max-width: 86%; padding: 6px 12px; border-radius: 6px; text-align: center;
  background: rgb(0 0 0 / .74); color: #fff; font-weight: 650; line-height: 1.3;
  font-size: clamp(10px, 3.2cqi, 16px);
}
@container stage (max-width: 470px) {
  .tl-keys { display: none; }
  .lane { height: 40px; }
}

/* ---------------------------------------------------------------- merge (videos) */
.stage-merge { gap: 14px; }
.mg-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding-top: 6px; }
.mg-clip { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 7px 7px 9px; border-radius: 12px; background: var(--row); border: 1px solid var(--row-line); transition: transform .3s; }
.mg-clip.is-lifted { transform: translateY(-7px) rotate(-1.6deg); border-color: var(--c); box-shadow: var(--shadow-md); }
.mg-num { position: absolute; z-index: 2; top: 11px; left: 11px; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: rgb(0 0 0 / .62); color: #fff; font-size: 10.5px; font-weight: 700; }
.mg-thumb { display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background: #000; }
.mg-clip.is-portrait .mg-thumb .scene { width: 34%; }
.mg-text { min-width: 0; padding: 0 3px; }
.mg-text b { display: block; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mg-text small { display: block; font-size: 10.5px; color: var(--win-ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.grip { position: absolute; right: 7px; bottom: 11px; width: 14px; height: 14px; color: var(--win-ink-3); }
.mg-result {
  margin-top: auto; display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 12px 14px; border-radius: 12px; font-size: 12.5px;
  background: rgb(var(--c-rgb) / .12); border: 1px solid rgb(var(--c-rgb) / .3);
}
.mg-result .i { width: 18px; height: 18px; color: color-mix(in oklab, var(--c), var(--mix-to) var(--mix-amt)); }
.mg-result span { margin-left: auto; font-family: var(--font-mono); font-size: 10.5px; color: var(--win-ink-2); }
@container stage (max-width: 540px) { .mg-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stage-merge .pg-hint { margin-top: 0; }
.mg-label { margin-top: 6px; font-size: 11px; font-weight: 600; color: var(--win-ink-3); }
.mg-seq { display: flex; gap: 3px; height: 46px; padding: 4px; border-radius: 10px; background: var(--ctl-track); }
.mg-seq > span { position: relative; min-width: 10px; overflow: hidden; border-radius: 6px; background: #000; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .15); }
.mg-seq > span .strip { position: absolute; inset: 0; width: 100%; height: 100%; }
.mg-seq > span.is-bars .strip { inset: 0 32%; width: auto; }
.mg-pages { display: flex; align-items: flex-end; gap: 6px; flex-wrap: wrap; padding: 4px 2px; }
.mp { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.mp i { display: block; width: 30px; aspect-ratio: 1 / 1.32; border-radius: 3px; background: var(--paper); box-shadow: 0 1px 2px rgb(0 0 0 / .25); border-top: 4px solid var(--dc); }
.mp b { font-family: var(--font-mono); font-size: 9.5px; font-weight: 500; color: var(--win-ink-3); }
.mp.d1 { --dc: #FF8A8D; } .mp.d2 { --dc: #F5A524; } .mp.d3 { --dc: #8F9BFF; }
.mp-more { align-self: center; margin-left: 4px; font-family: var(--font-mono); font-size: 11px; color: var(--win-ink-3); }

/* ---------------------------------------------------------------- waveform (audio) */
.wv-head { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 12.5px; }
.wv-head > .i { width: 16px; height: 16px; color: color-mix(in oklab, var(--c), var(--mix-to) var(--mix-amt)); }
.wv-head b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wv-head .muted { margin-left: auto; font-family: var(--font-mono); font-size: 11px; }
.wv-head .seg { margin-left: auto; width: 172px; flex: none; }
.stage-wave { justify-content: center; }
.wv-box { position: relative; flex: none; height: 210px; padding: 14px 10px; border-radius: 11px; background: var(--row); border: 1px solid var(--row-line); color: rgb(var(--c-rgb) / .9); overflow: hidden; }
.wv-box .range { border-color: #FFCB2E; }
.fade { position: absolute; top: 0; bottom: 0; width: 9%; z-index: 1; }
.fade.in { left: 0; background: linear-gradient(to top right, transparent calc(50% - 1px), #FFCB2E calc(50% - 1px) calc(50% + 1px), rgb(0 0 0 / .32) calc(50% + 1px)); }
.fade.out { right: 0; background: linear-gradient(to top left, transparent calc(50% - 1px), #FFCB2E calc(50% - 1px) calc(50% + 1px), rgb(0 0 0 / .32) calc(50% + 1px)); }
.wv-foot { display: flex; align-items: center; gap: 12px; font-size: 11.5px; min-width: 0; }
.wv-undo { margin-left: auto; display: flex; align-items: center; gap: 6px; color: var(--win-ink-3); }
.wv-undo .i { width: 13px; height: 13px; }
.wv-dual .wave { position: absolute; inset: 14px 10px; width: auto; height: auto; }
.wv-noisy { color: var(--win-ink-3); opacity: .38; }
.wv-clean { color: rgb(var(--c-rgb)); }
.clean-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.clean-stats > span { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 11px; background: var(--row); border: 1px solid var(--row-line); min-width: 0; }
.clean-stats small { font-size: 10.5px; color: var(--win-ink-3); }
.clean-stats b { font-size: 12px; font-weight: 600; }
@container stage (max-width: 470px) {
  .wv-head .seg { width: 140px; }
  .clean-stats { grid-template-columns: minmax(0, 1fr); }
  .wv-box { height: 150px; }
}

/* ---------------------------------------------------------------- recorder */
.stage-recorder { gap: 14px; }
.rc-top { display: flex; align-items: center; gap: 10px; }
.rc-label { font-weight: 650; }
.rc-time { margin-left: auto; font-family: var(--font-mono); font-size: 24px; font-weight: 500; letter-spacing: -.03em; }
.rc-wave { position: relative; flex: 1; min-height: 130px; padding: 14px 18px 14px 10px; border-radius: 12px; background: var(--row); border: 1px solid var(--row-line); color: rgb(var(--c-rgb)); }
.rc-wave .wave { -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%); mask-image: linear-gradient(90deg, transparent, #000 30%); }
.rc-now { position: absolute; right: 12px; top: 12px; bottom: 12px; width: 2px; border-radius: 1px; background: #FF453A; }
.rc-meter { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--win-ink-3); }
.meter { flex: 1; height: 6px; border-radius: 99px; overflow: hidden; background: var(--ctl-track); }
.meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #30D158, #30D158 70%, #FFD60A); }
.rc-takes { display: flex; flex-direction: column; gap: 6px; }
.rc-takes li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 11px; background: var(--row); border: 1px solid var(--row-line); }
.rc-takes .i { width: 15px; height: 15px; color: color-mix(in oklab, var(--c), var(--mix-to) var(--mix-amt)); }
.rc-takes b { font-weight: 600; }
.rc-takes span { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: var(--win-ink-3); }
.rc-takes li.live { border-color: rgb(255 69 58 / .35); }

/* ---------------------------------------------------------------- capture */
.stage-capture { padding: 0; }
.cap-desk { position: relative; flex: 1; min-height: 380px; overflow: hidden; }
.cap-wall { position: absolute; inset: 0; }
.cap-app { position: absolute; left: 13%; top: 14%; width: 62%; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; box-shadow: 0 24px 50px -12px rgb(0 0 0 / .6); }
.cap-area { position: absolute; left: 10%; top: 10%; width: 68%; height: 66%; border: 1.5px dashed rgb(255 255 255 / .9); border-radius: 4px; box-shadow: 0 0 0 9999px rgb(0 0 0 / .32); }
.cap-size { position: absolute; left: -1px; top: -28px; padding: 3px 8px; border-radius: 6px; background: rgb(0 0 0 / .62); color: #fff; font-family: var(--font-mono); font-size: 10.5px; white-space: nowrap; }
.cap-cam { position: absolute; right: 7%; bottom: 20%; width: 17%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 2.5px solid rgb(255 255 255 / .92); box-shadow: 0 12px 30px -6px rgb(0 0 0 / .6); }
.cap-bar {
  position: absolute; left: 50%; bottom: 5%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 13px; padding: 8px 9px 8px 14px; border-radius: 999px;
  background: rgb(28 28 33 / .84); color: #fff; font-family: var(--font-mono); font-size: 12px;
  box-shadow: 0 12px 30px -8px rgb(0 0 0 / .6), inset 0 1px 0 rgb(255 255 255 / .12);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.cap-bar b { font-weight: 500; }
.cap-bar > .i { width: 14px; height: 14px; opacity: .85; }
.cap-bar .sep { width: 1px; height: 14px; background: rgb(255 255 255 / .22); }
.cap-stop { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #FF453A; }
.cap-stop .i { width: 9px; height: 9px; fill: #fff; stroke: #fff; }
@container stage (max-width: 470px) { .cap-desk { min-height: 260px; } .cap-bar > .i:nth-of-type(2) { display: none; } }

/* ---------------------------------------------------------------- download */
.dl-link { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 6px 0 12px; border-radius: 10px; background: var(--ctl-field); border: 1px solid var(--win-line); font-family: var(--font-mono); font-size: 12px; }
.dl-link > .i { width: 14px; height: 14px; color: var(--win-ink-3); }
.dl-link > span:first-of-type { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-card { display: flex; gap: 14px; padding: 12px; border-radius: 14px; background: var(--row); border: 1px solid var(--row-line); }
.dl-thumb { position: relative; flex: none; width: 46%; max-width: 250px; aspect-ratio: 16 / 9; border-radius: 9px; overflow: hidden; }
.dl-dur { position: absolute; right: 6px; bottom: 6px; padding: 2px 5px; border-radius: 4px; background: rgb(0 0 0 / .72); color: #fff; font-family: var(--font-mono); font-size: 10px; }
.dl-info { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 7px; }
.dl-info b { font-size: 13px; line-height: 1.3; }
.dl-info .muted { font-size: 11.5px; }
.dl-info .fbar { width: 100%; }
.dl-prog { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 10.5px; color: var(--win-ink-3); }
.dl-note { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--win-ink-2); }
.dl-note .i { width: 14px; height: 14px; color: color-mix(in oklab, var(--c), var(--mix-to) var(--mix-amt)); }
@container stage (max-width: 420px) { .dl-card { flex-direction: column; } .dl-thumb { width: 100%; max-width: none; } }

/* ---------------------------------------------------------------- image grid */
.ig-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ig-item { position: relative; margin: 0; padding: 6px; border-radius: 12px; background: var(--row); border: 1px solid var(--row-line); }
.ig-img { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--ctl-track); }
.ig-img .scene { grid-area: 1 / 1; transform: rotate(var(--rot, 0deg)) scale(var(--sc, 1)); }
.ig-img[style*="--rot:90deg"] .scene { --sc: 1.42; }
.ig-item.is-portrait .ig-img .scene { width: 56%; }
.ig-item figcaption { display: flex; flex-direction: column; gap: 1px; padding: 7px 3px 2px; font-size: 11px; min-width: 0; }
.ig-item figcaption span:first-child { font-weight: 600; }
.ig-cap { font-family: var(--font-mono); font-size: 10px; color: var(--win-ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ig-ok { position: absolute; top: 12px; right: 12px; width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; background: var(--pos); color: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / .3); }
.ig-ok .i { width: 11px; height: 11px; stroke-width: 3.2; }
.ig-rot { position: absolute; top: 12px; left: 12px; width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; background: rgb(0 0 0 / .55); color: #fff; }
.ig-rot .i { width: 12px; height: 12px; }
@container stage (max-width: 430px) { .ig-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------------------------------------------------------------- before / after */
.stage-ba { gap: 10px; }
.ba { position: relative; flex: 1; min-height: 300px; border-radius: 12px; overflow: hidden; background: #000; }
.ba-layer { position: absolute; inset: 0; }
.ba-layer > .scene { position: absolute; inset: 0; }
.ba-after { clip-path: inset(0 0 0 50%); }
.ba-handle { position: absolute; z-index: 2; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 8px rgb(0 0 0 / .3); }
.ba-handle i { position: absolute; top: 50%; left: 50%; width: 32px; height: 32px; display: grid; place-items: center; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; color: #1C1C20; box-shadow: 0 4px 14px rgb(0 0 0 / .35); }
.ba-handle .i { width: 16px; height: 16px; }
.ba-tag { position: absolute; z-index: 2; top: 10px; padding: 4px 10px; border-radius: 999px; background: rgb(0 0 0 / .55); color: #fff; font-size: 11px; font-weight: 600; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ba-tag.l { left: 10px; }
.ba-tag.r { right: 10px; }
.ba-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-family: var(--font-mono); font-size: 11px; color: var(--win-ink-2); }
.ba-cut .subject { position: absolute; inset: 6% 0 0; width: 100%; height: 94%; }
.checker { position: absolute; inset: 0; background: repeating-conic-gradient(var(--checker-a) 0 25%, var(--checker-b) 0 50%) 0 0 / 18px 18px; }
.crop-box { position: absolute; left: 27%; right: 27%; top: 9%; bottom: 3%; border: 1.5px dashed var(--c-hi); border-radius: 4px; }
@container stage (max-width: 430px) { .ba { min-height: 220px; } }

/* ---------------------------------------------------------------- metadata */
.stage-meta { flex-direction: row; gap: 14px; }
.md-photo { position: relative; flex: none; align-self: flex-start; width: 40%; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; }
.md-photo > .scene { position: absolute; inset: 0; }
.md-pin { position: absolute; left: 46%; top: 40%; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--neg); color: #fff; box-shadow: 0 6px 14px rgb(0 0 0 / .35); opacity: .9; }
.md-pin .i { width: 14px; height: 14px; transform: rotate(45deg); }
.md-pin::after { content: ''; position: absolute; left: -6px; right: -6px; top: 50%; height: 2px; background: #fff; transform: rotate(0deg); box-shadow: 0 0 0 1px var(--neg); }
.md-list { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.md-list li { display: grid; grid-template-columns: 16px minmax(0, auto) minmax(0, 1fr) auto; align-items: center; gap: 4px 10px; padding: 9px 12px; border-radius: 11px; background: var(--row); border: 1px solid var(--row-line); font-size: 11.5px; }
.md-list li > .i { width: 14px; height: 14px; color: var(--win-ink-3); }
.md-list li > span { color: var(--win-ink-3); white-space: nowrap; }
.md-list b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.md-list .rm b { text-decoration: line-through; color: var(--win-ink-3); }
.md-list em { padding: 2px 6px; border-radius: 5px; font-style: normal; font-size: 10px; font-weight: 650; color: var(--neg); background: var(--neg-bg); }
.md-list .keep { border-color: rgb(61 214 140 / .3); }
.md-list .keep > .i { color: var(--pos); }
@container stage (max-width: 500px) {
  .stage-meta { flex-direction: column; }
  .md-photo { width: 100%; min-height: 140px; }
  .md-list li { grid-template-columns: 16px minmax(0, 1fr) auto; }
  .md-list li > span { display: none; }
}

/* ---------------------------------------------------------------- PDF pages */
.pg-grid { --cols: 4; position: relative; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 16px; padding: 6px 4px; }
@container stage (min-width: 560px) { .pg-grid { --cols: 6; } }
@container stage (max-width: 559px) { .pg-grid > .pg:nth-child(n+9):not(.is-dragging) { display: none; } }
.pg { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
.pg-paper {
  width: 100%; aspect-ratio: 1 / 1.32; display: flex; flex-direction: column; gap: 7%;
  padding: 13% 12%; border-radius: 4px; overflow: hidden;
  background: var(--paper);
  box-shadow: 0 1px 2px rgb(0 0 0 / .22), 0 8px 18px -10px rgb(0 0 0 / .45);
  transition: opacity .3s, transform .3s;
}
.pg-paper i { display: block; flex: none; height: 3%; min-height: 2px; border-radius: 2px; background: var(--paper-ink); }
.pg-paper i.h { height: 5%; width: 68%; background: var(--paper-head); }
.pg-paper i.s { width: 56%; }
.pg-paper i.img { height: 30%; border-radius: 3px; background: linear-gradient(135deg, rgb(var(--c-rgb) / .55), rgb(var(--c-rgb) / .18)); }
.pg-paper i.tbl { height: 30%; background: linear-gradient(var(--paper-ink) 0 0) 0 0 / 100% 2px repeat-y, linear-gradient(90deg, var(--paper-ink) 0 0) 0 0 / 2px 100% repeat-x; background-size: 100% 25%, 33.3% 100%; opacity: .85; border-radius: 0; }
.pg-num { font-family: var(--font-mono); font-size: 10.5px; color: var(--win-ink-3); }
.pg-badge { position: absolute; z-index: 2; top: -7px; right: -7px; width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; background: var(--c); color: #fff; box-shadow: 0 2px 6px rgb(0 0 0 / .3); }
.pg-badge .i { width: 12px; height: 12px; stroke-width: 3; }
.pg-badge.neg { background: var(--neg); }
.pg.is-rotated .pg-paper { transform: rotate(90deg) scale(.74); }
.pg.is-deleting .pg-paper { opacity: .28; filter: grayscale(1); }
.pg.is-selected .pg-paper { box-shadow: 0 0 0 2.5px var(--c), 0 8px 18px -10px rgb(0 0 0 / .45); }
.pg.is-dim .pg-paper { opacity: .5; }
.pg.drop-slot { aspect-ratio: 1 / 1.32; margin-bottom: 21px; border: 2px dashed rgb(var(--c-rgb) / .65); border-radius: 6px; background: rgb(var(--c-rgb) / .08); }
.pg.is-dragging { position: absolute; z-index: 3; left: 12%; top: 34%; width: calc((100% - 8px - (var(--cols) - 1) * 16px) / var(--cols)); transform: rotate(-6deg) scale(1.04); animation: drag-bob 5s ease-in-out infinite; }
.pg.is-dragging .pg-paper { box-shadow: 0 0 0 2.5px var(--c), 0 30px 40px -14px rgb(0 0 0 / .6); }
.pg.is-dragging .pg-num { opacity: 0; }
@keyframes drag-bob { 50% { transform: rotate(-4deg) scale(1.04) translate(4px, -5px); } }
.pg-hint { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--win-ink-3); }
.pg-hint .i { width: 14px; height: 14px; }
@container stage (max-width: 430px) {
  .pg-grid { --cols: 3; gap: 14px 12px; }
  .pg-grid > .pg:nth-child(n+7):not(.is-dragging) { display: none; }
  .pg.is-dragging { width: calc((100% - 8px - 24px) / 3); left: 6%; top: 40%; }
}

/* Split */
.stage-split { gap: 10px; }
.split-part { padding: 10px 12px 12px; border-radius: 12px; background: var(--row); border: 1px solid var(--row-line); }
.split-label { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; font-family: var(--font-mono); font-size: 11px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.split-label .i { width: 13px; height: 13px; color: color-mix(in oklab, var(--c), var(--mix-to) var(--mix-amt)); }
.split-pages { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 9px; }
.split-pages .pg { gap: 4px; }
.split-pages .pg-num { font-size: 9.5px; }

/* Docs (merge PDFs) */
.stage-docs { gap: 16px; }
.doc-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding-top: 10px; }
.doc-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 16px 12px 12px; border-radius: 14px; text-align: center; background: var(--row); border: 1px solid var(--row-line); min-width: 0; }
.doc-card.is-lifted { transform: translateY(-9px) rotate(2deg); border-color: var(--c); box-shadow: var(--shadow-md); }
.doc-card .mg-num { top: 10px; left: 10px; }
.doc-stack { position: relative; width: 58%; margin: 6px 0 10px; isolation: isolate; }
.doc-stack .pg-num { display: none; }
.doc-stack .pg.ghost { position: absolute; inset: 0; z-index: -1; transform: translate(7px, -7px); border-radius: 4px; background: var(--paper); opacity: .55; box-shadow: 0 6px 14px -8px rgb(0 0 0 / .4); }
.doc-card b { max-width: 100%; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.doc-card small { font-size: 11px; color: var(--win-ink-3); }

/* Sign */
.stage-sign { flex-direction: row; align-items: stretch; gap: 14px; }
.sign-page { position: relative; flex: 1; display: grid; place-items: center; padding: 6px; }
.sign-sheet { position: relative; display: block; width: min(100%, 290px); }
.sign-sheet .pg-paper { width: 100%; }
.sign-box { position: absolute; right: 9%; bottom: 7%; width: 46%; aspect-ratio: 200 / 64; border: 1.5px dashed var(--c); border-radius: 3px; color: #1B2A6B; display: grid; place-items: center; background: rgb(var(--c-rgb) / .06); }
.sign-box .sig { width: 100%; height: 100%; }
.sign-box .hd { border-color: var(--c); width: 8px; height: 8px; }
.sign-strip { flex: none; width: 58px; display: flex; flex-direction: column; gap: 8px; }
.sign-strip .pg-num { font-size: 9px; }

/* Convert (images ⇄ PDF) */
.stage-convert { flex-direction: row; align-items: center; gap: 14px; }
.cv-photos { flex: none; width: 24%; display: flex; flex-direction: column; gap: 8px; }
.cv-photos li { position: relative; }
.cv-photos .mg-num { top: 6px; left: 6px; }
.cv-photo { display: block; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-sm); }
.cv-arrow { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--row); border: 1px solid var(--row-line); color: color-mix(in oklab, var(--c), var(--mix-to) var(--mix-amt)); }
.cv-arrow .i { width: 16px; height: 16px; }
.cv-pages { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.a4 { display: flex; align-items: center; aspect-ratio: 1 / 1.414; padding: 9%; border-radius: 4px; background: var(--paper); box-shadow: 0 8px 18px -10px rgb(0 0 0 / .5); }
.a4-img { display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; }
.cv-pdf { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cv-files { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.cv-files li { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 10px; background: var(--row); border: 1px solid var(--row-line); font-size: 11.5px; min-width: 0; }
.cv-files .i { width: 15px; height: 15px; color: color-mix(in oklab, var(--c), var(--mix-to) var(--mix-amt)); }
.cv-files span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cv-files small { margin-left: auto; font-family: var(--font-mono); font-size: 10px; color: var(--win-ink-3); }
@container stage (max-width: 470px) {
  .stage-convert { flex-direction: column; align-items: stretch; }
  .cv-photos { width: auto; flex-direction: row; }
  .cv-photos li { flex: 1; }
  .cv-arrow { align-self: center; transform: rotate(90deg); }
}

/* ---------------------------------------------------------------- transcript */
.media-chip { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 9px 12px; border-radius: 12px; background: var(--row); border: 1px solid var(--row-line); font-size: 12px; }
.media-chip > .i { width: 16px; height: 16px; color: color-mix(in oklab, var(--c), var(--mix-to) var(--mix-amt)); }
.media-chip b { white-space: nowrap; }
.mini-wave { width: 90px; height: 18px; flex: none; color: rgb(var(--c-rgb) / .75); }
.srt { display: flex; flex-direction: column; gap: 4px; }
.srt li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 3px 8px; padding: 10px 12px; border-radius: 11px; border: 1px solid transparent; }
.srt li.now { background: rgb(var(--c-rgb) / .1); border-color: rgb(var(--c-rgb) / .3); }
.srt li.pending { opacity: .6; }
.srt-n { grid-row: span 2; padding-top: 1px; font-family: var(--font-mono); font-size: 11px; color: var(--win-ink-3); }
.srt-t { font-family: var(--font-mono); font-size: 10.5px; color: color-mix(in oklab, var(--c), var(--mix-to) var(--mix-amt)); }
.srt p, .cue p { margin: 0; font-size: 12.5px; line-height: 1.45; }
.typing { display: inline-block; width: 46%; height: 9px; border-radius: 5px; background: linear-gradient(90deg, var(--ctl-track), var(--ctl-thumb), var(--ctl-track)); background-size: 200% 100%; animation: shimmer 1.6s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
@container stage (max-width: 420px) { .mini-wave { display: none; } }

/* ---------------------------------------------------------------- dictation */
.stage-dictation { align-items: center; justify-content: center; gap: 16px; background: radial-gradient(70% 60% at 50% 40%, rgb(var(--c-rgb) / .1), transparent 70%); }
.dict-pill { display: flex; align-items: center; gap: 10px; max-width: 100%; padding: 8px 15px 8px 12px; border-radius: 999px; background: rgb(22 22 26 / .9); color: #fff; font-size: 12px; box-shadow: var(--shadow-md), inset 0 1px 0 rgb(255 255 255 / .1); }
.dict-pill > .i { width: 14px; height: 14px; color: #FF6961; }
.dict-pill > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill-wave { width: 52px; height: 16px; flex: none; color: rgb(var(--c-rgb)); }
.compose { width: min(100%, 430px); overflow: hidden; border-radius: 12px; background: var(--win-solid); border: 1px solid var(--win-line); box-shadow: var(--shadow-md); font-size: 12px; }
.compose-bar { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: var(--win-side); border-bottom: 1px solid var(--win-line); }
.compose-bar b { font-size: 12px; }
.cl { display: flex; gap: 5px; }
.cl i { width: 9px; height: 9px; border-radius: 50%; background: #FF5F57; }
.cl i:nth-child(2) { background: #FEBC2E; }
.cl i:nth-child(3) { background: #28C840; }
.compose-row { padding: 7px 12px; border-bottom: 1px solid var(--win-line); }
.compose-row span { margin-right: 4px; color: var(--win-ink-3); }
.compose-body { margin: 0; min-height: 96px; padding: 12px; line-height: 1.6; }
.dict-hint { margin: 0; font-size: 11.5px; color: var(--win-ink-3); text-align: center; }
.dict-hint kbd { min-width: 20px; height: 18px; padding: 0 5px; font-size: 10px; border-radius: 4px; }

/* ---------------------------------------------------------------- OCR */
.stage-ocr { flex-direction: row; align-items: center; gap: 16px; }
.receipt {
  flex: none; width: 44%; display: flex; flex-direction: column; gap: 6px; padding: 18px 14px 20px;
  border-radius: 3px; background: #FBFAF5; color: #26262A; font-family: var(--font-mono); font-size: 11px;
  box-shadow: 0 14px 28px -14px rgb(0 0 0 / .55); transform: rotate(-1.8deg);
}
.receipt > span, .receipt > b { padding: 1px 3px; }
.r-title { text-align: center; font-weight: 700; letter-spacing: .1em; }
.receipt > span:nth-child(2) { text-align: center; color: #6B6B70; margin-bottom: 6px; }
.r-row { display: flex; justify-content: space-between; gap: 8px; }
.r-total { margin-top: 6px; padding-top: 6px !important; border-top: 1px dashed #A0A0A6; font-weight: 700; }
.ocr-box { outline: 1.5px solid rgb(var(--c-rgb) / .85); outline-offset: 1px; border-radius: 2px; background: rgb(var(--c-rgb) / .12); }
.ocr-out { flex: 1; min-width: 0; align-self: stretch; display: flex; flex-direction: column; overflow: hidden; border-radius: 12px; background: var(--row); border: 1px solid var(--row-line); }
.ocr-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px 8px 12px; border-bottom: 1px solid var(--row-line); font-size: 11px; font-weight: 600; color: var(--win-ink-2); }
.ocr-out pre { margin: 0; padding: 12px; font-family: var(--font-mono); font-size: 11px; line-height: 1.65; white-space: pre-wrap; color: var(--win-ink); }
@container stage (max-width: 470px) { .stage-ocr { flex-direction: column; align-items: stretch; } .receipt { width: auto; } }

/* ---------------------------------------------------------------- summary */
.sum-src { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--row); border: 1px solid var(--row-line); }
.sum-src > .i { width: 20px; height: 20px; color: color-mix(in oklab, var(--c), var(--mix-to) var(--mix-amt)); }
.sum-src b { display: block; font-size: 12.5px; }
.sum-src small { font-size: 11px; color: var(--win-ink-3); }
.sum-card { padding: 14px 16px 16px; border-radius: 14px; border: 1px solid rgb(var(--c-rgb) / .32); background: linear-gradient(180deg, rgb(var(--c-rgb) / .1), transparent 70%), var(--row); }
.sum-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.sum-head b { font-size: 13px; }
.sum-card ul { display: flex; flex-direction: column; gap: 10px; }
.sum-card li { position: relative; padding-left: 16px; font-size: 12.5px; line-height: 1.5; }
.sum-card li::before { content: ''; position: absolute; left: 2px; top: .58em; width: 6px; height: 6px; border-radius: 50%; background: var(--c); }

/* ---------------------------------------------------------------- translate */
.stage-translate { flex-direction: row; gap: 10px; }
.stage-translate { flex-wrap: wrap; align-content: flex-start; }
.stage-translate .s-foot { flex-basis: 100%; }
.tr-col { flex: 1; align-self: flex-start; min-width: 0; display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 12px; background: var(--row); border: 1px solid var(--row-line); }
.tr-col.is-out { border-color: rgb(var(--c-rgb) / .35); background: linear-gradient(180deg, rgb(var(--c-rgb) / .09), transparent 70%), var(--row); }
.tr-lang { font-size: 10.5px; font-weight: 650; text-transform: uppercase; letter-spacing: .07em; color: var(--win-ink-3); }
.cue { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 2px 6px; }
.cue .srt-n { grid-row: span 2; }
@container stage (max-width: 450px) { .stage-translate { flex-direction: column; flex-wrap: nowrap; } .tr-col { align-self: stretch; } }

/* ---------------------------------------------------------------- search files */
.sf-query { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-radius: 12px; background: var(--ctl-field); border: 1px solid var(--win-line); font-size: 14px; box-shadow: 0 0 0 3px rgb(var(--c-rgb) / .16); }
.sf-query .i { width: 16px; height: 16px; color: var(--win-ink-3); }
.sf-query span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sf-results { display: flex; flex-direction: column; gap: 6px; }
.sf-results li { display: flex; align-items: flex-start; gap: 10px; padding: 11px 12px; border-radius: 12px; background: var(--row); border: 1px solid var(--row-line); }
.sf-results li:first-child { border-color: rgb(var(--c-rgb) / .38); background: rgb(var(--c-rgb) / .08); }
.sf-results li > .i { width: 18px; height: 18px; margin-top: 1px; color: color-mix(in oklab, var(--c), var(--mix-to) var(--mix-amt)); }
.sf-text { flex: 1; min-width: 0; }
.sf-text b { display: block; font-size: 12.5px; }
.sf-text small { display: block; margin-top: 2px; font-size: 11.5px; line-height: 1.45; color: var(--win-ink-2); }
.sf-tag { flex: none; padding: 2px 7px; border-radius: 6px; font-size: 10px; font-weight: 650; background: var(--ctl-track); color: var(--win-ink-2); }

/* ---------------------------------------------------------------- rename */
.stage-rename { gap: 6px; }
.rn-head, .rn-row { display: grid; grid-template-columns: minmax(0, 1fr) 16px minmax(0, 1fr); align-items: center; gap: 10px; }
.rn-head { padding: 0 12px 4px; font-size: 10.5px; font-weight: 650; text-transform: uppercase; letter-spacing: .07em; color: var(--win-ink-3); }
.rn-row { padding: 9px 12px; border-radius: 10px; background: var(--row); border: 1px solid var(--row-line); font-family: var(--font-mono); font-size: 11.5px; }
.rn-row .i { width: 13px; height: 13px; color: var(--win-ink-3); }
.rn-old { color: var(--win-ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rn-new { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rn-new mark { padding: 0 2px; border-radius: 3px; background: rgb(var(--c-rgb) / .28); color: var(--win-ink); }

/* ---------------------------------------------------------------- text to speech */
.stage-tts { gap: 10px; }
.tts-pair { display: flex; align-items: center; gap: 12px; }
.tts-doc, .tts-audio { flex: 1; min-width: 0; align-self: stretch; display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 12px; background: var(--row); border: 1px solid var(--row-line); }
.tts-audio { border-color: rgb(var(--c-rgb) / .35); background: linear-gradient(180deg, rgb(var(--c-rgb) / .1), transparent 70%), var(--row); }
.tts-name { display: flex; align-items: center; gap: 7px; min-width: 0; font-size: 12px; }
.tts-name .i { width: 15px; height: 15px; flex: none; color: color-mix(in oklab, var(--c), var(--mix-to) var(--mix-amt)); }
.tts-name b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tts-name small { margin-left: auto; flex: none; font-family: var(--font-mono); font-size: 10.5px; color: var(--win-ink-3); }
.tts-doc p { margin: 0; font-size: 12px; line-height: 1.55; color: var(--win-ink-2); }
.tts-wave { flex: 1; min-height: 60px; color: rgb(var(--c-rgb) / .9); }
.tts-voice { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 11px; color: var(--win-ink-2); }
.tts-voice > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@container stage (max-width: 470px) {
  .tts-pair { flex-direction: column; align-items: stretch; }
  .tts-pair .cv-arrow { align-self: center; transform: rotate(90deg); }
}

/* ---------------------------------------------------------------- upscale */
.ba-up { min-height: 220px; }
.ba-up > .ba-layer:first-child > .scene { filter: blur(2.4px) saturate(.85); transform: scale(1.04); }
.up-list { display: flex; flex-direction: column; gap: 6px; }
.up-list li { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 8px 12px; border-radius: 10px; background: var(--row); border: 1px solid var(--row-line); font-size: 12px; }
.up-list li > .i { width: 15px; height: 15px; flex: none; color: color-mix(in oklab, var(--c), var(--mix-to) var(--mix-amt)); }
.up-list li > span:first-of-type { flex: 1; min-width: 0; font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.up-list li > small { flex: none; font-family: var(--font-mono); font-size: 10.5px; color: var(--win-ink-3); white-space: nowrap; }
.qr-label { margin-top: 4px; font-size: 10.5px; font-weight: 650; text-transform: uppercase; letter-spacing: .07em; color: var(--win-ink-3); }
.ba-foot > span { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.ba-foot .i { width: 13px; height: 13px; flex: none; }

/* ---------------------------------------------------------------- watermark */
.stage-wm { gap: 10px; }
.wm-preview { position: relative; flex: 1; min-height: 210px; border-radius: 12px; overflow: hidden; container-type: inline-size; }
.wm-preview > .scene { position: absolute; inset: 0; }
.wm-mark {
  position: absolute; z-index: 1; right: 4%; bottom: 5%;
  font-size: 3.6cqi; font-weight: 650; line-height: 1; letter-spacing: .01em; white-space: nowrap;
  color: rgb(255 255 255 / .7); text-shadow: 0 1px 2px rgb(0 0 0 / .3);
}
.wm-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.wm-item { min-width: 0; margin: 0; padding: 6px; border-radius: 12px; background: var(--row); border: 1px solid var(--row-line); }
.wm-img { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--ctl-track); container-type: inline-size; }
.wm-img > .scene { position: absolute; inset: 0; }
.wm-page { position: relative; width: 52%; aspect-ratio: 1 / 1.32; container-type: inline-size; }
.wm-page .pg-paper { width: 100%; height: 100%; }
.wm-page .wm-mark { color: var(--paper-head); opacity: .75; text-shadow: none; font-size: 8cqi; }
.wm-item figcaption { padding: 6px 3px 1px; font-size: 10.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@container stage (max-width: 470px) { .wm-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------------------------------------------------------------- QR codes */
.qr-main { display: flex; align-items: center; gap: 16px; }
.qr-card {
  flex: none; width: 42%; max-width: 230px; display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 12px 12px 10px; border-radius: 16px; background: #fff; color: #1C1C20; box-shadow: var(--shadow-md);
  font-family: var(--font-mono); font-size: 11px;
}
.qr { display: block; width: 100%; height: auto; }
.qr-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.qr-info li { display: grid; grid-template-columns: 16px auto minmax(0, 1fr); align-items: center; gap: 10px; padding: 9px 12px; border-radius: 11px; background: var(--row); border: 1px solid var(--row-line); font-size: 11.5px; }
.qr-info li > .i { width: 14px; height: 14px; color: color-mix(in oklab, var(--c), var(--mix-to) var(--mix-amt)); }
.qr-info span { color: var(--win-ink-3); white-space: nowrap; }
.qr-info b { min-width: 0; text-align: right; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qr-info b.mono { font-weight: 500; font-size: 11px; }
@container stage (max-width: 470px) {
  .qr-main { flex-direction: column; align-items: stretch; }
  .qr-card { width: 58%; align-self: center; }
}

/* ---------------------------------------------------------------- make PDF searchable */
.sp-layer { flex: none; }
.sp-layer .ocr-head > span:first-child { display: flex; align-items: center; gap: 6px; }
.sp-layer .ocr-head .i { width: 13px; height: 13px; color: color-mix(in oklab, var(--c), var(--mix-to) var(--mix-amt)); }
.sp-layer p { margin: 0; padding: 12px; font-family: var(--font-mono); font-size: 11px; line-height: 1.65; color: var(--win-ink-2); }
.pg.is-scan .pg-paper { background: linear-gradient(172deg, var(--paper), color-mix(in oklab, var(--paper), #9A8F7A 16%)); transform: rotate(-.7deg); }
.pg.is-scan:nth-child(even) .pg-paper { transform: rotate(.6deg); }
.pg-paper i.hit { height: 5%; background: #FFCB2E; }
.pg-badge.muted-badge { background: var(--win-ink-3); }
.stage-ocrpdf .pg-hint { margin-top: 0; }

/* ---------------------------------------------------------------- find duplicates */
.stage-dupes { gap: 10px; }
.dp-group { display: flex; flex-direction: column; gap: 4px; padding: 8px; border-radius: 13px; background: var(--row); border: 1px solid var(--row-line); }
.dp-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; min-width: 0; padding: 2px 4px 4px; font-size: 11.5px; }
.dp-head b { font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-head span { flex: none; font-size: 10.5px; color: var(--win-ink-3); }
.dp-row { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 5px 8px 5px 6px; border-radius: 9px; }
.dp-row.is-keep { background: var(--pos-bg); }
.dp-row .fthumb { width: 44px; height: 32px; }
.cb { flex: none; width: 16px; height: 16px; display: grid; place-items: center; border-radius: 5px; border: 1.5px solid var(--win-ink-3); }
.cb.on { border-color: var(--c); background: var(--c); color: #fff; }
.cb .i { width: 10px; height: 10px; stroke-width: 3.2; }
.dp-date { flex: none; font-family: var(--font-mono); font-size: 10.5px; color: var(--win-ink-3); }
.dp-keep { flex: none; padding: 2px 6px; border-radius: 6px; font-style: normal; font-size: 10px; font-weight: 650; color: var(--pos); background: var(--pos-bg); }
.dp-foot .s-path { font-family: inherit; font-size: 11.5px; }
@container stage (max-width: 470px) { .dp-date { display: none; } }
@container stage (max-width: 360px) { .dp-row .fthumb { display: none; } }

/* ---------------------------------------------------------------- zip */
.zp-tree { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; padding: 10px; border-radius: 12px; background: var(--row); border: 1px solid var(--row-line); font-size: 12px; }
.zp-tree li { --lvl: 0; display: flex; align-items: center; gap: 7px; min-width: 0; padding: 4px 6px 4px calc(6px + var(--lvl) * 16px); border-radius: 6px; }
.zp-tree .d1 { --lvl: 1; }
.zp-tree .d2 { --lvl: 2; }
.zp-tree .i { width: 14px; height: 14px; flex: none; color: color-mix(in oklab, var(--c), var(--mix-to) var(--mix-amt)); }
.zp-tree span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zp-tree .is-out { color: var(--win-ink-3); }
.zp-tree .is-out span { text-decoration: line-through; }
.zp-tree .is-out .i { color: var(--win-ink-3); }
.zp-tree em { margin-left: auto; flex: none; padding: 2px 6px; border-radius: 5px; font-style: normal; font-size: 10px; font-weight: 650; color: var(--neg); background: var(--neg-bg); }
.zp-card { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 18px 14px 14px; border-radius: 14px; text-align: center; border: 1px solid rgb(var(--c-rgb) / .35); background: linear-gradient(180deg, rgb(var(--c-rgb) / .1), transparent 70%), var(--row); }
.zp-icon { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 8px; border-radius: 14px; color: #fff; background: linear-gradient(145deg, var(--c-hi), var(--c)); box-shadow: 0 10px 22px -10px rgb(var(--c-rgb) / .8); }
.zp-icon .i { width: 26px; height: 26px; }
.zp-card b { max-width: 100%; font-size: 13px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zp-card small { font-family: var(--font-mono); font-size: 10.5px; color: var(--win-ink-3); }
.zp-checks { align-self: stretch; display: flex; flex-direction: column; gap: 6px; margin-top: 12px; text-align: left; }
.zp-checks li { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 7px 10px; border-radius: 9px; background: var(--row); border: 1px solid var(--row-line); font-size: 11.5px; }
.zp-checks .i { width: 13px; height: 13px; flex: none; color: var(--pos); }
.zp-checks li:last-child .i { color: var(--win-ink-3); }

/* ---------------------------------------------------------------- studio (home story) */
.stage-studio { gap: 12px; padding: 12px; }
.st-canvas { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; container-type: inline-size; }
.st-wall { position: absolute; inset: 0; }
.st-rec { position: absolute; inset: 9% 11%; border-radius: 9px; overflow: hidden; box-shadow: 0 24px 50px -16px rgb(0 0 0 / .7); }
.st-zoom { position: absolute; inset: 0; transform-origin: 70% 60%; transform: scale(1.5); animation: studio-zoom 10s var(--ease) infinite; }
.st-zoom .scene { position: absolute; inset: 0; }
.st-click { position: absolute; left: 70%; top: 60%; width: 16px; height: 16px; margin: -8px; border-radius: 50%; border: 2px solid #5B6CFF; background: rgb(91 108 255 / .25); animation: ripple 2s ease-out infinite; }
@keyframes studio-zoom { 0%, 18% { transform: scale(1); } 30%, 72% { transform: scale(1.5); } 86%, 100% { transform: scale(1); } }
@keyframes ripple { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }
.st-zoom-tag { position: absolute; left: 10px; top: 10px; display: flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: rgb(0 0 0 / .55); color: #fff; font-size: 11px; font-weight: 600; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.st-zoom-tag .i { width: 12px; height: 12px; }
.st-cam { position: absolute; right: 5%; bottom: 7%; width: 14%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 2px solid #fff; box-shadow: 0 10px 24px -6px rgb(0 0 0 / .55); }
.st-caption { position: absolute; left: 50%; bottom: 14%; transform: translateX(-50%); padding: 4px 12px; border-radius: 6px; background: rgb(0 0 0 / .74); color: #fff; font-size: clamp(9px, 2.4cqi, 14px); font-weight: 650; white-space: nowrap; }
.st-timeline { display: flex; flex-direction: column; gap: 6px; }
.st-timeline .ruler { padding-left: 30px; }
.st-lanes { position: relative; display: flex; flex-direction: column; gap: 5px; }
.st-lane { position: relative; height: 24px; }
.st-lab { position: absolute; left: 0; top: 50%; width: 22px; height: 22px; display: grid; place-items: center; transform: translateY(-50%); color: var(--win-ink-3); }
.st-lab .i { width: 13px; height: 13px; }
.st-track, .st-headwrap { position: absolute; left: 30px; right: 0; top: 0; bottom: 0; }
.st-headwrap { top: -4px; bottom: -4px; pointer-events: none; }
.blk { position: absolute; top: 0; bottom: 0; display: flex; align-items: center; padding: 0 7px; overflow: hidden; border-radius: 6px; font-size: 10px; white-space: nowrap; color: var(--win-ink); }
.blk.clip { padding: 0; border: 1px solid rgb(91 108 255 / .8); }
.blk.clip .strip { position: absolute; inset: 0; width: 100%; height: 100%; }
.blk.clip em { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); padding: 1px 5px; border-radius: 4px; background: rgb(0 0 0 / .6); color: #fff; font-style: normal; font-family: var(--font-mono); font-size: 9.5px; font-weight: 700; }
.blk.zoom { background: rgb(176 92 255 / .32); border: 1px solid rgb(176 92 255 / .7); }
.blk.cap { background: rgb(20 184 212 / .26); border: 1px solid rgb(20 184 212 / .55); }
.blk.cap.on { background: rgb(20 184 212 / .75); color: #fff; }
.blk.music { padding: 3px 6px; color: rgb(31 181 122); background: rgb(31 181 122 / .16); border: 1px solid rgb(31 181 122 / .5); }
.blk-wave { height: 100%; }

/* ---------------------------------------------------------------- meeting (home story) */
.stage-meeting { flex-direction: row; align-items: stretch; gap: 10px; }
.mt-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; padding: 12px; border-radius: 12px; background: var(--row); border: 1px solid var(--row-line); }
.mt-label { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 650; color: var(--win-ink-2); }
.mt-label .i { width: 13px; height: 13px; color: color-mix(in oklab, var(--c), var(--mix-to) var(--mix-amt)); }
.mt-tx { display: flex; flex-direction: column; gap: 10px; }
.mt-tx li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 6px; }
.mt-tx time { padding-top: 1px; font-family: var(--font-mono); font-size: 10.5px; color: color-mix(in oklab, var(--c), var(--mix-to) var(--mix-amt)); }
.mt-tx p { font-size: 12px; line-height: 1.45; }
.mt-tx b, .mt-sum li b { display: block; font-size: 10.5px; font-weight: 650; color: var(--win-ink-3); }
.mt-arrow { flex: none; align-self: center; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--c); color: #fff; box-shadow: 0 6px 16px -6px rgb(var(--c-rgb) / .8); }
.mt-arrow .i { width: 15px; height: 15px; }
.mt-sum { border-color: rgb(var(--c-rgb) / .35); background: linear-gradient(180deg, rgb(var(--c-rgb) / .1), transparent 60%), var(--row); }
.mt-sum ul { display: flex; flex-direction: column; gap: 11px; }
.mt-sum li { position: relative; padding-left: 22px; font-size: 12px; line-height: 1.4; }
.mt-sum li::before { content: ''; position: absolute; left: 0; top: 2px; width: 13px; height: 13px; border-radius: 4px; border: 1.5px solid var(--c); }
.mt-sum .ondevice { margin: auto 0 0; align-self: flex-start; }
@container stage (max-width: 470px) { .stage-meeting { flex-direction: column; } .mt-arrow { transform: rotate(90deg); } }

/* ---------------------------------------------------------------- home / smart drop (home story) */
.stage-home { gap: 14px; padding-bottom: 132px; }
.hm-drop { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 22px 16px; border-radius: 14px; border: 1.5px dashed rgb(var(--c-rgb) / .55); background: rgb(var(--c-rgb) / .06); }
.hm-file { display: flex; align-items: center; gap: 10px; padding: 7px 14px 7px 7px; border-radius: 12px; background: var(--win-solid); border: 1px solid var(--win-line); box-shadow: var(--shadow-md); animation: drop-in 7s var(--ease) infinite; }
.hm-file b { display: block; font-size: 12.5px; }
.hm-file small { font-size: 11px; color: var(--win-ink-3); }
@keyframes drop-in { 0% { transform: translateY(-26px) rotate(-4deg); opacity: 0; } 10%, 100% { transform: none; opacity: 1; } }
.hm-hint { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 650; color: color-mix(in oklab, var(--c), var(--mix-to) var(--mix-amt)); }
.hm-hint .i { width: 14px; height: 14px; }
.hm-suggest { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.hm-tool { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 8px 10px 8px 8px; border-radius: 12px; background: var(--row); border: 1px solid var(--row-line); font-size: 12px; font-weight: 550; }
.hm-tool > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-tool .tile .i { filter: none; }
.hm-result { position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--row); border: 1px solid var(--row-line); }
.hm-chip { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 12px; }
.hm-chip b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.hm-chip .ok { width: 16px; height: 16px; flex: none; }
.hm-send { margin-left: auto; flex: none; display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px 0 12px; border-radius: 999px; background: var(--c); color: #fff; font-size: 12px; font-weight: 600; }
.hm-send .i { width: 13px; height: 13px; }
.hm-menu { position: absolute; z-index: 3; right: 10px; top: calc(100% + 6px); width: 210px; display: flex; flex-direction: column; padding: 5px; border-radius: 12px; background: var(--glass-strong); border: 1px solid var(--win-line); box-shadow: var(--shadow-lg); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.hm-menu > span { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 7px; font-size: 12px; white-space: nowrap; }
.hm-menu > span.on { background: var(--c); color: #fff; }
.hm-menu .tile { border-radius: 5px; }
.hm-menu .tile .i { filter: none; stroke-width: 2.2; }
@container stage (max-width: 520px) { .hm-suggest { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* tool.css */
/* ==========================================================================
   Tool pages
   ========================================================================== */
.breadcrumb { padding-top: 22px; font-size: 13.5px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px 8px; color: var(--ink-3); }
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: '/'; color: var(--ink-4); }
.breadcrumb a { color: var(--ink-2); text-decoration: none; border-radius: 4px; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 500; }

.tool-hero { position: relative; padding-top: clamp(40px, 6vw, 72px); }
.tool-bloom {
  position: absolute; left: 0; right: 0; top: -80px; height: 1300px; z-index: -1; pointer-events: none; opacity: var(--bloom);
  background:
    radial-gradient(30% 24% at 50% 14%, rgb(var(--c-rgb) / .36), transparent 72%),
    radial-gradient(44% 30% at 50% 62%, rgb(var(--c-rgb) / .22), transparent 72%),
    radial-gradient(24% 20% at 18% 40%, rgb(var(--c-rgb) / .12), transparent 70%),
    radial-gradient(24% 20% at 82% 40%, rgb(var(--c-rgb) / .12), transparent 70%);
}
.tool-hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.tool-hero-tile .tile { box-shadow: inset 0 1px 0 rgb(255 255 255 / .4), inset 0 -1px 0 rgb(0 0 0 / .2), 0 18px 40px -12px rgb(var(--c-rgb) / .75), 0 0 0 1px rgb(255 255 255 / .06); }
.tool-eyebrow { margin-top: 26px; }
.display-tool { margin: 18px 0 24px; font-size: clamp(2.3rem, 1.1rem + 4.1vw, 4.25rem); letter-spacing: -.045em; }
.tool-lede { max-width: 37em; margin-bottom: 34px; }
.tool-mock { margin-top: clamp(52px, 7vw, 92px); }

/* How it works */
.how .section-head, .details .section-head { margin-bottom: clamp(32px, 5vw, 56px); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.step { min-width: 0; display: flex; flex-direction: column; padding: 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.step-num { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-3); letter-spacing: .08em; }
.step-visual {
  height: 132px; margin: 16px 0 22px; padding: 16px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  border-radius: 15px; overflow: hidden;
  background: radial-gradient(80% 90% at 50% 0%, rgb(var(--c-rgb) / .14), transparent 70%), var(--win-stage);
  border: 1px solid var(--win-line); color: var(--win-ink);
}
.step h3 { font-size: 18px; font-weight: 620; letter-spacing: -.018em; line-height: 1.3; margin-bottom: 8px; }
.step p { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.mini-launch {
  display: flex; align-items: center; gap: 8px; width: 100%; max-width: 290px; height: 44px; padding: 0 10px 0 12px;
  border-radius: 13px; background: var(--glass-strong); border: 1px solid var(--line-2);
  box-shadow: var(--shadow-md), inset 0 1px 0 var(--glass-hi);
  font-size: 15px; color: var(--win-ink);
}
.mini-launch > .i { width: 16px; height: 16px; color: var(--win-ink-3); }
.mini-launch .caret { height: 18px; margin-left: -6px; }
.mini-launch .keys { margin-left: auto; }
.mini-q { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-ctl { width: 100%; max-width: 270px; padding: 12px 14px; border-radius: 13px; background: var(--win-side); border: 1px solid var(--win-line); }
.mini-primary { padding: 9px 26px; border-radius: 999px; color: #fff; font-size: 14px; font-weight: 620; background: linear-gradient(180deg, var(--c-hi), var(--c) 70%); box-shadow: inset 0 1px 0 rgb(255 255 255 / .35), 0 10px 24px -10px rgb(var(--c-rgb) / .9); }
.mini-folder { display: flex; align-items: center; gap: 6px; max-width: 100%; font-family: var(--font-mono); font-size: 11px; color: var(--win-ink-2); }
.mini-folder .i { width: 13px; height: 13px; flex: none; color: color-mix(in oklab, var(--c), var(--mix-to) var(--mix-amt)); }
.mini-folder { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; text-align: center; }
.mini-folder .i { display: inline-block; vertical-align: -2px; margin-right: 6px; }
@media (max-width: 900px) { .steps { grid-template-columns: minmax(0, 1fr); } .step-visual { height: 120px; } }

/* Details (bento by count) */
.detail-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.detail-card { grid-column: span 2; padding: 26px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .25s, background-color .25s; }
.detail-card:hover { transform: translateY(-2px); border-color: var(--line-2); background: var(--surface-2); }
.detail-grid:has(> :nth-child(4):last-child) > .detail-card { grid-column: span 3; }
.detail-grid:has(> :nth-child(5):last-child) > .detail-card:nth-child(-n+2) { grid-column: span 3; }
.detail-icon {
  width: 42px; height: 42px; margin-bottom: 20px; border-radius: 13px;
  display: grid; place-items: center;
  color: color-mix(in oklab, var(--c), var(--mix-to) var(--mix-amt));
  background: rgb(var(--c-rgb) / .13); border: 1px solid rgb(var(--c-rgb) / .24);
}
.detail-icon .i { width: 20px; height: 20px; }
.detail-card h3 { font-size: 17px; font-weight: 620; letter-spacing: -.015em; line-height: 1.3; margin-bottom: 8px; }
.detail-card p { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
@media (max-width: 960px) {
  .detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-grid > .detail-card, .detail-grid:has(> :nth-child(4):last-child) > .detail-card, .detail-grid:has(> :nth-child(5):last-child) > .detail-card:nth-child(-n+2) { grid-column: span 1; }
  .detail-grid:has(> :nth-child(5):last-child) > .detail-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .detail-grid { grid-template-columns: minmax(0, 1fr); }
  .detail-grid:has(> :nth-child(5):last-child) > .detail-card:last-child { grid-column: auto; }
}

/* Spec */
.spec-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.spec-intro .h2, .tool-faq .faq-intro .h2 { margin: 16px 0 18px; font-size: clamp(1.9rem, 1.3rem + 1.7vw, 2.7rem); }
.spec-tile { display: flex; align-items: center; gap: 14px; margin-top: 30px; padding: 14px 18px 14px 14px; width: fit-content; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.spec-tile b { display: block; font-size: 15px; font-weight: 620; }
.spec-tile small { display: block; font-size: 13px; color: var(--ink-3); }
.spec-card { border-radius: var(--radius-lg); overflow: hidden; background: var(--glass); border: 1px solid var(--line); box-shadow: inset 0 1px 0 var(--glass-hi); }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th {
  width: 150px; padding: 19px 22px; text-align: left; vertical-align: top;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3);
}
.spec-table td { padding: 17px 22px; font-size: 15.5px; line-height: 1.55; color: var(--ink); }
.token { display: inline-block; padding: 0 7px; border-radius: 6px; font-family: var(--font-mono); font-size: .82em; line-height: 1.6; color: var(--ink-2); background: var(--surface-3); border: 1px solid var(--line); vertical-align: 1px; }
.spec-table tr + tr > * { border-top: 1px solid var(--line); }
.spec-list { display: grid; gap: 4px; }
.spec-list li { position: relative; padding-left: 16px; }
.spec-list li::before { content: ''; position: absolute; left: 1px; top: .68em; width: 5px; height: 5px; border-radius: 50%; background: color-mix(in oklab, var(--c), var(--mix-to) var(--mix-amt)); }
@media (max-width: 900px) { .spec-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) {
  .spec-table, .spec-table tbody, .spec-table tr, .spec-table th, .spec-table td { display: block; width: auto; }
  .spec-table th { padding: 16px 18px 2px; }
  .spec-table td { padding: 4px 18px 16px; }
  .spec-table tr + tr > td { border-top: 0; }
}

/* Related */
.related { padding-top: 0; }
.related .h3 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); letter-spacing: -.03em; }
.tool-faq { padding-bottom: clamp(64px, 8vw, 120px); }

/* pages.css */
/* ==========================================================================
   Privacy, Terms, Download, 404
   ========================================================================== */
.page-hero { position: relative; padding: clamp(56px, 9vw, 120px) 0 clamp(32px, 5vw, 56px); }
.page-bloom {
  position: absolute; left: 0; right: 0; top: -80px; height: 900px; z-index: -1; pointer-events: none; opacity: var(--bloom);
  background:
    radial-gradient(32% 32% at 30% 20%, rgb(91 108 255 / .26), transparent 70%),
    radial-gradient(28% 30% at 72% 26%, rgb(176 92 255 / .2), transparent 70%);
}
.display-page { margin: 18px 0 22px; font-size: clamp(2.4rem, 1.4rem + 3.8vw, 4.6rem); }
.updated { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 13px; color: var(--ink-3); }
.updated .i { width: 14px; height: 14px; }

.legal { padding-top: 0; }
.legal-summary { margin-bottom: 56px; padding: 28px; border-radius: var(--radius-lg); background: var(--glass); border: 1px solid var(--line-2); box-shadow: inset 0 1px 0 var(--glass-hi); }
.legal-summary .h3 { margin-bottom: 18px; font-size: 1.15rem; }
.prose { color: var(--ink-2); font-size: 16.5px; line-height: 1.75; }
.prose h2 { margin: 48px 0 12px; color: var(--ink); font-size: 1.35rem; font-weight: 620; letter-spacing: -.02em; line-height: 1.3; }
.prose h2:first-child { margin-top: 0; }
.prose p + p { margin-top: 14px; }

/* Download */
.download-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.licence-form { margin-top: 36px; max-width: 560px; }
.field-label { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 600; }
.licence-row { display: flex; gap: 10px; }
.licence-row input {
  flex: 1; min-width: 0; height: 52px; padding: 0 16px;
  border-radius: 14px; border: 1px solid var(--line-2); background: var(--glass-strong);
  box-shadow: inset 0 1px 0 var(--glass-hi);
  font-family: var(--font-mono); font-size: 15px; letter-spacing: .04em; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.licence-row input::placeholder { color: var(--ink-4); }
.licence-row input:focus-visible { outline: none; border-color: var(--focus); box-shadow: 0 0 0 4px var(--focus-ring); }
.licence-row .btn { height: 52px; padding: 0 22px; }
.field-help { margin-top: 10px; font-size: 13.5px; color: var(--ink-3); }
.licence-message { margin-top: 18px; padding: 16px 18px; border-radius: 14px; font-size: 15px; line-height: 1.55; color: var(--ink); background: rgb(91 108 255 / .12); border: 1px solid rgb(91 108 255 / .32); }
.licence-message.is-error { background: var(--neg-bg); border-color: color-mix(in oklab, var(--neg) 40%, transparent); }
.licence-message:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.download-buy { margin-top: 28px; font-size: 15px; color: var(--ink-2); }
.download-buy a { color: var(--ink); }
.download-card { padding: 30px; border-radius: var(--radius-xl); background: var(--glass); border: 1px solid var(--line-2); box-shadow: var(--shadow-lg), inset 0 1px 0 var(--glass-hi); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
.download-mark { border-radius: 27%; margin-bottom: 22px; filter: drop-shadow(0 12px 28px rgb(124 108 255 / .45)); }
.download-card .h3 { margin-bottom: 18px; }
.req-list { display: grid; gap: 16px; }
.req-list li { display: flex; gap: 14px; align-items: flex-start; }
.req-list .i { width: 20px; height: 20px; margin-top: 2px; color: var(--ink-2); }
.req-list b { display: block; font-size: 15px; font-weight: 600; }
.req-list small { display: block; font-size: 13.5px; color: var(--ink-3); line-height: 1.5; }
.download-shortcut { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
@media (max-width: 900px) { .download-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .licence-row { flex-direction: column; } .licence-row .btn { width: 100%; } }

/* 404 */
.notfound .lede { max-width: 32em; margin-inline: auto; }
.notfound .launcher { text-align: left; }
