/* Kitsuvo marketing site. Colours match BRAND.md (Foxfire identity); verdict colours are for scores only. */
:root {
  --night: #14121A;
  --night-2: #1E1B26;
  --night-3: #2A2633;
  --ink-dark: #F1ECE4;
  --muted-dark: #A39B90;
  --washi: #F6F1E7;
  --frame: #ECE5D8;
  --card: #FFFDF8;
  --sumi: #1C1A17;
  --muted: #5E574D;
  --line: rgba(28, 26, 23, 0.1);
  --line-dark: rgba(241, 236, 228, 0.1);
  --vermilion: #D23F1A;
  --vermilion-hover: #B8361A;
  --foxfire: #FF7A45;
  --human: #2E78C7;
  --human-d: #4B8CDA;
  --unclear-text: #8E7A16;
  --unclear-d: #C9AE2C;
  --ai: #A0266A;
  --ai-d: #CF4C8D;
  --danger: #9E1B1F;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --font: "Segoe UI Variable Text", "Segoe UI Variable", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI Variable", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 1.0625rem/1.5 var(--font);
  color: var(--sumi);
  background: var(--night);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; }
h1, h2, h3 { font-weight: 650; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.mark-eye { fill: var(--vermilion); }

.skip {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  padding: 10px 16px; border-radius: 10px; background: var(--card); color: var(--sumi);
  transition: top 0.2s var(--ease);
}
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--foxfire); outline-offset: 3px; border-radius: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 48px; padding: 0 24px; border-radius: 8px; border: 0;
  font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.01em; text-decoration: none;
  cursor: pointer; white-space: nowrap;
  transition: transform 0.12s var(--ease), background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn:active { transform: scale(0.97); }
.btn-small { min-height: 36px; padding: 0 16px; font-size: 0.9375rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--vermilion); color: #fff; }
.btn-primary:hover { background: var(--vermilion-hover); }
.btn-quiet { background: rgba(241, 236, 228, 0.1); color: var(--ink-dark); }
.btn-quiet:hover { background: rgba(241, 236, 228, 0.16); }
.btn-quiet-dark { background: rgba(28, 26, 23, 0.06); color: var(--sumi); }
.btn-quiet-dark:hover { background: rgba(28, 26, 23, 0.1); }
.btn[disabled] { cursor: not-allowed; opacity: 0.55; transform: none; }
.link-button {
  background: none; border: 0; padding: 0; cursor: pointer; color: inherit;
  font-size: inherit; text-decoration: none;
}

/* ---------- Navigation: a translucent layer the page scrolls under ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20, 18, 26, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  color: var(--ink-dark);
}
.nav::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 1px;
  background: var(--line-dark); opacity: 0; transition: opacity 0.3s ease;
}
.nav.is-scrolled::after { opacity: 1; }
.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 24px; height: 56px;
  display: flex; align-items: center; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink-dark); }
.brand-lockup { width: auto; height: 22px; }
.brand-mark-only { display: none; width: 26px; height: 26px; }
.footer .brand-lockup { height: 24px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; font-size: 0.875rem; }
.nav-links a, .nav-links .link-button { color: rgba(241, 236, 228, 0.82); text-decoration: none; transition: color 0.2s ease; }
.nav-links a:hover, .nav-links .link-button:hover { color: #fff; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: 0.08s; }
.js .reveal.d2 { transition-delay: 0.16s; }
.js .reveal.d3 { transition-delay: 0.24s; }

/* ---------- Type ---------- */
.eyebrow { margin: 0 0 14px; font-size: 0.8125rem; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: var(--foxfire); }
.eyebrow-dark { color: var(--vermilion); }
.display {
  text-wrap: balance;
  margin: 0; font-family: var(--font-display); font-weight: 650;
  font-size: clamp(3rem, 8.5vw, 6.5rem); line-height: 1.04; letter-spacing: -0.01em;
}
.headline {
  text-wrap: balance;
  margin: 0; font-family: var(--font-display); font-weight: 650;
  font-size: clamp(2.25rem, 5.2vw, 4rem); line-height: 1.08; letter-spacing: -0.015em;
}
.lede { text-wrap: balance; margin: 20px auto 0; max-width: 34ch; font-size: clamp(1.1875rem, 2.2vw, 1.5rem); line-height: 1.35; letter-spacing: -0.01em; color: rgba(241, 236, 228, 0.78); }
.sub { text-wrap: pretty; margin: 18px auto 0; max-width: 46ch; font-size: clamp(1.0625rem, 1.8vw, 1.3125rem); line-height: 1.45; color: var(--muted); }
.sub-dark { color: var(--muted-dark); }
.section-head { max-width: 860px; margin: 0 auto; text-align: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--night); color: var(--ink-dark);
  padding: 72px 24px 0; text-align: center;
}
.hero-glow {
  position: absolute; left: 50%; top: 40px; width: 900px; height: 600px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255, 122, 69, 0.18), rgba(255, 122, 69, 0));
  pointer-events: none;
}
.hero-copy { position: relative; max-width: 900px; margin: 0 auto; }
.hero-mark { width: 88px; height: 88px; margin: 0 auto 28px; overflow: visible; }
.hm-body { fill: var(--ink-dark); stroke: var(--ink-dark); stroke-width: 3; stroke-linejoin: round; }
.hm-eye, .hm-brow { fill: #3A3542; }
.js .hero-mark { opacity: 0; transform: scale(0.9); transition: opacity 0.8s var(--ease), transform 1.1s var(--ease); }
.js .hero-mark.in { opacity: 1; transform: none; }
.hero-mark.lit .hm-eye { animation: ignite 1.1s var(--ease) forwards; }
.hero-mark.lit .hm-brow { animation: ignite 1.1s var(--ease) 0.25s forwards; }
@keyframes ignite {
  0% { fill: #3A3542; filter: none; }
  40% { fill: #FFB088; filter: drop-shadow(0 0 6px rgba(255, 122, 69, 0.9)); }
  100% { fill: var(--foxfire); filter: drop-shadow(0 0 3px rgba(255, 122, 69, 0.55)); }
}
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.cta-center { margin-top: 32px; }

/* ---------- The browser window demo ---------- */
.window {
  position: relative; max-width: 1040px; margin: 72px auto 0;
  border-radius: 14px 14px 0 0; overflow: hidden;
  background: var(--night-2);
  box-shadow: 0 0 0 1px rgba(241, 236, 228, 0.08), 0 -10px 80px rgba(255, 122, 69, 0.08), 0 40px 120px rgba(0, 0, 0, 0.6);
  text-align: left;
}
.js .window.reveal { transform: perspective(1600px) rotateX(14deg) translateY(60px) scale(0.96); transform-origin: 50% 100%; transition: opacity 1.2s var(--ease), transform 1.4s var(--ease); }
.js .window.reveal.in { transform: none; }
.win-bar { display: flex; align-items: center; gap: 14px; height: 52px; padding: 0 16px; background: #191720; border-bottom: 1px solid var(--line-dark); }
.win-dots { display: flex; gap: 7px; }
.win-dots i { width: 11px; height: 11px; border-radius: 50%; background: #3A3542; }
.win-mark { width: 20px; height: 20px; color: var(--ink-dark); }
.win-mark .mark-eye { fill: var(--foxfire); }
.win-address {
  flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0;
  height: 34px; padding: 0 6px 0 14px; border-radius: 10px; background: var(--night);
  font-size: 0.875rem; color: rgba(241, 236, 228, 0.86);
}
.win-url { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.win-url.typing { border-right: 2px solid var(--foxfire); animation: caret 0.8s steps(1) infinite; }
@keyframes caret { 50% { border-color: transparent; } }
.chip {
  display: inline-flex; align-items: center; gap: 7px; flex: none;
  height: 24px; padding: 0 10px; border-radius: 999px;
  font-size: 0.8125rem; font-weight: 600; font-variant-numeric: tabular-nums;
  transition: background-color 0.5s ease, color 0.5s ease;
}
.chip-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip-idle { background: rgba(241, 236, 228, 0.08); color: #8D857B; }
.chip-ai { background: rgba(207, 76, 141, 0.18); color: #F0A6CB; }
.chip-idle .chip-dot { animation: breathe 1.4s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: 0.35; } }

.win-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; min-height: 420px; }
.page-mock { background: #FBFAFF; padding: 18px 22px 26px; display: flex; flex-direction: column; gap: 18px; }
.pm-nav { display: flex; align-items: center; gap: 12px; }
.pm-logo { width: 80px; height: 14px; border-radius: 7px; background: #D9D4E8; margin-right: auto; }
.pm-pill { width: 46px; height: 8px; border-radius: 4px; background: #E6E2F0; }
.pm-btn { width: 70px; height: 24px; border-radius: 12px; background: #7C3AED; }
.pm-hero {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  padding: 34px 30px; border-radius: 18px;
  background: linear-gradient(135deg, #7C3AED 0%, #C026D3 55%, #EC4899 100%);
  color: #fff;
}
.pm-badge { font-size: 0.6875rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.2); }
.pm-h1 { font-family: var(--font-display); font-weight: 800; font-size: 1.75rem; line-height: 1.05; letter-spacing: -0.01em; }
.pm-sub { font-size: 0.8125rem; opacity: 0.85; max-width: 30ch; }
.pm-cta { margin-top: 4px; font-size: 0.75rem; font-weight: 650; padding: 8px 14px; border-radius: 10px; background: #fff; color: #7C3AED; }
.pm-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pm-cards span { height: 70px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px #ECE8F5, 0 6px 16px rgba(124, 58, 237, 0.08); }

.read-pane { background: var(--night-2); border-left: 1px solid var(--line-dark); padding: 22px 22px 26px; color: var(--ink-dark); }
.rp-label { margin: 0; font-size: 0.6875rem; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-dark); }
.rp-score { display: flex; align-items: baseline; gap: 12px; margin-top: 14px; }
.rp-num { font-family: var(--font-display); font-weight: 650; font-size: 3.5rem; line-height: 1; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; color: #F0A6CB; min-width: 2ch; }
.rp-verdict { font-weight: 600; color: var(--muted-dark); transition: color 0.4s ease; }
.rp-verdict.is-ai { color: #F0A6CB; }
.meter { position: relative; height: 6px; margin-top: 16px; border-radius: 3px; background: rgba(241, 236, 228, 0.08); overflow: hidden; }
.meter-fill { position: absolute; inset: 0 auto 0 0; width: 100%; transform-origin: 0 50%; transform: scaleX(0); border-radius: 3px; background: linear-gradient(90deg, var(--human-d) 0 40%, var(--unclear-d) 40% 70%, var(--ai-d) 70%); background-size: 100% 100%; }
.rp-builder { margin: 18px 0 0; font-size: 0.9375rem; color: var(--muted-dark); }
.rp-builder strong { color: var(--ink-dark); font-weight: 600; }
.evidence { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.ev { display: flex; align-items: flex-start; gap: 10px; font-family: var(--mono); font-size: 0.8125rem; line-height: 1.35; color: rgba(241, 236, 228, 0.86); opacity: 0; transform: translateX(10px); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); }
.ev.on { opacity: 1; transform: none; }
.ev-dot { flex: none; width: 7px; height: 7px; margin-top: 6px; border-radius: 50%; background: var(--ai-d); }

/* ---------- Bands ---------- */
.band { padding: clamp(96px, 14vw, 160px) 24px; }
.light { background: var(--washi); color: var(--sumi); }
.dark { background: var(--night); color: var(--ink-dark); }
.verdicts { padding-top: 0; }

/* Feature tiles */
.tiles { max-width: 1120px; margin: 64px auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tile { background: var(--card); border-radius: 14px; padding: 28px 28px 32px; box-shadow: 0 0 0 1px var(--line), 0 18px 50px rgba(28, 26, 23, 0.06); transition: transform 0.5s var(--ease), box-shadow 0.5s ease; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), 0 24px 60px rgba(28, 26, 23, 0.1); }
.tile h3 { margin: 26px 0 8px; font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -0.01em; line-height: 1.15; }
.tile p { margin: 0; color: var(--muted); font-size: 1rem; }
.tile-art { position: relative; height: 170px; border-radius: 10px; background: var(--frame); overflow: hidden; }

.art-builders { display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 10px; padding: 18px; }
.builder { padding: 8px 14px; border-radius: 999px; background: var(--card); font-weight: 600; font-size: 0.9375rem; box-shadow: 0 1px 0 var(--line), 0 6px 14px rgba(28, 26, 23, 0.06); transform: translateY(14px); opacity: 0; transition: transform 0.7s var(--ease), opacity 0.6s ease; }
.tile.in .builder { transform: none; opacity: 1; }
.tile.in .b2 { transition-delay: 0.08s; } .tile.in .b3 { transition-delay: 0.16s; } .tile.in .b4 { transition-delay: 0.24s; } .tile.in .b5 { transition-delay: 0.32s; }
.b1 { box-shadow: 0 0 0 2px var(--ai), 0 6px 14px rgba(160, 38, 106, 0.18); }

.art-evidence { display: grid; align-content: center; gap: 12px; padding: 22px 26px; }
.ev-line { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; background: var(--card); font-family: var(--mono); font-size: 0.8125rem; transform: translateX(-16px); opacity: 0; transition: transform 0.7s var(--ease), opacity 0.6s ease; }
.ev-line i { width: 8px; height: 8px; border-radius: 50%; background: var(--ai); }
.tile.in .ev-line { transform: none; opacity: 1; }
.tile.in .ev-line:nth-child(2) { transition-delay: 0.1s; } .tile.in .ev-line:nth-child(3) { transition-delay: 0.2s; }

.art-hide { display: grid; place-items: center; }
.hide-page { position: absolute; inset: 18px; border-radius: 12px; background: linear-gradient(135deg, #7C3AED, #EC4899); filter: blur(10px); opacity: 0.55; transform: scale(1.06); transition: filter 1s ease, opacity 1s ease; }
.hide-note { position: relative; display: grid; gap: 8px; text-align: center; padding: 16px 20px; border-radius: 12px; background: rgba(255, 253, 248, 0.86); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); font-weight: 600; font-size: 0.9375rem; box-shadow: 0 10px 30px rgba(28, 26, 23, 0.12); transform: scale(0.94); opacity: 0; transition: transform 0.7s var(--ease) 0.2s, opacity 0.5s ease 0.2s; }
.hide-note em { font-style: normal; font-weight: 500; font-size: 0.8125rem; color: var(--vermilion); }
.tile.in .hide-note { transform: none; opacity: 1; }

/* Verdict cards */
.verdict-grid { max-width: 1120px; margin: 64px auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.vcard { padding: 30px 28px; border-radius: 14px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.vcard h3 { margin: 18px 0 6px; font-family: var(--font-display); font-size: 1.375rem; letter-spacing: -0.01em; }
.vcard p { margin: 0; color: var(--muted); }
.vchip { display: inline-flex; padding: 5px 12px; border-radius: 999px; font-size: 0.8125rem; font-weight: 600; }
.vchip-neutral { background: rgba(28, 26, 23, 0.06); color: var(--sumi); }
.vchip-warn { background: rgba(158, 27, 31, 0.1); color: var(--danger); }
.vcard-warn { box-shadow: 0 0 0 1px rgba(158, 27, 31, 0.25); }

/* Search */
.split { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.split-copy .sub { margin-left: 0; }
.switch { display: inline-flex; align-items: center; gap: 14px; margin-top: 32px; font-weight: 600; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-track { position: relative; width: 52px; height: 32px; border-radius: 16px; background: var(--night-3); transition: background-color 0.3s ease; }
.switch-thumb { position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); transition: transform 0.45s var(--ease); }
.switch input:checked + .switch-track { background: var(--vermilion); }
.switch input:checked + .switch-track .switch-thumb { transform: translateX(20px); }
.switch input:focus-visible + .switch-track { outline: 2px solid var(--foxfire); outline-offset: 3px; }

.serp { padding: 22px; border-radius: 14px; background: var(--night-2); box-shadow: 0 0 0 1px var(--line-dark), 0 30px 80px rgba(0, 0, 0, 0.45); }
.serp-query { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; border-radius: 10px; background: var(--night); color: rgba(241, 236, 228, 0.9); font-size: 0.9375rem; }
.serp-query svg { width: 18px; height: 18px; fill: none; stroke: var(--muted-dark); stroke-width: 2; stroke-linecap: round; }
.serp-list { list-style: none; margin: 10px 0 0; padding: 0; }
.result span { display: block; }
.r-url { padding-top: 14px; font-size: 0.8125rem; color: var(--muted-dark); }
.r-title { margin-top: 2px; font-size: 1.0625rem; font-weight: 600; color: #8EB8F0; }
.r-tag { align-self: flex-start; margin: 8px 0 14px; padding: 3px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.result + .result { border-top: 1px solid var(--line-dark); }
.tag-human { background: rgba(75, 140, 218, 0.16); color: #9CC2F2; }
.tag-unclear { background: rgba(201, 174, 44, 0.16); color: #E2CC63; }
.tag-ai { background: rgba(207, 76, 141, 0.18); color: #F0A6CB; }
.result { display: flex; flex-direction: column; max-height: 140px; overflow: hidden; transition: max-height 0.55s var(--ease), opacity 0.35s ease, border-color 0.3s ease; }
.serp.hide-ai .is-ai { max-height: 0; opacity: 0; border-top-color: transparent; }
.serp-note { margin: 4px 0 0; min-height: 1.5em; font-size: 0.875rem; color: var(--muted-dark); }

/* How it works */
.pipeline { position: relative; list-style: none; max-width: 1120px; margin: 72px auto 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pipeline::before { content: ""; position: absolute; top: 27px; left: 16%; right: 16%; height: 2px; background: linear-gradient(90deg, var(--vermilion), var(--foxfire)); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.4s var(--ease) 0.2s; }
.pipeline.in::before { transform: scaleX(1); }
.stage { position: relative; text-align: center; padding: 0 12px; }
.stage-num { position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 8px 24px rgba(28, 26, 23, 0.08); font-family: var(--font-display); font-weight: 650; font-size: 1.375rem; color: var(--vermilion); }
.stage h3 { margin: 22px 0 8px; font-family: var(--font-display); font-size: 1.375rem; letter-spacing: -0.01em; }
.stage p { margin: 0 auto; max-width: 30ch; color: var(--muted); }

.scale { max-width: 760px; margin: 88px auto 0; }
.scale-bar { position: relative; display: grid; grid-template-columns: 40fr 30fr 30fr; height: 12px; border-radius: 6px; overflow: visible; }
.scale-bar > span:not(.scale-pin) { height: 100%; }
.scale-human { background: var(--human); border-radius: 6px 0 0 6px; }
.scale-unclear { background: #B49A1C; }
.scale-ai { background: var(--ai); border-radius: 0 6px 6px 0; }
.scale-pin { position: absolute; top: 50%; left: 0; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--card); box-shadow: 0 0 0 3px var(--sumi), 0 4px 12px rgba(28, 26, 23, 0.25); transition: left 1.6s var(--ease) 0.3s; }
.scale.in .scale-pin { left: 78%; }
.scale-labels { display: grid; grid-template-columns: 40fr 30fr 30fr; margin-top: 16px; font-size: 0.875rem; color: var(--muted); }
.scale-labels strong { display: block; color: var(--sumi); font-variant-numeric: tabular-nums; }
.scale-labels span:nth-child(1) strong { color: var(--human); }
.scale-labels span:nth-child(2) strong { color: var(--unclear-text); }
.scale-labels span:nth-child(3) strong { color: var(--ai); }

/* Privacy */
.facts { list-style: none; max-width: 1120px; margin: 64px auto 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fact { padding: 26px 24px; border-radius: 14px; background: var(--night-2); box-shadow: 0 0 0 1px var(--line-dark); }
.fact strong { display: block; font-family: var(--font-display); font-size: 1.1875rem; letter-spacing: -0.015em; }
.fact span { display: block; margin-top: 8px; color: var(--muted-dark); font-size: 0.9375rem; }

/* Final */
.final { text-align: center; }
.final-mark { width: 96px; height: 96px; margin: 0 auto 28px; }

/* Footer */
.footer { background: var(--frame); color: var(--muted); font-size: 0.875rem; }
.footer-inner { max-width: 1120px; margin: 0 auto; padding: 40px 24px 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a, .footer-links .link-button { color: var(--sumi); text-decoration: none; }
.footer-links a:hover, .footer-links .link-button:hover { text-decoration: underline; }
.fine { margin: 0 0 0 auto; }

/* ---------- Pricing dialog ---------- */
.pricing {
  width: min(880px, calc(100% - 32px)); max-height: calc(100% - 48px); padding: 0; border: 0;
  border-radius: 14px; background: var(--card); color: var(--sumi);
  box-shadow: 0 40px 120px rgba(10, 9, 14, 0.45), 0 0 0 1px var(--line);
  opacity: 0; transform: scale(0.94) translateY(10px);
  transition: opacity 0.28s ease, transform 0.5s var(--ease);
}
.pricing.is-open { opacity: 1; transform: none; }
.pricing::backdrop { background: rgba(10, 9, 14, 0.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity 0.3s ease; }
.pricing.is-open::backdrop { opacity: 1; }
.pricing-inner { position: relative; padding: 44px clamp(20px, 5vw, 48px) 32px; text-align: center; }
.pricing h2 { margin: 0; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.75rem); letter-spacing: -0.01em; }
.pricing-sub { margin: 10px 0 0; color: var(--muted); }
.close { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 8px; background: rgba(28, 26, 23, 0.06); cursor: pointer; transition: background-color 0.2s ease, transform 0.12s var(--ease); }
.close:hover { background: rgba(28, 26, 23, 0.1); }
.close:active { transform: scale(0.92); }
.close svg { width: 18px; height: 18px; fill: none; stroke: var(--sumi); stroke-width: 2; stroke-linecap: round; }

.segmented { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; margin-top: 26px; padding: 4px; border-radius: 10px; background: rgba(28, 26, 23, 0.06); }
.segmented button { position: relative; z-index: 1; min-height: 40px; padding: 0 22px; border: 0; border-radius: 8px; background: none; cursor: pointer; font-weight: 600; font-size: 0.9375rem; color: var(--muted); transition: color 0.3s ease; }
.segmented button[aria-checked="true"] { color: var(--sumi); }
.seg-pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 8px; background: var(--card); box-shadow: 0 1px 2px rgba(28, 26, 23, 0.1), 0 4px 12px rgba(28, 26, 23, 0.08); transition: transform 0.5s var(--ease); }
.segmented[data-selected="yearly"] .seg-pill { transform: translateX(100%); }
.save { margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: rgba(210, 63, 26, 0.12); color: var(--vermilion-hover); font-size: 0.75rem; }

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; text-align: left; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px 26px 24px; border-radius: 12px; background: var(--washi); box-shadow: 0 0 0 1px var(--line); }
.plan h3 { margin: 0; font-family: var(--font-display); font-size: 1.25rem; letter-spacing: -0.015em; }
.price { display: flex; align-items: baseline; gap: 4px; margin: 14px 0 0; height: 3.4rem; overflow: hidden; }
.amount { display: inline-block; font-family: var(--font-display); font-weight: 650; font-size: 3rem; line-height: 1.1; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.amount.roll { animation: roll 0.55s var(--ease); }
@keyframes roll { 0% { transform: translateY(70%); opacity: 0; } 100% { transform: none; opacity: 1; } }
.per { color: var(--muted); font-weight: 500; }
.plan-for { margin: 6px 0 0; color: var(--muted); }
.plan ul { list-style: none; margin: 20px 0 24px; padding: 0; display: grid; gap: 10px; flex: 1; }
.plan li { position: relative; padding-left: 26px; font-size: 0.9375rem; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 13px; height: 7px; border-left: 2px solid var(--vermilion); border-bottom: 2px solid var(--vermilion); transform: rotate(-45deg); }
.plan-plus { background: var(--night); color: var(--ink-dark); box-shadow: none; }
.plan-plus .per, .plan-plus .plan-for { color: var(--muted-dark); }
.plan-plus li::before { border-color: var(--foxfire); }
.plan-plus .btn-quiet-dark { background: rgba(241, 236, 228, 0.1); color: var(--ink-dark); }
.soon { position: absolute; top: 24px; right: 22px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 122, 69, 0.16); color: var(--foxfire); font-size: 0.75rem; font-weight: 650; }
.pricing-fine { margin: 18px 0 0; font-size: 0.8125rem; color: var(--muted); }

/* ---------- Feature tour ---------- */
.tour-ring {
  position: absolute; z-index: 60; pointer-events: none; border-radius: 16px;
  box-shadow: 0 0 0 3px var(--foxfire), 0 0 0 9px rgba(255, 122, 69, 0.22);
  transition: top 0.5s var(--ease), left 0.5s var(--ease), width 0.5s var(--ease), height 0.5s var(--ease);
}
.tour-card {
  position: absolute; z-index: 61; width: min(340px, calc(100vw - 32px));
  padding: 20px 20px 16px; border-radius: 14px; background: var(--card); color: var(--sumi);
  box-shadow: 0 24px 70px rgba(10, 9, 14, 0.35), 0 0 0 1px var(--line);
  transition: top 0.5s var(--ease), left 0.5s var(--ease), opacity 0.3s ease;
}
.tour-card:focus { outline: none; }
.tour-step { margin: 0; font-size: 0.8125rem; font-weight: 600; color: var(--vermilion); }
.tour-title { margin: 6px 0 6px; font-family: var(--font-display); font-size: 1.25rem; letter-spacing: -0.015em; }
.tour-body { margin: 0; color: var(--muted); font-size: 0.9375rem; }
.tour-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.tour-skip { color: var(--muted); font-size: 0.875rem; }
.tour-skip:hover { color: var(--sumi); }
.tour-nav { display: flex; gap: 8px; }

.tour-invite {
  position: fixed; z-index: 55; right: 20px; bottom: 20px; display: flex; align-items: center; gap: 14px;
  max-width: 460px; padding: 14px 16px 14px 14px; border-radius: 14px;
  background: rgba(30, 27, 38, 0.86); color: var(--ink-dark);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px var(--line-dark);
  transform: translateY(24px); opacity: 0; transition: transform 0.6s var(--ease), opacity 0.4s ease;
}
.tour-invite.is-shown { transform: none; opacity: 1; }
.tour-invite p { margin: 0; font-size: 0.9375rem; }
.tour-invite .link-button { color: var(--muted-dark); font-size: 0.875rem; }
.tour-invite .link-button:hover { color: var(--ink-dark); }
.invite-mark { flex: none; width: 30px; height: 30px; color: var(--ink-dark); }
.invite-mark .mark-eye { fill: var(--foxfire); }

/* ---------- Narrow screens ---------- */
@media (max-width: 900px) {
  .nav-links a { display: none; }
  .nav-links { gap: 0; }
  .win-body { grid-template-columns: 1fr; }
  .page-mock { display: none; }
  .read-pane { border-left: 0; }
  .tiles, .verdict-grid, .pipeline { grid-template-columns: 1fr; }
  .pipeline::before { display: none; }
  .stage + .stage { margin-top: 24px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: 1fr; }
  .fine { margin-left: 0; }
  .tour-invite { left: 16px; right: 16px; bottom: 16px; flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .nav-inner { gap: 14px; padding: 0 16px; }
  .nav .brand-lockup { display: none; }
  .brand-mark-only { display: block; }
  .hero { padding-top: 56px; }
  .window { margin-top: 56px; }
  .facts { grid-template-columns: 1fr; }
  .scale-labels { font-size: 0.75rem; }
  .tour-card { position: fixed; left: 16px !important; right: 16px; bottom: 16px; top: auto !important; width: auto; }
}

/* ---------- Accessibility preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .window.reveal, .js .hero-mark { transform: none !important; transition: opacity 0.3s ease !important; }
  .hero-mark.lit .hm-eye, .hero-mark.lit .hm-brow { animation: none; fill: var(--foxfire); }
  .builder, .ev-line, .hide-note, .ev { transform: none !important; transition: opacity 0.3s ease !important; }
  .pipeline::before { transition: none; }
  .scale-pin { transition: none; }
  .pricing, .seg-pill, .switch-thumb, .tour-ring, .tour-card, .tour-invite, .result, .tile { transition-duration: 0.01s !important; }
  .pricing { transform: none; }
  .amount.roll { animation: none; }
  .chip-idle .chip-dot, .win-url.typing { animation: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav { background: var(--night); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .tour-invite { background: var(--night-2); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .hide-note { background: var(--card); }
}
@media (prefers-contrast: more) {
  .tile, .vcard, .plan, .fact { box-shadow: 0 0 0 2px currentColor; }
  .sub, .tile p, .vcard p, .stage p { color: inherit; }
}
