:root {
  --bg: #fafaf8;
  --surface: #ffffff;
  --text: #1a1a1a;
  --muted: #6b6b6b;
  --rule: #e6e6e3;
  --accent: #2f6fd6;
  --tag-bg: #eef3fc;
  --tag-text: #2a5bb0;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0e10;
    --surface: #1c1c1e;
    --text: #f2f2f0;
    --muted: #a7a7a5;
    --rule: #3a3a3c;
    --accent: #6aa2ff;
    --tag-bg: #1d2a40;
    --tag-text: #9cc0ff;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }

.top, main, .foot { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.top { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: -0.01em; }
.mark {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px;
  background: var(--text); color: var(--bg); font-size: 12px; font-weight: 800; letter-spacing: 0.02em;
}
.top nav { display: flex; gap: 20px; }
.top nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.top nav a:hover { color: var(--text); }

.hero { padding: 56px 0 40px; }
.eyebrow { margin: 0 0 10px; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
h1 { margin: 0; font-family: ui-serif, Georgia, "Times New Roman", serif; font-size: clamp(36px, 7vw, 56px); line-height: 1.08; letter-spacing: -0.02em; }
.lede { margin: 18px 0 0; max-width: 560px; color: var(--muted); font-size: 19px; }

.apps { display: grid; gap: 14px; padding: 8px 0 64px; }
.app {
  display: grid; grid-template-columns: 72px 1fr; gap: 18px; align-items: start;
  padding: 22px; background: var(--surface); border: 1px solid var(--rule); border-radius: 18px;
}
.app img { width: 72px; height: 72px; border-radius: 17px; }
.app h2 { margin: 0; font-size: 21px; letter-spacing: -0.01em; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tag { padding: 2px 9px; border-radius: 99px; background: var(--tag-bg); color: var(--tag-text); font-size: 12px; font-weight: 600; letter-spacing: 0; }
.sub { margin: 2px 0 8px; color: var(--muted); font-weight: 600; font-size: 15px; }
.app p { margin: 0 0 10px; }
.go { font-weight: 600; text-decoration: none; }
.go:hover { text-decoration: underline; }

.foot { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; padding-top: 24px; padding-bottom: 40px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 14px; }
.foot a { color: var(--muted); }

/* Product + legal pages */
.page { padding: 40px 0 64px; }
.page h1 { font-size: clamp(32px, 6vw, 46px); }
.page h2 { margin: 36px 0 8px; font-size: 20px; }
.page .meta { color: var(--muted); font-size: 15px; }
.product { display: flex; gap: 18px; align-items: center; margin-bottom: 20px; }
.product img { width: 88px; height: 88px; border-radius: 20px; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 8px; }
.btn { display: inline-block; padding: 11px 18px; border-radius: 12px; background: var(--text); color: var(--bg); text-decoration: none; font-weight: 600; font-size: 15px; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--rule); }
.features { padding-left: 20px; }
.features li { margin: 6px 0; }
.links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 28px; font-size: 15px; }

@media (max-width: 480px) {
  .app { grid-template-columns: 56px 1fr; gap: 14px; padding: 18px; }
  .app img { width: 56px; height: 56px; border-radius: 13px; }
}
