:root {
  --bg: #fbfaf8;
  --surface: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: #e6e3de;
  --accent: #d2703f;
  --accent-ink: #ffffff;
  --navy: #2c5a8f;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121315;
    --surface: #1b1c1f;
    --text: #f2f2f4;
    --muted: #9a9aa0;
    --line: #2c2d31;
    --accent: #e5834f;
    --navy: #79a6dc;
  }
}
:root[data-theme="dark"] {
  --bg: #121315;
  --surface: #1b1c1f;
  --text: #f2f2f4;
  --muted: #9a9aa0;
  --line: #2c2d31;
  --accent: #e5834f;
  --navy: #79a6dc;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* Header */
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; }
.brand img { width: 28px; height: 28px; }
header nav a { color: var(--muted); text-decoration: none; font-size: 15px; margin-left: 20px; }
header nav a:hover { color: var(--text); }
header nav .contact {
  display: inline-flex; align-items: center; gap: 6px; vertical-align: middle;
  padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--text);
}
header nav .contact:hover { background: var(--surface); }

/* Hero */
.hero { text-align: center; padding-top: 56px; padding-bottom: 40px; }
.hero img.icon { width: 112px; height: 112px; }
h1 {
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 16px 0 16px;
}
.lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 600px; margin: 0 auto 32px; }
.cta { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--surface); }
.req { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* Screenshot */
.shot { padding-top: 24px; padding-bottom: 88px; }
.screenshot {
  display: block; width: 100%; height: auto;
  filter: drop-shadow(0 24px 48px rgba(30, 40, 60, .25)) drop-shadow(0 0 1px rgba(0, 0, 0, .25));
}

/* Features */
.features { padding-bottom: 96px; }
.features h3.section { text-align: center; font-size: clamp(26px, 3.5vw, 36px); letter-spacing: -0.02em; margin: 0 0 8px; }
.features p.sub { text-align: center; color: var(--muted); margin: 0 0 48px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.card .ic {
  width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent);
  margin-bottom: 14px;
}
.card .ic svg { width: 20px; height: 20px; }
.card h4 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
kbd {
  font: 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  padding: 2px 5px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 4px;
  background: var(--bg); color: var(--text);
}

/* Privacy */
.privacy { background: var(--surface); border-top: 1px solid var(--line); padding: 88px 0; }
.privacy-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.eyebrow { margin: 0 0 8px; color: var(--accent); font-weight: 600; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.privacy h3 { font-size: clamp(26px, 3.5vw, 36px); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 12px; }
.privacy .sub { color: var(--muted); margin: 0 0 24px; }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.points li { padding-left: 28px; position: relative; color: var(--muted); }
.points li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-5'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.points strong { color: var(--text); font-weight: 600; }
code { font: .9em ui-monospace, SFMono-Regular, Menlo, monospace; }
.points code { color: var(--text); }
.config { margin: 0; background: #1c1d21; color: #e6e6ea; border-radius: 14px; overflow: hidden; box-shadow: 0 20px 50px -24px rgba(0, 0, 0, .5); }
.config figcaption { padding: 12px 18px; font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; color: #9a9aa3; border-bottom: 1px solid #2e2f35; }
.config pre { margin: 0; padding: 18px; overflow-x: auto; font-size: 13.5px; line-height: 1.6; }
.config .k { color: #8fb8ec; }
.config .v { color: #f0a070; }
.config .s { color: #a8d49a; }
.git { padding: 12px 18px; border-top: 1px solid #2e2f35; font: 12.5px ui-monospace, SFMono-Regular, Menlo, monospace; color: #c9c9cf; overflow-x: auto; white-space: nowrap; }
.git .prompt { color: #f0a070; margin-right: 6px; }

/* Download band */
.band { text-align: center; padding: 64px 16px; border-top: 1px solid var(--line); }
.band h3 { font-size: clamp(24px, 3vw, 32px); margin: 0 0 8px; letter-spacing: -0.02em; }
.band p { color: var(--muted); margin: 0 0 24px; }
.band .req { margin: 14px 0 0; }

footer { padding: 28px 0 40px; color: var(--muted); font-size: 13px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .privacy-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}
@media (max-width: 640px) {
  header nav a:not(:last-child) { display: none; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 32px; }
}
