:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --surface: #fafafa;
  --text: #16181d;
  --muted: #555a66;
  --line: #e2e2e6;
  --accent: #007aff;      /* system blue: large text, lines, icons */
  --accent-text: #0066cc; /* darker link blue for small text (5.6:1 on white) */
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111317;
    --surface: #181b21;
    --text: #e9e7e1;
    --muted: #a3a8b4;
    --line: #2c313a;
    --accent: #0a84ff;
    --accent-text: #0a84ff;
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--mono);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 6px 10px; }
.skip:focus { left: 8px; z-index: 10; }

/* top bar */
.bar { border-bottom: 1px solid var(--line); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 56px; }
.brand { font-family: var(--mono); font-weight: 600; font-size: 0.95rem; color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.brand svg { width: 18px; height: 18px; color: var(--accent); }
.bar nav { display: flex; gap: 16px; font-family: var(--mono); font-size: 0.85rem; }
.bar nav a { color: var(--muted); text-decoration: none; }
.bar nav a:hover { color: var(--text); text-decoration: underline; }
.hero { padding: 64px 0 56px; }
.kicker { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); letter-spacing: 0.02em; margin-bottom: 20px; }
.kicker b { color: var(--accent-text); font-weight: 600; }
h1 { font-size: clamp(1.9rem, 7.5vw, 3.25rem); line-height: 1.1; letter-spacing: -0.04em; font-weight: 700; max-width: 16ch; }
h1 vk-glitch-text { color: var(--accent); --glitch-color-1: #19c3d6; --glitch-color-2: #e0459b; }
.lede { margin-top: 20px; font-size: 1rem; color: var(--muted); max-width: 48ch; }
.cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
/* Apple badge: unmodified artwork, 48px tall; the 24px/16px gaps keep clear space above 1/4 badge height */
.badge { display: inline-block; line-height: 0; border-radius: 8px; }
.badge img { height: 48px; width: auto; display: block; }
.meta { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); }

/* sections */
section { padding: 48px 0; border-top: 1px solid var(--line); }
h2 { font-family: var(--mono); font-size: 0.85rem; font-weight: 600; color: var(--accent-text); letter-spacing: 0.04em; margin-bottom: 24px; }
.features { list-style: none; display: grid; grid-template-columns: 1fr; }
.features li { padding: 24px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto 1fr; align-content: start; gap: 4px 14px; }
.features li:first-child { border-top: 0; }
.features .ico { grid-row: span 2; width: 32px; height: 32px; color: var(--accent); }
.features .ico svg { width: 32px; height: 32px; display: block; }
.features .ico.txt { font-family: var(--mono); font-size: 1.25rem; font-weight: 600; line-height: 32px; text-align: center; }
.features h3 { font-size: 1.02rem; font-weight: 650; }
.features p { color: var(--muted); font-size: 0.95rem; }
@media (min-width: 720px) {
  .features { grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .features li:nth-child(-n+2) { border-top: 0; }
  .features li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

.privacy-box { border-left: 3px solid var(--accent); padding: 4px 0 4px 18px; max-width: 64ch; }
.privacy-box p + p { margin-top: 10px; }
.privacy-box strong { font-weight: 650; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-family: var(--mono); font-size: 0.8rem; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; }
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }

/* privacy page */
.doc { padding: 48px 0 56px; }
.doc .wrap { max-width: calc(70ch + 40px); }
.doc h1 { font-size: clamp(1.8rem, 6vw, 2.4rem); max-width: none; }
.doc .last-updated { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); margin: 10px 0 32px; }
.doc h2 { margin: 36px 0 12px; }
.doc p { margin-bottom: 14px; }
.doc ul { margin: 0 0 14px 22px; }
.doc li { margin-bottom: 6px; }
.doc .summary { border-left: 3px solid var(--accent); padding: 4px 0 4px 18px; margin-bottom: 8px; }
