:root {
  --brand: #1A36B4; /* logo background */
  --primary: #1A36B4;
  --primary-soft: #EEF0FF;
  --text: #1B1B2F;
  --muted: #5B5B72;
  --bg: #FFFFFF;
  --surface: #F7F7FB;
  --border: #E4E4EE;
}
@media (prefers-color-scheme: dark) {
  :root {
    --primary: #A5B4FC;
    --primary-soft: #25254A;
    --text: #EDEDF5;
    --muted: #A3A3BA;
    --bg: #12121C;
    --surface: #1B1B29;
    --border: #2C2C40;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
}
a { color: var(--primary); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
header { background: var(--brand); }
nav { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.brand img { display: block; height: 44px; width: auto; }
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 10px;
  background: var(--primary); color: var(--bg); font-weight: 600; text-decoration: none;
}
.btn.ghost { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
nav .btn { padding: 8px 16px; background: #fff; color: var(--brand); white-space: nowrap; }
.hero { padding: 80px 0 64px; text-align: center; }
.hero h1 { font-size: clamp(34px, 6vw, 54px); line-height: 1.1; margin: 0 0 18px; letter-spacing: -0.02em; }
.hero p { font-size: 20px; color: var(--muted); max-width: 640px; margin: 0 auto 32px; }
.actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
section { padding: 64px 0; }
section.alt { background: var(--surface); }
h2 { font-size: 32px; margin: 0 0 8px; text-align: center; }
.lead { text-align: center; color: var(--muted); margin: 0 auto 40px; max-width: 620px; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card { background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 24px; }
section:not(.alt) .card { background: var(--surface); }
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p, .card li { color: var(--muted); margin: 0; }
.card ul { margin: 0; padding-left: 18px; }
.step { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
        background: var(--primary-soft); color: var(--primary); font-weight: 700; margin-bottom: 12px; }
.team { text-align: center; }
.team img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; margin-bottom: 14px;
            border: 4px solid var(--primary-soft); }
.cta { text-align: center; }
footer { border-top: 1px solid var(--border); padding: 28px 0; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
footer .links { display: flex; gap: 18px; flex-wrap: wrap; }

/* Text pages: privacy, terms, delete account, 404 */
.doc { max-width: 760px; padding-top: 48px; padding-bottom: 64px; }
.doc h1 { font-size: clamp(30px, 5vw, 40px); line-height: 1.15; margin: 0 0 6px; }
.doc .updated { color: var(--muted); margin: 0 0 32px; }
.doc h2 { text-align: left; font-size: 22px; margin: 36px 0 8px; }
.doc p, .doc li { color: var(--text); }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0 16px; }
.doc th, .doc td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
.doc .note { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; }
.table-scroll { overflow-x: auto; }
