:root {
  --bg: #090d13;
  --bg-2: #0e141d;
  --panel: #111926;
  --line: #1e2a3a;
  --line-strong: #2b3b50;
  --text: #e7edf5;
  --text-muted: #8ea0b6;
  --accent: #3fa9e0;
  --accent-dim: #2b6f95;
  --danger: #e0574a;
  --maxw: 760px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(63, 169, 224, 0.10), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* Header */
header.site {
  border-bottom: 1px solid var(--line);
  background: rgba(9, 13, 19, 0.85);
  backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 10;
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.wordmark {
  font-weight: 800;
  letter-spacing: 0.14em;
  font-size: 20px;
  color: var(--text);
}
.wordmark .mind { color: var(--accent); }
nav.top a { color: var(--text-muted); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; margin-left: 20px; }
nav.top a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero { padding: 88px 0 64px; text-align: center; }
.hero .big {
  font-weight: 800; letter-spacing: 0.12em; font-size: clamp(40px, 9vw, 76px);
  margin: 0 0 8px; line-height: 1.02;
}
.hero .big .mind { color: var(--accent); }
.hero .tag { color: var(--text-muted); font-size: clamp(15px, 2.6vw, 19px); max-width: 540px; margin: 0 auto 30px; }
.badges { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.badge {
  border: 1px solid var(--line-strong); border-radius: 10px; padding: 12px 20px;
  color: var(--text-muted); font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase;
}

/* Feature cards */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; padding: 20px 0 70px; }
.card {
  position: relative; border: 1px solid var(--line); border-radius: 12px; padding: 18px 18px 20px;
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
}
.card::before {
  content: ""; position: absolute; left: 14px; top: 14px; width: 3px; height: 16px;
  background: var(--accent); border-radius: 2px;
}
.card h3 { margin: 0 0 6px 14px; font-size: 15px; letter-spacing: 0.03em; }
.card p { margin: 0 0 0 14px; color: var(--text-muted); font-size: 14px; }

/* Legal / content pages */
main.doc { padding: 46px 0 80px; }
main.doc h1 { font-size: clamp(28px, 6vw, 40px); letter-spacing: 0.04em; margin: 0 0 6px; }
main.doc .updated { color: var(--text-muted); font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 34px; }
main.doc h2 {
  font-size: 19px; letter-spacing: 0.02em; margin: 38px 0 10px; padding-top: 6px;
  border-top: 1px solid var(--line);
}
main.doc h2:first-of-type { border-top: none; }
main.doc p, main.doc li { color: #cdd8e6; font-size: 15.5px; }
main.doc ul { padding-left: 20px; }
main.doc li { margin-bottom: 7px; }
main.doc .lead { color: var(--text-muted); font-size: 16px; }
.callout {
  border: 1px solid var(--line-strong); border-left: 3px solid var(--accent);
  border-radius: 8px; padding: 14px 18px; margin: 18px 0; background: var(--panel);
}
.callout.danger { border-left-color: var(--danger); }
.callout p { margin: 0; }
code.inline { background: #0c1420; border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; font-size: 13px; color: var(--accent); }

/* Footer */
footer.site { border-top: 1px solid var(--line); padding: 30px 0 50px; color: var(--text-muted); font-size: 13px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; justify-content: space-between; }
footer.site nav a { color: var(--text-muted); margin-right: 18px; }
footer.site nav a:hover { color: var(--text); text-decoration: none; }
footer.site .disclaimer { width: 100%; margin-top: 16px; font-size: 12px; line-height: 1.6; color: #6b7c92; }
