@font-face {
  font-family: 'Satoshi';
  src: url('fonts/Satoshi-Variable.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #f5f5f6;
  --surface: #ffffff;
  --fg: #111113;
  --muted: #6b6b73;
  --line: rgba(17, 17, 19, 0.08);
  --accent: #3b82f6;
  --accent-deep: #4338ca;
  --radius: 14px;
  --measure: 62ch;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0b0d;
    --surface: #161619;
    --fg: #f2f2f3;
    --muted: #9a9aa3;
    --line: rgba(255, 255, 255, 0.08);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Satoshi', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img, video { max-width: 100%; height: auto; display: block; }
kbd { font-family: inherit; font-size: 0.9em; background: var(--line); padding: 1px 6px; border-radius: 6px; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.brand img { width: 28px; height: 28px; border-radius: 8px; }
.top nav { display: flex; gap: 22px; font-size: 14px; }
.top nav a { color: var(--muted); }
.top nav a:hover { color: var(--fg); text-decoration: none; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding: 48px 0 72px; }
.hero h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 18px; font-weight: 700; }
.hero > div { min-width: 0; }
.hero > div:last-child { justify-self: end; }
.hero p { font-size: 18px; color: var(--muted); margin: 0 0 28px; max-width: 40ch; }
.cta { display: inline-flex; align-items: center; gap: 10px; background: var(--fg); color: var(--bg); padding: 13px 20px; border-radius: 12px; font-weight: 600; font-size: 15px; transition: transform 150ms cubic-bezier(.16,1,.3,1), opacity 150ms; }
.cta:hover { text-decoration: none; transform: translateY(-1px); opacity: 0.92; }
.cta:active { transform: scale(0.98); }
.cta img { width: 18px; height: 18px; }
.sub { margin-top: 12px; font-size: 13px; color: var(--muted); }
.shot { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 80px -30px rgba(0,0,0,0.35), 0 0 0 1px var(--line); background: var(--surface); }
@media (prefers-color-scheme: dark) { .shot { box-shadow: 0 0 0 1px var(--line); } }

/* Points */
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 0 0 72px; }
.point { background: var(--surface); border-radius: var(--radius); padding: 22px; box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 0 0 1px var(--line); }
.point h3 { margin: 0 0 8px; font-size: 16px; letter-spacing: -0.01em; }
.point p { margin: 0; color: var(--muted); font-size: 14px; }
.point .n { display: inline-flex; width: 28px; height: 28px; border-radius: 9px; background: linear-gradient(135deg, #4f9df7, var(--accent-deep)); color: #fff; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; margin-bottom: 14px; }

/* How it sorts */
.how { padding: 0 0 72px; }
.how h2, .sweep h2, .privacy h2, .faq h2 { font-size: 26px; letter-spacing: -0.02em; margin: 0 0 10px; }
.lead { color: var(--muted); max-width: var(--measure); margin: 0 0 26px; }
.cats { display: flex; flex-wrap: wrap; gap: 8px; }
.cats span { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); color: var(--fg); }
.cats span.dim { color: var(--muted); }

/* Sweep */
.sweep { padding: 0 0 72px; }
.sweep .shot { width: 100%; height: auto; }

/* Privacy */
.privacy { padding: 0 0 72px; }
.privacy table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.privacy th, .privacy td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.privacy th { font-weight: 600; width: 32%; }
.privacy tr:last-child td, .privacy tr:last-child th { border-bottom: 0; }
.privacy td { color: var(--muted); }
.privacy td strong { color: var(--fg); font-weight: 600; }

/* Prose pages */
.prose { max-width: var(--measure); padding: 24px 0 72px; }
.prose h1 { font-size: 34px; letter-spacing: -0.03em; margin: 0 0 6px; }
.prose .meta { color: var(--muted); font-size: 14px; margin: 0 0 32px; }
.prose h2 { font-size: 20px; letter-spacing: -0.01em; margin: 36px 0 8px; }
.prose p, .prose li { color: var(--fg); font-size: 16px; }
.prose ul { padding-left: 20px; }
.prose li { margin: 4px 0; }

/* FAQ */
.faq { padding: 0 0 72px; }
.faq details { background: var(--surface); border-radius: 12px; box-shadow: 0 0 0 1px var(--line); margin-bottom: 8px; }
.faq summary { cursor: pointer; padding: 14px 18px; font-weight: 600; font-size: 15px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--muted); font-weight: 400; transition: transform 200ms; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 18px 16px; color: var(--muted); font-size: 14px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 26px 0 40px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--muted); }
footer a { color: var(--muted); }
footer a:hover { color: var(--fg); }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 28px; padding: 24px 0 56px; }
  .hero > div:last-child { justify-self: stretch; }
  .hero .shot { max-width: min(400px, 100%); margin: 0 auto; }
  .points { grid-template-columns: 1fr; }
  .top nav { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Guide pages: steps, commands, labels */
.prose h3 { font-size: 16px; letter-spacing: -0.01em; margin: 28px 0 6px; }
.prose ol { padding-left: 22px; }
.prose ol li { margin: 6px 0; }
.prose code { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 0.86em; background: var(--line); padding: 1px 5px; border-radius: 5px; overflow-wrap: anywhere; }
.prose pre { background: var(--surface); box-shadow: 0 0 0 1px var(--line); border-radius: 12px; padding: 14px 16px; margin: 10px 0 18px; overflow-x: auto; font-size: 13px; line-height: 1.55; }
.prose pre code { background: none; padding: 0; font-size: inherit; overflow-wrap: normal; }
.tag { display: inline-block; vertical-align: middle; margin-left: 6px; font-size: 12px; font-weight: 600; letter-spacing: 0; padding: 2px 9px; border-radius: 999px; color: #fff; background: linear-gradient(135deg, #4f9df7, var(--accent-deep)); }
.tag-warn { background: none; color: var(--muted); box-shadow: 0 0 0 1px var(--line); }
