/* Toolyn website. "Candy Case" from the app (docs/design.md): warm bone case,
   milk-acrylic cards, candy-flavored categories, one tomato-red key per view.
   System fonts only (Segoe UI and Cascadia Mono on Windows, like the app). */

:root {
  color-scheme: light;
  --canvas: #ece7de;
  --canvas-2: #f3efe8;
  --panel: #fcfaf6;
  --sunken: #e4ded3;
  --ink: #221c16;
  --muted: #645a4e;
  --faint: #a49a8c;
  --border: #ded6ca;
  --hairline: #e8e1d6;
  --mat: rgba(34, 28, 22, 0.075);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 -1px 0 rgba(120, 100, 80, 0.10) inset, 0 10px 28px -12px rgba(80, 56, 32, 0.28), 0 2px 6px -2px rgba(80, 56, 32, 0.14);
  --shadow-lift: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 -1px 0 rgba(120, 100, 80, 0.10) inset, 0 22px 44px -16px rgba(80, 56, 32, 0.36), 0 4px 10px -4px rgba(80, 56, 32, 0.18);
  --accent: #e23e26;
  --accent-deep: #c4321b;
  --accent-text: #b5321a;
  --coral: #ff805e;
  --on-accent: #ffffff;

  /* The keynote stage: espresso, always dark. */
  --stage: #15120f;
  --stage-2: #1b1714;
  --stage-panel: #211c18;
  --stage-border: #342e27;
  --stage-ink: #f2ece2;
  --stage-muted: #b3a998;

  /* Category flavors (crates/toolcase-core/src/design.rs, category_color). */
  --capture: #629274;
  --video: #0894b0;
  --audio: #ea5a9a;
  --images: #60b01c;
  --docs: #386ade;
  --text: #e6a60c;
  --files: #f07c16;
  --system: #7c746c;
  --developer: #96603c;

  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --font-heavy: "Segoe UI Black", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Cascadia Mono", "Cascadia Code", Consolas, ui-monospace, "SF Mono", Menlo, monospace;

  --radius-card: 22px;
  --radius-key: 14px;
  --radius-control: 10px;
  --gutter: 16px;
  --max: 1200px;
  --header-h: 64px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --canvas: #15120f;
    --canvas-2: #1a1613;
    --panel: #201b17;
    --sunken: #0f0d0b;
    --ink: #f2ece2;
    --muted: #b3a998;
    --faint: #7d7366;
    --border: #342e27;
    --hairline: #2a251f;
    --mat: rgba(242, 236, 226, 0.06);
    --shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 12px 30px -14px rgba(0, 0, 0, 0.8);
    --shadow-lift: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 24px 46px -18px rgba(0, 0, 0, 0.9);
    --accent-text: #ff8a68;
    --stage: #0d0b09;
    --stage-2: #12100d;
    --stage-panel: #1c1814;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #15120f;
  --canvas-2: #1a1613;
  --panel: #201b17;
  --sunken: #0f0d0b;
  --ink: #f2ece2;
  --muted: #b3a998;
  --faint: #7d7366;
  --border: #342e27;
  --hairline: #2a251f;
  --mat: rgba(242, 236, 226, 0.06);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 12px 30px -14px rgba(0, 0, 0, 0.8);
  --shadow-lift: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 24px 46px -18px rgba(0, 0, 0, 0.9);
  --accent-text: #ff8a68;
  --stage: #0d0b09;
  --stage-2: #12100d;
  --stage-panel: #1c1814;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 400 17px/1.55 var(--font);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
ul { padding: 0; margin: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--panel); color: var(--ink); padding: 10px 16px; border-radius: 10px; box-shadow: var(--shadow); }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 28px; } }

/* Technical labels: mono capitals, like the app's overlines. */
.overline {
  font: 600 12px/1.2 var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
}
.overline .sq { width: 18px; height: 7px; border-radius: 4px; background: var(--hue, var(--accent)); flex: none; transform: rotate(-38deg); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset; }
.mono { font-family: var(--font-mono); }

/* ---------- Keys (buttons) ---------- */
.btn {
  --face: var(--panel);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1px solid var(--border);
  background: var(--face); color: var(--ink);
  font: 650 16px/1 var(--font); text-decoration: none; cursor: pointer;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset, 0 -2px 0 rgba(120, 100, 80, 0.14) inset, 0 6px 14px -8px rgba(80, 56, 32, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); box-shadow: 0 1px 2px rgba(80, 56, 32, 0.25) inset; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary {
  border-color: #b22c16;
  background: linear-gradient(180deg, #ec5034 0%, var(--accent) 45%, var(--accent-deep) 100%);
  color: var(--on-accent);
  text-shadow: 0 1px 0 rgba(120, 20, 0, 0.35);
  box-shadow: 0 1px 0 rgba(255, 210, 195, 0.7) inset, 0 -2px 0 rgba(120, 20, 0, 0.25) inset, 0 10px 22px -10px rgba(226, 62, 38, 0.8);
}
.btn-primary:hover { box-shadow: 0 1px 0 rgba(255, 210, 195, 0.7) inset, 0 -2px 0 rgba(120, 20, 0, 0.25) inset, 0 14px 26px -10px rgba(226, 62, 38, 0.9); }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
:root[data-theme="dark"] .btn:not(.btn-primary) { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 6px 14px -8px rgba(0, 0, 0, 0.8); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn:not(.btn-primary) { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 6px 14px -8px rgba(0, 0, 0, 0.8); } }
.stage .btn:not(.btn-primary) { --face: #2a241f; border-color: #3d362e; color: var(--stage-ink); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07) inset, 0 6px 14px -8px rgba(0, 0, 0, 0.8); }

.kbd { font: 600 12.5px/1 var(--font-mono); padding: 4px 7px; border-radius: 6px; border: 1px solid var(--border); background: var(--panel); box-shadow: 0 -1.5px 0 rgba(120, 100, 80, 0.18) inset; white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--canvas) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header.scrolled { border-bottom-color: var(--border); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 21px/1 var(--font-display); letter-spacing: -0.02em; margin-right: auto; }
.brand img { width: 34px; height: 34px; }
.nav { display: none; gap: 4px; align-items: center; }
.nav a { text-decoration: none; padding: 8px 12px; border-radius: 999px; font-size: 15.5px; color: var(--muted); font-weight: 550; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: color-mix(in srgb, var(--ink) 7%, transparent); }
.icon-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 999px; border: 1px solid var(--border); background: var(--panel); cursor: pointer; color: var(--ink); flex: none; }
.icon-btn svg { width: 18px; height: 18px; }
.theme-btn .moon { display: none; }
:root[data-theme="dark"] .theme-btn .sun { display: none; }
:root[data-theme="dark"] .theme-btn .moon { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-btn .sun { display: none; } :root:not([data-theme="light"]) .theme-btn .moon { display: block; } }
.menu-btn { display: inline-grid; }
.header-cta { display: none; }
.mobile-nav { display: none; border-top: 1px solid var(--border); background: var(--canvas); }
.mobile-nav.open { display: block; }
.mobile-nav ul { display: grid; gap: 2px; padding: 10px 0 16px; }
.mobile-nav a { display: block; padding: 12px 4px; text-decoration: none; font-weight: 600; font-size: 17px; border-bottom: 1px solid var(--hairline); }
@media (min-width: 560px) { .header-cta { display: inline-flex; } }
@media (min-width: 960px) {
  .nav { display: flex; }
  .menu-btn, .mobile-nav, .mobile-nav.open { display: none; }
}

/* ---------- Cutting mat (the app's stage texture) ---------- */
.mat {
  background-image: radial-gradient(var(--mat) 1.1px, transparent 1.3px);
  background-size: 22px 22px;
}
.crop { position: relative; }
.crop::before, .crop::after { content: ""; position: absolute; width: 22px; height: 22px; border: 0 solid color-mix(in srgb, var(--ink) 30%, transparent); pointer-events: none; }
.crop::before { top: 14px; left: 14px; border-top-width: 1.5px; border-left-width: 1.5px; }
.crop::after { bottom: 14px; right: 14px; border-bottom-width: 1.5px; border-right-width: 1.5px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 40px 0 64px; }
@supports (overflow: clip) { .hero { overflow: clip; } }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .hero { padding: 64px 0 88px; } .hero-grid { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 48px; } }
.hero h1 {
  font-family: var(--font-heavy);
  font-weight: 900;
  font-size: clamp(40px, 6.2vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
}
.hero h1 .soft { color: var(--accent-text); }
.hero h1 .line { display: block; }
@media (min-width: 1000px) { .hero h1 .line { white-space: nowrap; } }
.hero .lede { font-size: clamp(18px, 2.1vw, 21px); color: var(--muted); max-width: 36em; margin-bottom: 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.dl-meta { margin: 14px 0 0; font: 500 13.5px/1.4 var(--font-mono); color: var(--muted); }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; }
.trust li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15.5px; }
.trust svg { width: 18px; height: 18px; color: #1e965c; flex: none; }

/* ---------- The multi-tool: nine category blades fanned from the red rivet ---------- */
/* The headline: a giant 69, and a word that follows the blade in front. */
.hero { --cur: var(--video); --cur-on: #fff; }
.h69 { display: grid; grid-template-columns: auto 1fr; align-items: end; column-gap: 18px; font-family: var(--font-heavy); font-weight: 900; letter-spacing: -0.035em; margin-bottom: 24px; }
.h69-num { font-size: clamp(116px, 16vw, 200px); line-height: 0.74; letter-spacing: -0.06em; color: var(--ink); }
.h69-unit { font-size: clamp(30px, 3.9vw, 50px); line-height: 0.98; padding-bottom: 0.02em; }
.h69-for { grid-column: 1 / -1; font-size: clamp(28px, 3.7vw, 48px); line-height: 1.12; margin-top: 16px; }
.cycle { display: inline-block; background: var(--cur); color: var(--cur-on); border-radius: 0.3em; padding: 0 0.22em 0.04em; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset, 0 -3px 0 rgba(0, 0, 0, 0.16) inset, 0 10px 22px -12px var(--cur); transition: background-color 0.35s ease, color 0.35s ease; white-space: nowrap; }
.cycle-word { display: inline-block; transition: opacity 0.18s ease, transform 0.18s ease; }
.cycle-word.out { opacity: 0; transform: translateY(0.25em); }

.multitool { position: relative; min-width: 0; }
.mt-box { position: relative; }
.win {
  margin: 0; position: relative; z-index: 1;
  background: var(--panel); border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
  box-shadow: 0 40px 70px -40px rgba(70, 40, 20, 0.6), 0 10px 24px -12px rgba(70, 40, 20, 0.28);
}
.win::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--cur); transition: background-color 0.35s ease; z-index: 2; }
.win-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 15px 16px 12px; border-bottom: 1px solid var(--hairline); }
.win-title { display: flex; flex-direction: column; gap: 4px; margin-right: auto; }
.win-tool { font: 700 17px/1.1 var(--font-display); letter-spacing: -0.01em; }
.win-cat { font: 600 11.5px/1 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.win-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.win-chips span { font-size: 12.5px; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: color-mix(in srgb, var(--cur) 13%, var(--panel)); border: 1px solid color-mix(in srgb, var(--cur) 32%, var(--border)); white-space: nowrap; transition: background-color 0.35s ease, border-color 0.35s ease; }
.win-shot { background: var(--sunken); overflow: hidden; }
.win-shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.win-shot img.enter { animation: slide-in 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes slide-in { from { opacity: 0; transform: translateX(28px) scale(0.985); } to { opacity: 1; transform: none; } }

.blade {
  --a: calc(var(--i) * 10deg);
  border: 0; cursor: pointer; font: inherit;
  color: var(--on, #fff);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.16), rgba(255, 255, 255, 0.18) 36%, rgba(255, 255, 255, 0.05) 62%, rgba(0, 0, 0, 0.18)),
    var(--hue);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 0 0 1px color-mix(in srgb, var(--hue) 70%, black) inset, 0 10px 22px -10px rgba(40, 20, 10, 0.55);
}
.b-n { font: 800 13px/1 var(--font-display); color: color-mix(in srgb, var(--hue) 80%, black); background: #fff; border-radius: 999px; display: grid; place-items: center; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); }
.b-name { font: 700 14.5px/1 var(--font); white-space: nowrap; }

/* The handle: Toolyn's search, docked under the fan. */
.handle {
  position: relative; z-index: 6;
  display: flex; flex-wrap: wrap; align-items: stretch;
  margin-top: 18px; border-radius: 18px; background: var(--panel); border: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 18px 40px -24px rgba(70, 40, 20, 0.55); overflow: hidden;
}
.h-field { display: flex; align-items: center; gap: 10px; padding: 14px 16px; font: 500 16px/1.2 var(--font); flex: 1 1 170px; min-width: 0; border-right: 1px solid var(--hairline); }
.h-field svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.ask-typed { min-height: 1.2em; white-space: nowrap; }
.ask-caret { width: 2px; height: 18px; background: var(--accent); animation: blink 1s steps(1) infinite; flex: none; }
@keyframes blink { 50% { opacity: 0; } }
.h-match { display: flex; align-items: center; gap: 12px; padding: 10px 14px; flex: 2 1 280px; min-width: 0; transition: opacity 0.25s ease; }
.ask-match.dim { opacity: 0; }
.h-text { display: grid; gap: 3px; min-width: 0; margin-right: auto; }
.ask-key { width: 34px; height: 34px; border-radius: 10px; flex: none; background: var(--hue, var(--accent)); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 -2px 0 rgba(0, 0, 0, 0.15) inset; position: relative; }
.ask-key::after { content: ""; position: absolute; inset: 3px 4px auto; height: 40%; border-radius: 8px 8px 12px 12px; background: linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.05)); }
.ask-label { font: 600 10.5px/1 var(--font-mono); letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; }
.ask-answer { font: 600 15px/1.2 var(--font-mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ask-tool { font-size: 13.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 560px) { .h-field { border-right: 0; border-bottom: 1px solid var(--hairline); flex-basis: 100%; } }

/* Phones: the window, then the blades as a strip you swipe, then search. */
.fan { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 14px 4px 8px; margin: 0 -4px; scrollbar-width: none; }
.fan::-webkit-scrollbar { display: none; }
.fan .blade { flex: none; display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 16px 0 7px; border-radius: 23px; scroll-snap-align: start; transition: transform 0.2s ease; }
.fan .b-n { width: 32px; height: 32px; }
.fan .blade.on { transform: translateY(-3px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 0 0 2px var(--canvas), 0 0 0 4px var(--hue), 0 12px 20px -10px rgba(40, 20, 10, 0.6); }
.fan .rivet { display: none; }

/* Tablets and up: the real fan, from a rivet at the bottom left. */
@media (min-width: 720px) {
  .mt-box { aspect-ratio: 1 / 0.9; container-type: inline-size; }
  .win { position: absolute; top: 0; right: 0; width: 68%; }
  .fan { position: absolute; inset: 0; display: block; overflow: visible; padding: 0; margin: 0; z-index: 3; pointer-events: none; }
  .fan .blade {
    position: absolute; left: 12px; bottom: 6px; width: 48px; height: 60cqw; padding: 0;
    border-radius: 24px; display: block; pointer-events: auto;
    transform-origin: 50% calc(100% - 24px);
    transform: rotate(var(--a));
    z-index: calc(20 - var(--i));
    transition: transform 0.62s cubic-bezier(0.34, 1.5, 0.64, 1), box-shadow 0.2s ease, filter 0.2s ease;
    transition-delay: calc(var(--i) * 45ms);
  }
  .fan.ready .blade { transition-delay: 0s; transition-duration: 0.3s; }
  html.js .fan:not(.open) .blade { transform: rotate(0deg); }
  .fan .blade.on { transform: rotate(var(--a)) translateY(-18px); z-index: 30; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset, 0 0 0 1px color-mix(in srgb, var(--hue) 70%, black) inset, 0 0 0 3px var(--canvas), 0 18px 30px -12px rgba(40, 20, 10, 0.7); }
  .fan.has-on .blade:not(.on) { filter: saturate(0.8) brightness(0.97); }
  .fan .blade:hover { filter: none; }
  .fan .b-n { position: absolute; top: 8px; left: 50%; width: 32px; height: 32px; transform: translateX(-50%) rotate(-90deg); }
  .fan .b-name { position: absolute; left: 50%; top: 52px; transform: translateX(-50%) rotate(180deg); writing-mode: vertical-rl; }
  .fan .rivet {
    display: grid; place-items: center; position: absolute; left: 6px; bottom: 0;
    width: 60px; height: 60px; border-radius: 50%; z-index: 40; pointer-events: none;
    background: #fff; box-shadow: 0 8px 18px -6px rgba(120, 30, 10, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.06);
  }
  .fan .rivet::after { content: ""; width: 24px; height: 24px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #f06446, var(--accent) 60%, var(--accent-deep)); }
}
@media (min-width: 720px) and (max-width: 999px) { .multitool { max-width: 640px; width: 100%; margin: 0 auto; } }
@media (prefers-reduced-motion: reduce) {
  .cycle-word, .win-shot img.enter { animation: none; transition: none; }
}

/* ---------- The stage (bento wall) ---------- */
.stage { background: var(--stage); color: var(--stage-ink); padding: 88px 0 96px; position: relative; }
.stage .overline { color: var(--stage-muted); }
.stage-head { display: grid; gap: 18px; margin-bottom: 40px; }
@media (min-width: 900px) { .stage-head { grid-template-columns: 1.2fr 1fr; align-items: end; } }
.stage h2 { font-family: var(--font-heavy); font-weight: 900; font-size: clamp(38px, 6vw, 72px); letter-spacing: -0.035em; line-height: 0.98; }
.stage-head p:not(.overline) { color: var(--stage-muted); font-size: 18px; margin: 0; max-width: 34em; }

.bento { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row dense; }
@media (min-width: 640px) { .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1080px) { .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 196px; } }

.tile {
  --hue: var(--accent);
  position: relative; overflow: hidden;
  grid-column: span 2;
  min-height: 190px;
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, color-mix(in srgb, var(--hue) 9%, var(--stage-panel)) 0%, var(--stage-panel) 55%);
  border: 1px solid var(--stage-border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 -1px 0 rgba(0, 0, 0, 0.5) inset, 0 18px 40px -24px rgba(0, 0, 0, 0.9);
  padding: 22px 22px 0;
  display: flex; flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  isolation: isolate;
}
.tile:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--hue) 45%, var(--stage-border)); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 28px 50px -24px rgba(0, 0, 0, 0.95); }
.tile .t-label { font: 600 11.5px/1 var(--font-mono); letter-spacing: 0.13em; text-transform: uppercase; color: var(--stage-muted); display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.tile .t-label i { width: 16px; height: 6px; border-radius: 3px; background: var(--hue); transform: rotate(-38deg); }
.tile h3 { font-family: var(--font-heavy); font-weight: 900; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.02; letter-spacing: -0.03em; margin-bottom: 10px; }
.tile p { color: var(--stage-muted); font-size: 15px; line-height: 1.45; margin: 0 0 16px; max-width: 30em; }
.tile .shot { margin-top: auto; border-radius: 12px 12px 0 0; border: 1px solid #3a332c; border-bottom: 0; overflow: hidden; box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, 0.6); background: #1a1714; }
.tile .shot img { width: 100%; height: auto; }
.tile a.t-link { position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.tile a.t-link:focus-visible { outline-offset: -3px; }

/* Sizes on the six-column wall. */
@media (min-width: 640px) {
  .w4, .w3 { grid-column: span 4; }
  .w1 { grid-column: span 2; }
}
@media (min-width: 1080px) {
  .tile { min-height: 0; }
  .w1 { grid-column: span 1; }
  .w2 { grid-column: span 2; }
  .w3 { grid-column: span 3; }
  .w4 { grid-column: span 4; }
  .h2 { grid-row: span 2; }
}
@media (max-width: 639px) {
  .tile.w1 { grid-column: span 1; padding: 18px 16px 16px; }
  .tile.w1 h3 { font-size: 24px; }
}

/* Tile layouts */
.tile.side { padding: 24px 0 0 24px; }
@media (min-width: 1080px) {
  .tile.side { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 20px; padding: 26px 0 0 26px; }
  .tile.side .copy { padding-bottom: 24px; display: flex; flex-direction: column; }
  .tile.side .shot { margin-top: 12px; align-self: end; border-radius: 12px 0 0 0; border-right: 0; height: calc(100% - 12px); }
  .tile.side .shot img { height: 100%; width: auto; max-width: none; }
}
.tile.side .shot { margin-right: 0; border-radius: 12px 0 0 0; border-right: 0; }
.tile.side .copy .t-foot { margin-top: auto; }
.tile .shot.right { margin-left: 12%; border-radius: 12px 0 0 0; border-right: 0; margin-right: -22px; }
.tile .shot.pad { margin-left: 6%; margin-right: 6%; }

.tile.statement { padding: 18px; justify-content: space-between; }
.tile.statement h3 { font-size: clamp(21px, 1.75vw, 25px); margin: 0 0 6px; }
.tile.statement p { margin: 0; font-size: 13.5px; line-height: 1.4; }
.tile .glyph { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: color-mix(in srgb, var(--hue) 22%, transparent); color: var(--hue); margin-bottom: 10px; flex: none; }
.tile .glyph svg { width: 22px; height: 22px; }

.tile.stat { padding: 22px 24px; justify-content: center; background: linear-gradient(135deg, #2a1712 0%, var(--stage-panel) 70%); }
.stat-num { font-family: var(--font-heavy); font-weight: 900; font-size: clamp(72px, 9vw, 112px); line-height: 0.85; letter-spacing: -0.05em; color: var(--coral); display: flex; align-items: baseline; gap: 14px; }
.stat-num small { font-family: var(--font-display); font-size: 22px; letter-spacing: -0.01em; color: var(--stage-ink); font-weight: 700; line-height: 1.1; }
.tile.stat p { margin: 12px 0 0; }

.flavors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: auto 0 22px; }
@media (min-width: 640px) { .flavors { grid-template-columns: repeat(9, minmax(0, 1fr)); } }
.flavor { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; color: var(--stage-muted); font: 600 10.5px/1.15 var(--font-mono); letter-spacing: 0.04em; text-align: center; position: relative; z-index: 4; }
.flavor:hover { color: var(--stage-ink); }
.gel {
  width: 100%; max-width: 56px; aspect-ratio: 1; border-radius: 16px; background: var(--hue);
  position: relative; display: grid; place-items: center; color: #fff;
  font: 800 18px/1 var(--font-display);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset, 0 -3px 0 rgba(0, 0, 0, 0.22) inset, 0 8px 16px -8px color-mix(in srgb, var(--hue) 80%, black);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}
.gel::before { content: ""; position: absolute; left: 12%; right: 12%; top: 5%; height: 42%; border-radius: 12px 12px 18px 18px; background: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.04)); }
.gel span { position: relative; }
.flavor:hover .gel { transform: translateY(-3px); }

/* ---------- Light sections ---------- */
.section { padding: 96px 0; position: relative; }
.section.alt { background: var(--canvas-2); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .overline { justify-content: center; }
.section h2 { font-family: var(--font-heavy); font-weight: 900; font-size: clamp(34px, 5vw, 58px); letter-spacing: -0.035em; line-height: 1; margin-bottom: 18px; }
.section-head p:not(.overline) { color: var(--muted); font-size: 19px; margin: 0; }
@media (max-width: 719px) { .section { padding: 68px 0; } .stage { padding: 64px 0 72px; } }

/* Feature rows */
.feature { display: grid; gap: 36px; align-items: center; padding: 56px 0; border-top: 1px solid var(--border); }
.feature:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 1000px) {
  .feature { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: 56px; padding: 72px 0; }
  .feature.flip { grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr); }
  .feature.flip .feature-copy { order: 2; }
}
.feature h3 { font-family: var(--font-heavy); font-weight: 900; font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -0.03em; line-height: 1.02; margin-bottom: 14px; }
.feature .lede { color: var(--muted); font-size: 18px; margin-bottom: 22px; }
.benefits { display: grid; gap: 14px; }
.benefits li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; font-size: 16.5px; line-height: 1.5; }
.benefits li::before {
  content: ""; width: 20px; height: 20px; margin-top: 2px; border-radius: 7px;
  background: var(--hue, var(--accent));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 -2px 0 rgba(0, 0, 0, 0.18) inset;
  -webkit-mask: none;
}
.benefits b { font-weight: 700; }
.feature-note { margin-top: 18px; font-size: 14.5px; color: var(--muted); }
.feature-note a { color: var(--accent-text); font-weight: 600; }

.shot-figure { margin: 0; min-width: 0; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: var(--sunken); border: 1px solid var(--border); margin-bottom: 14px; max-width: 100%; }
html:not(.js) .seg { display: none; }
.seg button { border: 0; background: transparent; padding: 8px 14px; border-radius: 999px; font: 600 14px/1 var(--font); color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; gap: 7px; }
.seg button[aria-selected="true"] { background: var(--panel); color: var(--ink); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 2px 6px -2px rgba(80, 56, 32, 0.3); }
.seg button[aria-selected="true"]::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--hue, var(--accent)); }
.window {
  border-radius: 14px; overflow: hidden; background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: 0 40px 70px -40px rgba(70, 40, 20, 0.55), 0 10px 24px -12px rgba(70, 40, 20, 0.25);
}
.window img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; transition: opacity 0.2s ease; }
.window img.swapping { opacity: 0.35; }
.shot-figure figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* Small screens grid */
.mini-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); margin-top: 28px; }
.mini { margin: 0; background: var(--panel); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.mini:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.mini img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; width: 100%; border-bottom: 1px solid var(--border); }
.mini figcaption { padding: 12px 14px 14px; font-size: 14.5px; color: var(--muted); }
.mini figcaption b { display: block; color: var(--ink); font-size: 15.5px; margin-bottom: 2px; }

/* Category cards */
.cats { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.cat {
  --hue: var(--accent);
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: 22px; box-shadow: var(--shadow); position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cat:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.cat-top { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.cat .gel { width: 48px; max-width: 48px; border-radius: 14px; font-size: 16px; flex: none; }
.cat h3 { font-size: 21px; letter-spacing: -0.015em; }
.cat h3 a { text-decoration: none; }
.cat h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.cat .count { font: 600 12px/1 var(--font-mono); color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 4px; display: block; }
.cat p { color: var(--muted); font-size: 15px; margin-bottom: 12px; }
.cat ul { display: flex; flex-wrap: wrap; gap: 6px; }
.cat li { font-size: 13.5px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: color-mix(in srgb, var(--hue) 12%, var(--panel)); border: 1px solid color-mix(in srgb, var(--hue) 25%, var(--border)); }

/* Two-up cards */
.duo { display: grid; gap: 20px; }
@media (min-width: 900px) { .duo { grid-template-columns: 1fr 1fr; } }
.card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 28px;
  box-shadow: var(--shadow); min-width: 0;
}
.card h3 { font-size: 26px; margin-bottom: 10px; letter-spacing: -0.02em; }
.card > p { color: var(--muted); }
.card .shot-in { margin: 20px -28px -28px; border-top: 1px solid var(--border); background: var(--canvas); padding: 20px 20px 0; overflow: hidden; border-radius: 0 0 var(--radius-card) var(--radius-card); }
.card .shot-in img { border-radius: 12px 12px 0 0; border: 1px solid var(--border); border-bottom: 0; box-shadow: 0 -8px 24px -14px rgba(70, 40, 20, 0.35); margin: 0 auto; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.chips li { font: 600 13.5px/1 var(--font-mono); padding: 8px 11px; border-radius: 10px; background: var(--canvas); border: 1px solid var(--border); }

/* Dashboard */
.dash-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .dash-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); } }
.dash-list { display: grid; gap: 16px; }
.dash-list li { padding: 16px 18px; border-radius: 16px; background: var(--panel); border: 1px solid var(--border); }
.dash-list b { display: block; font-size: 16.5px; margin-bottom: 2px; }
.dash-list span { color: var(--muted); font-size: 15px; }

/* Privacy */
.privacy-panel { display: grid; gap: 20px; }
@media (min-width: 960px) { .privacy-panel { grid-template-columns: 0.9fr 1.1fr; } }
.local-card { background: var(--stage); color: var(--stage-ink); border-radius: var(--radius-card); padding: 32px; position: relative; overflow: hidden; border: 1px solid var(--stage-border); }
.local-card h3 { font-family: var(--font-heavy); font-weight: 900; font-size: clamp(30px, 3.4vw, 40px); letter-spacing: -0.03em; margin-bottom: 14px; }
.local-card p { color: var(--stage-muted); }
.local-card ul { display: grid; gap: 10px; margin-top: 18px; }
.local-card li { display: flex; gap: 10px; align-items: start; font-size: 16px; }
.local-card li svg { width: 20px; height: 20px; color: #4cc38a; flex: none; margin-top: 2px; }
.local-card .mat { position: absolute; inset: 0; z-index: -1; }
.online-list { display: grid; gap: 0; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--shadow); overflow: hidden; }
.online-list .ol-head { padding: 22px 24px 14px; }
.online-list .ol-head h3 { font-size: 22px; margin-bottom: 6px; }
.online-list .ol-head p { color: var(--muted); margin: 0; font-size: 15px; }
.online-list li { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 14px 24px; border-top: 1px solid var(--hairline); }
@media (min-width: 640px) { .online-list li { grid-template-columns: 210px 1fr; gap: 16px; } }
.online-list li b { font-size: 15.5px; }
.online-list li span { color: var(--muted); font-size: 15px; }

/* One app instead of ten */
.swap-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow); }
.swap-table th, .swap-table td { text-align: left; padding: 14px 18px; border-top: 1px solid var(--hairline); vertical-align: top; font-size: 16px; }
.swap-table thead th { border-top: 0; font: 600 12px/1.2 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); background: var(--canvas-2); }
.swap-table td:nth-child(2) { color: var(--muted); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--accent) 60%, transparent); text-decoration-thickness: 1.5px; }
.swap-table td:nth-child(3) { font-weight: 700; }
.swap-table td:nth-child(3) i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--hue); margin-right: 8px; vertical-align: 0; }
@media (max-width: 639px) {
  .swap-table thead { display: none; }
  .swap-table tr { display: grid; grid-template-columns: 1fr 1fr; padding: 14px 16px; border-top: 1px solid var(--hairline); gap: 4px 12px; }
  .swap-table tbody tr:first-child { border-top: 0; }
  .swap-table td { border: 0; padding: 0; font-size: 15px; }
  .swap-table td:first-child { grid-column: 1 / -1; font-weight: 650; }
}
.swap-sum { display: grid; gap: 14px; margin-top: 24px; }
@media (min-width: 800px) { .swap-sum { grid-template-columns: repeat(4, 1fr); } }
.swap-sum li { background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 16px 18px; font-size: 15px; color: var(--muted); }
.swap-sum b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 2px; }

/* Pricing */
.beta-card {
  display: grid; gap: 24px; align-items: center;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, var(--panel)) 0%, var(--panel) 60%);
  border: 1.5px solid color-mix(in srgb, var(--accent) 45%, var(--border));
  border-radius: 26px; padding: 30px; box-shadow: var(--shadow); margin-bottom: 28px;
}
@media (min-width: 860px) { .beta-card { grid-template-columns: 1fr auto; padding: 36px 40px; } }
.beta-card .price-big { font-family: var(--font-heavy); font-weight: 900; font-size: clamp(54px, 7vw, 80px); letter-spacing: -0.04em; line-height: 0.9; }
.beta-card h3 { font-size: 28px; margin: 6px 0 8px; }
.beta-card p { color: var(--muted); margin: 0; }
.badge { display: inline-flex; align-items: center; gap: 6px; font: 700 12px/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; background: var(--accent); color: #fff; }
.badge.soft { background: color-mix(in srgb, var(--accent) 14%, var(--panel)); color: var(--accent-text); border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border)); }
.plans-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 18px; }
.plans-head h3 { font-size: 24px; }
.plans-head p { color: var(--muted); margin: 0; font-size: 15px; }
.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.plan { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 24px; display: flex; flex-direction: column; box-shadow: var(--shadow); position: relative; }
.plan.pop { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); }
.plan h4 { font-size: 19px; margin-bottom: 4px; letter-spacing: -0.01em; }
.plan .who { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; }
.plan .price { font-family: var(--font-heavy); font-weight: 900; font-size: 46px; letter-spacing: -0.035em; line-height: 1; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.plan .price s { font-family: var(--font); font-weight: 600; font-size: 20px; color: var(--muted); letter-spacing: 0; }
.plan .price-note { font-size: 13.5px; color: var(--muted); margin: 8px 0 18px; min-height: 2.6em; }
.plan .price-note b { color: var(--accent-text); }
.plan ul { display: grid; gap: 8px; margin-bottom: 22px; }
.plan li { display: flex; gap: 8px; font-size: 15px; }
.plan li svg { width: 18px; height: 18px; color: #1e965c; flex: none; margin-top: 3px; }
.plan .btn { margin-top: auto; width: 100%; white-space: normal; text-align: center; line-height: 1.2; padding: 10px 16px; font-size: 15px; }
.plan .pop-badge { position: absolute; top: -12px; right: 18px; }
.fine { color: var(--muted); font-size: 14px; margin-top: 20px; }

/* Download */
.download-card {
  display: grid; gap: 28px; align-items: center;
  background: var(--panel); border: 1px solid var(--border); border-radius: 28px; padding: 32px;
  box-shadow: var(--shadow);
}
@media (min-width: 900px) { .download-card { grid-template-columns: auto 1fr auto; padding: 40px; } }
.download-card img.logo { width: 96px; height: 96px; }
.download-card h3 { font-size: 30px; letter-spacing: -0.025em; margin-bottom: 6px; }
.download-card .meta { font: 500 14px/1.5 var(--font-mono); color: var(--muted); }
.download-card ul { display: grid; gap: 6px; margin-top: 14px; font-size: 15px; color: var(--muted); }
.download-card ul li::before { content: "·"; margin-right: 8px; color: var(--accent); font-weight: 900; }
.smartscreen { margin-top: 18px; display: flex; gap: 12px; padding: 14px 16px; border-radius: 14px; background: color-mix(in srgb, #3478ee 9%, var(--panel)); border: 1px solid color-mix(in srgb, #3478ee 26%, var(--border)); font-size: 15px; }
.smartscreen svg { width: 20px; height: 20px; flex: none; color: #3478ee; margin-top: 2px; }
.smartscreen p { margin: 0; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--panel); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 650; font-size: 17.5px; position: relative; border-radius: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 22px 20px; color: var(--muted); font-size: 16px; }
.faq .answer p:last-child { margin-bottom: 0; }

/* Final CTA: the red key */
.final { padding: 40px 0 96px; }
.final-key {
  position: relative; overflow: hidden; border-radius: 32px; padding: 56px 32px; text-align: center; color: #fff;
  background: linear-gradient(180deg, #ee5438 0%, #d6341e 100%);
  box-shadow: 0 1px 0 rgba(255, 220, 210, 0.6) inset, 0 -4px 0 rgba(120, 20, 0, 0.25) inset, 0 40px 80px -40px rgba(200, 50, 20, 0.7);
}
.final-key h2 { font-family: var(--font-heavy); font-weight: 900; font-size: clamp(38px, 6vw, 70px); letter-spacing: -0.035em; line-height: 0.98; margin-bottom: 14px; }
.final-key p { font-size: 19px; color: #ffe6de; max-width: 34em; margin: 0 auto 28px; }
.final-key .btn-white { background: #fff; color: #b22c16; border-color: #fff; text-shadow: none; box-shadow: 0 -2px 0 rgba(120, 20, 0, 0.18) inset, 0 12px 24px -12px rgba(80, 10, 0, 0.6); }
.final-key .btn-ghost { background: transparent; border-color: rgba(255, 255, 255, 0.55); color: #fff; box-shadow: none; }
.final-key .blades { position: absolute; left: -40px; bottom: -60px; width: 320px; opacity: 0.16; pointer-events: none; color: #fff; }
.final-key .cta-row { justify-content: center; }
.final-key .dl-meta { color: #ffe6de; }

/* Footer */
.site-footer { background: var(--stage); color: var(--stage-muted); padding: 56px 0 36px; font-size: 15px; }
.site-footer a { color: var(--stage-ink); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-grid { display: grid; gap: 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 1.5fr repeat(4, 1fr); } }
.foot-brand { grid-column: 1 / -1; }
@media (min-width: 860px) { .foot-brand { grid-column: auto; } }
.foot-brand .brand { color: var(--stage-ink); margin-bottom: 12px; }
.foot-brand p { max-width: 26em; }
.site-footer h2 { font: 600 12px/1 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--stage-muted); margin-bottom: 14px; }
.site-footer ul { display: grid; gap: 9px; }
.foot-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--stage-border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 14px; }
.placeholder { background: rgba(230, 166, 12, 0.18); color: inherit; border-radius: 4px; padding: 0 4px; font-family: var(--font-mono); font-size: 0.92em; }

/* ---------- Reveal on scroll ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
html.js [data-reveal].in { opacity: 1; transform: none; }
html.js .bento [data-reveal]:nth-child(3n+2) { transition-delay: 0.06s; }
html.js .bento [data-reveal]:nth-child(3n) { transition-delay: 0.12s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  .tile:hover, .mini:hover, .cat:hover, .btn:hover { transform: none; }
  .ask-caret { animation: none; }
}

/* ---------- Tools page ---------- */
.page-hero { padding: 56px 0 28px; }
.page-hero h1 { font-family: var(--font-heavy); font-weight: 900; font-size: clamp(40px, 6.4vw, 72px); letter-spacing: -0.035em; line-height: 0.98; margin-bottom: 16px; }
.page-hero p:not(.overline) { color: var(--muted); font-size: 19px; max-width: 40em; }
.filter-bar { position: relative; z-index: 20; background: color-mix(in srgb, var(--canvas) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 14px 0; border-bottom: 1px solid var(--border); }
html:not(.js) .filter-bar { display: none; }
.search-box { display: flex; align-items: center; gap: 10px; background: var(--panel); border: 1px solid var(--border); border-radius: 999px; padding: 0 16px; min-height: 50px; box-shadow: var(--shadow); max-width: 640px; }
.search-box:focus-within { border-color: var(--accent); }
.search-box svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.search-box input { flex: 1; min-width: 0; border: 0; background: transparent; font: 500 16.5px/1.2 var(--font); color: var(--ink); padding: 12px 0; outline: none; }
.chip-row { display: flex; gap: 8px; overflow-x: auto; padding: 12px 2px 4px; scrollbar-width: thin; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--border); background: var(--panel); padding: 8px 13px; border-radius: 999px; font: 600 14.5px/1 var(--font); cursor: pointer; color: var(--ink); }
.chip i { width: 9px; height: 9px; border-radius: 3px; background: var(--hue, var(--ink)); }
.chip .n { font: 600 12px/1 var(--font-mono); color: var(--muted); }
.chip[aria-pressed="true"] { background: color-mix(in srgb, var(--hue, var(--accent)) 14%, var(--panel)); border-color: color-mix(in srgb, var(--hue, var(--accent)) 50%, var(--border)); }
.result-line { font: 500 14px/1.4 var(--font-mono); color: var(--muted); margin: 8px 0 0; }
.tool-cat { padding: 36px 0 8px; }
.tool-cat-head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.tool-cat-head .gel { width: 44px; max-width: 44px; border-radius: 13px; font-size: 15px; flex: none; }
.tool-cat h2 { font-size: 30px; letter-spacing: -0.025em; }
.tool-cat .about { color: var(--muted); margin: 0 0 6px; }
.tool-cat .also { font-size: 14.5px; color: var(--muted); margin: 0 0 18px; }
.tool-cat .also a { color: var(--accent-text); font-weight: 600; }
.tool-list { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.tool {
  --hue: var(--accent);
  background: var(--panel); border: 1px solid var(--border); border-radius: 18px; padding: 18px 18px 16px; box-shadow: var(--shadow);
  scroll-margin-top: calc(var(--header-h) + 150px);
}
.tool:target, .tool .job:target { outline: 2px solid var(--hue); outline-offset: 2px; }
.tool-top { display: flex; gap: 12px; align-items: flex-start; }
.tool-top .gel { width: 34px; max-width: 34px; border-radius: 10px; flex: none; font-size: 13px; }
.tool h3 { font-size: 18.5px; letter-spacing: -0.01em; margin: 5px 0 4px; }
.tool p { margin: 0; color: var(--muted); font-size: 15px; }
.tool .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag { font: 600 11.5px/1 var(--font-mono); letter-spacing: 0.02em; padding: 5px 8px; border-radius: 7px; background: var(--canvas); border: 1px solid var(--border); color: var(--muted); }
.tag.online { background: color-mix(in srgb, #3478ee 10%, var(--panel)); border-color: color-mix(in srgb, #3478ee 28%, var(--border)); }
.jobs { margin-top: 12px; border-top: 1px solid var(--hairline); padding-top: 10px; display: grid; gap: 6px; }
.jobs .lbl { font: 600 11px/1 var(--font-mono); letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; margin-bottom: 2px; }
.job { font-size: 14.5px; color: var(--muted); scroll-margin-top: calc(var(--header-h) + 150px); border-radius: 6px; }
.job b { color: var(--ink); font-weight: 650; }
.empty { text-align: center; padding: 60px 16px; color: var(--muted); }
[hidden] { display: none !important; }

/* ---------- Text pages (privacy, impressum) ---------- */
.doc { max-width: 780px; margin: 0 auto; padding: 56px 0 96px; }
.doc h1 { font-family: var(--font-heavy); font-weight: 900; font-size: clamp(38px, 6vw, 60px); letter-spacing: -0.035em; margin-bottom: 14px; }
.doc h2 { font-size: 26px; margin: 44px 0 12px; letter-spacing: -0.02em; }
.doc h3 { font-size: 19px; margin: 26px 0 8px; }
.doc p, .doc li { color: var(--muted); }
.doc ul { list-style: disc; padding-left: 22px; margin: 0 0 1em; }
.doc li { margin: 6px 0; }
.doc a { color: var(--accent-text); }
.doc strong { color: var(--ink); }
.todo-note { display: flex; gap: 12px; padding: 16px 18px; margin: 22px 0 28px; border-radius: 14px; background: rgba(230, 166, 12, 0.14); border: 1.5px dashed rgba(206, 132, 8, 0.8); color: var(--ink); }
.todo-note svg { width: 22px; height: 22px; flex: none; color: #ce8408; margin-top: 2px; }
.todo-note p { margin: 0; color: var(--ink); }
.doc .updated { font: 500 14px/1.4 var(--font-mono); color: var(--muted); }
.doc table { width: 100%; border-collapse: collapse; margin: 0 0 1em; font-size: 15px; }
.doc th, .doc td { text-align: left; border-top: 1px solid var(--border); padding: 10px 8px; vertical-align: top; color: var(--muted); }
.doc th { color: var(--ink); }

/* 404 */
.lost { min-height: calc(100vh - var(--header-h) - 260px); display: grid; place-items: center; text-align: center; padding: 72px 0; }
.lost .big { font-family: var(--font-heavy); font-weight: 900; font-size: clamp(96px, 20vw, 200px); line-height: 0.85; letter-spacing: -0.06em; color: var(--accent); }
.lost h1 { font-size: clamp(30px, 4vw, 44px); margin: 18px 0 10px; }
.lost p { color: var(--muted); font-size: 18px; }
.lost .cta-row { justify-content: center; margin-top: 24px; }

/* Inline icons drawn from the sprite in each page. */
svg.i { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 1079px) {
  .tile .shot { max-height: 340px; }
  .tile.side .shot { margin-left: 0; }
}

.tile.compact h3 { font-size: clamp(22px, 1.9vw, 26px); }
.tile.compact p { margin-bottom: 18px; }
@media (max-width: 639px) {
  .mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .mini figcaption { padding: 9px 10px 11px; font-size: 13px; line-height: 1.35; }
  .mini figcaption b { font-size: 14px; }
}
@media (min-width: 720px) { .filter-bar { position: sticky; top: var(--header-h); } }
@media (max-width: 560px) { .cycle { white-space: normal; } }
@media (max-width: 560px) { .win-chips span:nth-child(n+4) { display: none; } }

/* ---------- Feedback page ---------- */
.fb-wrap { padding: 8px var(--gutter) 96px; }
.fb-tabs { margin: 0 0 20px; }
.fb-tabs button { font-size: 15px; padding: 10px 16px; }
.fb-grid { display: grid; gap: 20px; align-items: start; }
@media (min-width: 960px) { .fb-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; } }
.fb-form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label, .fb-form .check { font-weight: 650; font-size: 15.5px; }
.req, .opt { font: 600 11px/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; margin-left: 6px; padding: 3px 6px; border-radius: 6px; vertical-align: 2px; }
.req { color: var(--accent-text); background: color-mix(in srgb, var(--accent) 10%, var(--panel)); }
.opt { color: var(--muted); background: var(--canvas); }
.fb-form input[type="text"], .fb-form input[type="email"], .fb-form textarea, .fb-form select, .fb-text {
  width: 100%; font: 400 16px/1.45 var(--font); color: var(--ink);
  background: var(--sunken); border: 1px solid var(--border); border-radius: 12px; padding: 11px 13px;
  box-shadow: 0 1px 2px rgba(80, 56, 32, 0.08) inset;
}
.fb-form textarea, .fb-text { resize: vertical; min-height: 64px; }
.fb-form select { appearance: none; -webkit-appearance: none; padding-right: 38px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.fb-form input:focus, .fb-form textarea:focus, .fb-form select:focus, .fb-text:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.fb-form ::placeholder { color: var(--faint); }
.hint { margin: -8px 0 0; font-size: 14px; color: var(--muted); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; padding: 12px 14px; border-radius: 12px; background: var(--canvas); border: 1px solid var(--border); }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); flex: none; }
.fb-error { margin: 0; padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, #de3240 10%, var(--panel)); border: 1px solid color-mix(in srgb, #de3240 35%, var(--border)); font-size: 15px; }
.fb-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.fb-actions .btn[disabled] { opacity: 0.7; cursor: progress; }
.fb-done { text-align: center; padding: 44px 28px; }
.fb-done h2, .fb-fallback h2 { font-size: 28px; margin-bottom: 10px; }
.fb-done .cta-row { justify-content: center; margin-top: 20px; }
.done-key { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: #1e965c; color: #fff; margin-bottom: 16px; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset, 0 -3px 0 rgba(0, 0, 0, 0.18) inset, 0 12px 24px -12px #1e965c; }
.done-key svg { width: 30px; height: 30px; stroke-width: 2.6; }
.fb-fallback { display: grid; gap: 14px; }
.fb-fallback p { margin: 0; }
.fb-text { font: 400 14px/1.5 var(--font-mono); min-height: 160px; }
.fb-side { display: grid; gap: 16px; }
.fb-note h2 { font-size: 18px; margin-bottom: 10px; letter-spacing: -0.01em; }
.fb-note ul { display: grid; gap: 10px; }
.fb-note li { font-size: 15px; color: var(--muted); padding-left: 16px; position: relative; }
.fb-note li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 4px; border-radius: 2px; background: var(--accent); transform: rotate(-38deg); }
.fb-note li b { color: var(--ink); }
.fb-note a, .lost-help a { color: var(--accent-text); font-weight: 600; }
.lost-help { margin-top: 28px; font-size: 15.5px; }
.card:focus { outline: none; }

/* ---------- Fast and responsive ---------- */
.speed-grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1000px) { .speed-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; } }
.budget { margin: 0; padding: 28px; position: relative; overflow: hidden; }
.budget-label { font: 600 12px/1.2 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.budget-num { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 22px; }
.budget-num .big { font-family: var(--font-heavy); font-weight: 900; font-size: clamp(64px, 8vw, 96px); line-height: 0.85; letter-spacing: -0.05em; color: #1e965c; }
.budget-num .unit { font: 700 22px/1.1 var(--font-display); }
.budget-num .of { flex-basis: 100%; color: var(--muted); font-size: 15.5px; }
.budget-bar {
  position: relative; height: 44px; border-radius: 22px; background: var(--sunken); border: 1px solid var(--border);
  box-shadow: 0 2px 4px rgba(80, 56, 32, 0.12) inset; overflow: hidden;
}
.budget-fill {
  position: absolute; left: 0; top: 0; bottom: 0; width: 30%; border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 55%), #1e965c;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 -2px 0 rgba(0, 0, 0, 0.18) inset;
  transition: width 1.1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
html.js .budget[data-reveal]:not(.in) .budget-fill { width: 0; }
.budget-free { position: absolute; left: 30%; right: 0; top: 0; bottom: 0; display: grid; place-items: center; font: 600 12px/1 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.budget-line { position: absolute; right: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); }
.budget-ticks { position: relative; height: 22px; margin: 8px 0 18px; font: 600 12px/1 var(--font-mono); color: var(--muted); }
.budget-ticks span { position: absolute; top: 4px; transform: translateX(-50%); white-space: nowrap; }
.budget-ticks span:first-child { transform: none; }
.budget-ticks span:last-child { transform: translateX(-100%); color: var(--accent-text); }
.budget figcaption { font-size: 13.5px; color: var(--muted); border-top: 1px solid var(--hairline); padding-top: 14px; }
.speed-list { display: grid; gap: 12px; }
.speed-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 16px 18px; border-radius: 18px; background: var(--panel); border: 1px solid var(--border); box-shadow: var(--shadow); }
.speed-list b { display: block; font-size: 17px; margin-bottom: 3px; }
.speed-list li > div > span { color: var(--muted); font-size: 15.5px; }
.speed-key { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: var(--hue); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset, 0 -3px 0 rgba(0, 0, 0, 0.18) inset, 0 8px 16px -8px color-mix(in srgb, var(--hue) 80%, black); }
.speed-key svg { width: 22px; height: 22px; }
.mini-budget { display: block; height: 8px; margin-top: 10px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.mini-budget i { display: block; width: 30%; height: 100%; border-radius: 4px; background: #4cc38a; }
@media (prefers-reduced-motion: reduce) { .budget-fill { transition: none; } html.js .budget[data-reveal]:not(.in) .budget-fill { width: 30%; } }
