/* MagPaste site. Calm, Apple-like, product-first. Self-hosted Manrope headings, SF text.
   All motion is CSS transform/opacity + tiny JS timelines that pause off-screen. */

@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --bg: #fbfbfd;
  --surface: #ffffff;
  --surface-2: #f2f2f5;
  --surface-3: #e9e9ee;
  --ink: #1d1d1f;
  --ink-2: #3a3a3f;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, 0.08);
  --line-2: rgba(0, 0, 0, 0.14);
  --accent: #2f5bea;
  --accent-soft: rgba(47, 91, 234, 0.1);
  --good: #1f9d55;
  --btn: #1d1d1f;
  --btn-ink: #ffffff;
  --tint-blue: #eaf0ff;
  --tint-amber: #fff4e0;
  --tint-green: #e7f7ee;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 2px 4px rgba(0, 0, 0, 0.04), 0 18px 40px -12px rgba(0, 0, 0, 0.16);
  --shadow-lg: 0 4px 10px rgba(0, 0, 0, 0.05), 0 40px 90px -30px rgba(0, 0, 0, 0.35);
  --spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --display: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Manrope", "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
  --show-sun: none;
  --show-moon: block;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0b0c;
    --surface: #161618;
    --surface-2: #1c1c1f;
    --surface-3: #26262a;
    --ink: #f5f5f7;
    --ink-2: #d6d6db;
    --muted: #9a9aa0;
    --line: rgba(255, 255, 255, 0.09);
    --line-2: rgba(255, 255, 255, 0.16);
    --accent: #7a96ff;
    --accent-soft: rgba(122, 150, 255, 0.14);
    --good: #3ccf7f;
    --btn: #f5f5f7;
    --btn-ink: #0b0b0c;
    --tint-blue: #141b2e;
    --tint-amber: #261e10;
    --tint-green: #10221a;
    --shadow-sm: none;
    --shadow: 0 0 0 1px rgba(255, 255, 255, 0.05), 0 18px 40px -12px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 40px 90px -30px rgba(0, 0, 0, 0.9);
    color-scheme: dark;
    --show-sun: block;
    --show-moon: none;
  }
}
:root[data-theme="dark"] {
  --bg: #0b0b0c;
  --surface: #161618;
  --surface-2: #1c1c1f;
  --surface-3: #26262a;
  --ink: #f5f5f7;
  --ink-2: #d6d6db;
  --muted: #9a9aa0;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --accent: #7a96ff;
  --accent-soft: rgba(122, 150, 255, 0.14);
  --good: #3ccf7f;
  --btn: #f5f5f7;
  --btn-ink: #0b0b0c;
  --tint-blue: #141b2e;
  --tint-amber: #261e10;
  --tint-green: #10221a;
  --shadow-sm: none;
  --shadow: 0 0 0 1px rgba(255, 255, 255, 0.05), 0 18px 40px -12px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 40px 90px -30px rgba(0, 0, 0, 0.9);
  color-scheme: dark;
  --show-sun: block;
  --show-moon: none;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 18px/1.6 var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { font-family: var(--display); margin: 0; color: var(--ink); text-wrap: balance; }
h1 { font-weight: 700; letter-spacing: -0.045em; line-height: 1.02; }
h2 { font-weight: 700; letter-spacing: -0.035em; line-height: 1.06; }
h3 { font-weight: 650; letter-spacing: -0.015em; line-height: 1.3; }
.soft { color: var(--muted); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img, svg { display: block; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
[id] { scroll-margin-top: 84px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; padding: 12px 0 0; pointer-events: none; }
.nav-inner { pointer-events: auto; display: flex; align-items: center; gap: 22px; height: 60px; padding: 0 10px 0 20px; border-radius: 999px; background: color-mix(in srgb, var(--bg) 72%, transparent); -webkit-backdrop-filter: saturate(180%) blur(22px); backdrop-filter: saturate(180%) blur(22px); box-shadow: inset 0 0 0 1px var(--line-2), 0 10px 30px -14px rgba(0, 0, 0, 0.25); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font: 700 18px/1 var(--display); letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 15px; }
.nav-links a { color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); text-decoration: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 50px; padding: 0 24px; border-radius: 999px; font: 600 16.5px/1 var(--text); border: 0; cursor: pointer; white-space: nowrap; transition: transform 0.4s var(--spring), background 0.2s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: scale(0.97); transition-duration: 0.08s; }
.btn-primary { background: var(--btn); color: var(--btn-ink); }
.btn-ghost { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14.5px; }
.btn svg { width: 18px; height: 18px; }

/* Hero */
.hero { padding: 96px 0 0; text-align: center; }
.kicker { font: 600 13px/1 var(--text); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.hero h1 { font-size: clamp(50px, 8.4vw, 96px); margin-top: 22px; }
.hero h1 span { display: block; color: var(--muted); }
.lede { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.55; color: var(--muted); max-width: 40em; margin: 24px auto 0; text-wrap: balance; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.trust { margin-top: 18px; font-size: 14px; color: var(--muted); letter-spacing: 0.01em; }

/* ---------- Mac desktop demo ---------- */
.desk {
  position: relative; margin: 64px auto 0; max-width: 1040px; aspect-ratio: 16 / 10;
  border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); text-align: left;
  background:
    radial-gradient(120% 90% at 0% 100%, #f2a65a 0%, transparent 55%),
    radial-gradient(100% 80% at 100% 0%, #3f6fd8 0%, transparent 60%),
    radial-gradient(90% 90% at 70% 100%, #c2557a 0%, transparent 60%),
    linear-gradient(160deg, #20315e 0%, #3a3f7a 45%, #7a4a6e 100%);
}
.menubar { position: absolute; inset: 0 0 auto 0; height: 30px; display: flex; align-items: center; gap: 18px; padding: 0 16px; font: 600 13px/1 var(--text); color: #fff; background: rgba(0, 0, 0, 0.22); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); z-index: 3; }
.menubar .menu { display: flex; gap: 18px; font-weight: 500; opacity: 0.92; }
.menubar .menu b { font-weight: 700; }
.menubar .right { margin-left: auto; display: flex; gap: 14px; align-items: center; font-weight: 500; }
.menubar svg { width: 15px; height: 15px; }
.menubar .mp { width: 16px; height: 16px; border-radius: 4px; transition: box-shadow 0.3s; }
.menubar .mp.ping { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.55); }

.window { position: absolute; left: 6%; top: 13%; width: 48%; height: 68%; border-radius: 12px; background: #fff; box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.45); overflow: hidden; color: #1d1d1f; z-index: 1; }
.window .bar { height: 36px; display: flex; align-items: center; gap: 7px; padding: 0 13px; border-bottom: 1px solid #ececef; background: #f6f6f8; }
.window .bar i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.window .bar i:nth-child(2) { background: #febc2e; }
.window .bar i:nth-child(3) { background: #28c840; }
.window .bar span { margin-left: 10px; font: 600 12.5px/1 var(--text); color: #6e6e73; }
.window .body { padding: 14px 20px; font-size: 14.5px; line-height: 1.6; }
.window .field { display: flex; gap: 10px; border-bottom: 1px solid #ececef; padding: 7px 0; font-size: 13.5px; }
.window .field em { font-style: normal; color: #8e8e93; width: 56px; flex: none; }
.mailtext { margin-top: 12px; }
.mailtext p { margin: 0 0 8px; }
.caret { display: inline-block; width: 2px; height: 1.05em; background: #2f5bea; vertical-align: -0.15em; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.pasted { border-radius: 4px; animation: flash 1.4s var(--ease); }
@keyframes flash { 0% { background: rgba(47, 91, 234, 0.32); } 100% { background: transparent; } }
.pasted.link { color: #2f5bea; text-decoration: underline; text-underline-offset: 2px; }
.pasted.img { display: block; width: 62%; height: 84px; margin-top: 6px; border-radius: 8px; background: linear-gradient(135deg, #dfe6f5, #c9d4ee); position: relative; overflow: hidden; animation: pop 0.6s var(--spring); }
.pasted.img::before, .pasted.img::after { content: ""; position: absolute; left: 12px; right: 30%; height: 8px; border-radius: 4px; background: rgba(29, 29, 31, 0.18); top: 18px; }
.pasted.img::after { top: 36px; right: 50%; }
@keyframes pop { from { opacity: 0; transform: scale(0.9); } }

.panel {
  position: absolute; right: 5%; top: 11%; width: 46%; max-width: 500px; z-index: 2;
  padding: 12px; border-radius: 18px; color: #f5f5f7;
  background: rgba(28, 28, 30, 0.92); -webkit-backdrop-filter: blur(30px) saturate(160%); backdrop-filter: blur(30px) saturate(160%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1) inset, 0 30px 70px -10px rgba(0, 0, 0, 0.6);
  opacity: 0; transform: translateY(14px) scale(0.96); pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.55s var(--spring);
}
.panel.open { opacity: 1; transform: none; }
.panel-search { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 12px; border-radius: 11px; background: rgba(255, 255, 255, 0.08); font-size: 15px; color: #fff; }
.panel-search svg { width: 17px; height: 17px; flex: none; opacity: 0.6; }
.panel-search .ph { color: rgba(255, 255, 255, 0.5); }
.panel-search kbd { margin-left: auto; }
.chips { display: flex; gap: 6px; margin: 10px 0; }
.chip { font: 600 13px/1 var(--text); padding: 7px 12px; border-radius: 999px; color: rgba(255, 255, 255, 0.72); white-space: nowrap; }
.chip.on { background: #fff; color: #1d1d1f; }
.clips { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; max-height: 290px; overflow: hidden; align-content: start; }
.clip { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 12px; height: 54px; padding: 0 10px; border-radius: 11px; transition: background 0.2s; }
.clip.hide { display: none; }
.clip.sel { background: #2f5bea; }
.clip .ic { width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; color: #fff; font: 700 14px/1 var(--text); background: rgba(255, 255, 255, 0.1); }
.clip .ic svg { width: 18px; height: 18px; }
.clip b { display: block; font-weight: 600; font-size: 15px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clip small { display: block; color: rgba(255, 255, 255, 0.58); font-size: 12.5px; line-height: 1.3; }
.clip.sel small { color: rgba(255, 255, 255, 0.85); }
.sw { width: 20px; height: 20px; border-radius: 6px; }
.sw-brand { background: #2f5bea; }
.mtime { font-size: 13px; }
section.pt-first { padding-top: 88px; }
section.pt-tight { padding-top: 72px; }

kbd { display: inline-block; min-width: 24px; padding: 3px 7px; border-radius: 7px; text-align: center; font: 600 12.5px/1.3 var(--text); color: var(--ink-2); background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 1px 0 var(--line-2); }
.panel kbd, .clip kbd { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.16); color: rgba(255, 255, 255, 0.75); box-shadow: none; }
.clip.sel kbd { border-color: rgba(255, 255, 255, 0.45); color: #fff; }

/* Key-press overlay used by every demo */
.keys { position: absolute; left: 50%; bottom: 6%; z-index: 4; display: flex; gap: 6px; transform: translate(-50%, 8px); opacity: 0; transition: opacity 0.25s, transform 0.4s var(--spring); pointer-events: none; }
.keys.show { opacity: 1; transform: translate(-50%, 0); }
.keys kbd { min-width: 44px; height: 44px; padding: 0 12px; display: grid; place-items: center; font: 600 18px/1 var(--text); color: #1d1d1f; background: #fff; border: 0; border-radius: 10px; box-shadow: 0 3px 0 #c7c7cc, 0 10px 24px -6px rgba(0, 0, 0, 0.45); transition: transform 0.12s, box-shadow 0.12s; }
.keys.down kbd { transform: translateY(3px); box-shadow: 0 0 0 #c7c7cc, 0 6px 14px -6px rgba(0, 0, 0, 0.4); }
.keys.mini { bottom: 14px; }
.keys.mini kbd { min-width: 34px; height: 34px; font-size: 15px; border-radius: 8px; }

.caption { display: flex; justify-content: center; text-align: center; gap: 16px; max-width: 1040px; margin: 16px auto 0; font-size: 14.5px; color: var(--muted); }
.caption kbd { font-size: 12px; padding: 2px 6px; }
.panel-search .ph.off { display: none; }

/* Hero tour: scene tabs (only with JS and motion) */
.tour { display: none; justify-content: center; flex-wrap: wrap; gap: 6px; max-width: 1040px; margin: 20px auto 0; }
.motion .tour { display: flex; }
.tour button { font: 600 14px/1 var(--text); padding: 10px 15px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; box-shadow: inset 0 0 0 1px var(--line-2); transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.3s var(--spring); }
.tour button:hover { color: var(--ink); }
.tour button:active { transform: scale(0.96); }
.tour button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tour button[aria-pressed="true"] { background: var(--btn); color: var(--btn-ink); box-shadow: none; }

/* Paste Stack counter, like the app's */
.hud { position: absolute; left: 50%; top: 42px; z-index: 4; display: flex; align-items: center; gap: 9px; padding: 7px 15px 7px 7px; border-radius: 999px; color: #fff; font: 600 13.5px/1 var(--text); white-space: nowrap; background: rgba(28, 28, 30, 0.86); -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 14px 30px -10px rgba(0, 0, 0, 0.55); opacity: 0; transform: translate(-50%, -8px) scale(0.96); transition: opacity 0.3s var(--ease), transform 0.5s var(--spring); pointer-events: none; }
.hud.show { opacity: 1; transform: translate(-50%, 0); }
.hud-ic { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); transition: background 0.3s; }
.hud-ic svg { width: 14px; height: 14px; }
.hud.done .hud-ic { background: #28c840; }
.hud-status { color: rgba(255, 255, 255, 0.66); font-weight: 500; }
.hud-status b { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.hud-dots { display: flex; gap: 4px; }
.hud-dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.3); transition: width 0.35s var(--spring), background 0.3s; }
.hud-dots i.next { width: 14px; background: var(--accent); }
.hud-dots i.used { background: rgba(255, 255, 255, 0.12); }
.toast { position: absolute; left: 50%; top: 88px; z-index: 5; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.94); color: #1d1d1f; font: 600 13px/1 var(--text); white-space: nowrap; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.4); opacity: 0; transform: translate(-50%, 6px); transition: opacity 0.25s, transform 0.4s var(--spring); pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Clip rows the tour uses */
.clip .timer { font: 700 12px/1 var(--text); padding: 6px 9px; border-radius: 999px; background: rgba(255, 159, 10, 0.2); color: #ffb340; font-variant-numeric: tabular-nums; }
.clip.pinned .ic { color: #ffd60a; }
.clip.secret .ic { color: #ffb340; }
.clip small mark { background: rgba(255, 214, 10, 0.3); color: #fff; border-radius: 3px; padding: 0 2px; }
.clip.deleted { background: rgba(255, 255, 255, 0.06); }
.clip.deleted .ic { color: #30d158; background: rgba(48, 209, 88, 0.16); }
.clip.deleted small { color: rgba(255, 255, 255, 0.6); }
.clip.gone { animation: gone 0.45s var(--ease) forwards; }
@keyframes gone { to { opacity: 0; transform: translateX(18px) scale(0.98); } }
.clip .sw { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.35); }
.sw-teal { background: #14b8a6; }
.sw-sun { background: #f2a65a; }
.pasted.img em { position: absolute; left: 12px; bottom: 10px; font: 700 12px/1 var(--text); font-style: normal; color: rgba(29, 29, 31, 0.55); }
.pasted.sig { display: block; padding: 2px 0; }
.pasted.sig span { color: #8e8e93; }
.pasted.color { font-variant-numeric: tabular-nums; }
.pasted.color i { display: inline-block; width: 11px; height: 11px; margin-right: 5px; border-radius: 3px; background: #2f5bea; vertical-align: -1px; }

/* ---------- Sections ---------- */
section { padding: 120px 0 0; }
.sec-head { max-width: 760px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2, .sec-head h1 { font-size: clamp(38px, 5.4vw, 60px); letter-spacing: -0.035em; line-height: 1.06; }
.sec-head h2 span, .sec-head h1 span { color: var(--muted); }
.sec-head p { font-size: 21px; color: var(--ink-2); margin: 18px 0 0; line-height: 1.5; }

/* Sound familiar */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; }
.pain { padding: 30px; border-radius: 24px; }
.pain:nth-child(1) { background: var(--tint-blue); }
.pain:nth-child(2) { background: var(--tint-amber); }
.pain:nth-child(3) { background: var(--tint-green); }
.pain q { display: block; font: 650 22px/1.3 var(--display); letter-spacing: -0.02em; quotes: "“" "”"; }
.pain p { margin: 18px 0 0; color: var(--ink-2); font-size: 16.5px; }
.pain p b { color: var(--ink); }

/* Big feature rows */
.rows { display: grid; gap: 24px; margin-top: 56px; }
.row { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; padding: 48px; border-radius: 28px; background: var(--surface-2); }
.row:nth-child(even) .copy { order: 2; }
.row > *, .split > * { min-width: 0; }
.row h3 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.row h3 span { display: block; color: var(--muted); }
.row p { color: var(--ink-2); font-size: 18.5px; margin: 18px 0 0; }
.tag { display: inline-block; font: 700 11.5px/1 var(--text); letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 9px; border-radius: 7px; background: var(--ink); color: var(--bg); margin-bottom: 18px; }
.tag.free { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line-2); }

.mock { position: relative; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); padding: 18px; font-size: 15px; min-height: 300px; overflow: hidden; }
.qbox { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border-radius: 12px; background: var(--surface-2); font-weight: 500; }
.qbox svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.qbox .ph { color: var(--muted); font-weight: 400; }
.qcaret { display: inline-block; width: 2px; height: 18px; background: var(--accent); animation: blink 1s steps(1) infinite; margin-left: -8px; }
.results { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
.results li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; transition: background 0.2s; animation: fade-in 0.35s var(--ease); }
.results li:first-child { background: var(--surface-2); }
.results li .ri { width: 30px; height: 30px; border-radius: 8px; flex: none; display: grid; place-items: center; background: var(--surface-3); color: var(--muted); }
.results li .ri svg { width: 16px; height: 16px; }
.results li span.t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.results li small { color: var(--muted); font-size: 13px; white-space: nowrap; }
.results .empty { color: var(--muted); padding: 14px 12px; }
mark { background: #ffe27a; color: #1d1d1f; border-radius: 4px; padding: 0 2px; }
@keyframes fade-in { from { opacity: 0; transform: translateY(-4px); } }

/* Paste stack demo */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 16px; align-items: start; }
.stackcol { border-radius: 14px; background: #1c1c1e; color: #f5f5f7; padding: 12px; min-height: 236px; }
.st-head { display: flex; justify-content: space-between; align-items: center; font: 600 12.5px/1 var(--text); color: rgba(255, 255, 255, 0.6); text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 4px 10px; }
.st-head b { min-width: 22px; height: 22px; display: grid; place-items: center; border-radius: 999px; background: #2f5bea; color: #fff; font-size: 12px; letter-spacing: 0; transition: transform 0.3s var(--spring); }
.st-head b.bump { transform: scale(1.25); }
.stackcol ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.stackcol li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.07); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: stack-in 0.5s var(--spring); }
.stackcol li:first-child { background: #2f5bea; }
.stackcol li i { font: 700 12px/1 var(--text); font-style: normal; width: 20px; height: 20px; flex: none; border-radius: 6px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.16); }
.stackcol li.out { animation: stack-out 0.4s var(--ease) forwards; }
@keyframes stack-in { from { opacity: 0; transform: translateY(-10px) scale(0.95); } }
@keyframes stack-out { to { opacity: 0; transform: translateX(40px); } }
.form { border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); padding: 14px; background: var(--surface); }
.form .ft { font: 650 15px/1 var(--display); margin-bottom: 12px; }
.form label { display: block; font-size: 12px; color: var(--muted); margin: 10px 0 4px; }
.form .f { height: 36px; border-radius: 9px; background: var(--surface-2); padding: 0 10px; display: flex; align-items: center; font-size: 14.5px; white-space: nowrap; overflow: hidden; transition: box-shadow 0.2s, background 0.2s; }
.form .f.focus { box-shadow: 0 0 0 2px var(--accent); background: var(--surface); }
.form .f .v { animation: flash 1.2s var(--ease); border-radius: 4px; padding: 0 2px; }

/* OCR demo */
.shot { position: relative; margin-top: 12px; border-radius: 12px; background: #f1f1f4; padding: 16px 18px; color: #1d1d1f; font-size: 13.5px; overflow: hidden; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .shot { background: #26262a; color: #f5f5f7; } }
:root[data-theme="dark"] .shot { background: #26262a; color: #f5f5f7; }
.shot .bar2 { display: flex; gap: 5px; margin-bottom: 12px; }
.shot .bar2 i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: 0.2; }
.shot .w { display: inline-block; margin: 0 6px 8px 0; padding: 1px 5px; border-radius: 5px; font-weight: 600; transition: box-shadow 0.25s, background 0.25s; }
.shot .w.seen { box-shadow: 0 0 0 1.5px rgba(47, 91, 234, 0.45); }
.shot .w.hit { box-shadow: 0 0 0 2px var(--accent); background: var(--accent-soft); }
.shot .big { font: 700 20px/1.3 var(--display); }
.scan { position: absolute; left: 0; right: 0; top: 0; height: 40px; background: linear-gradient(to bottom, transparent, rgba(47, 91, 234, 0.22), transparent); border-bottom: 2px solid var(--accent); opacity: 0; }
.scan.run { animation: scan 1.5s var(--ease); }
@keyframes scan { 0% { opacity: 1; transform: translateY(-40px); } 90% { opacity: 1; } 100% { opacity: 0; transform: translateY(200px); } }
.note { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--muted); font-size: 14px; opacity: 0; transition: opacity 0.3s; }
.note.show { opacity: 1; }
.note svg { width: 16px; height: 16px; color: var(--good); }

/* ---------- Feature cards with mini motion ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; }
.card { border-radius: 24px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); overflow: hidden; }
.vis { position: relative; height: 168px; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; }
.card .txt { padding: 22px 24px 26px; }
.card h3 { font-size: 19px; }
.card h3 em { font: 700 10.5px/1 var(--text); font-style: normal; letter-spacing: 0.08em; vertical-align: 3px; margin-left: 6px; padding: 3px 6px; border-radius: 5px; background: var(--ink); color: var(--bg); }
.card p { margin: 8px 0 0; color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.paused, .paused * { animation-play-state: paused !important; }

.pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); font-size: 15px; white-space: nowrap; }

/* 1 Plain text */
.v-plain .stack2 { position: relative; width: 210px; height: 50px; }
.v-plain .stack2 > * { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.v-plain .rich { font: italic 700 22px/1 Georgia, serif; color: #c2410c; text-decoration: underline wavy #f59e0b; animation: rich 4s infinite; }
.v-plain .plain { font: 500 17px/1 var(--text); color: var(--ink); animation: plain 4s infinite; }
@keyframes rich { 0%, 40% { opacity: 1; transform: none; } 50%, 90% { opacity: 0; transform: scale(0.96); } 100% { opacity: 1; } }
@keyframes plain { 0%, 40% { opacity: 0; transform: scale(1.04); } 50%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* 2 Pins */
.v-pins ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; width: 230px; }
.v-pins li { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; white-space: nowrap; overflow: hidden; }
.v-pins li:first-child { box-shadow: inset 0 0 0 1.5px var(--accent); }
.v-pins svg { width: 15px; height: 15px; color: var(--accent); flex: none; animation: pin 3s var(--spring) infinite; }
@keyframes pin { 0% { transform: translateY(-14px) rotate(-20deg); opacity: 0; } 15%, 100% { transform: none; opacity: 1; } }
.v-pins li:not(:first-child) { opacity: 0.6; }

/* 3 Transforms */
.v-trans .cyc { position: relative; width: 230px; height: 50px; border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.v-trans .cyc span { position: absolute; inset: 0; display: grid; place-items: center; font: 600 17px/1 var(--text); opacity: 0; animation: cyc 6s infinite; }
.v-trans .cyc span:nth-child(2) { animation-delay: 2s; }
.v-trans .cyc span:nth-child(3) { animation-delay: 4s; }
@keyframes cyc { 0% { opacity: 0; transform: translateY(8px); } 6%, 30% { opacity: 1; transform: none; } 36%, 100% { opacity: 0; transform: translateY(-8px); } }
.v-trans .lbl { position: absolute; bottom: 18px; font-size: 12px; color: var(--muted); }

/* 4 Passwords */
.v-pass .pw { display: flex; align-items: center; gap: 10px; }
.v-pass .dots { letter-spacing: 3px; font-size: 20px; }
.v-pass .no { position: absolute; bottom: 22px; display: inline-flex; gap: 6px; align-items: center; font: 600 12.5px/1 var(--text); color: var(--good); padding: 6px 10px; border-radius: 999px; background: var(--tint-green); animation: no 3.5s var(--ease) infinite; }
.v-pass .no svg { width: 13px; height: 13px; }
@keyframes no { 0%, 20% { opacity: 0; transform: translateY(6px); } 30%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.v-pass svg.key { width: 18px; height: 18px; color: var(--muted); }

/* 5 Auto-expire */
.v-exp .pill { gap: 12px; animation: expire 5s var(--ease) infinite; }
.v-exp .ring { width: 22px; height: 22px; transform: rotate(-90deg); }
.v-exp .ring circle { fill: none; stroke-width: 3; }
.v-exp .ring .bg { stroke: var(--surface-3); }
.v-exp .ring .fg { stroke: var(--accent); stroke-dasharray: 57; animation: count 5s linear infinite; }
@keyframes count { from { stroke-dashoffset: 0; } 80%, to { stroke-dashoffset: 57; } }
@keyframes expire { 0%, 78% { opacity: 1; transform: none; filter: none; } 88% { opacity: 0; transform: scale(0.94); filter: blur(4px); } 100% { opacity: 0; } }

/* 6 Shortcut */
.v-keys .row3 { display: flex; gap: 8px; }
.v-keys kbd { min-width: 52px; height: 52px; display: grid; place-items: center; font: 600 21px/1 var(--text); color: var(--ink); background: var(--surface); border: 0; border-radius: 12px; box-shadow: 0 4px 0 var(--surface-3), inset 0 0 0 1px var(--line); animation: press 3s infinite; }
.v-keys kbd:nth-child(2) { animation-delay: 0.12s; }
.v-keys kbd:nth-child(3) { animation-delay: 0.24s; }
@keyframes press { 0%, 40%, 70%, 100% { transform: none; box-shadow: 0 4px 0 var(--surface-3), inset 0 0 0 1px var(--line); } 50%, 60% { transform: translateY(4px); box-shadow: 0 0 0 var(--surface-3), inset 0 0 0 1px var(--accent); } }

/* 7 Merge */
.v-merge .a, .v-merge .b, .v-merge .m { position: absolute; }
.v-merge .a { animation: ma 4.5s var(--ease) infinite; }
.v-merge .b { animation: mb 4.5s var(--ease) infinite; }
.v-merge .m { animation: mm 4.5s var(--spring) infinite; box-shadow: inset 0 0 0 1.5px var(--accent); }
@keyframes ma { 0%, 20% { transform: translate(-70px, -26px); opacity: 1; } 45% { transform: translate(0, 0); opacity: 0; } 100% { opacity: 0; } }
@keyframes mb { 0%, 20% { transform: translate(70px, 26px); opacity: 1; } 45% { transform: translate(0, 0); opacity: 0; } 100% { opacity: 0; } }
@keyframes mm { 0%, 42% { opacity: 0; transform: scale(0.8); } 52%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* 8 Languages */
.v-lang .win { height: 44px; overflow: hidden; }
.v-lang .reel { animation: reel 10.5s steps(1) infinite; }
.v-lang .reel div { height: 44px; display: grid; place-items: center; font: 700 30px/1 var(--display); letter-spacing: -0.02em; }
@keyframes reel { 0% { transform: translateY(0); } 14.28% { transform: translateY(-44px); } 28.57% { transform: translateY(-88px); } 42.85% { transform: translateY(-132px); } 57.14% { transform: translateY(-176px); } 71.42% { transform: translateY(-220px); } 85.71% { transform: translateY(-264px); } }
.v-lang .sub { position: absolute; bottom: 22px; font-size: 12px; color: var(--muted); }

/* 9 Menu bar */
.v-bar .mbar { display: flex; align-items: center; gap: 14px; height: 34px; padding: 0 14px; border-radius: 10px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); }
.v-bar .mbar svg { width: 16px; height: 16px; }
.v-bar .mbar img { width: 18px; height: 18px; border-radius: 5px; animation: glow 3s infinite; }
@keyframes glow { 0%, 60%, 100% { box-shadow: 0 0 0 0 rgba(47, 91, 234, 0); } 70% { box-shadow: 0 0 0 5px rgba(47, 91, 234, 0.25); } }
.v-bar .stat { position: absolute; bottom: 22px; display: flex; gap: 14px; font-size: 12.5px; color: var(--muted); }
.v-bar .stat b { color: var(--ink); }

/* Compare */
.compare { max-width: 820px; margin: 52px auto 0; border-radius: 24px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); overflow: hidden; }
.compare table { width: 100%; border-collapse: collapse; font-size: 16.5px; }
.compare th, .compare td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--line); }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { font: 650 15px/1.3 var(--display); color: var(--muted); background: var(--surface-2); }
.compare thead th:last-child { color: var(--ink); }
.compare td:not(:first-child), .compare th:not(:first-child) { width: 26%; }
.compare td:last-child { font-weight: 600; }
.yes, .no2 { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; }
.yes { background: var(--accent); }
.no2 { background: var(--surface-3); }
.yes svg, .no2 svg { width: 13px; height: 13px; }
.compare .cell { display: inline-flex; align-items: center; gap: 10px; }
.compare + .fine { max-width: 820px; margin: 14px auto 0; text-align: center; }
.yes svg { color: #fff; }
.no2 svg { color: var(--muted); }

/* Privacy */
.private { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding: 64px; border-radius: 28px; background: #111113; color: #f5f5f7; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .private { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); } }
:root[data-theme="dark"] .private { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.private h2 { color: #f5f5f7; font-size: clamp(34px, 4.4vw, 50px); }
.private h2 span { display: block; color: #8e8e93; }
.private p { color: #c7c7cc; font-size: 19px; margin: 20px 0 0; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; }
.ticks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/13px no-repeat; }
.private .ticks li { color: #e5e5ea; }
.private .ticks li::before { background-color: #2f5bea; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 20px; margin-top: 56px; }
.plan { position: relative; padding: 36px; border-radius: 24px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); display: flex; flex-direction: column; }
.plan.featured { box-shadow: inset 0 0 0 2px var(--ink), var(--shadow); }
.plan .badge { position: absolute; top: -13px; left: 36px; font: 700 12px/1 var(--text); padding: 7px 11px; border-radius: 999px; background: var(--ink); color: var(--bg); }
.plan h3 { font-size: 22px; }
.plan .price { font: 700 56px/1 var(--display); letter-spacing: -0.04em; margin: 18px 0 8px; }
.plan .price .save { display: inline-block; vertical-align: 16px; margin-left: 12px; padding: 6px 10px; border-radius: 999px; font: 700 13px/1 var(--text); letter-spacing: 0; color: var(--good); background: var(--tint-green); }
.plan .per { color: var(--muted); font-size: 16px; }
.plan .ticks { margin: 26px 0 32px; }
.plan .ticks li { font-size: 16.5px; color: var(--ink-2); }
.plan .btn { margin-top: auto; }
.plans.one { grid-template-columns: minmax(0, 620px); }
.ticks.two { grid-template-columns: 1fr 1fr; column-gap: 22px; }
.fine { text-align: center; color: var(--muted); font-size: 14.5px; margin-top: 24px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 64px; align-items: start; }
.faq-grid .sec-head { position: sticky; top: 110px; }
.faq-grid .sec-head p { font-size: 17px; color: var(--muted); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 24px 0; font: 650 19px/1.4 var(--display); letter-spacing: -0.01em; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 26px/1 var(--text); color: var(--muted); transition: transform 0.35s var(--spring); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -6px 0 24px; color: var(--ink-2); font-size: 17px; max-width: 680px; }

/* Final CTA */
.final { position: relative; overflow: hidden; text-align: center; padding: 96px 32px 88px; border-radius: 32px; color: #f5f5f7; background: radial-gradient(60% 80% at 15% 0%, rgba(79, 124, 255, 0.45), transparent 70%), radial-gradient(55% 75% at 90% 100%, rgba(20, 184, 166, 0.38), transparent 70%), linear-gradient(160deg, #1b2347, #0d1020 70%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), var(--shadow-lg); }
.final img { width: 88px; height: 88px; margin: 0 auto 26px; border-radius: 20px; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.6); }
.final h2, .final h1 { font-size: clamp(36px, 5vw, 56px); max-width: 14em; margin: 0 auto; letter-spacing: -0.035em; line-height: 1.06; color: #fff; }
.final p { color: rgba(255, 255, 255, 0.72); font-size: 18px; margin: 16px 0 0; }

/* Footer */
footer { padding: 72px 0 56px; color: var(--muted); font-size: 14.5px; }
.foot { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 28px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot nav a { color: var(--muted); }

/* Text pages */
.doc { max-width: 760px; margin: 0 auto; padding: 80px 0 0; }
.doc h1 { font-size: clamp(40px, 6vw, 60px); }
.doc .updated { color: var(--muted); font-size: 15px; margin: 14px 0 36px; }
.doc h2 { font-size: 24px; margin: 44px 0 12px; letter-spacing: -0.02em; }
.doc p, .doc li { color: var(--ink-2); font-size: 18px; }
.doc ul { padding-left: 22px; }
.doc li { margin: 8px 0; }
.doc .callout { padding: 22px 24px; border-radius: 18px; background: var(--surface-2); margin: 24px 0; }
.doc .callout p { margin: 0; }

/* Buttons with the price inside, and buttons for dark banners */
.pbadge { display: inline-flex; align-items: center; height: 24px; margin: 0 -10px 0 2px; padding: 0 9px; border-radius: 999px; font: 700 13px/1 var(--text); color: #fff; background: #2f5bea; }
.btn-sm .pbadge { height: 22px; font-size: 12.5px; margin-right: -8px; }
.buy .short { display: none; }
.menu-btn { display: none; place-items: center; width: 38px; height: 38px; flex: none; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.menu-btn:hover { background: var(--surface-2); }
.menu-btn svg { width: 20px; height: 20px; }
.menu-btn .i-close, .menu-open .menu-btn .i-open { display: none; }
.menu-open .menu-btn .i-close { display: block; }
.phone-menu { pointer-events: auto; display: grid; margin-top: 8px; padding: 10px; border-radius: 24px; background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: saturate(180%) blur(22px); backdrop-filter: saturate(180%) blur(22px); box-shadow: inset 0 0 0 1px var(--line-2), 0 18px 40px -16px rgba(0, 0, 0, 0.35); animation: menu-in 0.35s var(--spring); }
.phone-menu[hidden] { display: none; }
.phone-menu a:not(.btn) { padding: 13px 14px; border-radius: 14px; font: 600 17px/1.2 var(--display); color: var(--ink); }
.phone-menu a:not(.btn):hover { text-decoration: none; background: var(--surface-2); }
.phone-menu .btn { margin: 8px 4px 4px; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px) scale(0.98); } }
.btn-light { background: #fff; color: #0d1020; }
.btn-glass { background: rgba(255, 255, 255, 0.1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); }
.btn-glass:hover { background: rgba(255, 255, 255, 0.16); }
.theme-toggle { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border: 0; border-radius: 50%; background: transparent; color: var(--ink-2); cursor: pointer; transition: background 0.2s, transform 0.4s var(--spring); }
.theme-toggle:hover { background: var(--surface-2); color: var(--ink); }
.theme-toggle:active { transform: scale(0.9) rotate(-20deg); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .sun { display: var(--show-sun); }
.theme-toggle .moon { display: var(--show-moon); }

/* How it works: three steps in one strip */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-radius: 24px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); }
.steps li { display: flex; gap: 16px; align-items: flex-start; padding: 28px 30px; }
.steps li + li { box-shadow: inset 1px 0 0 var(--line); }
.steps .num { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font: 700 15px/1 var(--display); color: #fff; background: linear-gradient(135deg, #14b8a6, #4f7cff); }
.steps h3 { display: flex; align-items: center; gap: 6px; font-size: 19px; letter-spacing: -0.01em; }
.steps h3 kbd { font-size: 12.5px; padding: 2px 7px; min-width: 0; }
.steps p { margin: 6px 0 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }

/* It knows what you copied: one panel drawn like the app's */
.kinds-wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.kinds-wrap .sec-head h2, .faq-grid .sec-head h2 { font-size: clamp(34px, 4.2vw, 50px); }
.kinds-wrap .sec-head p { font-size: 18px; color: var(--ink-2); }
.kinds-panel { list-style: none; margin: 0; padding: 10px; display: grid; gap: 2px; border-radius: 20px; color: #f5f5f7; background: #1c1c1e; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), var(--shadow-lg); }
.kinds-panel .clip { height: 52px; gap: 10px; padding: 0 10px; grid-template-columns: 34px minmax(0, 1fr) auto; }
.kinds-panel .clip:hover { background: rgba(255, 255, 255, 0.05); }
.kinds-panel .clip .ic { width: 34px; height: 34px; }
.kinds-panel .clip b { font-size: 14px; }
.kinds-panel .clip small { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kinds-panel .tag2 { display: inline-flex; align-items: center; gap: 4px; padding: 5px 9px; border-radius: 999px; font: 600 12px/1 var(--text); color: rgba(255, 255, 255, 0.78); background: rgba(255, 255, 255, 0.08); white-space: nowrap; }
.kinds-panel .tag2 kbd { min-width: 0; padding: 1px 5px; font-size: 11px; }
.kinds-panel .tag2.ok { color: #30d158; background: rgba(48, 209, 88, 0.14); }
.kinds-panel .tag2.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-weight: 500; }

/* Price card: dark in both themes, like the app's own colours */
.price-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); max-width: 940px; margin: 52px auto 0; border-radius: 28px; overflow: hidden; color: #f5f5f7;
  background: radial-gradient(70% 90% at 0% 0%, rgba(79, 124, 255, 0.35), transparent 70%), radial-gradient(60% 80% at 100% 100%, rgba(20, 184, 166, 0.22), transparent 70%), linear-gradient(160deg, #1b2347, #0d1020 75%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09), var(--shadow-lg); }
.pc-main { display: flex; flex-direction: column; padding: 40px; }
.pc-top { display: flex; align-items: center; gap: 12px; font: 700 18px/1 var(--display); }
.pc-top img { border-radius: 9px; }
.pc-chip { margin-left: auto; padding: 6px 10px; border-radius: 999px; font: 700 12px/1 var(--text); color: #9ff0e2; background: rgba(20, 184, 166, 0.16); box-shadow: inset 0 0 0 1px rgba(20, 184, 166, 0.35); }
.pc-price { display: flex; align-items: center; gap: 14px; margin: 40px 0 0; font: 700 72px/0.95 var(--display); letter-spacing: -0.045em; }
.pc-save { padding: 6px 10px; border-radius: 999px; font: 700 13px/1 var(--text); letter-spacing: 0; color: #9ff0e2; background: rgba(20, 184, 166, 0.16); }
.pc-then { margin: 12px 0 28px; font-size: 15px; color: rgba(255, 255, 255, 0.66); }
.pc-later { color: rgba(255, 255, 255, 0.9); font-weight: 600; }
.pc-main .btn { width: 100%; }
.pc-note { margin: 14px 0 0; text-align: center; font-size: 13.5px; color: rgba(255, 255, 255, 0.6); }
.pc-list { padding: 40px; background: rgba(255, 255, 255, 0.03); box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.08); }
.pc-label { margin-bottom: 18px; font: 700 12px/1 var(--text); letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.pc-list .ticks { gap: 12px; }
.pc-list .ticks li { font-size: 15.5px; color: rgba(255, 255, 255, 0.86); }
.pc-list .ticks li::before { background-color: #2f5bea; }
/* Under the price: three reasons to feel safe buying from a small maker */
.assure { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 720px; margin: 56px auto 0; }
.as-card { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; border-radius: 20px; color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); transition: transform 0.45s var(--spring), box-shadow 0.25s; }
.as-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow); }
.as-ic { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; color: var(--accent); background: var(--accent-soft); }
.as-ic svg { width: 20px; height: 20px; }
.as-card b { display: block; font: 700 16px/1.3 var(--display); letter-spacing: -0.01em; }
.as-card small { display: block; margin-top: 4px; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }

/* Legal pages: centred title, the short version as cards, "Jump to" chips, calm sections */
.legal { max-width: 820px; padding-top: 64px; }
.legal-hero { text-align: center; }
.legal-hero h1 { margin-top: 16px; font-size: clamp(40px, 6vw, 60px); letter-spacing: -0.04em; }
.legal-date { display: inline-block; margin: 18px 0 0; padding: 7px 14px; border-radius: 999px; font-size: 14px; color: var(--muted); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.gist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.gist-card { padding: 22px; border-radius: 22px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); }
.gi { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, #14b8a6, #4f7cff); }
.gi svg { width: 20px; height: 20px; }
.gist-card b { display: block; font: 700 16.5px/1.3 var(--display); letter-spacing: -0.01em; }
.gist-card p { margin: 6px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.jump { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; padding: 16px 0 0; }
.jump span { margin-right: 4px; font: 700 12px/1 var(--text); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.jump a { padding: 7px 12px; border-radius: 999px; font-size: 14px; color: var(--ink-2); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); transition: background 0.2s, color 0.2s; }
.jump a:hover { text-decoration: none; color: var(--ink); background: var(--surface-2); }
.legal .doc { max-width: none; margin: 40px 0 0; padding: 0; }
.legal .doc h2 { margin: 44px 0 0; padding: 36px 0 0; border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.legal .doc > h2:first-child { margin-top: 0; }
.legal .doc p, .legal .doc ul { margin: 14px 0 0; }
.legal .doc > p:first-child { margin-top: 0; font-size: 19px; color: var(--ink-2); }

/* Support page: pick a topic, the email starts itself; then fixes you can do alone */
.support { padding: 72px 0 0; }
.sp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: 64px; align-items: center; }
.sp-intro h1 { margin-top: 18px; font-size: clamp(42px, 5.6vw, 64px); letter-spacing: -0.04em; line-height: 1.04; }
.sp-intro h1 span { display: block; color: var(--muted); }
.sp-intro .lede { margin: 22px 0 0; max-width: 30em; }
.sp-direct { margin: 22px 0 0; font-size: 15px; color: var(--muted); }
.sp-sep { margin: 0 6px; }
.linkish { margin-left: 6px; padding: 0; border: 0; background: none; font: inherit; color: var(--accent); cursor: pointer; }
.linkish:hover { text-decoration: underline; }
.topics { padding: 12px; border-radius: 28px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.tp-label { padding: 12px 14px 8px; font: 700 12px/1 var(--text); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.topic { display: grid; grid-template-columns: 42px minmax(0, 1fr) 18px; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 18px; color: var(--ink); transition: background 0.2s, transform 0.4s var(--spring); }
.topic:hover { text-decoration: none; background: var(--surface-2); transform: translateX(3px); }
.tp-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; color: #fff; background: linear-gradient(135deg, #14b8a6, #4f7cff); }
.tp-ic svg { width: 20px; height: 20px; }
.topic b { display: block; font: 700 16px/1.3 var(--display); letter-spacing: -0.01em; }
.topic small { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }
.tp-go { width: 18px; height: 18px; color: var(--muted); }
.tp-note { margin: 6px 14px 10px; font-size: 13.5px; color: var(--muted); }
.fixes { max-width: 820px; margin: 80px auto 0; }
.fixes h2 { text-align: center; font-size: clamp(30px, 3.8vw, 40px); letter-spacing: -0.03em; }
.fixes h2 span { display: block; color: var(--muted); }
.fixes .faq { margin-top: 32px; }
.sp-more { margin: 32px 0 0; text-align: center; font-size: 15px; color: var(--muted); }

/* Thank-you page (after checkout). States: ok (key shown) · nokey · wait · failed, set by assets/thanks.js */
.ty .nav .btn { display: none; }
.thanks { padding: 76px 0 0; text-align: center; }
.thanks .st { display: none; }
.thanks[data-state="ok"] .st.ok, .thanks[data-state="nokey"] .st.nokey, .thanks[data-state="wait"] .st.wait, .thanks[data-state="failed"] .st.failed { display: block; }
.thanks[data-state="failed"] .ty-steps, .thanks[data-state="failed"] .ty-help { display: none; }
.thanks h1 { font-size: clamp(42px, 6.4vw, 68px); letter-spacing: -0.04em; line-height: 1.04; }
.thanks h1 span { display: block; color: var(--muted); }
.thanks .lede b { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.thanks .cta-row { margin-top: 30px; }
.ty-mark { position: relative; width: 112px; height: 112px; margin: 0 auto 34px; }
.ty-mark img { position: relative; width: 112px; height: 112px; border-radius: 26px; box-shadow: var(--shadow-lg); animation: ty-pop 0.9s var(--spring) both; }
.ty-mark .glow { position: absolute; inset: -60px; border-radius: 50%; background: radial-gradient(closest-side, rgba(79, 124, 255, 0.3), rgba(20, 184, 166, 0.12) 55%, transparent); animation: ty-glow 1.6s var(--ease) both; }
.ty-mark .badge { position: absolute; right: -12px; bottom: -12px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #30b35d; box-shadow: 0 0 0 5px var(--bg), 0 8px 18px -6px rgba(0, 0, 0, 0.35); animation: ty-pop 0.7s 0.35s var(--spring) both; }
.ty-mark .badge svg { width: 24px; height: 24px; display: none; }
.thanks[data-state="ok"] .badge .i-ok, .thanks[data-state="nokey"] .badge .i-ok, .thanks[data-state="wait"] .badge .i-wait, .thanks[data-state="failed"] .badge .i-fail { display: block; }
.ty-mark .badge .i-ok path { stroke-dasharray: 22; stroke-dashoffset: 22; animation: ty-draw 0.5s 0.75s var(--ease) forwards; }
.thanks[data-state="wait"] .ty-mark .badge { background: #f5a524; }
.thanks[data-state="failed"] .ty-mark .badge { background: #e5484d; }
.thanks[data-state="wait"] .bits, .thanks[data-state="failed"] .bits, .thanks[data-state="failed"] .glow { display: none; }
.ty-mark .bits i { position: absolute; left: 50%; top: 50%; width: 15px; height: 6px; margin: -3px 0 0 -7.5px; border-radius: 3px; opacity: 0; background: #4f7cff; animation: ty-burst 1.2s 0.3s var(--ease) forwards; }
.ty-mark .bits i:nth-child(3n + 2) { background: #14b8a6; }
.ty-mark .bits i:nth-child(3n) { background: #ffd166; width: 10px; }
.ty-mark .bits i:nth-child(1) { --r: 0deg; } .ty-mark .bits i:nth-child(2) { --r: 30deg; } .ty-mark .bits i:nth-child(3) { --r: 60deg; }
.ty-mark .bits i:nth-child(4) { --r: 90deg; } .ty-mark .bits i:nth-child(5) { --r: 120deg; } .ty-mark .bits i:nth-child(6) { --r: 150deg; }
.ty-mark .bits i:nth-child(7) { --r: 180deg; } .ty-mark .bits i:nth-child(8) { --r: 210deg; } .ty-mark .bits i:nth-child(9) { --r: 240deg; }
.ty-mark .bits i:nth-child(10) { --r: 270deg; } .ty-mark .bits i:nth-child(11) { --r: 300deg; } .ty-mark .bits i:nth-child(12) { --r: 330deg; }
.ty-mark .bits i:nth-child(even) { --d: 118px; animation-delay: 0.38s; }
@keyframes ty-pop { from { opacity: 0; transform: scale(0.6); } }
@keyframes ty-glow { from { opacity: 0; transform: scale(0.5); } }
@keyframes ty-draw { to { stroke-dashoffset: 0; } }
@keyframes ty-burst { 0% { opacity: 1; transform: rotate(var(--r)) translateX(46px); } 70% { opacity: 1; } 100% { opacity: 0; transform: rotate(var(--r)) translateX(var(--d, 96px)) rotate(90deg); } }

.ty-key { max-width: 660px; margin: 40px auto 0; padding: 26px 28px 24px; border-radius: 26px; text-align: left; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); animation: ty-rise 0.8s 0.25s var(--ease) both; }
.thanks[data-state="ok"] .ty-key.st { display: block; }
.ty-key .lbl { font: 700 12px/1 var(--text); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.ty-key .keyrow { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.ty-key code { flex: 1; min-width: 0; padding: 15px 18px; border-radius: 15px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); font: 600 17px/1.35 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.02em; color: var(--ink); overflow-wrap: anywhere; user-select: all; }
.ty-key .copy { flex: none; min-width: 124px; }
.ty-key .copy .i-done { display: none; }
.ty-key .copy.done { background: #30b35d; color: #fff; }
.ty-key .copy.done .i-copy { display: none; }
.ty-key .copy.done .i-done { display: block; animation: ty-pop 0.45s var(--spring) both; }
.ty-key .hint { margin: 16px 0 0; font-size: 15.5px; color: var(--ink-2); transition: color 0.3s; }
.ty-key .hint.lit { color: var(--good); }
.ty-key .small { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@keyframes ty-rise { from { opacity: 0; transform: translateY(18px); } }

.ty-steps { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; text-align: left; }
.ty-steps li { display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); }
.ty-steps .vis { height: 156px; }
.ty-steps .txt { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 20px 22px 24px; }
.ty-steps h3 { display: flex; align-items: center; gap: 10px; font-size: 19px; }
.ty-steps .n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--bg); font: 700 13px/1 var(--text); }
.ty-steps p { margin: 8px 0 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.ty-steps .btn { margin-top: 18px; }
.v-dl { position: relative; }
.v-dl .disk { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 22px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.v-dl .disk img { width: 52px; height: 52px; }
.v-dl .arrow { position: absolute; left: calc(50% + 28px); top: calc(50% + 14px); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; box-shadow: 0 0 0 4px var(--surface-2); animation: ty-bob 1.8s var(--ease) infinite; }
.v-dl .arrow svg { width: 18px; height: 18px; }
@keyframes ty-bob { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(4px); } }
.v-inst { grid-template-columns: auto 1fr auto; gap: 14px; padding: 0 34px; }
.v-inst .app { width: 54px; height: 54px; border-radius: 13px; box-shadow: var(--shadow); animation: ty-slide 2.8s var(--ease) infinite; }
.v-inst .path { justify-self: stretch; height: 0; border-top: 2.5px dashed var(--line-2); }
.v-inst .folder { display: grid; justify-items: center; gap: 4px; }
.v-inst .folder svg { width: 58px; height: 48px; }
.v-inst .folder small { font-size: 11.5px; font-weight: 600; color: var(--muted); }
@keyframes ty-slide { 0%, 45% { transform: none; opacity: 1; } 80% { transform: translateX(118px) scale(0.55); opacity: 0; } 81% { transform: none; opacity: 0; } 92%, 100% { opacity: 1; } }
.v-act .found { display: flex; align-items: center; gap: 10px; width: calc(100% - 36px); padding: 11px 12px; border-radius: 12px; text-align: left; background: color-mix(in srgb, var(--accent) 10%, var(--surface)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent); }
.v-act .found svg { width: 18px; height: 18px; flex: none; color: var(--accent); animation: ty-twinkle 2.2s var(--ease) infinite; }
.v-act .found span { flex: 1; min-width: 0; }
.v-act .found b { display: block; font-size: 12px; line-height: 1.3; }
.v-act .found code { display: block; font: 11.5px/1.4 ui-monospace, "SF Mono", Menlo, monospace; color: var(--muted); }
.v-act .found em { flex: none; font: 600 12px/1 var(--text); font-style: normal; padding: 7px 10px; border-radius: 7px; background: var(--accent); color: #fff; }
@keyframes ty-twinkle { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.18) rotate(12deg); } }
.ty-help { margin: 44px 0 0; color: var(--muted); font-size: 15.5px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .row { grid-template-columns: 1fr; gap: 32px; padding: 32px; }
  .row:nth-child(even) .copy { order: 0; }
  .cards, .pains { grid-template-columns: repeat(2, 1fr); }
  .kinds-wrap, .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .faq-grid .sec-head { position: static; }
  .price-card { grid-template-columns: 1fr; }
  .assure { grid-template-columns: 1fr; }
  .sp-grid { grid-template-columns: 1fr; gap: 36px; }
  .gist { grid-template-columns: 1fr; }
  .legal { padding-top: 40px; }
  .pc-list { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); }
  .ty-steps { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .private { grid-template-columns: 1fr; padding: 40px; }
  .desk { aspect-ratio: auto; height: 600px; }
  .window { left: 4%; width: 92%; top: auto; bottom: 4%; height: 46%; }
  .panel { left: 4%; right: 4%; width: auto; max-width: none; top: 46px; }
  .keys { bottom: auto; top: 45%; }
}
/* Medium widths (small laptop windows, tablets): the section links move into the ≡ menu so Download and Buy fit. */
@media (max-width: 940px) {
  .nav-links { display: none; }
  .menu-btn { display: grid; }
  .theme-toggle { margin-left: auto; }
}
@media (max-width: 680px) {
  body { font-size: 17px; }
  .nav-links, .nav .dl { display: none; }
  .nav-inner { gap: 12px; }
  .nav-inner .btn { margin-left: 0; }
  .hero { padding-top: 64px; }
  .desk { height: 560px; border-radius: 16px; margin-top: 44px; }
  .menubar .menu span, .menubar .right .hide-sm { display: none; }
  .clips { max-height: 240px; }
  .chips { gap: 2px; overflow: hidden; }
  .chip { padding: 7px 9px; font-size: 12.5px; }
  .caption { flex-direction: column; text-align: center; }
  .tour { gap: 5px; }
  .tour button { padding: 8px 11px; font-size: 13px; }
  .cards, .pains, .plans, .plans.one, .ticks.two, .steps { grid-template-columns: 1fr; }
  .steps li + li { box-shadow: inset 0 1px 0 var(--line); }
  .nav-inner { padding: 0 8px 0 14px; gap: 8px; }
  .buy .long { display: none; }
  .menu-btn { display: grid; }
  .theme-toggle { margin-left: auto; }
  .buy .short { display: inline; }
  .theme-toggle { width: 34px; height: 34px; }
  .pc-main, .pc-list { padding: 28px; }
  .pc-price { font-size: 60px; }
  .final { padding: 72px 22px 64px; border-radius: 24px; }
  .topics { border-radius: 24px; padding: 8px; }
  .thanks { padding-top: 48px; }
  .ty-key { padding: 22px 20px; }
  .ty-key .keyrow { flex-direction: column; align-items: stretch; }
  .row, .private { padding: 24px; border-radius: 22px; }
  .split { grid-template-columns: 1fr; }
  .stackcol { min-height: 0; }
  .results li small { display: none; }
  section { padding-top: 88px; }
  .plan { padding: 28px; }
  .compare th, .compare td { padding: 13px 14px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .panel { opacity: 1; transform: none; }
}
