/* xcv — xcv.rycollins.com
   One stylesheet, no web fonts, no external requests. */

:root {
  color-scheme: light dark;

  --bg: #f5f6f4;
  --bg-raised: #ffffff;
  --bg-sunken: #eceeeb;
  --text: #111513;
  --text-muted: #525b56;
  --text-faint: #6b746f;
  --line: rgba(17, 21, 19, 0.1);
  --line-strong: rgba(17, 21, 19, 0.16);
  --accent: #46604f;
  --accent-strong: #33483b;
  --accent-soft: rgba(70, 96, 79, 0.12);
  --on-accent: #ffffff;
  --shadow: 0 1px 2px rgba(10, 14, 12, 0.06), 0 12px 40px -12px rgba(10, 14, 12, 0.22);
  --shadow-lg: 0 2px 4px rgba(10, 14, 12, 0.06), 0 40px 80px -30px rgba(10, 14, 12, 0.45);

  /* The island is always black, in both themes, like the hardware notch. */
  --island: #000;
  --tile: #161817;
  --tile-hi: #1f2221;

  --kind-text: #666b7a;
  --kind-link: #2980fa;
  --kind-image: #9e57f5;
  --kind-file: #fa9429;
  --kind-color: #f25973;

  --radius: 18px;
  --radius-sm: 12px;
  --max: 1120px;
  --gutter: 24px;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-rounded: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  /* SwiftUI .spring(response: 0.42, dampingFraction: 0.82) — the island's own open spring. */
  --spring: linear(0, 0.0569, 0.1852, 0.3389, 0.4905, 0.6252, 0.7369, 0.8246, 0.8902, 0.9371, 0.9689, 0.9894, 1.0016, 1.008, 1.0107, 1.011, 1.0101, 1.0085, 1.0068, 1.0051, 1.0037, 1.0026, 1.0017, 1.001, 1.0006, 1.0003, 1.0001, 1, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0c0b;
    --bg-raised: #131715;
    --bg-sunken: #0f1211;
    --text: #eef1ef;
    --text-muted: #a3aca7;
    --text-faint: #87918b;
    --line: rgba(238, 241, 239, 0.09);
    --line-strong: rgba(238, 241, 239, 0.15);
    --accent: #9dbba6;
    --accent-strong: #b8d1bf;
    --accent-soft: rgba(157, 187, 166, 0.13);
    --on-accent: #0b110d;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 40px -12px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.4), 0 40px 80px -30px rgba(0, 0, 0, 0.9);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
svg { display: block; }

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover { color: var(--accent-strong); }

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

::selection { background: var(--accent-soft); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 12px; top: -48px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--bg); }

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

/* ---------- Menu bar ---------- */

.menubar {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
}
.menubar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 56px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand:hover { color: var(--text); }
.brand img { width: 28px; height: 28px; }
.menubar nav ul {
  display: flex;
  gap: 4px;
  margin: 0; padding: 0;
  list-style: none;
}
.menubar nav a {
  display: block;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.menubar nav a:hover { background: var(--accent-soft); color: var(--text); }
.menubar nav a[aria-current="page"] { color: var(--text); background: var(--bg-sunken); }

/* ---------- Hero island ---------- */

.hero {
  position: relative;
  padding-bottom: 24px;
  text-align: center;
}

.stage {
  --island-w: min(860px, calc(100vw - 2 * var(--gutter)));
  --island-h: 318px;
  --card-w: 150px;
  --card-h: 176px;
  position: relative;
  height: calc(var(--island-h) + 8px);
  display: flex;
  justify-content: center;
}

.island {
  position: relative;
  width: var(--island-w);
  height: var(--island-h);
  margin-top: -1px;
  background: var(--island);
  border-radius: 0 0 40px 40px;
  box-shadow: 0 30px 70px -28px rgba(0, 0, 0, 0.55), 0 12px 24px -16px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  animation: island-open 0.9s var(--spring) 0.45s both;
}

@keyframes island-open {
  from {
    width: 168px;
    height: 32px;
    border-radius: 0 0 16px 16px;
  }
}

.island-inner {
  position: absolute;
  inset: 0 auto auto 50%;
  width: var(--island-w);
  height: var(--island-h);
  translate: -50% 0;
  display: flex;
  flex-direction: column;
  padding: 14px 22px 18px;
  color: #fff;
  text-align: left;
  animation: island-content 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.72s both;
}

@keyframes island-content {
  from { opacity: 0; transform: translateY(-10px) scale(0.985); filter: blur(4px); }
}

.i-header {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 34px;
}
.i-search {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.42);
  font-size: 13px;
}
.i-search svg { width: 13px; height: 13px; flex: none; }
.i-search span { flex: 1; }
.i-notchgap { flex: 0 0 150px; }
.i-tabs {
  display: flex;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
  font-weight: 600;
}
.i-tabs span { padding: 5px 12px; border-radius: 999px; color: rgba(255, 255, 255, 0.5); white-space: nowrap; }
.i-tabs .on { background: rgba(255, 255, 255, 0.16); color: #fff; }
.i-btn {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  display: grid; place-items: center;
  color: rgba(255, 255, 255, 0.6);
}
.i-btn svg { width: 13px; height: 13px; }

.kc {
  display: inline-flex;
  align-items: center;
  height: 17px;
  padding: 0 5px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
  font: 600 10px/1 var(--font-rounded);
  white-space: nowrap;
}

.i-strip {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 -22px;
  padding: 0 22px;
  overflow: hidden;
  perspective: 900px;
}
.i-strip::before, .i-strip::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 22px;
  z-index: 2;
  pointer-events: none;
}
.i-strip::before { left: 0; background: linear-gradient(90deg, #000, transparent); }
.i-strip::after { right: 0; background: linear-gradient(270deg, #000, transparent); }

.tile {
  position: relative;
  flex: 0 0 var(--card-w);
  height: var(--card-h);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--tile-hi), var(--tile));
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 10px 22px -12px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  transform: rotateY(-7deg) scale(0.94);
  opacity: 0.82;
  animation: tile-in 0.6s var(--spring) both;
}
.tile:nth-child(1) { animation-delay: 0.78s; }
.tile:nth-child(2) { animation-delay: 0.83s; }
.tile:nth-child(3) { animation-delay: 0.88s; }
.tile:nth-child(4) { animation-delay: 0.93s; }
.tile:nth-child(5) { animation-delay: 0.98s; }
.tile:nth-child(6) { animation-delay: 1.03s; }

@keyframes tile-in {
  from { translate: 0 18px; opacity: 0; }
}

.tile.sel {
  transform: none;
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 16px 30px -12px rgba(0, 0, 0, 0.95);
}
.tile::before {
  content: "";
  position: absolute;
  left: 0; top: 14px; bottom: 14px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--k, var(--kind-text));
}
.k-text { --k: var(--kind-text); }
.k-link { --k: var(--kind-link); }
.k-image { --k: var(--kind-image); }
.k-file { --k: var(--kind-file); }
.k-color { --k: var(--kind-color); }

.tile-body {
  position: absolute;
  inset: 14px 14px 40px 16px;
  font-size: 12.5px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.86);
  overflow: hidden;
}
.tile-body.mono { font: 10.5px/1.5 var(--font-mono); color: rgba(255, 255, 255, 0.78); white-space: pre; }
.tile-body .host { font-weight: 700; font-size: 13px; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile-body .path { color: rgba(255, 255, 255, 0.5); font-size: 11.5px; margin-top: 2px; word-break: break-all; }
.tile-body .fav {
  width: 28px; height: 28px; border-radius: 8px; margin-bottom: 10px;
  background: linear-gradient(135deg, #2f89ff, #1f5fd1);
  display: grid; place-items: center;
}
.tile-body .fav svg { width: 15px; height: 15px; color: #fff; }

.tile-img {
  position: absolute;
  inset: 0 0 34px 0;
  background:
    radial-gradient(120% 70% at 70% 100%, #1d3b3a 0 38%, transparent 39%),
    radial-gradient(90% 60% at 20% 105%, #29504a 0 40%, transparent 41%),
    radial-gradient(30% 22% at 68% 36%, #ffd9a0 0 45%, rgba(255, 190, 120, 0.35) 46% 60%, transparent 61%),
    linear-gradient(180deg, #f39a6b 0%, #d9657a 45%, #6f4d8f 100%);
}
.tile-swatch {
  position: absolute;
  inset: 0 0 34px 0;
  background: #5e8c6a;
  display: flex;
  align-items: flex-end;
  padding: 12px 14px;
  font: 700 14px/1 var(--font-mono);
  color: rgba(255, 255, 255, 0.92);
}
.tile-file {
  position: absolute;
  inset: 16px 0 44px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
}
.doc-icon {
  position: relative;
  width: 46px; height: 58px;
  border-radius: 5px;
  background: linear-gradient(180deg, #fafafa, #e6e6e6);
}
.doc-icon::after {
  content: "PDF";
  position: absolute;
  left: 50%; bottom: 8px;
  translate: -50% 0;
  padding: 1px 5px;
  border-radius: 3px;
  background: #e5484d;
  color: #fff;
  font: 800 8px/1.3 var(--font);
}
.tile-file .name { font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, 0.86); }

.tile-meta {
  position: absolute;
  left: 12px; right: 12px; bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
}
.app-dot {
  width: 16px; height: 16px;
  border-radius: 4.5px;
  background: var(--a, #888);
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.25);
}
.a-notes { --a: linear-gradient(180deg, #ffd84d 0 34%, #fff 34%); }
.a-safari { --a: radial-gradient(circle at 50% 50%, #fff 0 18%, #2f89ff 19%); }
.a-xcode { --a: linear-gradient(135deg, #53a7ff, #1b5fd8); }
.a-photos { --a: conic-gradient(#fbbc3c, #f36c4f, #c35bd8, #4e8ef7, #43c46e, #fbbc3c); }
.a-finder { --a: linear-gradient(90deg, #6ab8ff 0 50%, #d9ecff 50%); }
.a-design { --a: linear-gradient(135deg, #ff7262, #a259ff); }

.i-footer {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  overflow: hidden;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--k); }
.chip.on { background: rgba(255, 255, 255, 0.92); color: #000; }
.i-hints {
  margin-left: auto;
  display: flex;
  gap: 10px;
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
}
.i-hints span { display: inline-flex; align-items: center; gap: 4px; }

/* ---------- Hero copy ---------- */

.hero-copy {
  max-width: 760px;
  margin: 40px auto 0;
  padding: 0 var(--gutter);
  animation: rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
}

h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: -0.022em;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}
p, li, dd, summary { text-wrap: pretty; }
h1 {
  font-size: clamp(40px, 6.4vw, 68px);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.lede {
  margin: 20px auto 0;
  max-width: 600px;
  font-size: clamp(18px, 2.1vw, 21px);
  line-height: 1.5;
  color: var(--text-muted);
}
.lede kbd, .inline-kbd {
  font: 600 0.86em/1 var(--font-rounded);
  padding: 3px 7px;
  border-radius: 7px;
  border: 1px solid var(--line-strong);
  background: var(--bg-raised);
  color: var(--text);
  white-space: nowrap;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 18px;
  margin-top: 32px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px 0 20px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--spring), box-shadow 0.2s ease;
}
.btn:hover { color: var(--bg); transform: translateY(-2px) scale(1.02); box-shadow: var(--shadow-lg); }
.btn:active { transform: scale(0.98); }
.btn svg { width: 20px; height: 20px; }
.btn small { display: block; font-size: 11px; font-weight: 500; opacity: 0.7; line-height: 1.1; }
.btn span { display: block; line-height: 1.15; text-align: left; }
.cta-note { color: var(--text-faint); font-size: 14.5px; }
.lede-left { margin-left: 0; margin-right: 0; }

/* ---------- Sections ---------- */

section { scroll-margin-top: 16px; }
.section { padding: 110px 0; }
.section.tight { padding: 80px 0; }
.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
h2 { font-size: clamp(32px, 4.4vw, 48px); font-weight: 800; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin: 16px 0 0; font-size: 19px; color: var(--text-muted); }

.showcase {
  margin: 56px auto 0;
  max-width: 1080px;
  padding: 0 var(--gutter);
}
.shot {
  border-radius: 16px;
  overflow: hidden;
  background: #111;
  box-shadow: var(--shadow-lg);
  outline: 1px solid var(--line);
  outline-offset: -1px;
}
.shot img { width: 100%; }

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.feature {
  padding: 28px 26px 30px;
  border-radius: var(--radius);
  background: var(--bg-raised);
  border: 1px solid var(--line);
  transition: transform 0.45s var(--spring), box-shadow 0.25s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature h3 { font-size: 19px; font-weight: 700; margin: 18px 0 8px; }
.feature p { margin: 0; color: var(--text-muted); font-size: 15.5px; }
.ficon {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
}
.ficon svg { width: 22px; height: 22px; }

.gallery { display: grid; gap: 96px; }
.g-row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: center;
}
.g-row.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.g-row.flip .g-copy { order: 2; }
.g-copy h3 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; }
.g-copy p { margin: 14px 0 0; color: var(--text-muted); font-size: 17.5px; }
.g-copy .kbd-line { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }

/* Privacy band: always dark, like the island. */
.band {
  background: #050606;
  color: #eef1ef;
  --text-muted: #a3aca7;
  --line: rgba(238, 241, 239, 0.1);
  --accent: #9dbba6;
  --accent-soft: rgba(157, 187, 166, 0.14);
  border-radius: 36px;
  margin: 0 12px;
}
.band a { color: #b8d1bf; }
@media (prefers-color-scheme: dark) {
  .band { background: #000; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
}
.band .inline-kbd { background: #131715; color: #eef1ef; border-color: rgba(255,255,255,.16); }
.privacy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.plist { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 22px; }
.plist li { display: grid; grid-template-columns: 38px 1fr; gap: 14px; }
.plist strong { display: block; font-size: 16.5px; color: #fff; }
.plist span { color: var(--text-muted); font-size: 15.5px; }
.plist .ficon { width: 38px; height: 38px; border-radius: 11px; }
.plist .ficon svg { width: 19px; height: 19px; }
.promise {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 15px;
}
.promise b { color: #fff; }

/* Pricing */
.plans {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
}
.plan {
  position: relative;
  padding: 34px 32px 32px;
  border-radius: 24px;
  background: var(--bg-raised);
  border: 1px solid var(--line);
}
.plan.featured { border: 1.5px solid var(--accent); box-shadow: var(--shadow); }
.plan .tag {
  position: absolute;
  top: -13px; left: 30px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.plan h3 { font-size: 22px; font-weight: 800; }
.plan .price { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; }
.plan .price b { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.plan .price span { color: var(--text-faint); font-size: 14.5px; font-weight: 600; }
.plan .sub { margin: 10px 0 22px; color: var(--text-muted); font-size: 15.5px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: 15.5px; }
.checks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; }
.checks svg { width: 18px; height: 18px; margin-top: 3px; color: var(--accent); }
.plan-note { max-width: 640px; margin: 28px auto 0; text-align: center; color: var(--text-faint); font-size: 14.5px; }

/* Trial timeline */
.trial {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 880px;
  margin: 0 auto 48px;
  counter-reset: step;
}
.trial div { position: relative; padding: 22px 18px 0 0; }
.trial div::before {
  content: "";
  position: absolute;
  top: 5px; left: 0; right: 0;
  height: 2px;
  background: var(--line-strong);
}
.trial div::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--bg);
}
.trial b { display: block; font-size: 15.5px; }
.trial span { color: var(--text-muted); font-size: 14.5px; }

/* Shortcuts */
.keys {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
  max-width: 920px;
  margin: 0 auto;
}
.keys div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
}
.keys dt { color: var(--text-muted); }
.keys dd { margin: 0; display: flex; gap: 5px; flex-wrap: wrap; justify-content: flex-end; }
kbd {
  display: inline-flex;
  align-items: center;
  min-width: 28px;
  height: 28px;
  justify-content: center;
  padding: 0 8px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  border-bottom-width: 2px;
  background: var(--bg-raised);
  color: var(--text);
  font: 600 13.5px/1 var(--font-rounded);
  white-space: nowrap;
}

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
details {
  border-bottom: 1px solid var(--line);
}
summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-weight: 650;
  font-size: 17.5px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "";
  flex: none;
  width: 10px; height: 10px;
  border-right: 2px solid var(--text-faint);
  border-bottom: 2px solid var(--text-faint);
  rotate: 45deg;
  translate: 0 -3px;
  transition: rotate 0.4s var(--spring), translate 0.4s var(--spring);
}
details[open] summary::after { rotate: 225deg; translate: 0 3px; }
details p, details ul, details ol { margin: 0 0 20px; color: var(--text-muted); }
details p + p { margin-top: -8px; }
.faq-more { text-align: center; margin-top: 36px; }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow::after { content: " →"; }

/* ---------- Document pages ---------- */

.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px var(--gutter) 96px;
}
.doc header { margin-bottom: 40px; }
.doc h1 { font-size: clamp(36px, 5.4vw, 52px); }
.doc .meta { margin-top: 12px; color: var(--text-faint); font-size: 15px; }
.doc h2 { font-size: 26px; font-weight: 750; margin: 52px 0 14px; letter-spacing: -0.015em; }
.doc h3 { font-size: 19px; font-weight: 700; margin: 30px 0 8px; letter-spacing: -0.01em; }
.doc p, .doc li { color: var(--text-muted); }
.doc strong { color: var(--text); }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc li::marker { color: var(--text-faint); }
.doc code {
  font: 0.88em var(--font-mono);
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--bg-sunken);
  color: var(--text);
  word-break: break-word;
}
.callout {
  margin: 28px 0;
  padding: 20px 22px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
}
.callout p { margin: 0; color: var(--text); }
.callout p + p { margin-top: 8px; }
.toc {
  margin: 0 0 16px;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  background: var(--bg-raised);
  border: 1px solid var(--line);
  font-size: 15.5px;
}
.toc ul { margin: 6px 0 0; padding-left: 18px; }
.toc li { margin: 3px 0; }
.doc .faq { max-width: none; }
.doc details p, .doc details ul, .doc details ol { font-size: 16px; }
.contact-card {
  margin-top: 48px;
  padding: 28px;
  border-radius: 22px;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}
.contact-card h2 { margin: 0 0 6px; font-size: 22px; }
.contact-card p { margin: 0; }
.btn.small { height: 44px; padding: 0 20px; font-size: 15px; }

.notfound { text-align: center; padding: 60px var(--gutter) 120px; }
.notfound .stage { --island-w: min(420px, calc(100vw - 2 * var(--gutter))); --island-h: 150px; height: 170px; }
.notfound .island-inner { align-items: center; justify-content: center; text-align: center; gap: 6px; }
.notfound .island-inner b { font-size: 15px; }
.notfound .island-inner span { font-size: 13px; color: rgba(255, 255, 255, 0.5); }
.notfound h1 { margin-top: 40px; font-size: clamp(34px, 5vw, 48px); }
.notfound p { color: var(--text-muted); }

/* ---------- Footer ---------- */

.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  padding: 44px 0 56px;
  font-size: 14.5px;
  color: var(--text-faint);
}
.site-footer .wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px 40px;
  align-items: start;
}
.site-footer p { margin: 8px 0 0; max-width: 520px; }
.site-footer nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer nav a { color: var(--text-muted); text-decoration: none; }
.site-footer nav a:hover { color: var(--text); text-decoration: underline; }
.fine { grid-column: 1 / -1; font-size: 13px; }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-row, .g-row.flip { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .g-row.flip .g-copy { order: 0; }
  .gallery { gap: 72px; }
  .privacy-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .i-notchgap { flex-basis: 110px; }
  .i-hints .opt { display: none; }
}

@media (max-width: 720px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .section { padding: 80px 0; }
  .section.tight { padding: 64px 0; }
  .features { grid-template-columns: minmax(0, 1fr); }
  .plans { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .keys { grid-template-columns: minmax(0, 1fr); }
  .trial { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .trial div { padding: 0 0 0 28px; }
  .trial div::before { top: 16px; bottom: -22px; left: 5px; right: auto; width: 2px; height: auto; }
  .trial div:last-child::before { display: none; }
  .trial div::after { top: 5px; }
  .band { margin: 0; border-radius: 28px; }
  .menubar nav .opt { display: none; }
  .stage { --island-h: 262px; --card-w: 124px; --card-h: 146px; }
  .island { border-radius: 0 0 30px 30px; }
  .island-inner { padding: 12px 16px 14px; }
  .i-strip { margin: 0 -16px; padding: 0 16px; gap: 10px; }
  .i-notchgap, .i-btn, .i-search .kc { display: none; }
  .i-hints { display: none; }
  .i-footer .chip.opt { display: none; }
  .tile { border-radius: 13px; }
  .tile-body { font-size: 11.5px; inset: 12px 12px 36px 14px; }
  .tile-body.mono { font-size: 9.5px; }
  .contact-card { grid-template-columns: minmax(0, 1fr); }
  .site-footer .wrap { grid-template-columns: minmax(0, 1fr); }
  .doc { padding-top: 52px; }
}

@media (max-width: 400px) {
  .i-tabs span { padding: 5px 9px; }
  .btn { padding: 0 20px 0 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* Shortcut list inside a document page: one column, tighter. */
.doc .keys { grid-template-columns: minmax(0, 1fr); max-width: none; margin: 8px 0 18px; }
.doc .keys dt { color: var(--text-muted); }
.doc details kbd { height: 24px; min-width: 24px; font-size: 12.5px; }
