/* Orrel — product site. Light first, with a dark variant through prefers-color-scheme. */

:root {
  --bg: #f5f5f7;
  --bg-tint: #ffffff;
  --card: #ffffff;
  --card-2: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --faint: #86868b;
  --line: rgba(0, 0, 0, 0.08);
  --line-2: rgba(0, 0, 0, 0.12);
  --accent: #007aff;
  --accent-ink: #0066cc;
  --accent-hover: #0071eb;
  --accent-soft: rgba(0, 122, 255, 0.1);
  --green: #28a745;
  --glass: rgba(255, 255, 255, 0.68);
  --glass-line: rgba(255, 255, 255, 0.75);
  --nav-bg: rgba(245, 245, 247, 0.72);
  --shadow-card: 0 1px 1px rgba(0, 0, 0, 0.02), 0 4px 14px rgba(0, 0, 0, 0.04);
  --shadow-float: 0 1px 2px rgba(0, 0, 0, 0.04), 0 10px 30px rgba(16, 24, 40, 0.08);
  --shadow-shot: drop-shadow(0 0 0.5px rgba(0, 0, 0, 0.28)) drop-shadow(0 22px 40px rgba(16, 24, 40, 0.16)) drop-shadow(0 4px 10px rgba(16, 24, 40, 0.06));
  --key-top: #ffffff;
  --key-bot: #f2f2f4;
  --key-edge: #d6d6db;
  --key-ink: #3a3a3c;
  --sky-1: #e9f2ff;
  --sky-2: #f5f5f7;
  --hand: #6e6e73;
  --radius: 22px;
  --radius-sm: 14px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Inter, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  --hand-font: "Caveat", "Noteworthy", "Bradley Hand", cursive;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-tint: #0d0d0f;
    --card: #1c1c1e;
    --card-2: #2c2c2e;
    --ink: #f5f5f7;
    --ink-2: #d2d2d7;
    --muted: #a1a1a6;
    --faint: #86868b;
    --line: rgba(255, 255, 255, 0.09);
    --line-2: rgba(255, 255, 255, 0.14);
    --accent: #0a84ff;
    --accent-ink: #4ea2ff;
    --accent-hover: #409cff;
    --accent-soft: rgba(10, 132, 255, 0.16);
    --glass: rgba(44, 44, 46, 0.6);
    --glass-line: rgba(255, 255, 255, 0.12);
    --nav-bg: rgba(18, 18, 20, 0.66);
    --shadow-card: 0 0 0 1px rgba(255, 255, 255, 0.04);
    --shadow-float: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 12px 32px rgba(0, 0, 0, 0.5);
    --shadow-shot: drop-shadow(0 0 0.5px rgba(255, 255, 255, 0.25)) drop-shadow(0 24px 48px rgba(0, 0, 0, 0.6));
    --key-top: #3a3a3c;
    --key-bot: #2c2c2e;
    --key-edge: #111113;
    --key-ink: #e5e5ea;
    --sky-1: #0b1a2e;
    --sky-2: #000000;
    --hand: #a1a1a6;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, h5, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 60%, transparent); outline-offset: 2px; border-radius: 8px; }

.sprite { position: absolute; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--card); color: var(--ink); padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; box-shadow: var(--shadow-float); }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.wrap-wide { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }

/* ---------- Navigation: soft glass bar ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav-inner { max-width: 1080px; margin: 0 auto; padding: 0 24px; height: 56px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 7px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--ink-2); font-size: 14px; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap;
  border: 0; cursor: pointer; text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.98); }
.btn .ic { width: 18px; height: 18px; stroke-width: 2; }
.btn-sm { font-size: 14px; padding: 7px 15px; }
.btn-lg { font-size: 17px; padding: 13px 24px; }
.btn-block { width: 100%; padding: 13px 20px; font-size: 16px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 1px 2px rgba(0, 60, 140, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: var(--card); color: var(--accent-ink); box-shadow: inset 0 0 0 1px var(--line-2), 0 1px 2px rgba(0, 0, 0, 0.04); }
.btn-secondary:hover { background: color-mix(in srgb, var(--card) 92%, var(--accent)); }

/* ---------- Type ---------- */
.eyebrow { font-size: 15px; font-weight: 600; color: var(--accent-ink); letter-spacing: -0.01em; margin-bottom: 10px; }
h1 {
  font-size: clamp(40px, 6.4vw, 76px); line-height: 1.05; letter-spacing: -0.022em; font-weight: 700;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", Inter, system-ui, sans-serif;
}
.h2 {
  font-size: clamp(32px, 4.2vw, 50px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 700;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", Inter, system-ui, sans-serif;
  text-wrap: balance;
}
.body { font-size: 19px; line-height: 1.5; color: var(--muted); margin-top: 16px; text-wrap: pretty; }
.body em { font-style: normal; color: var(--ink); font-weight: 500; }
.aside { font-size: 14px; color: var(--faint); margin-top: 20px; line-height: 1.5; text-wrap: pretty; }
.aside.center { max-width: 640px; margin-left: auto; margin-right: auto; }
.fineprint { font-size: 13px; color: var(--faint); margin-top: 18px; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 0; }
.hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-icon { width: 104px; height: 104px; margin-bottom: 26px; filter: drop-shadow(0 10px 18px rgba(40, 90, 220, 0.22)); }
.hero .eyebrow { margin-bottom: 14px; color: var(--muted); font-weight: 500; }
.lede { max-width: 640px; font-size: 21px; line-height: 1.45; color: var(--muted); margin-top: 22px; text-wrap: pretty; letter-spacing: -0.015em; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.hero-stage { margin-top: 64px; }

.stage { position: relative; border-radius: 32px; padding: clamp(20px, 5vw, 64px) clamp(16px, 5vw, 72px) 0; overflow: hidden; }
.stage-sky { background: linear-gradient(180deg, var(--sky-1) 0%, color-mix(in srgb, var(--sky-1) 60%, var(--sky-2)) 55%, var(--sky-2) 100%); padding-bottom: clamp(20px, 4vw, 48px); }
.stage-sky::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 18% 10%, rgba(255, 255, 255, 0.7), transparent 70%), radial-gradient(50% 40% at 85% 0%, rgba(160, 200, 255, 0.35), transparent 70%);
}
@media (prefers-color-scheme: dark) { .stage-sky::before { opacity: 0.12; } }
.stage-plain { padding: 0; overflow: visible; }

.shot { position: relative; }
.shot img { width: 100%; filter: var(--shadow-shot); }
.shot-hero { max-width: 1080px; margin: 0 auto; }

/* Handwritten notes (wide screens only) */
.note { position: absolute; display: none; font-family: var(--hand-font); font-weight: 600; color: var(--hand); font-size: 25px; line-height: 1.05; pointer-events: none; }
.note-arrow { position: absolute; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 1100px) {
  .stage-sky { padding-top: 112px; }
  .note { display: block; }
  .note-hero { right: 15%; top: 26px; transform: rotate(-3deg); }
  .note-hero .note-arrow { width: 70px; height: 56px; right: -74px; top: 10px; }
}
/* ---------- Strip ---------- */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.strip-card { background: var(--card); border-radius: var(--radius); padding: 28px 24px 26px; box-shadow: var(--shadow-card); text-align: center; }
.strip-num { display: block; font-size: 56px; line-height: 1; font-weight: 600; letter-spacing: -0.04em; color: var(--accent); font-variant-numeric: tabular-nums; }
.strip-card h2 { font-size: 17px; font-weight: 600; margin-top: 14px; letter-spacing: -0.02em; }
.strip-card p { font-size: 14px; color: var(--muted); margin-top: 6px; line-height: 1.45; }

/* ---------- Sections ---------- */
.section { padding: 128px 0; }
.section + .section { padding-top: 128px; }
.section-tint { background: var(--bg-tint); }
.center-head { text-align: center; max-width: 780px; margin: 0 auto 56px; }
.center-head .body { max-width: 640px; margin-left: auto; margin-right: auto; }

.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.split-reverse { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 56px; }
.points { margin-top: 28px; display: grid; gap: 16px; }
.points li { font-size: 16px; color: var(--muted); line-height: 1.5; }
.points strong { color: var(--ink); font-weight: 600; }

.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.section-tint .card { background: var(--card-2); box-shadow: none; }
@media (prefers-color-scheme: dark) { .section-tint .card { background: var(--card); } }

/* ---------- Key caps ---------- */
kbd { font-family: var(--font); }
.keys { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.keys kbd {
  position: relative; display: inline-flex; flex-direction: column; justify-content: space-between;
  min-width: 46px; height: 46px; padding: 6px 7px 5px; border-radius: 9px;
  background: linear-gradient(180deg, var(--key-top), var(--key-bot));
  color: var(--key-ink);
  box-shadow: 0 3px 0 var(--key-edge), 0 4px 10px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 0 0 0.5px rgba(0, 0, 0, 0.06);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
@media (prefers-color-scheme: dark) { .keys kbd { box-shadow: 0 3px 0 var(--key-edge), 0 4px 10px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1); } }
.keys kbd i { font-style: normal; font-size: 15px; line-height: 1; align-self: flex-end; }
.keys kbd b { font-weight: 500; font-size: 9.5px; line-height: 1; letter-spacing: 0; color: var(--muted); }
.keys kbd:only-child, .keys kbd:not(:has(b)) { justify-content: center; align-items: center; }
.keys kbd:not(:has(b)) i { align-self: center; font-size: 16px; }
.keys:hover kbd, .keys kbd.is-down { transform: translateY(2px); box-shadow: 0 1px 0 var(--key-edge), 0 2px 4px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9); }
.keys-inline { vertical-align: -3px; gap: 4px; margin: 0 2px; }
.keys-inline kbd { min-width: 24px; height: 24px; padding: 0 6px; border-radius: 6px; font-size: 12.5px; align-items: center; justify-content: center; box-shadow: 0 2px 0 var(--key-edge), 0 2px 5px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9); }
.keys-inline kbd.wide { min-width: 52px; font-size: 12px; }
.keys-inline:hover kbd { transform: translateY(1px); box-shadow: 0 1px 0 var(--key-edge), inset 0 1px 0 rgba(255, 255, 255, 0.9); }

.shortcuts { display: grid; gap: 18px; padding: 26px 28px; }
.section-tint .shortcuts.card { background: var(--bg); }
.capture-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; margin-bottom: 64px; }
.shortcuts > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.shortcuts > div:last-child { border-bottom: 0; padding-bottom: 0; }
.shortcuts dt { font-size: 16px; font-weight: 500; white-space: nowrap; }
.shortcuts dd { flex-wrap: nowrap; gap: 5px; }
.shortcuts kbd { min-width: 42px; height: 42px; }
.shortcuts dd { justify-content: flex-end; }

/* ---------- Search demo ---------- */
.demo-search { padding: 22px; box-shadow: var(--shadow-float); }
.search-field {
  display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px; border-radius: 16px;
  background: var(--card-2); font-size: 18px; letter-spacing: -0.015em;
}
.search-field .ic { color: var(--faint); width: 21px; height: 21px; }
.search-caret { width: 2px; height: 22px; background: var(--accent); border-radius: 1px; margin-left: -6px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 2px 6px; min-height: 28px; }
.chip { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 11px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-size: 13px; font-weight: 500; animation: pop 0.25s ease both; }
.chip span { color: var(--muted); font-weight: 400; }
@keyframes pop { from { opacity: 0; transform: scale(0.9); } }
.results { margin-top: 8px; display: grid; }
.results li { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 11px 6px; border-top: 1px solid var(--line); animation: fade 0.3s ease both; }
.results li:first-child { border-top: 0; }
.results li:nth-child(2) { animation-delay: 0.04s; }
.results li:nth-child(3) { animation-delay: 0.08s; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } }
.ftype { width: 34px; height: 40px; border-radius: 6px; display: grid; place-items: end center; padding-bottom: 5px; font-size: 8.5px; font-weight: 700; letter-spacing: 0.03em; color: #fff; background: #8e8e93; }
.ftype.pdf { background: linear-gradient(180deg, #ff6a5c, #e5372a); }
.ftype.png { background: linear-gradient(180deg, #5ac8fa, #2f8ff0); }
.ftype.zip { background: linear-gradient(180deg, #c7a77c, #9c7a4f); }
.r-name { font-size: 15px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.r-where { display: block; font-size: 12.5px; color: var(--faint); font-weight: 400; margin-top: 1px; }
.r-size { font-size: 13px; color: var(--faint); font-variant-numeric: tabular-nums; }
.try { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--line); }
.try-label { font-size: 13px; color: var(--faint); margin-right: 4px; }
.pill { border: 0; cursor: pointer; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 13px; background: var(--card-2); color: var(--ink-2); transition: background 0.15s ease, color 0.15s ease; }
.pill:hover { background: color-mix(in srgb, var(--card-2) 85%, var(--ink)); }
.pill.is-on { background: var(--ink); color: var(--bg-tint); }
@media (prefers-color-scheme: dark) { .pill.is-on { background: #f5f5f7; color: #1d1d1f; } }
.sample-tag { font-size: 12px; color: var(--faint); margin-top: 12px; }

/* ---------- Tidy ---------- */
#tidy .stage-plain { max-width: 1080px; margin: 0 auto; }
@media (min-width: 1100px) {
  .note-tidy { left: calc(100% + 16px); top: 63%; width: 150px; font-size: 22px; transform: rotate(-4deg); }
  .note-tidy .note-arrow { width: 64px; height: 50px; left: -26px; top: -54px; }
}
@media (min-width: 1100px) and (max-width: 1399px) { .note-tidy { display: none; } }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 72px; }
.tpl { padding: 26px 24px; display: flex; flex-direction: column; }
.tpl h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 18px; }
.tpl-from { font-size: 14px; color: var(--faint); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--faint) 60%, transparent); word-break: break-word; }
.tpl-arrow { color: var(--accent); transform: rotate(90deg); margin: 10px 0; width: 18px; height: 18px; }
.tpl-to { font-size: 15px; color: var(--ink); font-weight: 600; line-height: 1.4; word-break: break-word; letter-spacing: -0.015em; }
.tpl-to span { display: block; color: var(--accent-ink); font-weight: 500; font-size: 13px; margin-bottom: 2px; letter-spacing: 0; }
.tpl-note { margin-top: auto; padding-top: 18px; font-size: 14px; color: var(--muted); }

.rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 32px; margin-top: 56px; }
.rules li { display: flex; gap: 12px; font-size: 15px; color: var(--muted); line-height: 1.45; }
.rules strong { display: block; color: var(--ink); font-weight: 600; }
.rules .ic { color: var(--accent); width: 22px; height: 22px; stroke-width: 2.2; margin-top: 1px; }

/* ---------- Convert demo ---------- */
.convert-demo {
  position: relative; border-radius: 32px; overflow: hidden; padding: 56px 24px 40px;
  background:
    radial-gradient(40% 50% at 18% 22%, rgba(255, 179, 128, 0.55), transparent 70%),
    radial-gradient(45% 55% at 85% 25%, rgba(120, 180, 255, 0.6), transparent 70%),
    radial-gradient(50% 60% at 60% 95%, rgba(120, 215, 200, 0.5), transparent 70%),
    linear-gradient(160deg, #eef3fb, #f6efe9);
  display: flex; flex-direction: column; align-items: center;
}
@media (prefers-color-scheme: dark) {
  .convert-demo {
    background:
      radial-gradient(40% 50% at 18% 22%, rgba(200, 110, 60, 0.35), transparent 70%),
      radial-gradient(45% 55% at 85% 25%, rgba(40, 110, 220, 0.45), transparent 70%),
      radial-gradient(50% 60% at 60% 95%, rgba(30, 140, 130, 0.35), transparent 70%),
      linear-gradient(160deg, #0d1420, #17110e);
  }
}
.ring { position: relative; width: min(480px, 100%); aspect-ratio: 1; }
.ring::before { content: ""; position: absolute; inset: 9%; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--glass-line); opacity: 0.9; }
.ring-disc {
  position: absolute; inset: 17%; border-radius: 50%;
  background: var(--glass);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  box-shadow: inset 0 0 0 1px var(--glass-line), inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 20px 50px rgba(30, 50, 90, 0.14);
}
.ring-file { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; pointer-events: none; }
.ring-file strong { font-size: 15px; font-weight: 600; margin-top: 12px; letter-spacing: -0.015em; }
.ring-file small { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.file-thumb {
  width: 76px; height: 94px; border-radius: 6px; position: relative; padding: 7px; background: #fff;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.15), 0 6px 16px rgba(0, 0, 0, 0.14); transform: rotate(-3deg);
}
.file-thumb svg { display: block; width: 100%; height: 100%; border-radius: 2px; }
.cap {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 12px 0 13px; border-radius: 999px;
  border: 0; cursor: pointer; font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink);
  background: var(--glass);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: inset 0 0 0 1px var(--glass-line), inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 6px 18px rgba(30, 50, 90, 0.12);
  transition: transform 0.18s cubic-bezier(.3, .7, .4, 1), background 0.15s ease, color 0.15s ease, box-shadow 0.18s ease;
}
.cap .ic { width: 17px; height: 17px; color: var(--muted); transition: color 0.15s ease; }
.cap-n { font-size: 11px; font-weight: 500; color: var(--faint); min-width: 16px; height: 16px; border-radius: 5px; display: grid; place-items: center; background: rgba(0, 0, 0, 0.05); }
@media (prefers-color-scheme: dark) { .cap-n { background: rgba(255, 255, 255, 0.08); } .cap { box-shadow: inset 0 0 0 1px var(--glass-line), 0 6px 18px rgba(0, 0, 0, 0.35); } .ring-disc { box-shadow: inset 0 0 0 1px var(--glass-line), 0 20px 50px rgba(0, 0, 0, 0.4); } }
.cap.is-active { background: var(--accent); color: #fff; transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 8px 22px rgba(0, 110, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.cap.is-active .ic { color: #fff; }
.cap.is-active .cap-n, :root .cap.is-active .cap-n { background: rgba(255, 255, 255, 0.24); color: #fff; }
.cap:active { transform: translate(-50%, -50%) scale(1.02); }
.cap:focus-visible { outline-offset: 3px; border-radius: 999px; }
.ring-result { min-height: 56px; margin-top: 18px; display: flex; align-items: center; justify-content: center; }
.ring-hint { font-size: 13px; color: var(--muted); }
.saved {
  display: inline-flex; align-items: center; gap: 12px; padding: 8px 8px 8px 14px; border-radius: 999px; font-size: 14.5px;
  background: var(--glass); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  box-shadow: inset 0 0 0 1px var(--glass-line), 0 8px 24px rgba(30, 50, 90, 0.12);
  animation: rise 0.3s cubic-bezier(.3, .7, .4, 1) both;
}
.saved .tick { width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; }
.saved .tick .ic { width: 14px; height: 14px; stroke-width: 2.6; }
.saved b { font-weight: 600; }
.saved a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); font-weight: 500; font-size: 13.5px; }
.saved a:hover { text-decoration: none; background: color-mix(in srgb, var(--accent-soft) 70%, var(--accent) 12%); }
.saved a .ic { width: 15px; height: 15px; }
@keyframes rise { from { opacity: 0; transform: translateY(6px) scale(0.98); } }

.formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 40px; margin-top: 64px; }
.fmt .ic { color: var(--accent); width: 26px; height: 26px; }
.fmt h3 { font-size: 17px; font-weight: 600; margin-top: 12px; letter-spacing: -0.02em; }
.fmt p { font-size: 15px; color: var(--muted); margin-top: 4px; line-height: 1.5; }
#convert .aside.center { margin-top: 48px; }

/* ---------- Screenshots ---------- */
.shot-editor { max-width: 920px; margin: 0 auto; }
.tools { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 28px; }
.tools li { font-size: 13px; padding: 5px 11px; border-radius: 999px; background: var(--card-2); color: var(--ink-2); }

/* ---------- Markdown Quick Look ---------- */
.ql {
  --ql-bg: #ffffff; --ql-ink: #1d1d1f; --ql-muted: #6e6e73; --ql-line: rgba(0, 0, 0, 0.09); --ql-code: #f5f5f7; --ql-bar: rgba(246, 246, 248, 0.9);
  border-radius: 18px; overflow: hidden; background: var(--ql-bg); color: var(--ql-ink);
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.2), 0 24px 60px rgba(16, 24, 40, 0.16), 0 4px 12px rgba(16, 24, 40, 0.06);
  transition: background 0.3s ease, color 0.3s ease;
  max-width: 520px; margin-left: auto;
}
.ql.is-dark { --ql-bg: #1e1e20; --ql-ink: #f2f2f7; --ql-muted: #a1a1a6; --ql-line: rgba(255, 255, 255, 0.1); --ql-code: #2c2c2e; --ql-bar: rgba(40, 40, 43, 0.95); }
@media (prefers-color-scheme: dark) { .ql { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 24px 60px rgba(0, 0, 0, 0.6); } }
.ql-bar { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 12px 0 16px; background: var(--ql-bar); border-bottom: 1px solid var(--ql-line); }
.dots { display: inline-flex; gap: 7px; }
.dots i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }
.ql-title { font-size: 13px; font-weight: 600; color: var(--ql-muted); flex: 1; text-align: center; }
.seg { display: inline-flex; padding: 2px; border-radius: 9px; background: color-mix(in srgb, var(--ql-ink) 8%, transparent); }
.seg button { border: 0; background: transparent; color: var(--ql-muted); font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 7px; cursor: pointer; }
.seg button.is-on { background: var(--ql-bg); color: var(--ql-ink); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }
.ql-body { padding: 26px 30px 30px; font-size: 14.5px; line-height: 1.55; }
.ql-body h4 { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; padding-bottom: 8px; border-bottom: 1px solid var(--ql-line); }
.ql-body h5 { font-size: 16px; font-weight: 600; margin: 18px 0 8px; }
.ql-body p { color: var(--ql-muted); margin-top: 10px; }
.ql-body table { border-collapse: collapse; width: 100%; font-size: 13.5px; }
.ql-body th, .ql-body td { text-align: left; padding: 6px 10px; border: 1px solid var(--ql-line); }
.ql-body th { font-weight: 600; background: var(--ql-code); }
.tasks { margin-top: 14px; display: grid; gap: 4px; }
.tasks li { display: flex; align-items: center; gap: 8px; }
.tasks li::before { content: ""; width: 14px; height: 14px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px var(--ql-muted); }
.tasks li.done::before { background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; box-shadow: none; }
.ql-body pre { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--ql-code); font-family: var(--mono); font-size: 12.5px; line-height: 1.6; overflow-x: auto; }
.ql-body .k { color: #ad3da4; }
.ql-body .s { color: #c41a16; }
.ql.is-dark .k { color: #fc5fa3; }
.ql.is-dark .s { color: #fc6a5d; }

/* ---------- Small things ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.mini { padding: 32px; position: relative; overflow: hidden; }
.mini-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.mini-icon .ic { width: 22px; height: 22px; }
.mini h3 { font-size: 21px; font-weight: 600; margin-top: 18px; letter-spacing: -0.02em; }
.mini p { font-size: 15.5px; color: var(--muted); margin-top: 8px; line-height: 1.55; max-width: 460px; }
.menu {
  margin-top: 24px; width: 260px; padding: 5px; border-radius: 12px; font-size: 13.5px;
  background: var(--glass); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: inset 0 0 0 0.5px var(--line-2), 0 10px 30px rgba(0, 0, 0, 0.12);
}
.section-tint .menu { background: var(--card); }
.menu-row { display: flex; justify-content: space-between; align-items: center; padding: 4px 10px; border-radius: 7px; }
.menu-row.is-hl { background: var(--accent); color: #fff; }
.menu-sep { height: 1px; background: var(--line); margin: 4px 10px; }
kbd.flat { font-size: 12.5px; color: var(--faint); letter-spacing: 0.06em; }

/* ---------- Privacy ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.priv { padding: 26px 22px; }
.priv .ic { color: var(--accent); width: 28px; height: 28px; }
.priv h3 { font-size: 17px; font-weight: 600; margin-top: 14px; letter-spacing: -0.02em; }
.priv p { font-size: 14.5px; color: var(--muted); margin-top: 6px; line-height: 1.5; }
#privacy .center { margin-top: 36px; }
.link { display: inline-flex; align-items: center; gap: 4px; font-size: 17px; }
.link .ic { width: 16px; height: 16px; stroke-width: 2; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 400px)); justify-content: center; gap: 20px; }
.price { padding: 34px 32px 32px; display: flex; flex-direction: column; }
.section-tint .price { background: var(--card-2); }
.price-pro, .section-tint .price-pro { box-shadow: inset 0 0 0 2px var(--accent); }
.section-tint .price-pro { background: var(--card-2); }
.price h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.price-amount { font-size: 48px; font-weight: 700; letter-spacing: -0.04em; margin-top: 10px; line-height: 1.05; }
.price-amount span { font-size: 17px; font-weight: 500; color: var(--muted); letter-spacing: -0.01em; }
.price-sub { font-size: 15px; color: var(--muted); margin-top: 6px; }
.ticks { margin: 24px 0 30px; display: grid; gap: 11px; }
.ticks li { display: flex; gap: 10px; font-size: 15.5px; line-height: 1.4; }
.ticks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 1px; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5.5 12.5 4 4 9-9.5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='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='m5.5 12.5 4 4 9-9.5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.price .btn { margin-top: auto; }
#pricing .aside { margin-top: 32px; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 780px; }
.faq { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 4px 28px; }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 4px; font-size: 18px; font-weight: 600; letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint);
  transform: translateY(-3px) rotate(45deg); transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq summary:focus-visible { border-radius: 8px; }
.faq details p { padding: 0 4px 24px; color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 680px; }

/* ---------- Closing ---------- */
.closing { padding: 40px 0 128px; }
.closing-inner { text-align: center; display: flex; flex-direction: column; align-items: center; background: var(--card); border-radius: 32px; padding: 72px 24px; box-shadow: var(--shadow-card); max-width: 1032px; }
.closing-inner img { width: 88px; height: 88px; margin-bottom: 22px; filter: drop-shadow(0 8px 16px rgba(40, 90, 220, 0.2)); }
.closing-inner .body { max-width: 520px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 28px 0 40px; }
.footer-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 13px; color: var(--faint); }
.footer .brand { font-size: 15px; }
.footer .brand img { border-radius: 5px; }
.footer nav { display: flex; gap: 20px; }
.footer nav a { color: var(--muted); }
.footer p { margin-left: auto; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s cubic-bezier(.2, .7, .2, 1), transform 0.7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .split, .split-reverse, .capture-head { grid-template-columns: 1fr; gap: 40px; }
  .ql { margin: 0 auto; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .rules { grid-template-columns: repeat(2, 1fr); }
  .formats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap, .wrap-wide, .nav-inner { padding: 0 16px; }
  .nav-links { display: none; }
  .nav-inner { justify-content: space-between; }
  .hero { padding-top: 48px; }
  .hero-icon { width: 84px; height: 84px; margin-bottom: 20px; }
  .lede { font-size: 18px; }
  .hero-stage { margin-top: 44px; }
  .stage { border-radius: 22px; }
  .section, .section + .section { padding: 88px 0; }
  .center-head { margin-bottom: 40px; }
  .body { font-size: 17px; }
  .grid-3, .grid-2, .price-grid { grid-template-columns: 1fr; }
  .grid-3 { margin-top: 48px; }
  .rules, .formats { grid-template-columns: 1fr; gap: 18px; }
  .strip { gap: 12px; margin-top: 40px; }
  .strip-card { padding: 22px 14px; }
  .strip-num { font-size: 44px; }
  .strip-card h2 { font-size: 15px; }
  .strip-card p { font-size: 13px; }
  .shortcuts > div { flex-direction: column; align-items: flex-start; gap: 10px; }
  .shortcuts dd { justify-content: flex-start; }
  .convert-demo { padding: 32px 8px 24px; border-radius: 24px; }
  .cap { height: 34px; padding: 0 10px; font-size: 13px; gap: 5px; }
  .cap .ic, .cap-n { display: none; }
  .file-thumb { width: 54px; height: 68px; padding: 5px; }
  .ring-file strong { font-size: 13px; margin-top: 8px; }
  .ring-file small { font-size: 11px; }
  .ring-hint { font-size: 12px; text-align: center; }
  .saved { flex-wrap: wrap; justify-content: center; border-radius: 18px; padding: 10px 12px; font-size: 13.5px; text-align: center; }
  .ql-body { padding: 20px; }
  .mini { padding: 26px 22px; }
  .menu { width: 100%; max-width: 280px; }
  .price { padding: 28px 22px 24px; }
  .faq summary { font-size: 17px; padding: 18px 2px; }
  .closing { padding: 24px 0 88px; }
  .closing-inner { padding: 56px 20px; border-radius: 24px; margin: 0 16px; width: auto; }
  .footer p { margin-left: 0; width: 100%; }
}

/* Cleanup review mock */
.review { margin-top: 24px; max-width: 360px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 0.5px var(--line-2), 0 10px 30px rgba(0, 0, 0, 0.08); padding: 6px; font-size: 13.5px; }
.review-row { display: grid; grid-template-columns: 16px 1fr auto; gap: 10px; align-items: center; padding: 7px 10px; }
.review-row + .review-row { border-top: 1px solid var(--line); }
.review-row .box { width: 16px; height: 16px; border-radius: 5px; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.review-row .box.off { background: none; box-shadow: inset 0 0 0 1.5px var(--faint); }
.review-row em { font-style: normal; color: var(--faint); font-size: 12.5px; }
.review-foot { display: flex; justify-content: flex-end; padding: 8px 6px 4px; }
.review-foot span { font-size: 12.5px; font-weight: 500; padding: 5px 12px; border-radius: 999px; background: var(--accent); color: #fff; }

/* ---------- Privacy page ---------- */
.legal { padding: 88px 0 120px; }
.legal-head { margin-bottom: 48px; }
.legal-head h1 { font-size: clamp(36px, 5vw, 56px); }
.legal-cards { margin-top: 0; margin-bottom: 20px; }
.legal-cards .priv h2 { font-size: 17px; font-weight: 600; margin-top: 14px; letter-spacing: -0.02em; }
.legal-body { padding: clamp(28px, 5vw, 56px) clamp(22px, 6vw, 72px); }
.legal-body section + section { margin-top: 40px; padding-top: 36px; border-top: 1px solid var(--line); }
.legal-body h2 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.legal-body p { color: var(--ink-2); font-size: 17px; line-height: 1.6; margin-top: 12px; max-width: 70ch; }
.legal-body strong { color: var(--ink); font-weight: 600; }
.legal-body code { font-family: var(--mono); font-size: 0.86em; background: var(--card-2); padding: 2px 6px; border-radius: 6px; }
.legal-cta { margin-top: 48px; }
.footer nav a[aria-current="page"] { color: var(--ink); }
@media (max-width: 720px) { .legal { padding: 56px 0 88px; } .legal-body p { font-size: 16px; } }

/* Running */
.ports { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-float); padding: 14px; display: grid; gap: 2px; }
.ports-warn { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; padding: 12px 14px; margin-bottom: 8px; border-radius: var(--radius-sm); background: rgba(255, 149, 0, 0.1); font-size: 13.5px; }
.ports-warn span { grid-column: 1; color: var(--muted); font-size: 12.5px; }
.ports-warn em { grid-row: 1 / 3; grid-column: 2; font-style: normal; font-size: 13px; font-weight: 600; color: #fff; background: var(--accent); padding: 6px 12px; border-radius: 999px; }
.port-row { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 12px 8px; border-top: 1px solid var(--line); }
.ports-warn + .port-row { border-top: 0; }
.port { font-family: var(--mono); font-weight: 600; font-size: 17px; color: var(--accent-ink); text-align: right; }
.port-what { display: grid; gap: 2px; min-width: 0; }
.port-what b { font-size: 14.5px; font-weight: 600; }
.port-what i { font-style: normal; font-size: 11px; font-weight: 600; color: var(--muted); background: var(--card-2); border: 1px solid var(--line); padding: 1px 6px; border-radius: 999px; margin-left: 4px; }
.port-what small { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.port-mem { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 520px) { .port-row { grid-template-columns: 52px 1fr; } .port-mem { display: none; } }

/* PDF tools */
.pdfdemo { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-float); padding: 22px 18px 14px; }
.pdf-pages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: center; }
.pdf-page { position: relative; aspect-ratio: 0.77; background: #fff; border-radius: 4px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 3px 8px rgba(0, 0, 0, 0.08); padding: 14% 12%; display: grid; align-content: start; gap: 9%; }
.pdf-page i { display: block; height: 5px; border-radius: 3px; background: #d9d9de; }
.pdf-page i.short { width: 60%; }
.pdf-page i.photo { height: auto; aspect-ratio: 1.4; background: linear-gradient(135deg, #9ec5ff, #f7c3d8); border-radius: 3px; }
.pdf-page b { position: absolute; left: 0; right: 0; bottom: -26px; text-align: center; font-size: 12px; font-weight: 600; color: var(--muted); }
.pdf-page.is-sel { box-shadow: 0 0 0 3px var(--accent), 0 3px 8px rgba(0, 0, 0, 0.08); }
.pdf-page.turned { aspect-ratio: 1.3; padding: 10% 10%; }
.pdf-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.pdf-bar em { font-style: normal; flex: none; font-weight: 600; color: #fff; background: var(--accent); padding: 6px 12px; border-radius: 999px; }
@media (max-width: 520px) { .pdf-bar { flex-direction: column; align-items: flex-start; } }

/* Assistants */
.prompts { list-style: none; display: grid; gap: 10px; padding: 0; margin: 0; }
.prompts li { background: var(--card); border: 1px solid var(--line); border-radius: 18px 18px 18px 6px; box-shadow: var(--shadow-card); padding: 14px 18px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.prompts li:nth-child(even) { margin-left: 28px; }
@media (max-width: 520px) { .prompts li:nth-child(even) { margin-left: 0; } }

/* ---------- Mobile nav: keep Guides visible ---------- */
.nav-links a[aria-current="page"] { color: var(--ink); }
@media (max-width: 720px) {
  .nav-links { display: flex; margin-left: auto; gap: 0; }
  .nav-links a:not(.keep) { display: none; }
  .nav-inner { gap: 16px; }
}

/* ---------- Pricing: trial plus three plans ---------- */
.price-grid-3 { grid-template-columns: repeat(3, minmax(0, 320px)); }
.price-note { font-size: 13.5px; color: var(--faint); margin-top: 4px; }
.price-includes { max-width: 760px; margin: 28px auto 0; padding: 28px 32px; }
.price-includes h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.price-includes .ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 16px 0 0; gap: 10px 24px; }
.price-grid-3 .price { position: relative; }
.price-grid-3 .price .btn { margin-top: 24px; }
.trial-badge { position: absolute; top: 30px; right: 24px; display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent-ink); background: var(--accent-soft); padding: 4px 10px; border-radius: 999px; }
@media (max-width: 960px) { .price-grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
@media (max-width: 720px) {
  .price-grid-3 { grid-template-columns: 1fr; }
  .price-includes { padding: 24px 20px; }
  .price-includes .ticks { grid-template-columns: 1fr; }
}

/* ---------- Homepage guides teaser ---------- */
.teaser-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.teaser { display: flex; flex-direction: column; gap: 6px; padding: 24px 24px 22px; color: var(--ink); }
.teaser:hover { text-decoration: none; box-shadow: var(--shadow-float); }
.teaser small { font-size: 13px; font-weight: 600; color: var(--accent-ink); }
.teaser strong { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; }
.teaser span { font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.teaser-more { margin-top: 32px; }
@media (max-width: 960px) { .teaser-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .teaser-grid { grid-template-columns: 1fr; } }

/* ---------- Footer guide index ---------- */
.footer .footer-guides { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; padding: 8px 0 28px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.footer-guides h2 { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 10px; letter-spacing: -0.01em; }
.footer-guides ul { display: grid; gap: 7px; }
.footer-guides a { font-size: 13px; color: var(--muted); line-height: 1.35; }
.footer-guides a:hover { color: var(--ink); }
@media (max-width: 960px) { .footer .footer-guides { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .footer-inner nav { flex-wrap: wrap; gap: 12px 20px; } }

/* ---------- Guide pages ---------- */
.guide { padding: 48px 0 104px; }
.prose { max-width: 760px; }
.prose-index { max-width: 900px; }
.crumbs { font-size: 13.5px; color: var(--faint); margin-bottom: 28px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); }
.prose h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.1; letter-spacing: -0.025em; text-wrap: balance; }
.guide-meta { font-size: 14px; color: var(--faint); margin-top: 14px; }
.guide-lede { font-size: 20px; line-height: 1.5; color: var(--ink-2); margin-top: 20px; text-wrap: pretty; }
.prose > p, .prose > ul, .prose > ol, .prose > pre, .prose > table { margin-top: 18px; }
.prose p, .prose li { font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.prose h2 { font-size: 26px; font-weight: 700; letter-spacing: -0.022em; line-height: 1.2; margin-top: 48px; color: var(--ink); }
.prose h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; margin-top: 28px; }
.prose ul { list-style: disc; padding-left: 22px; }
.prose ol { padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--faint); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose em { font-style: italic; }
.prose a { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent-ink) 35%, transparent); text-underline-offset: 2px; }
.prose code { font-family: var(--mono); font-size: 0.86em; background: var(--card-2); padding: 2px 6px; border-radius: 6px; overflow-wrap: anywhere; }
.prose pre { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; overflow-x: auto; line-height: 1.55; }
.prose pre code { background: none; padding: 0; font-size: 13.5px; white-space: pre; overflow-wrap: normal; color: var(--ink); }
.prose kbd { font-family: var(--font); font-size: 0.82em; display: inline-block; min-width: 1.6em; text-align: center; padding: 1px 6px; margin: 0 1px; border-radius: 6px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2), 0 1px 0 var(--line-2); color: var(--ink); }
.prose .callout { background: var(--accent-soft); border-radius: var(--radius-sm); padding: 16px 18px; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); line-height: 1.45; color: var(--ink-2); min-width: 120px; }
.prose th { font-weight: 600; color: var(--ink); background: var(--card); }
.prose td:first-child { font-weight: 500; color: var(--ink); }
.guide-faq { margin-top: 56px; }
.guide-faq .faq { margin-top: 18px; padding: 4px 24px; }
.guide-faq .faq summary { font-size: 17px; }
.guide-faq .faq details p { font-size: 16px; }
.guide-cta { display: flex; gap: 20px; align-items: flex-start; margin-top: 56px; padding: 28px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.guide-cta img { flex: none; border-radius: 12px; }
.prose .guide-cta h2 { margin-top: 0; font-size: 22px; }
.prose .guide-cta p { margin-top: 8px; font-size: 16px; color: var(--muted); }
.guide-cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.guide-cta .btn { font-size: 15px; padding: 10px 18px; text-decoration: none; }
.related { margin-top: 56px; }
.related ul, .guide-list { list-style: none; padding: 0; display: grid; gap: 12px; margin-top: 18px; }
.related li + li, .guide-list li + li { margin-top: 0; }
.related a, .guide-list a { display: block; padding: 18px 20px; background: var(--card); border-radius: var(--radius-sm); box-shadow: var(--shadow-card); text-decoration: none; }
.related a:hover, .guide-list a:hover { box-shadow: var(--shadow-float); text-decoration: none; }
.related strong, .guide-list h3 { display: block; font-size: 17px; font-weight: 600; color: var(--ink); letter-spacing: -0.015em; margin: 0; }
.related span, .guide-list p { display: block; font-size: 14.5px; color: var(--muted); margin-top: 4px; line-height: 1.5; }
.guide-group { margin-top: 48px; }
.guide-group h2 { margin-top: 0; }
.guide-group-blurb { margin-top: 8px; }
@media (min-width: 900px) { .prose-index .guide-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .guide { padding: 32px 0 80px; }
  .guide-lede { font-size: 18px; }
  .prose p, .prose li { font-size: 16px; }
  .prose h2 { font-size: 23px; margin-top: 40px; }
  .guide-cta { flex-direction: column; padding: 24px 20px; }
  .guide-faq .faq { padding: 4px 18px; }
}

/* Compare */
.compare-card { padding: 8px 28px; overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.compare th, .compare td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.compare td:first-child { color: var(--ink); font-weight: 500; }
.compare td:nth-child(2) { color: var(--muted); }
.compare td:last-child { color: var(--ink); }
.compare a { color: var(--accent-ink); }
.compare tfoot td { border-bottom: 0; font-weight: 600; font-size: 16px; }
.compare tfoot td:last-child { color: var(--accent-ink); }
@media (max-width: 720px) { .compare-card { padding: 4px 12px; } }

/* Everything */
.everything { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.everything > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px 22px; box-shadow: var(--shadow-card); }
.everything h3 { font-size: 17px; margin: 0 0 10px; }
.everything ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.everything li { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.everything li b { color: var(--ink); font-weight: 600; }
