:root {
  color-scheme: dark;
  --bg: #07111f;
  --panel: #0f1d30;
  --panel-2: #12243a;
  --text: #f4f7fb;
  --muted: #aab6c7;
  --accent: #59d9c2;
  --line: rgba(255,255,255,.12);
  --max: 920px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 10%, rgba(89,217,194,.13), transparent 30rem),
    radial-gradient(circle at 88% 36%, rgba(72,119,255,.12), transparent 34rem),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
}
a { color: var(--text); text-decoration-color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
.site-header {
  width: min(calc(100% - 40px), 1120px);
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; text-decoration: none; }
.mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--accent);
  color: #06131a;
  font-weight: 950;
}
nav { display: flex; flex-wrap: wrap; gap: 18px; }
nav a { color: var(--muted); font-size: 14px; text-decoration: none; }
nav a:hover { color: var(--text); }
main {
  width: min(calc(100% - 40px), var(--max));
  margin: 54px auto 72px;
  padding: clamp(28px, 6vw, 62px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(15,29,48,.96), rgba(9,20,35,.92));
  box-shadow: 0 28px 80px rgba(0,0,0,.32);
}
.eyebrow { color: var(--accent); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1 { margin: 14px 0 28px; font-size: clamp(38px, 7vw, 68px); line-height: 1.02; letter-spacing: -.045em; }
h2 { margin: 46px 0 14px; font-size: clamp(25px, 4vw, 34px); line-height: 1.2; letter-spacing: -.025em; }
h3 { margin: 32px 0 10px; font-size: 21px; }
p { margin: 0 0 18px; color: var(--muted); font-size: 17px; }
strong { color: var(--text); }
ul, ol { margin: 0 0 24px; padding-left: 24px; color: var(--muted); }
li { margin: 8px 0; padding-left: 4px; }
article > p:first-of-type { font-size: clamp(19px, 2.7vw, 23px); color: #d3dbe7; }
footer {
  width: min(calc(100% - 40px), 1120px);
  margin: 0 auto;
  padding: 26px 0 40px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 24px;
  color: var(--muted);
  font-size: 14px;
}
footer nav { grid-column: 1 / -1; }
@media (max-width: 720px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .site-header nav { gap: 12px 18px; }
  main { margin-top: 28px; padding: 26px 22px; border-radius: 20px; }
  footer { grid-template-columns: 1fr; }
  footer nav { grid-column: auto; }
}
