/* FirstSnag website. One stylesheet: tokens (shared with the app's dashboard), base, layout, components.
   No web fonts, no external requests. Both themes via light-dark(); data-theme on <html> forces one. */

/* ------------------------------------------------------------------ tokens */
:root {
  color-scheme: light dark;

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

  --wrap: 1180px;
  --gutter: 24px;
  --header-h: 64px;

  --r-6: 6px;
  --r-10: 10px;
  --r-14: 14px;
  --r-20: 20px;
  --r-full: 999px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  /* Surfaces (the app's palette: layered near-black in dark, soft paper in light). */
  --bg: light-dark(#FAFAFB, #0A0B0D);
  --bg-soft: light-dark(#F3F3F6, #0E0F12);
  --surface-1: light-dark(#FFFFFF, #111215);
  --surface-2: light-dark(#F6F6F8, #16171B);
  --surface-3: light-dark(#EEEEF2, #1D1E23);
  --screen: light-dark(#F7F7F9, #0E0F12); /* behind app screenshots (each has a light and a dark version) */
  --glass: light-dark(rgba(250, 250, 251, 0.78), rgba(10, 11, 13, 0.72));

  --border-1: light-dark(rgba(20, 22, 32, 0.07), rgba(255, 255, 255, 0.06));
  --border-2: light-dark(rgba(20, 22, 32, 0.11), rgba(255, 255, 255, 0.09));
  --border-3: light-dark(rgba(20, 22, 32, 0.18), rgba(255, 255, 255, 0.15));
  --highlight: light-dark(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.05));

  --text-1: light-dark(#15161A, #EDEEF0);
  --text-2: light-dark(#50545D, #A7AAB2);
  --text-3: light-dark(#666A73, #8A8E97);

  --accent: light-dark(#5B4CF0, #6D5EF5);
  --accent-hover: light-dark(#4D3DE6, #7B6DF7);
  --accent-text: light-dark(#4B3BE0, #ADA4FF);
  --accent-soft: light-dark(rgba(91, 76, 240, 0.08), rgba(124, 110, 255, 0.13));
  --accent-line: light-dark(rgba(91, 76, 240, 0.30), rgba(141, 128, 255, 0.38));
  --focus: light-dark(rgba(91, 76, 240, 0.55), rgba(150, 138, 255, 0.8));

  --ok: light-dark(#15803D, #3DD68C);
  --warn: light-dark(#A15C07, #F5B547);
  --danger: light-dark(#C0263D, #FF7A8C);
  --warn-soft: light-dark(rgba(161, 92, 7, 0.08), rgba(245, 181, 71, 0.10));
  --warn-line: light-dark(rgba(161, 92, 7, 0.28), rgba(245, 181, 71, 0.30));

  /* Deal badges (fixed colours, as in the app). */
  --steal-bg: #12E39B; --steal-fg: #02261A;
  --great-bg: #8EE27A; --great-fg: #0D2A07;
  --good-bg: #5AD8D2; --good-fg: #032826;
  --scam-bg: #F7B955; --scam-fg: #2A1A00;
  --drop: light-dark(#0369A1, #4CC9F0);
  --high: light-dark(#B4405A, #F29AAE);

  --shadow-1: 0 1px 2px light-dark(rgba(16, 18, 30, 0.06), rgba(0, 0, 0, 0.45));
  --shadow-2: 0 2px 4px light-dark(rgba(16, 18, 30, 0.04), rgba(0, 0, 0, 0.3)), 0 12px 28px -8px light-dark(rgba(16, 18, 30, 0.14), rgba(0, 0, 0, 0.6));
  --shadow-3: 0 4px 12px light-dark(rgba(16, 18, 30, 0.05), rgba(0, 0, 0, 0.35)), 0 40px 80px -24px light-dark(rgba(30, 24, 90, 0.28), rgba(0, 0, 0, 0.85));
}

:root[data-theme="dark"] { color-scheme: dark; }
:root[data-theme="light"] { color-scheme: light; }

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text-1);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); color: var(--text-1); text-wrap: balance; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
code, kbd { font-family: var(--font-mono); font-size: 0.92em; }
::selection { background: var(--accent-line); }

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

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 10px 14px; border-radius: var(--r-10);
  background: var(--accent); color: #fff; font-weight: 600;
}
.skip:focus { top: 12px; }

[hidden] { display: none !important; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: calc(800px + var(--gutter) * 2); }

/* inline links in running text */
.link, .prose a, .faq-body a, .note a {
  color: var(--accent-text);
  text-decoration: underline;
  text-decoration-color: var(--accent-line);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: text-decoration-color 0.15s;
}
.link:hover, .prose a:hover, .faq-body a:hover, .note a:hover { text-decoration-color: currentColor; }

/* ------------------------------------------------------------------ icons */
.i { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.i-sm { width: 16px; height: 16px; }
.i-lg { width: 22px; height: 22px; }

/* ------------------------------------------------------------------ buttons */
.btn {
  --btn-h: 40px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--btn-h); padding: 0 16px;
  border-radius: var(--r-10); border: 1px solid transparent;
  font-size: 14.5px; font-weight: 600; line-height: 1; white-space: nowrap;
  cursor: pointer; user-select: none;
  transition: background-color 0.15s, border-color 0.15s, box-shadow 0.2s, transform 0.15s var(--ease-out), color 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { --btn-h: 48px; padding: 0 22px; font-size: 15.5px; border-radius: 12px; }
.btn-sm { --btn-h: 34px; padding: 0 12px; font-size: 13.5px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 1px 2px rgba(20, 10, 80, 0.3), 0 8px 24px -8px light-dark(rgba(91, 76, 240, 0.55), rgba(109, 94, 245, 0.6));
}
.btn-primary:hover { background: var(--accent-hover); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 2px rgba(20, 10, 80, 0.3), 0 10px 30px -8px light-dark(rgba(91, 76, 240, 0.65), rgba(109, 94, 245, 0.75)); }

.btn-secondary {
  background: var(--surface-1); color: var(--text-1); border-color: var(--border-2);
  box-shadow: var(--shadow-1), inset 0 1px 0 var(--highlight);
}
.btn-secondary:hover { border-color: var(--border-3); background: var(--surface-2); }

.btn-ghost { background: transparent; color: var(--text-2); }
.btn-ghost:hover { color: var(--text-1); background: var(--surface-2); }

.btn .i { width: 17px; height: 17px; }

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: var(--glass);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border-1);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; color: var(--text-1); }
.brand img { width: 28px; height: 28px; border-radius: 8px; box-shadow: 0 4px 14px -4px rgba(91, 76, 240, 0.6); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 12px; border-radius: var(--r-10);
  font-size: 14.5px; font-weight: 500; color: var(--text-2);
  transition: color 0.15s, background-color 0.15s;
}
.nav a:hover { color: var(--text-1); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--text-1); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.menu-btn {
  display: none; width: 40px; height: 40px; align-items: center; justify-content: center;
  border-radius: var(--r-10); border: 1px solid var(--border-2); background: var(--surface-1); cursor: pointer;
}
.menu-btn .i { width: 20px; height: 20px; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }

@media (max-width: 880px) {
  .site-header .wrap { gap: 12px; }
  .menu-btn { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px var(--gutter) 20px;
    background: var(--bg); border-bottom: 1px solid var(--border-2);
    box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.4);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px; font-size: 16px; }
}
@media (max-width: 400px) {
  .header-actions .btn-download-label-long { display: none; }
}

/* ------------------------------------------------------------------ type helpers */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.01em; color: var(--accent-text);
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  height: 32px; padding: 0 14px 0 6px; border-radius: var(--r-full);
  background: var(--surface-1); border: 1px solid var(--border-2);
  box-shadow: var(--shadow-1), inset 0 1px 0 var(--highlight);
  font-size: 13.5px; font-weight: 500; color: var(--text-2);
}
.pill-tag {
  display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: var(--r-full);
  background: var(--accent-soft); color: var(--accent-text); font-size: 12px; font-weight: 700; letter-spacing: 0.02em;
}
.pill .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-3); }

.display {
  font-size: clamp(2.6rem, 1.55rem + 4.6vw, 4.75rem);
  line-height: 1.02; letter-spacing: -0.038em; font-weight: 700;
}
.grad-text {
  background: linear-gradient(180deg, var(--text-1) 35%, light-dark(#4A4E58, #9A9DB0));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.h2 { font-size: clamp(1.9rem, 1.35rem + 2.2vw, 3rem); line-height: 1.08; letter-spacing: -0.032em; font-weight: 700; }
.h3 { font-size: 1.1875rem; line-height: 1.3; letter-spacing: -0.012em; font-weight: 650; }
.lead { font-size: clamp(1.0625rem, 0.98rem + 0.4vw, 1.25rem); line-height: 1.55; color: var(--text-2); text-wrap: pretty; }
.muted { color: var(--text-2); }
.faint { color: var(--text-3); }
.small { font-size: 14px; }
.tiny { font-size: 13px; }

/* ------------------------------------------------------------------ sections */
.section { padding-block: clamp(72px, 9vw, 128px); position: relative; }
.section-tight { padding-block: clamp(56px, 6vw, 88px); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 4vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head .lead { margin-top: 16px; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--border-2) 20%, var(--border-2) 80%, transparent); border: 0; margin: 0; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(48px, 6vw, 88px); isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -64px 0 auto 0; height: 900px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(42% 46% at 50% 6%, light-dark(rgba(109, 94, 245, 0.16), rgba(109, 94, 245, 0.26)), transparent 72%),
    radial-gradient(30% 34% at 78% 22%, light-dark(rgba(90, 216, 210, 0.10), rgba(90, 216, 210, 0.07)), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: -64px 0 auto 0; height: 760px; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(to right, var(--border-1) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border-1) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(60% 70% at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(60% 70% at 50% 0%, #000 30%, transparent 75%);
}
.hero-copy { max-width: 860px; margin-inline: auto; text-align: center; }
.hero-copy .pill { margin-bottom: 26px; }
.hero-copy .lead { max-width: 640px; margin: 22px auto 0; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.hero-note { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 20px; font-size: 13.5px; color: var(--text-3); }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note .i { width: 15px; height: 15px; color: var(--ok); }

.hero-visual { position: relative; max-width: 1100px; margin: clamp(48px, 6vw, 72px) auto 0; }
.hero-visual .glow {
  position: absolute; inset: 8% 6% -4% 6%; z-index: -1; border-radius: 40px; filter: blur(60px);
  background: radial-gradient(50% 60% at 50% 40%, light-dark(rgba(109, 94, 245, 0.30), rgba(109, 94, 245, 0.42)), transparent 70%);
}

/* App window frame around screenshots */
.frame {
  position: relative; border-radius: var(--r-14); overflow: hidden;
  background: var(--surface-1);
  border: 1px solid var(--border-2);
  box-shadow: var(--shadow-3), 0 0 0 1px light-dark(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.02)) inset;
}
.frame-bar {
  display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px;
  background: var(--surface-2); border-bottom: 1px solid var(--border-1);
}
.frame-tab { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-2); min-width: 0; }
.frame-tab svg { width: 14px; height: 14px; border-radius: 4px; }
.frame-url {
  flex: 1; max-width: 360px; margin-inline: auto; height: 26px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--surface-1); border: 1px solid var(--border-1);
  font-family: var(--font-mono); font-size: 12px; color: var(--text-3);
}
.frame-url .i { width: 13px; height: 13px; }
.frame-win { display: flex; gap: 14px; color: var(--text-3); }
.frame-win .i { width: 13px; height: 13px; stroke-width: 1.5; }
.frame picture, .frame img { width: 100%; }
.frame-img { position: relative; }
.frame-img::after { /* fade the cut-off bottom of the screenshot */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22%;
  background: linear-gradient(to bottom, transparent, var(--surface-1));
  pointer-events: none;
}

/* Alert cards over the hero screenshot (styled after the app's alert text) */
.toasts { position: absolute; right: -28px; bottom: 64px; width: 360px; display: grid; gap: 10px; }
.toast {
  display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start;
  padding: 14px 16px; border-radius: var(--r-14);
  background: light-dark(rgba(255, 255, 255, 0.86), rgba(24, 25, 30, 0.82));
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--border-2);
  box-shadow: var(--shadow-2), inset 0 1px 0 var(--highlight);
}
.toast svg.mark { width: 32px; height: 32px; border-radius: 8px; }
.toast-meta { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--text-3); margin-bottom: 3px; }
.toast-title { font-size: 14px; font-weight: 650; line-height: 1.35; color: var(--text-1); }
.toast-body { font-size: 13px; line-height: 1.45; color: var(--text-2); margin-top: 2px; }
.toast-2 { margin-right: 28px; opacity: 0.94; }
.caption { margin-top: 16px; text-align: center; font-size: 13px; color: var(--text-3); }

@media (max-width: 1180px) { .toasts { right: 16px; } }
@media (max-width: 900px) {
  .toasts { position: relative; right: auto; bottom: auto; width: auto; max-width: 440px; margin: -36px auto 0; padding-inline: 12px; }
  .toast-2 { display: none; }
}

/* reveal on load */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise 0.9s var(--ease-out) both; }
  .rise-2 { animation-delay: 0.08s; }
  .rise-3 { animation-delay: 0.16s; }
  .rise-4 { animation-delay: 0.28s; }
  .rise-5 { animation-delay: 0.6s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* ------------------------------------------------------------------ facts strip */
.facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border-1); border-radius: var(--r-20); background: var(--surface-1);
  box-shadow: inset 0 1px 0 var(--highlight);
}
.fact { padding: 22px 24px; }
.fact + .fact { border-left: 1px solid var(--border-1); }
.fact-num { font-family: var(--font-display); font-size: 28px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.fact-label { margin-top: 4px; font-size: 14px; color: var(--text-2); }
@media (max-width: 820px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--border-1); }
}

/* ------------------------------------------------------------------ how it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative; padding: 28px; border-radius: var(--r-20);
  background: var(--surface-1); border: 1px solid var(--border-1);
  box-shadow: inset 0 1px 0 var(--highlight);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin-bottom: 20px;
  border-radius: 10px; background: var(--accent-soft); color: var(--accent-text);
  font-family: var(--font-display); font-weight: 700; font-size: 15px; border: 1px solid var(--accent-line);
}
.step p { margin-top: 10px; color: var(--text-2); font-size: 15.5px; }
.steps-after { margin-top: 28px; text-align: center; color: var(--text-2); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ bento features */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.tile {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  padding: 28px; border-radius: var(--r-20);
  background: var(--surface-1); border: 1px solid var(--border-1);
  box-shadow: inset 0 1px 0 var(--highlight);
}
.tile-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-bottom: 18px;
  border-radius: 10px; background: var(--surface-3); border: 1px solid var(--border-1); color: var(--text-1);
}
.tile-icon .i { width: 19px; height: 19px; }
.tile p { margin-top: 10px; color: var(--text-2); font-size: 15.5px; line-height: 1.6; }
.tile-media { margin-top: 24px; flex: 1; display: flex; align-items: flex-end; justify-content: center; min-height: 0; }
.tile-media.bleed { margin-inline: -28px; margin-bottom: -28px; }
.screen {
  width: 100%; overflow: hidden; border-radius: 12px; background: var(--screen);
  border: 1px solid light-dark(rgba(20, 22, 32, 0.12), rgba(255, 255, 255, 0.08));
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.5);
}
.screen img { width: 100%; }
.screen-top { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; }
.span-7 { grid-column: span 7; }
.span-5 { grid-column: span 5; }
.span-4 { grid-column: span 4; }
.span-8 { grid-column: span 8; }
.span-6 { grid-column: span 6; }
.span-12 { grid-column: span 12; }
.tile-stack { grid-column: span 4; display: grid; gap: 16px; }
.tile-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.tile-row .tile-media { margin-top: 0; }
@media (max-width: 1020px) {
  .span-7, .span-5, .span-8, .tile-stack { grid-column: span 12; }
  .span-4 { grid-column: span 6; }
  .tile-stack { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .span-4, .span-6 { grid-column: span 12; }
  .tile-stack { grid-template-columns: 1fr; }
  .tile-row { grid-template-columns: 1fr; }
  .tile { padding: 22px; }
  .tile-media.bleed { margin-inline: -22px; margin-bottom: -22px; }
}

/* badges, as on the app's cards */
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.badge {
  display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: var(--r-full);
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.01em; white-space: nowrap;
}
.badge-steal { background: var(--steal-bg); color: var(--steal-fg); }
.badge-great { background: var(--great-bg); color: var(--great-fg); }
.badge-good { background: var(--good-bg); color: var(--good-fg); }
.badge-fair { background: var(--surface-3); color: var(--text-2); border: 1px solid var(--border-1); }
.badge-high { background: var(--surface-3); color: var(--high); border: 1px solid var(--border-1); }
.badge-scam { background: var(--scam-bg); color: var(--scam-fg); }
.badge .i { width: 13px; height: 13px; stroke-width: 2.2; }

/* the two mini alert cards inside the "alerts" tile */
.alert-stack { width: 100%; display: grid; gap: 10px; }
.alert-stack .toast { background: var(--surface-2); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: var(--shadow-1), inset 0 1px 0 var(--highlight); }
.alert-stack .toast:nth-child(2) { margin-inline: 14px; opacity: 0.85; }
.alert-stack .toast:nth-child(3) { margin-inline: 28px; opacity: 0.6; }

.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; color: var(--text-2); font-size: 15.5px; }
.check-list li .i { margin-top: 3px; width: 18px; height: 18px; color: var(--accent-text); }
.check-list.ok li .i { color: var(--ok); }
.check-list.no li .i { color: var(--danger); }
.check-list strong { color: var(--text-1); font-weight: 600; }

/* ------------------------------------------------------------------ honest section */
.honest { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.honest-item { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 26px; border-radius: var(--r-20); background: var(--surface-1); border: 1px solid var(--border-1); }
.honest-item .tile-icon { margin: 0; width: 44px; height: 44px; border-radius: 12px; }
.honest-item p { margin-top: 8px; color: var(--text-2); font-size: 15.5px; }
.honest-item.warn { background: var(--warn-soft); border-color: var(--warn-line); }
.honest-item.warn .tile-icon { color: var(--warn); background: transparent; border-color: var(--warn-line); }
@media (max-width: 820px) { .honest { grid-template-columns: 1fr; } .honest-item { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ comparison table */
.table-scroll {
  overflow-x: auto; border-radius: var(--r-20); border: 1px solid var(--border-1); background: var(--surface-1);
  -webkit-overflow-scrolling: touch; scrollbar-width: thin;
}
.compare { width: 100%; min-width: 780px; border-collapse: separate; border-spacing: 0; font-size: 14.5px; }
.compare th, .compare td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border-1); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font-family: var(--font-display); font-size: 15px; font-weight: 650; color: var(--text-1); background: var(--surface-2); white-space: nowrap; }
.compare thead th small { display: block; font-family: var(--font-text); font-weight: 400; font-size: 12.5px; color: var(--text-3); margin-top: 2px; }
.compare tbody th { font-weight: 600; color: var(--text-1); width: 190px; }
.compare td { color: var(--text-2); }
.compare .us { background: var(--accent-soft); color: var(--text-1); }
.compare thead .us { background: light-dark(rgba(91, 76, 240, 0.11), rgba(124, 110, 255, 0.18)); color: var(--accent-text); }
.compare .yes, .compare .no { display: inline-flex; align-items: flex-start; gap: 6px; }
.compare .yes .i { color: var(--ok); width: 16px; height: 16px; margin-top: 3px; }
.compare .no .i { color: var(--text-3); width: 16px; height: 16px; margin-top: 3px; }
.compare-note { margin-top: 14px; font-size: 13px; color: var(--text-3); }
.scroll-hint { display: none; font-size: 13px; color: var(--text-3); margin-bottom: 10px; }
@media (max-width: 820px) {
  .scroll-hint { display: block; }
  .compare th:first-child, .compare td:first-child { position: sticky; left: 0; z-index: 1; background: var(--surface-1); }
  .compare thead th:first-child { background: var(--surface-2); }
  .compare tbody th { width: 140px; min-width: 140px; }
}

/* ------------------------------------------------------------------ pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 30px 28px 28px;
  border-radius: var(--r-20); background: var(--surface-1); border: 1px solid var(--border-1);
  box-shadow: inset 0 1px 0 var(--highlight);
}
.plan-featured {
  border-color: var(--accent-line);
  box-shadow: 0 0 0 1px var(--accent-line), 0 30px 60px -30px light-dark(rgba(91, 76, 240, 0.45), rgba(109, 94, 245, 0.5)), inset 0 1px 0 var(--highlight);
  background:
    radial-gradient(120% 60% at 50% 0%, var(--accent-soft), transparent 70%),
    var(--surface-1);
}
.plan-name { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-family: var(--font-display); font-size: 17px; font-weight: 650; }
.plan-flag { height: 24px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: var(--r-full); background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.01em; }
.plan-for { margin-top: 4px; font-size: 14.5px; color: var(--text-2); }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-top: 22px; }
.plan-price .amount { font-family: var(--font-display); font-size: 46px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.plan-price .per { color: var(--text-2); font-size: 15px; }
.plan-sub { margin-top: 8px; min-height: 22px; font-size: 14px; color: var(--text-3); }
.plan-sub strong { color: var(--ok); font-weight: 600; }
.plan .btn { margin-top: 24px; }
.plan .check-list { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--border-1); }
.plan .check-list li { font-size: 15px; }
.plans-note { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; font-size: 14px; color: var(--text-2); text-align: center; }
.plans-note span { display: inline-flex; align-items: center; gap: 7px; }
.plans-note .i { width: 16px; height: 16px; color: var(--text-3); }
.beta-note {
  max-width: 760px; margin: 0 auto 28px; display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 18px; border-radius: var(--r-14);
  background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--text-1); font-size: 14.5px;
}
.beta-note .i { color: var(--accent-text); margin-top: 2px; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* Free vs Pro matrix (pricing page) */
.matrix { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.matrix th, .matrix td { padding: 15px 18px; border-bottom: 1px solid var(--border-1); text-align: left; }
.matrix thead th { font-family: var(--font-display); font-size: 15px; background: var(--surface-2); }
.matrix td:not(:first-child), .matrix th:not(:first-child) { text-align: center; width: 22%; }
.matrix td { color: var(--text-2); }
.matrix td:first-child { color: var(--text-1); }
.matrix .i { display: inline-block; vertical-align: -3px; color: var(--ok); }
.matrix tbody tr:last-child td { border-bottom: 0; }
.matrix-group td { background: var(--bg-soft); font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3) !important; padding-top: 12px; padding-bottom: 12px; }

/* ------------------------------------------------------------------ FAQ */
.faq-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; } .faq-layout .section-head { position: static; } }
.faq { border-top: 1px solid var(--border-2); }
.faq details { border-bottom: 1px solid var(--border-2); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 2px; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: var(--text-1);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--text-3); transition: transform 0.2s var(--ease-out); }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent-text); }
.faq-body { padding: 0 2px 22px; color: var(--text-2); font-size: 15.5px; max-width: 640px; }
.faq-body p + p { margin-top: 10px; }

/* ------------------------------------------------------------------ final CTA */
.cta-card {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  padding: clamp(48px, 7vw, 88px) clamp(24px, 5vw, 64px); border-radius: 28px;
  background: var(--surface-1); border: 1px solid var(--border-2);
}
.cta-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 80% at 50% 0%, light-dark(rgba(109, 94, 245, 0.16), rgba(109, 94, 245, 0.28)), transparent 70%),
    radial-gradient(40% 60% at 50% 120%, light-dark(rgba(90, 216, 210, 0.10), rgba(90, 216, 210, 0.08)), transparent 70%);
}
.cta-card .mark-lg { width: 64px; height: 64px; margin: 0 auto 26px; border-radius: 16px; box-shadow: 0 12px 40px -8px rgba(91, 76, 240, 0.7); }
.cta-card .lead { max-width: 520px; margin: 16px auto 0; }
.cta-card .hero-cta { margin-top: 30px; }

/* ------------------------------------------------------------------ subpage head */
.page-head { position: relative; padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(32px, 4vw, 56px); isolation: isolate; }
.page-head::before {
  content: ""; position: absolute; inset: -64px 0 auto 0; height: 520px; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 60% at 50% 0%, light-dark(rgba(109, 94, 245, 0.12), rgba(109, 94, 245, 0.2)), transparent 72%);
}
.page-head .eyebrow { margin-bottom: 14px; }
.page-head .lead { margin-top: 18px; max-width: 680px; }
.page-head.center { text-align: center; }
.page-head.center .lead { margin-inline: auto; }
.page-head .hero-cta { justify-content: flex-start; }
.page-head.center .hero-cta { justify-content: center; }

/* ------------------------------------------------------------------ cards / misc */
.card {
  padding: 28px; border-radius: var(--r-20); background: var(--surface-1); border: 1px solid var(--border-1);
  box-shadow: inset 0 1px 0 var(--highlight);
}
.card + .card { margin-top: 16px; }
.card h2, .card h3 { margin-bottom: 10px; }
.card .muted + .check-list { margin-top: 18px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }

.big-stat { font-family: var(--font-display); font-size: clamp(2.6rem, 2rem + 2vw, 3.5rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.big-stat-label { margin-top: 10px; color: var(--text-2); font-size: 15px; }

.note {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r-14);
  background: var(--surface-2); border: 1px solid var(--border-1); color: var(--text-2); font-size: 15px;
}
.note .i { margin-top: 2px; color: var(--text-1); }
.note strong { color: var(--text-1); }
.note.warn { background: var(--warn-soft); border-color: var(--warn-line); }
.note.warn .i { color: var(--warn); }

.quote-line {
  margin-top: 14px; padding: 16px 18px; border-radius: var(--r-14); background: var(--surface-2); border: 1px dashed var(--border-3);
  font-size: 16px; font-weight: 600; color: var(--text-1);
}

.kbd {
  display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 6px; border: 1px solid var(--border-2);
  background: var(--surface-1); font-family: var(--font-text); font-size: 13px; font-weight: 600; color: var(--text-1);
  box-shadow: 0 1px 0 var(--border-2);
}

/* Windows SmartScreen illustration (download page) */
.ss {
  border-radius: 10px; overflow: hidden; max-width: 440px;
  background: #1A5FB4; color: #fff; font-family: "Segoe UI", system-ui, sans-serif;
  box-shadow: var(--shadow-2);
}
.ss-body { padding: 26px 26px 18px; }
.ss-title { font-size: 22px; font-weight: 300; line-height: 1.2; }
.ss-text { margin-top: 14px; font-size: 13.5px; line-height: 1.5; opacity: 0.92; }
.ss-link { margin-top: 10px; display: inline-block; font-size: 13.5px; text-decoration: underline; text-underline-offset: 2px; }
.ss-more { margin-top: 12px; font-size: 13px; opacity: 0.85; }
.ss-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 26px 22px; }
.ss-btn { height: 32px; min-width: 104px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 13.5px; border: 2px solid rgba(255, 255, 255, 0.8); }
.ss-btn.hl { outline: 3px solid #FFD84D; outline-offset: 3px; }
.ss-hl { outline: 3px solid #FFD84D; outline-offset: 3px; border-radius: 2px; }

.req { list-style: none; display: grid; gap: 0; }
.req li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border-1); }
.req li:last-child { border-bottom: 0; }
.req .tile-icon { margin: 0; }
.req strong { display: block; color: var(--text-1); font-weight: 600; }
.req span { color: var(--text-2); font-size: 15px; }

.dl-card { position: relative; overflow: hidden; }
.dl-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 16px; font-size: 13.5px; color: var(--text-3); }
.hash { margin-top: 14px; font-family: var(--font-mono); font-size: 12px; color: var(--text-3); word-break: break-all; }

.num-list { list-style: none; counter-reset: n; display: grid; gap: 18px; }
.num-list > li { counter-increment: n; display: grid; grid-template-columns: 32px 1fr; gap: 14px; }
.num-list > li::before {
  content: counter(n); display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 8px;
  background: var(--surface-3); border: 1px solid var(--border-1); font-weight: 700; font-size: 14px; color: var(--text-1);
}
.num-list strong { color: var(--text-1); font-weight: 600; }
.num-list p { color: var(--text-2); font-size: 15.5px; margin-top: 2px; }

/* ------------------------------------------------------------------ legal documents */
.doc-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; padding-bottom: clamp(64px, 8vw, 112px); }
.toc { position: sticky; top: calc(var(--header-h) + 28px); font-size: 14px; }
.toc-title { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); margin-bottom: 10px; }
.toc ol { list-style: none; display: grid; gap: 2px; border-left: 1px solid var(--border-2); }
.toc a { display: block; padding: 5px 0 5px 14px; margin-left: -1px; border-left: 1px solid transparent; color: var(--text-2); line-height: 1.4; }
.toc a:hover { color: var(--text-1); border-left-color: var(--text-3); }
.toc-legal { margin-top: 28px; }
.toc-legal a[aria-current="page"] { color: var(--accent-text); border-left-color: var(--accent); }
@media (max-width: 960px) { .doc-layout { grid-template-columns: 1fr; } .toc { position: static; display: none; } }

.draft {
  display: flex; gap: 12px; align-items: flex-start; margin-bottom: 36px; padding: 16px 18px; border-radius: var(--r-14);
  background: var(--warn-soft); border: 1px solid var(--warn-line); color: var(--text-1); font-size: 14.5px;
}
.draft .i { color: var(--warn); margin-top: 2px; }
.draft strong { font-weight: 700; }

.summary-box { margin-bottom: 40px; padding: 22px 24px; border-radius: var(--r-14); background: var(--surface-1); border: 1px solid var(--border-2); }
.summary-box h2 { font-size: 15px; letter-spacing: 0; margin: 0 0 10px; }
.summary-box ul { padding-left: 20px; display: grid; gap: 6px; color: var(--text-2); }

.prose { font-size: 16px; line-height: 1.7; color: var(--text-2); max-width: 720px; }
.prose h2 { font-size: 22px; letter-spacing: -0.02em; margin: 48px 0 14px; color: var(--text-1); scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 17px; margin: 28px 0 8px; color: var(--text-1); }
.prose p + p, .prose p + ul, .prose ul + p, .prose p + ol, .prose ol + p { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 8px; }
.prose strong { color: var(--text-1); font-weight: 600; }
.prose .caps { text-transform: none; font-weight: 600; color: var(--text-1); }
.ph { padding: 1px 6px; border-radius: 6px; border: 1px dashed var(--warn-line); background: var(--warn-soft); color: var(--warn); font-weight: 600; white-space: nowrap; }
.doc-meta { margin-top: 18px; font-size: 14px; color: var(--text-3); }
.credit { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--border-1); font-size: 13.5px; color: var(--text-3); }
.credit a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--border-3); }

/* ------------------------------------------------------------------ footer */
.site-footer { border-top: 1px solid var(--border-1); padding: 56px 0 40px; background: var(--bg-soft); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot-brand p { margin-top: 14px; color: var(--text-2); font-size: 14.5px; max-width: 300px; }
.foot-col h2 { font-family: var(--font-text); font-size: 13px; font-weight: 650; letter-spacing: 0.02em; color: var(--text-1); margin-bottom: 14px; }
.foot-col ul { list-style: none; display: grid; gap: 10px; }
.foot-col a { font-size: 14.5px; color: var(--text-2); transition: color 0.15s; }
.foot-col a:hover { color: var(--text-1); }
.foot-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border-1); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.foot-legal { font-size: 13px; color: var(--text-3); max-width: 760px; line-height: 1.55; }
.foot-legal p + p { margin-top: 4px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: span 2; } }
@media (max-width: 420px) { .foot-grid { grid-template-columns: 1fr; } .foot-brand { grid-column: auto; } }

/* theme switch (footer) */
.theme-switch { display: inline-flex; padding: 3px; gap: 2px; border-radius: var(--r-full); border: 1px solid var(--border-2); background: var(--surface-1); }
.theme-switch button {
  width: 32px; height: 28px; display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: var(--r-full); background: transparent; color: var(--text-3); cursor: pointer;
}
.theme-switch button:hover { color: var(--text-1); }
.theme-switch button[aria-pressed="true"] { background: var(--surface-3); color: var(--text-1); box-shadow: var(--shadow-1); }
.theme-switch .i { width: 15px; height: 15px; }

/* ------------------------------------------------------------------ 404 */
.notfound { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-block: 96px; }
.notfound .big-stat { font-size: 96px; background: linear-gradient(180deg, var(--text-1), var(--text-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ------------------------------------------------------------------ small screens */
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .hero-cta .btn { width: 100%; }
  .hero-note { gap: 6px 14px; }
  .frame-bar { height: 34px; padding: 0 10px; }
  .frame-tab, .frame-win { display: none; }
  .frame-url { max-width: none; }
  .fact { padding: 18px; }
  .fact-num { font-size: 24px; }
  .step, .plan, .card { padding: 22px; }
  .compare th, .compare td { padding: 14px; }
  .matrix th, .matrix td { padding: 13px 10px; font-size: 14px; }
}
@media (max-width: 380px) { :root { --gutter: 16px; } }

@media print {
  .site-header, .site-footer, .toc, .skip { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ------------------------------------------------------------------ additions: steps media, mini file, screens */
.step { display: flex; flex-direction: column; }
.step-media { margin-top: 24px; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.step-media .screen { max-height: 260px; }
.mini-file {
  display: grid; grid-template-columns: 36px 1fr 18px; gap: 12px; align-items: center;
  padding: 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border-1);
  box-shadow: inset 0 1px 0 var(--highlight);
}
.mini-file img { border-radius: 9px; }
.mini-file > .i { color: var(--accent-text); }
.mini-file-name { font-family: var(--font-mono); font-size: 13px; color: var(--text-1); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-file-meta { font-size: 13px; color: var(--text-3); margin-top: 2px; }
.mini-file-text { min-width: 0; }
.mini-file-ghost { grid-template-columns: 36px 1fr; background: transparent; border-style: dashed; box-shadow: none; }
.mini-file-ghost > .i { justify-self: center; width: 20px; height: 20px; color: var(--ok); }
.toast .mark { width: 32px; height: 32px; border-radius: 8px; }
.toast p { margin: 0; }
.screen-card { max-width: 236px; border-radius: 14px; }
.screen-small { max-width: 244px; }
.tile-list { margin-top: 20px; }
.tile-list li { font-size: 15px; }

/* ------------------------------------------------------------------ round 2 */
.section { padding-block: clamp(64px, 8vw, 112px); }
.hero { padding-bottom: clamp(16px, 2vw, 32px); }
.plan-flag { gap: 4px; }
.toasts { right: -36px; bottom: -26px; width: 368px; }
.toast-old { margin-left: 24px; margin-right: 0; opacity: 0.92; }
@media (max-width: 1180px) { .toasts { right: 12px; } }
@media (max-width: 900px) {
  .toasts { right: auto; bottom: auto; margin-top: -40px; }
  .toast-old { display: none; }
}
.media-stack { width: 100%; display: grid; gap: 10px; }
.media-stack .toast { background: var(--surface-2); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: var(--shadow-1), inset 0 1px 0 var(--highlight); }
.tile-media.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; }
.cols-3 { grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cols-3 li { font-size: 14.5px; }
.step-media { height: 228px; flex: none; margin-top: auto; padding-top: 24px; box-sizing: content-box; justify-content: center; }
.step p { margin-bottom: 0; }
.step-media .screen { height: 100%; max-height: none; }
.step-media .screen img { height: 100%; width: 100%; object-fit: cover; object-position: top center; }
@media (max-width: 900px) { .step-media { height: auto; } .step-media .screen { height: auto; } .step-media .screen img { height: auto; } }
@media (max-width: 720px) { .tile-media.duo, .cols-3 { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ subpages */
.toasts { bottom: 18px; }
.dl-top { padding-top: 0; }
.dl-head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.dl-head img { border-radius: 12px; box-shadow: 0 10px 30px -10px rgba(91, 76, 240, 0.7); }
.dl-head .h3 { margin: 0; }
.dl-invite { margin-top: 22px; }
.ss-wrap { display: flex; flex-direction: column; align-items: center; }
.ss-wrap .ss { width: 100%; }
.ss-steps { margin-top: 28px; }
.ss-warn { margin-top: 24px; }
.screen-tall { box-shadow: var(--shadow-2); }
.screen-tall + .screen-tall { margin-top: 16px; width: 82%; margin-left: auto; }
.setup-list { margin-top: 28px; }
.pricing-top { padding-top: 0; }
.refer-beta { margin-top: 28px; margin-bottom: 0; text-align: left; }
.refer-why { max-width: 820px; margin-inline: auto; }
.refer-facts { margin-top: 16px; }
.split-top { align-items: start; }
.fit-list { margin-top: 26px; }
.apply-list { margin-top: 18px; }
.apply-age { margin-top: 20px; }
.apply-age + .muted { margin-top: 8px; }
.disclose-not { margin-top: 14px; }
.card .h3 + .muted, .card .h3 + .check-list { margin-top: 0; }
.card .h3 { margin-bottom: 12px; }
.page-head .draft { margin: 28px 0 0; max-width: 760px; }
.doc-layout { padding-top: 16px; }
.prose .summary-box h2 { margin-top: 0; }

/* ------------------------------------------------------------------ round 3 */
.grad-text { padding-bottom: 0.12em; margin-bottom: -0.12em; }
.grid-2 > .card + .card, .grid-3 > .card + .card { margin-top: 0; }
.section + .section-tight, .section-tight + .section-tight { padding-top: 0; }
.split > div > .eyebrow { display: block; margin-bottom: 14px; }
.split .h2 + .lead { margin-top: 16px; }
.check-list li.neg .i { color: var(--danger); }
.ss-wrap .caption { margin-top: 14px; }
.dl-points { margin-top: 22px; } .dl-points li { font-size: 15px; }
figure { margin: 0; }
.mini-file-ghost .mini-file-name { font-family: var(--font-text); font-weight: 600; font-size: 14px; }
@media (max-width: 900px) {
  .toasts { position: relative; left: auto; right: auto; bottom: auto; width: auto; max-width: 420px; margin: -44px auto 0; padding-inline: 12px; }
}

/* ------------------------------------------------------------------ round 4: tighter rhythm, themed shots, founder note */
.section { padding-block: clamp(44px, 4.7vw, 68px); }
.section-tight { padding-block: clamp(32px, 3.4vw, 48px); }
.hero { padding-top: clamp(48px, 6vw, 84px); }
.hero-visual { margin-top: clamp(40px, 4.5vw, 60px); }
.section-head { margin-bottom: clamp(28px, 3vw, 44px); }
.hero { padding-bottom: clamp(8px, 1.5vw, 24px); }
@media (max-width: 640px) {
  .section { padding-block: 40px; }
  .section-tight { padding-block: 32px; }
  .section + .section-tight, .section-tight + .section-tight { padding-top: 0; }
}
p, li, figcaption { text-wrap: pretty; }

/* product shots: every one has a light and a dark version; panels keep their real size so text stays readable */
.screen picture { display: block; }
.screen-panel { max-width: 400px; margin-inline: auto; }
.screen-wide { max-width: 560px; }
.screen-card { max-width: 266px; }
.screen-small { max-width: 240px; }
.tile-media.duo .screen-panel { max-width: none; }
.tile-media.duo { align-items: start; }
.tile-media.media-stack { display: grid; gap: 12px; align-items: start; }
.step-media { height: 270px; }
.step-media .screen picture { height: 100%; }
.step-media .screen-bottom img { object-position: bottom center; }
@media (max-width: 900px) { .step-media { height: auto; } .step-media .screen picture { height: auto; } }

/* step 1 mini cards */
.mini-file-name { white-space: normal; overflow-wrap: anywhere; }
.mini-file-plain { font-family: var(--font-text); font-weight: 600; font-size: 14px; }
.mini-file-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 9px;
  background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent-text);
}
.mini-file:not(.mini-file-ghost):has(.mini-file-icon) { grid-template-columns: 36px 1fr; }
.mini-file-ghost > .i { color: var(--text-2); }
.mini-file-ghost:has(use[href$="#check"]) > .i { color: var(--ok); }

/* comparison table: second line in a cell, source links in the header */
.compare td small { display: block; margin-top: 4px; font-size: 13px; color: var(--text-3); }
.compare thead th small a { color: inherit; text-decoration: underline; text-decoration-color: var(--border-3); text-underline-offset: 2px; }
.compare thead th small a:hover { color: var(--text-1); }

/* founder note */
.founder {
  margin: 0 auto; max-width: 880px; display: grid; grid-template-columns: 52px 1fr; gap: 24px;
  padding: clamp(26px, 4vw, 44px); border-radius: var(--r-20);
  background: var(--surface-1); border: 1px solid var(--border-1); box-shadow: inset 0 1px 0 var(--highlight);
}
.founder-mark img { width: 44px; height: 44px; border-radius: 12px; box-shadow: 0 8px 24px -8px rgba(91, 76, 240, 0.6); }
.founder .eyebrow { display: block; margin-bottom: 12px; font-family: var(--font-text); }
.founder blockquote { margin: 0; }
.founder blockquote p {
  font-family: var(--font-display); font-size: clamp(1.125rem, 1rem + 0.45vw, 1.3125rem); line-height: 1.55;
  letter-spacing: -0.008em; color: var(--text-1);
}
.founder blockquote p + p { margin-top: 14px; }
.founder figcaption { margin-top: 18px; font-size: 14.5px; color: var(--text-3); }
.founder figcaption::before { content: ""; display: inline-block; width: 18px; height: 1px; margin-right: 10px; vertical-align: middle; background: var(--border-3); }
@media (max-width: 640px) { .founder { grid-template-columns: 1fr; gap: 14px; } }

/* beta invite on /download: the address in plain text, with a copy button */
.invite-alt { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; font-size: 14px; color: var(--text-2); }
.invite-alt code { font-family: var(--font-text); font-weight: 600; color: var(--text-1); font-size: 14px; }
.copy-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 8px; cursor: pointer;
  border: 1px solid var(--border-2); background: var(--surface-2); color: var(--text-2); font-size: 13px; font-weight: 600;
}
.copy-btn:hover { color: var(--text-1); border-color: var(--border-3); }
.copy-btn .i { width: 14px; height: 14px; }
.copy-btn[data-copied="true"] { color: var(--ok); border-color: var(--ok); }

/* pace explainer on /pricing */
.pace { margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border-1); border-radius: var(--r-14); background: var(--surface-1); }
.pace > div { padding: 16px 18px; }
.pace > div + div { border-left: 1px solid var(--border-1); }
.pace-num { font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: var(--text-1); }
.pace-label { margin-top: 2px; font-size: 14px; color: var(--text-2); }
.pace-note { margin-top: 14px; font-size: 14px; color: var(--text-3); }
@media (max-width: 560px) { .pace { grid-template-columns: 1fr; } .pace > div + div { border-left: 0; border-top: 1px solid var(--border-1); } }

/* 404 */
.notfound .h2 + .lead { margin-top: 14px; max-width: 520px; }
.notfound .hero-cta { margin-top: 30px; }
.pace-title { margin-top: 40px; font-size: 17px; }

/* small screens: one key picture per tile, denser cards and footer */
@media (max-width: 820px) {
  .honest-item { grid-template-columns: 40px 1fr; gap: 14px; padding: 20px; }
  .honest-item .tile-icon { width: 40px; height: 40px; }
}
@media (max-width: 720px) {
  .hide-sm { display: none !important; }
  .step-media { height: 220px; }
  .step-media .screen { height: 100%; }
  .step-media .screen picture, .step-media .screen img { height: 100%; }
  .tile p, .step p, .honest-item p { font-size: 15px; }
}
@media (max-width: 420px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .foot-brand { grid-column: span 2; }
}
@media (max-width: 720px) { .step-media:not(:has(.screen)) { height: auto; padding-top: 20px; } }
@media (max-width: 900px) { .step-media .screen { max-width: 400px; margin-inline: auto; } }
