/* TextPluck website
   Colours come from the app icon: sky #4CA2FF at the top, pluck blue at the bottom, with an aqua accent. */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --bg: #f6f9ff;
  --surface: #ffffff;
  --tint: #eaf2ff;
  --ink: #0b1630;
  --text: #34425e;
  --muted: #6b7a99;
  --line: #e1e8f4;
  --pluck: #0a6cff;
  --pluck-deep: #0052cc;
  --sky: #4ca2ff;
  --aqua: #14b8d4;
  --band: #061b45;
  --band-text: #d9e6ff;
  --brand: linear-gradient(135deg, #4ca2ff 0%, #0a6cff 55%, #0052cc 100%);
  --nav-bg: rgba(246, 249, 255, 0.82);
  --line-strong: #c4d3ec;
  color-scheme: light;

  --display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --sys: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --emoji: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
}

/* Dark theme: set by the toggle (data-theme on <html>), or by the Mac's own setting when the visitor never chose. */
:root[data-theme="dark"] {
  --bg: #07122a;
  --surface: #0e1d3b;
  --tint: #11264d;
  --ink: #f1f5ff;
  --text: #c0cde6;
  --muted: #8899bb;
  --line: #1d3058;
  --line-strong: #2d4678;
  --pluck: #3d8bff;
  --pluck-deep: #2a74e8;
  --band: #0b2560;
  --band-text: #d9e6ff;
  --nav-bg: rgba(7, 18, 42, 0.82);
  color-scheme: dark;
}
:root[data-theme="dark"] .bezel { box-shadow: 0 0 0 1px #2a3a5c, 0 50px 120px -40px rgba(61, 139, 255, 0.45), 0 30px 60px -30px rgba(0, 0, 0, 0.7); }
:root[data-theme="dark"] .privacy, :root[data-theme="dark"] .cta-in { box-shadow: inset 0 0 0 1px var(--line); }
:root[data-theme="dark"] .feat-demo {
  background:
    radial-gradient(70% 80% at 80% 0%, rgba(20, 184, 212, 0.16), transparent 70%),
    radial-gradient(70% 80% at 0% 100%, rgba(61, 139, 255, 0.22), transparent 70%),
    var(--tint);
}
:root[data-theme="dark"] .pair .shot { background: #e9eef6; }
:root[data-theme="dark"] .grab-cursor path:first-child { stroke: #07122a; }
:root[data-theme="dark"] .grab-cursor path:last-child { stroke: #fff; }

/* Theme switch */
.theme-toggle {
  display: grid; place-items: center; width: 40px; height: 40px; flex: none;
  border: 0; border-radius: 50%; cursor: pointer;
  background: transparent; color: var(--text);
  transition: background 0.15s ease, color 0.15s ease;
}
.theme-toggle:hover { background: var(--tint); color: var(--ink); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: inherit; color: var(--ink); }
button { font: inherit; color: inherit; }
kbd {
  font-family: var(--sys);
  font-size: 0.86em;
  display: inline-block;
  min-width: 1.7em;
  padding: 0.05em 0.42em;
  border-radius: 0.38em;
  background: var(--surface);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line), 0 2px 0 var(--line);
  text-align: center;
  line-height: 1.45;
}
:focus-visible { outline: 2px solid var(--pluck); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 10px; background: var(--ink); color: var(--bg);
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

.section-h {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.section-lede { margin-top: 18px; font-size: 1.1875rem; max-width: 52ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px 15px 22px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.0625rem;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 12px 28px -10px rgba(10, 108, 255, 0.65);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn svg { width: 20px; height: 20px; margin-top: -3px; }
.btn:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 16px 34px -10px rgba(10, 108, 255, 0.8); }
.btn:active { transform: translateY(1px); }
.btn-small { padding: 9px 18px; font-size: 0.9375rem; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 6px 16px -8px rgba(10, 108, 255, 0.7); }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  transition: background 0.2s ease, border-color 0.2s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--line);
}
.nav-in {
  width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto;
  display: flex; align-items: center; gap: 24px; height: 68px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 800; font-size: 1.1875rem; letter-spacing: -0.02em;
  color: var(--ink); text-decoration: none;
}
.brand img { border-radius: 22%; box-shadow: 0 4px 12px -4px rgba(10, 108, 255, 0.6); }
.nav nav { margin-left: auto; }
.nav nav + .theme-toggle { margin-left: -12px; }
.nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav nav a {
  display: block; padding: 8px 12px; border-radius: 999px;
  font-size: 0.9375rem; font-weight: 500; color: var(--text); text-decoration: none;
}
.nav nav a:hover { color: var(--ink); background: var(--tint); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(40px, 7vw, 88px);
  background:
    radial-gradient(45% 40% at 85% 8%, rgba(20, 184, 212, 0.16), transparent 70%),
    radial-gradient(50% 45% at 10% 0%, rgba(76, 162, 255, 0.18), transparent 70%),
    radial-gradient(60% 40% at 50% 70%, rgba(10, 108, 255, 0.14), transparent 70%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3rem, 7.4vw, 6.4rem);
  line-height: 1;
  letter-spacing: -0.045em;
}
/* The headline sits inside a selection, the way TextPluck sees the screen. */
.grab {
  position: relative;
  display: inline-block;
  padding: 0.14em 0.2em 0.2em;
  margin-left: -0.2em;
  --c: 0.3em;
  --w: 0.05em;
}
.grab .accent {
  background: var(--brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grab .frame {
  position: absolute; inset: 0;
  border-radius: 0.12em;
  background: rgba(10, 108, 255, 0.05);
  animation: frame-in 1s cubic-bezier(.45, 0, .2, 1) 0.2s both;
}
.grab .c { position: absolute; width: var(--c); height: var(--c); border: 0 solid var(--pluck); }
.grab .tl { left: 0; top: 0; border-width: var(--w) 0 0 var(--w); border-top-left-radius: 0.12em; }
.grab .tr { right: 0; top: 0; border-width: var(--w) var(--w) 0 0; border-top-right-radius: 0.12em; }
.grab .bl { left: 0; bottom: 0; border-width: 0 0 var(--w) var(--w); border-bottom-left-radius: 0.12em; }
.grab .br { right: 0; bottom: 0; border-width: 0 var(--w) var(--w) 0; border-bottom-right-radius: 0.12em; }
.grab-cursor {
  position: absolute; width: 0.34em; height: 0.34em;
  translate: -50% -50%;
  pointer-events: none;
  animation: cursor-drag 1s cubic-bezier(.45, 0, .2, 1) 0.2s both, fade-out 0.5s ease 1.7s forwards;
}
@keyframes frame-in {
  from { clip-path: inset(0 100% 100% 0); }
  to { clip-path: inset(-12px); }
}
@keyframes cursor-drag {
  from { left: 0; top: 0; }
  to { left: 100%; top: 100%; }
}
@keyframes fade-out { to { opacity: 0; visibility: hidden; } }

.hero-side { display: grid; gap: 24px; justify-items: start; }
.lede { font-size: 1.25rem; line-height: 1.55; max-width: 32ch; color: var(--text); }
.reqs {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 6px 18px;
  color: var(--muted); font-size: 0.875rem;
}
.reqs li { display: inline-flex; align-items: center; gap: 6px; }
.reqs svg { width: 16px; height: 16px; color: var(--aqua); }

/* ---------- The Mac ---------- */
.demo { margin-top: clamp(48px, 7vw, 80px); padding-bottom: clamp(64px, 9vw, 112px); }
.mac { position: relative; }
.bezel {
  position: relative;
  padding: clamp(6px, 1vw, 12px);
  padding-bottom: clamp(8px, 1.2vw, 14px);
  border-radius: clamp(12px, 2vw, 24px) clamp(12px, 2vw, 24px) 6px 6px;
  background: #0b0f17;
  box-shadow:
    0 0 0 1px #2a3242,
    0 50px 100px -40px rgba(10, 60, 160, 0.55),
    0 30px 60px -30px rgba(11, 22, 48, 0.45);
}
.screen {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: clamp(6px, 1.1vw, 12px) clamp(6px, 1.1vw, 12px) 2px 2px;
  background: #0a3a8c;
}
.base {
  position: relative;
  height: clamp(8px, 1.4vw, 16px);
  margin: 0 -4%;
  border-radius: 2px 2px 40% 40% / 2px 2px 100% 100%;
  background: linear-gradient(180deg, #e6ebf2 0%, #b9c2cf 45%, #8792a3 100%);
  box-shadow: 0 18px 30px -18px rgba(11, 22, 48, 0.5);
}
.base::before {
  content: ""; position: absolute; left: 50%; top: 0; width: 13%; height: 45%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #9ba5b4, #c3ccd8);
  border-radius: 0 0 10px 10px;
}

/* Stage: a fixed 1280 × 800 desktop, scaled to fit with JavaScript. */
.stage {
  position: absolute; left: 0; top: 0;
  width: 1280px; height: 800px;
  transform-origin: 0 0;
  transform: scale(var(--s, 0.5));
  font-family: var(--sys);
  color: #1d1d1f;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}
.wall {
  position: absolute; inset: 0;
  background:
    radial-gradient(55% 75% at 12% 18%, rgba(140, 205, 255, 0.95) 0%, transparent 62%),
    radial-gradient(45% 60% at 88% 22%, rgba(40, 200, 220, 0.7) 0%, transparent 60%),
    radial-gradient(60% 60% at 70% 105%, rgba(2, 40, 120, 0.95) 0%, transparent 70%),
    radial-gradient(40% 40% at 30% 85%, rgba(90, 170, 255, 0.55) 0%, transparent 70%),
    linear-gradient(160deg, #2f7cf0 0%, #0b49b8 55%, #062a6e 100%);
}
.menubar {
  position: absolute; left: 0; right: 0; top: 0; height: 34px; z-index: 30;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 18px;
  color: #fff; font-size: 14px;
  background: rgba(4, 20, 60, 0.22);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
}
.mb-l, .mb-r { display: flex; align-items: center; gap: 20px; }
.mb-apple { width: 16px; height: 16px; margin-top: -3px; }
.mb-app { font-weight: 700; }
.mb-tp {
  display: grid; place-items: center; width: 30px; height: 24px; border-radius: 6px;
  transition: background 0.15s ease;
}
.mb-tp svg { width: 20px; height: 20px; }
.mb-tp.active { background: rgba(255, 255, 255, 0.28); }
.mb-tp.pulse svg { animation: tp-pulse 0.9s ease; }
@keyframes tp-pulse { 30% { transform: scale(1.3); color: #bff4ff; } }
.mb-wifi { width: 18px; height: 18px; }
.mb-bat { width: 28px; height: 14px; }
.mb-clock { font-variant-numeric: tabular-nums; }
.notch {
  position: absolute; left: 50%; top: 0; z-index: 31;
  width: 200px; height: 34px; transform: translateX(-50%);
  background: #000; border-radius: 0 0 16px 16px;
}

/* Menu bar menu */
.tp-menu {
  position: absolute; top: 38px; right: 196px; z-index: 32;
  width: 270px; padding: 6px;
  border-radius: 12px;
  background: rgba(238, 242, 248, 0.88);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  backdrop-filter: blur(30px) saturate(180%);
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.25), 0 18px 50px rgba(0, 10, 40, 0.35);
  font-size: 14px; color: #1d1d1f;
  opacity: 0; transform: translateY(-4px); transition: opacity 0.12s ease, transform 0.12s ease;
  pointer-events: none;
}
.tp-menu.open { opacity: 1; transform: none; }
.tp-item { display: flex; justify-content: space-between; align-items: center; padding: 5px 10px; border-radius: 6px; }
.tp-item kbd { background: none; box-shadow: none; color: #8a8f98; font-size: 13px; padding: 0; }
.tp-item.hot { background: var(--pluck); color: #fff; }
.tp-item.hot kbd { color: rgba(255, 255, 255, 0.8); }
.tp-menu hr { border: 0; height: 1px; background: rgba(0, 0, 0, 0.1); margin: 5px 10px; }

/* Windows */
.windows { position: absolute; inset: 0; z-index: 10; }
.win {
  position: absolute; overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.45), 0 26px 70px rgba(0, 12, 50, 0.5), 0 6px 18px rgba(0, 12, 50, 0.25);
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(.2, .8, .2, 1);
}
.win.out { opacity: 0; transform: translateY(16px) scale(0.98); }
.win.target { z-index: 2; }
.win .tb {
  position: relative; height: 38px;
  display: flex; align-items: center; padding: 0 14px;
  background: #ececee; border-bottom: 1px solid #d5d5d8;
  font-size: 13px; font-weight: 600; color: #4a4a4f;
}
.win.dark { background: #1c1c1e; color: #f2f2f7; }
.win.dark .tb { background: #2c2c2e; border-bottom-color: #121214; color: #c7c7cc; }
.tl { display: flex; gap: 8px; }
.tl i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.2); }
.tl i:nth-child(2) { background: #febc2e; }
.tl i:nth-child(3) { background: #28c840; }
.win .title { position: absolute; left: 0; right: 0; text-align: center; pointer-events: none; }

.ocr { width: fit-content; border-radius: 4px; transition: background-color 0.25s ease, box-shadow 0.25s ease; }
.ocr.hit { background-color: rgba(76, 162, 255, 0.28); box-shadow: 0 0 0 2px rgba(76, 162, 255, 0.75); }

/* Video window */
.video { position: relative; height: 428px; background: #000; overflow: hidden; }
.slide {
  position: absolute; inset: 0;
  padding: 44px 52px;
  background: #fff;
  color: #13233f;
  border-left: 14px solid #2f9e5b;
}
.slide-k { font-size: 15px; color: #5b6b85; margin-bottom: 14px; }
.slide p.ocr { font-size: 23px; line-height: 1.35; margin-bottom: 10px; color: #24324a; }
.slide p.slide-h { font-size: 36px; font-weight: 700; color: #10203d; margin-bottom: 26px; letter-spacing: -0.01em; }
.leaf { position: absolute; right: 54px; top: 150px; width: 150px; height: 150px; }
.leaf .sun { position: absolute; right: 0; top: 0; width: 56px; height: 56px; border-radius: 50%; background: #ffc83d; box-shadow: 0 0 0 10px rgba(255, 200, 61, 0.25); }
.leaf .blade { position: absolute; left: 10px; bottom: 0; width: 100px; height: 100px; background: #3fb36b; border-radius: 0 70% 0 70%; transform: rotate(-8deg); }
.leaf .blade::after { content: ""; position: absolute; left: 8px; top: 50%; width: 110px; height: 3px; background: #2a8a50; transform: rotate(-45deg); transform-origin: left; }
.subs {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  padding: 4px 12px; border-radius: 4px;
  background: rgba(0, 0, 0, 0.72); color: #fff; font-size: 18px; white-space: nowrap;
}
.vbar { display: flex; align-items: center; gap: 14px; height: 44px; padding: 0 18px; background: #1c1c1e; }
.pp { width: 14px; height: 16px; border-left: 4px solid #fff; border-right: 4px solid #fff; }
.track { flex: 1; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.22); overflow: hidden; }
.track b { display: block; height: 100%; background: #fff; }
.tc { font-size: 13px; color: #c7c7cc; font-variant-numeric: tabular-nums; }

/* Notes / Mail targets */
.notes { padding: 18px 22px 22px; min-height: 270px; background: #fffef8; color: #1d1d1f; }
.note-h { font-size: 22px; font-weight: 700; }
.note-m { font-size: 12px; color: #8a8a8e; margin: 2px 0 14px; }
.paste { font-size: 16px; line-height: 1.5; min-height: 20px; }
.paste:empty::before { content: ""; display: inline-block; width: 2px; height: 19px; background: var(--pluck); vertical-align: -3px; animation: blink 1s steps(1) infinite; }
.paste.flash { animation: paste-flash 1.2s ease; }
@keyframes paste-flash { 0% { background: rgba(76, 162, 255, 0.35); } 100% { background: transparent; } }
@keyframes blink { 50% { opacity: 0; } }
.mail { padding: 6px 20px 22px; min-height: 260px; font-size: 14px; color: #1d1d1f; }
.mail > p { padding: 8px 0; border-bottom: 1px solid #e3e3e6; }
.mail > p span { color: #8a8a8e; }
.mail .paste { margin-top: 14px; font-size: 15px; }

/* Preview / scanned page */
.pv { background: #c9ced6; padding: 26px 0 0; height: 560px; overflow: hidden; display: flex; justify-content: center; }
.page {
  width: 560px; height: 700px;
  padding: 52px 56px;
  background: #fbfaf6;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transform: rotate(-0.6deg);
  font-family: "Iowan Old Style", "Palatino", Georgia, serif;
  color: #2a2a2a;
  filter: contrast(0.94) blur(0.15px);
  background-image: radial-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px);
  background-size: 5px 5px;
}
.pg-run { font-size: 12px; letter-spacing: 0.08em; color: #777; border-bottom: 1px solid #bbb; padding-bottom: 8px; margin-bottom: 30px; }
.pg-h { font-size: 25px; font-weight: 700; margin-bottom: 18px; }
.page .ocr, .pg-rest { font-size: 19px; line-height: 1.62; }
.page .ocr:last-of-type { margin-bottom: 14px; }
.pg-num { text-align: center; font-size: 13px; color: #777; margin-top: 40px; }

/* Code video */
.editor { position: absolute; inset: 0; background: #0d1b36; font-family: var(--mono); color: #d6e4ff; }
.ed-tab { display: inline-block; padding: 10px 20px; font-size: 14px; background: #13284f; color: #bcd4ff; border-top: 2px solid var(--sky); }
.ed-body { display: flex; gap: 22px; padding: 24px 28px; font-size: 20px; line-height: 1.75; }
.ed-gutter { color: #3f5b8d; text-align: right; min-width: 18px; }
.ed-code > div { white-space: pre; }
.ed-c { color: #6f8bbd; font-style: italic; }
.k { color: #ff8ec6; }
.f { color: #7cc4ff; }
.n { color: #ffcf70; }
.cam { position: absolute; right: 22px; bottom: 20px; width: 110px; height: 110px; border-radius: 50%; background: linear-gradient(160deg, #3d5f96, #1d3360); border: 3px solid rgba(255, 255, 255, 0.85); overflow: hidden; }
.cam span { position: absolute; left: 50%; bottom: -22px; width: 74px; height: 74px; transform: translateX(-50%); border-radius: 50% 50% 0 0; background: #f0c7a0; }
.cam span::before { content: ""; position: absolute; left: 50%; top: -48px; width: 44px; height: 44px; transform: translateX(-50%); border-radius: 50%; background: #f0c7a0; box-shadow: 0 -8px 0 4px #2b1d16; }
.code-target { display: flex; gap: 18px; padding: 16px 20px 24px; min-height: 280px; font-family: var(--mono); font-size: 15px; line-height: 1.75; color: #d6e4ff; background: #0f1e3d; }
.code-target .paste { margin: 0; font: inherit; line-height: inherit; white-space: pre; }
.code-target .paste:empty::before { height: 17px; }

/* Photo of a Wi-Fi card on a table */
.photo {
  height: 520px; display: grid; place-items: center; overflow: hidden;
  background:
    repeating-linear-gradient(92deg, rgba(0, 0, 0, 0.06) 0 3px, transparent 3px 22px),
    linear-gradient(160deg, #8a5a3a, #5a3820 70%, #3e2615);
}
.wifi-card {
  position: relative; width: 480px; padding: 44px 48px 48px;
  border-radius: 10px;
  background: #fbf7ef;
  color: #22303f;
  transform: rotate(-3.5deg) skewX(-1.5deg);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.45), 0 2px 4px rgba(0, 0, 0, 0.3);
  filter: blur(0.25px) saturate(0.95);
  font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
}
.wifi-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.5) 48%, transparent 60%); }
.wifi-card .wc-ico { width: 54px; height: 54px; color: #1f6feb; margin-bottom: 14px; }
.wifi-card .ocr { font-size: 25px; line-height: 1.45; margin-bottom: 6px; }
.wifi-card .wc-h { font-size: 40px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 14px; }

/* QR flyer */
.flyer {
  width: 600px; height: 380px; margin-top: 30px;
  display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center;
  padding: 40px 44px;
  background: #fff; border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
  color: #0d1b36;
}
.fl-k { font-size: 15px; font-weight: 600; color: var(--pluck); margin-bottom: 6px; }
.fl-h { font-size: 40px; font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 14px; }
.fl-p { font-size: 17px; line-height: 1.45; color: #45546f; margin-bottom: 22px; }
.fl-s { font-size: 14px; font-weight: 600; color: #45546f; }
.qr { width: 200px; height: 200px; padding: 6px; background: #fff; }
.qr svg { width: 100%; height: 100%; }
.safari .tb { justify-content: flex-start; }
.url { margin: 0 auto; width: 300px; padding: 4px 0; border-radius: 7px; background: #fff; box-shadow: inset 0 0 0 1px #d5d5d8; text-align: center; font-weight: 500; color: #1d1d1f; }
.mini-site { height: 340px; display: grid; place-content: center; justify-items: center; gap: 18px; background: var(--bg); color: var(--ink); font-family: var(--display); font-size: 34px; font-weight: 800; letter-spacing: -0.04em; }
.mini-site img { border-radius: 22%; }

/* Capture overlay */
.dim { position: absolute; inset: 0; z-index: 20; background: rgba(2, 12, 34, 0.45); opacity: 0; transition: opacity 0.15s ease; pointer-events: none; }
.dim.on { opacity: 1; }
.sel {
  position: absolute; z-index: 21; left: 0; top: 0; width: 0; height: 0;
  box-shadow: 0 0 0 3000px rgba(2, 12, 34, 0.45);
  outline: 1px solid rgba(255, 255, 255, 0.6);
  display: none;
  transition: opacity 0.2s ease;
}
.sel.on { display: block; }
.sel.fade { opacity: 0; }
.sel-in { position: absolute; inset: 0; overflow: hidden; }
.scan {
  position: absolute; left: 0; right: 0; top: 0; height: 60%;
  transform: translateY(-100%);
  background: linear-gradient(180deg, transparent, rgba(20, 184, 212, 0.25) 70%, rgba(220, 250, 255, 0.95) 98%, transparent);
  opacity: 0;
}
.sel .c { position: absolute; width: 22px; height: 22px; border: 0 solid #fff; filter: drop-shadow(0 0 4px rgba(76, 162, 255, 0.9)); }
.sel .tl { left: -4px; top: -4px; border-width: 4px 0 0 4px; border-top-left-radius: 7px; }
.sel .tr { right: -4px; top: -4px; border-width: 4px 4px 0 0; border-top-right-radius: 7px; }
.sel .bl { left: -4px; bottom: -4px; border-width: 0 0 4px 4px; border-bottom-left-radius: 7px; }
.sel .br { right: -4px; bottom: -4px; border-width: 0 4px 4px 0; border-bottom-right-radius: 7px; }

/* Keystrokes */
.keys {
  position: absolute; left: 34px; bottom: 30px; z-index: 40;
  display: flex; gap: 10px; padding: 12px;
  border-radius: 20px;
  background: rgba(4, 20, 47, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 0 0 1px rgba(191, 217, 255, 0.2), 0 20px 40px rgba(0, 0, 0, 0.35);
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.25s ease;
}
.keys.on { opacity: 1; transform: none; }
.key {
  width: 68px; height: 68px; border-radius: 12px;
  display: grid; place-content: center; justify-items: center; gap: 2px;
  background: linear-gradient(180deg, #ffffff, #dfe7f3);
  color: #0d1b36;
  box-shadow: 0 4px 0 #9aa9c2, 0 6px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.08s ease, box-shadow 0.08s ease, background 0.08s ease;
}
.key b { font-size: 28px; line-height: 1; font-weight: 500; }
.key small { font-size: 11px; color: #5b6b85; }
.key.down { transform: translateY(4px); box-shadow: 0 0 0 #9aa9c2, 0 2px 4px rgba(0, 0, 0, 0.3); background: linear-gradient(180deg, #d7e8ff, #bcd6ff); }

/* Toast: bottom centre, like the app's ToastWindow */
.toast {
  position: absolute; left: 50%; bottom: 80px; z-index: 35;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(28, 30, 36, 0.88);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  color: #fff;
  box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.18), 0 20px 50px rgba(0, 0, 0, 0.45);
  transform: translate(-50%, 20px); opacity: 0;
  transition: opacity 0.2s ease, transform 0.3s cubic-bezier(.2, .9, .3, 1.2);
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.t-ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); flex: none; }
.t-ico svg { width: 18px; height: 18px; color: #fff; }
.t-txt { display: grid; font-size: 15px; line-height: 1.3; }
.t-txt span { font-size: 13px; color: #b8bcc6; }
.t-txt span:empty { display: none; }
.t-actions { display: flex; gap: 8px; margin-left: 10px; }
.t-btn {
  padding: 6px 13px; border-radius: 9px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 13px; font-weight: 600; color: #fff;
  transition: background 0.1s ease;
}
.t-btn.hot { background: rgba(255, 255, 255, 0.32); }

/* Cursor */
.cursor {
  position: absolute; left: 0; top: 0; z-index: 60;
  width: 0; height: 0;
  will-change: transform;
  transition: opacity 0.3s ease;
}
.cursor.hidden { opacity: 0; }
.cursor svg { position: absolute; }
.cursor .arrow { width: 24px; height: 32px; left: -3px; top: -2px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35)); }
.cursor .cross { width: 40px; height: 40px; left: -20px; top: -20px; display: none; }
.cursor.crosshair .arrow { display: none; }
.cursor.crosshair .cross { display: block; }
.dims {
  position: absolute; left: 16px; top: 18px;
  padding: 3px 8px; border-radius: 6px;
  background: rgba(0, 0, 0, 0.6); color: #fff;
  font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap;
  display: none;
}
.cursor.dragging .dims { display: block; }
.cursor::after {
  content: ""; position: absolute; left: -18px; top: -18px; width: 36px; height: 36px;
  border-radius: 50%; border: 3px solid rgba(255, 255, 255, 0.9);
  opacity: 0; transform: scale(0.4);
}
.cursor.click::after { animation: click 0.35s ease-out; }
@keyframes click { 0% { opacity: 1; transform: scale(0.4); } 100% { opacity: 0; transform: scale(1.3); } }

/* ---------- Under the Mac: steps and example picker ---------- */
.steps {
  list-style: none; margin: clamp(28px, 4vw, 44px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  font-family: var(--display); font-weight: 700; font-size: 1.0625rem; color: var(--muted);
  transition: color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.steps li::before {
  content: counter(step);
  flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--tint); color: var(--pluck); font-size: 0.9375rem;
}
.steps li[aria-current="step"] { color: var(--ink); box-shadow: inset 0 0 0 2px var(--pluck), 0 10px 24px -14px rgba(10, 108, 255, 0.6); }
.steps li[aria-current="step"]::before { background: var(--brand); color: #fff; }
.steps kbd { font-size: 0.85em; }

.demo-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 22px; }
.pick-label { font-size: 0.9375rem; color: var(--muted); }
.demo-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.demo-tabs button {
  padding: 8px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface);
  color: var(--text); font-size: 0.9375rem; font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.demo-tabs button:hover { border-color: var(--line-strong); color: var(--ink); }
.demo-tabs button[aria-pressed="true"]:not(.demo-pause) { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.demo-pause { margin-left: auto; padding: 8px 14px; border-radius: 999px; cursor: pointer; border: 1px dashed var(--line-strong); background: transparent; color: var(--muted); font-size: 0.9375rem; }
.demo-pause[aria-pressed="true"] { border-style: solid; color: var(--ink); }
.demo-caption { margin-top: 14px; color: var(--muted); font-size: 0.9375rem; min-height: 1.6em; }

/* ---------- Features ---------- */
.features { padding-block: 0 clamp(64px, 9vw, 112px); }
.feat {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  padding-block: clamp(48px, 7vw, 88px);
  border-top: 1px solid var(--line);
}
.feat h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
}
.feat-copy p { max-width: 40ch; }
.feat-copy b { color: var(--ink); font-weight: 600; }
.feat-demo {
  display: grid; justify-items: center; gap: 14px;
  padding: clamp(24px, 4vw, 48px);
  border-radius: 28px;
  background:
    radial-gradient(70% 80% at 80% 0%, rgba(20, 184, 212, 0.18), transparent 70%),
    radial-gradient(70% 80% at 0% 100%, rgba(76, 162, 255, 0.22), transparent 70%),
    var(--tint);
}
.try { font-size: 0.875rem; color: var(--muted); }

/* Mock windows on the page */
.mwin {
  width: min(100%, 520px);
  border-radius: 14px; overflow: hidden;
  background: #fff; color: #1d1d1f;
  font-family: var(--sys);
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.25), 0 30px 60px -30px rgba(10, 60, 160, 0.45), 0 10px 20px -12px rgba(11, 22, 48, 0.25);
}
.mtb {
  position: relative; display: flex; align-items: center; height: 38px; padding: 0 14px;
  background: #ececee; border-bottom: 1px solid #d5d5d8;
  font-size: 13px; font-weight: 600; color: #4a4a4f;
}
.mtb > span:last-child { position: absolute; left: 0; right: 0; text-align: center; pointer-events: none; }
.result-body { padding: 18px; display: grid; gap: 16px; }
.result-text {
  min-height: 116px; padding: 12px 14px;
  border-radius: 8px; background: #f6f7f9; box-shadow: inset 0 0 0 1px #dcdfe5;
  font-size: 16px; line-height: 1.5; color: #1d1d1f;
  outline: none; cursor: text;
}
.result-text:focus { box-shadow: inset 0 0 0 1px var(--pluck), 0 0 0 3px rgba(10, 108, 255, 0.25); }
.result-actions { display: flex; justify-content: flex-end; gap: 8px; }
.mbtn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 7px; cursor: pointer;
  border: 0; background: #e6e8ec; color: #1d1d1f;
  font-family: var(--sys); font-size: 14px;
  box-shadow: 0 0.5px 1px rgba(0, 0, 0, 0.2);
}
.mbtn svg { width: 16px; height: 16px; }
.mbtn:hover { background: #dcdfe5; }
.mbtn.primary { background: var(--pluck); color: #fff; min-width: 76px; justify-content: center; }
.mbtn.primary:hover { background: var(--pluck-deep); }

/* Clean text examples */
.clean { width: 100%; max-width: 560px; display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.clean-label { font-size: 0.875rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr); align-items: stretch; }
.pair > span:not(.to) { padding: 12px 14px; border-radius: 12px; font-size: 0.9375rem; line-height: 1.45; }
.pair .shot {
  background: #fff; color: #3a4357;
  font-family: Georgia, "Times New Roman", serif;
  filter: blur(0.3px);
  box-shadow: inset 0 0 0 1px var(--line);
}
.pair .clip { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 2px rgba(10, 108, 255, 0.45); }
.pair .mono { font-family: var(--mono); font-size: 0.8125rem; white-space: pre; }
.pair .to { display: grid; place-items: center; color: var(--pluck); }
.pair .to svg { width: 18px; height: 18px; }
.pair-heads { display: grid; grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr); font-size: 0.8125rem; color: var(--muted); }
.pair-heads span:last-child { grid-column: 3; }

.history { max-width: 480px; }
.hsearch { display: flex; align-items: center; gap: 8px; margin: 12px 14px 4px; padding: 6px 10px; border-radius: 8px; background: #eef0f3; box-shadow: inset 0 0 0 1px #dcdfe5; }
.hsearch:focus-within { box-shadow: inset 0 0 0 1px var(--pluck), 0 0 0 3px rgba(10, 108, 255, 0.25); }
.hsearch svg { width: 16px; height: 16px; color: #8a8f98; flex: none; }
.hsearch input { flex: 1; border: 0; background: transparent; font: 15px var(--sys); color: #1d1d1f; outline: none; min-width: 0; }
.hlist { list-style: none; margin: 0; padding: 6px 8px 10px; max-height: 300px; overflow: auto; }
.hlist li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 8px; border-bottom: 1px solid #eceef2; font-size: 14px; }
.hlist li:last-child { border-bottom: 0; }
.hlist b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hlist span { color: #8a8f98; white-space: nowrap; font-size: 13px; }
.hlist mark { background: rgba(10, 108, 255, 0.18); color: inherit; border-radius: 3px; }
.hempty { padding: 24px 22px 30px; font-size: 14px; color: #6b7280; }

.toast-mock {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 20px;
  background: rgba(28, 30, 36, 0.94); color: #fff;
  font-family: var(--sys);
  box-shadow: 0 30px 60px -24px rgba(10, 60, 160, 0.55);
}
.toast-mock .t-btn { margin-left: 8px; }

/* ---------- Languages ---------- */
.langs { padding-block: clamp(72px, 10vw, 128px); border-top: 1px solid var(--line); }
.lang-grid {
  list-style: none; margin: 40px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px;
}
.lang-grid li {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  font-weight: 500; color: var(--ink);
}
.lang-grid .flag { font-family: var(--emoji); font-size: 1.5rem; line-height: 1; }
.lang-grid small { margin-left: auto; font-size: 0.75rem; font-weight: 500; color: var(--pluck); background: var(--tint); padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.lang-grid small.star { background: none; padding: 0; font-size: 1rem; font-weight: 700; }
.lang-note { margin-top: 20px; font-size: 0.9375rem; color: var(--muted); }

/* ---------- Privacy (dark band) ---------- */
.privacy {
  padding-block: clamp(72px, 10vw, 128px);
  background:
    radial-gradient(50% 70% at 100% 0%, rgba(20, 184, 212, 0.22), transparent 70%),
    radial-gradient(60% 80% at 0% 100%, rgba(10, 108, 255, 0.35), transparent 70%),
    var(--band);
  color: var(--band-text);
}
.privacy-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.privacy h2 { color: #fff; }
.privacy .big { margin-top: 22px; font-size: 1.25rem; line-height: 1.55; max-width: 34ch; }
.spec { margin: 0; border-top: 1px solid rgba(217, 230, 255, 0.16); }
.spec > div { display: grid; grid-template-columns: 11rem 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(217, 230, 255, 0.16); }
.spec dt { color: #93aedb; font-size: 0.9375rem; }
.spec dd { margin: 0; color: #fff; }

/* ---------- Coming soon ---------- */
.soon { padding-block: clamp(72px, 10vw, 128px) clamp(32px, 5vw, 64px); }
.soon-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.soon-grid:empty { display: none; }
.soon-card { padding: 24px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.soon-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--tint); color: var(--pluck); }
.soon-icon svg { width: 22px; height: 22px; margin-top: -2px; }
.soon-card h3 { font-family: var(--display); font-weight: 700; font-size: 1.125rem; color: var(--ink); margin: 16px 0 6px; }
.soon-card p { font-size: 0.9375rem; }
.soon-card a { color: var(--pluck); }

/* ---------- Questions ---------- */
.faq { padding-block: clamp(72px, 10vw, 128px); border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-side p { margin-top: 18px; }
.support-card {
  display: grid; gap: 4px; margin-top: 28px; padding: 18px 20px;
  border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
}
.support-card span { font-size: 0.875rem; color: var(--muted); }
.support-card a { font-family: var(--display); font-weight: 700; font-size: 1.125rem; color: var(--pluck); text-decoration: none; }
.support-card a:hover { text-decoration: underline; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 20px 0; cursor: pointer; list-style: none;
  font-family: var(--display); font-size: 1.125rem; font-weight: 700; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 22px; height: 22px;
  background: var(--pluck);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; max-width: 62ch; }
.faq details b { color: var(--ink); font-weight: 600; }
.faq details a { color: var(--pluck); }

/* ---------- Call to action ---------- */
.cta { padding-block: clamp(48px, 7vw, 88px) clamp(80px, 10vw, 128px); }
.cta-in {
  display: grid; justify-items: center; text-align: center; gap: 26px;
  padding: clamp(48px, 8vw, 96px) var(--gutter);
  border-radius: 36px;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(20, 184, 212, 0.45), transparent 70%),
    radial-gradient(70% 90% at 0% 100%, rgba(10, 108, 255, 0.55), transparent 70%),
    var(--band);
  color: var(--band-text);
}
.cta-in img { border-radius: 22%; box-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.6); }
.cta h2 {
  max-width: 16ch;
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.cta .btn { background: #fff; color: #0b1630; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.5); }
.cta-note { color: #a9bfe6; font-size: 0.9375rem; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding-block: 28px 36px; font-size: 0.9375rem; color: var(--muted); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.foot .brand { font-size: 1.0625rem; }
.foot ul { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 0; padding: 0; }
.foot ul a { text-decoration: none; color: var(--text); }
.foot ul a:hover { color: var(--pluck); text-decoration: underline; }
.foot p { margin-left: auto; }

/* ---------- Privacy policy page ---------- */
.doc { padding-block: clamp(48px, 8vw, 104px); }
.doc-in { max-width: 680px; }
.doc h1 { font-family: var(--display); font-weight: 800; font-size: clamp(2.5rem, 6vw, 3.75rem); line-height: 1.05; letter-spacing: -0.04em; margin-bottom: 14px; }
.doc .updated { color: var(--muted); font-size: 0.9375rem; margin-bottom: 36px; }
.doc h2 { font-family: var(--display); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.025em; margin: 40px 0 10px; }
.doc p + p { margin-top: 14px; }
.doc ul, .doc ol { padding-left: 1.2em; }
.doc li + li { margin-top: 6px; }
.doc a { color: var(--pluck); }

/* ---------- What's new page ---------- */
.release { margin-top: 8px; padding: clamp(24px, 4vw, 40px); border-radius: 24px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.release + .release { margin-top: 24px; }
.release-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.release-head h2 { margin: 0; font-size: 1.75rem; }
.release-head time { color: var(--muted); font-size: 0.9375rem; }
.release-tag { font-size: 0.8125rem; font-weight: 600; color: var(--pluck); background: var(--tint); padding: 3px 10px; border-radius: 999px; }
.release h3 { font-family: var(--display); font-weight: 700; font-size: 1.0625rem; color: var(--ink); margin: 26px 0 8px; }
.release ul { margin: 0; }
.release b { color: var(--ink); font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .feat, .privacy-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .mwin { margin-inline: auto; }
}
@media (max-width: 720px) {
  .nav nav { display: none; }
  .nav .theme-toggle { margin-left: auto; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .demo-pause { margin-left: 0; }
  .spec > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .foot p { margin-left: 0; }
  .toast-mock { flex-wrap: wrap; }
  .pair, .pair-heads { grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .grab-cursor { display: none; }
}
