:root {
  color-scheme: dark;
  --bg: #08090a;
  --panel: #0f1012;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-hover: rgba(255, 255, 255, 0.055);
  --border: rgba(255, 255, 255, 0.085);
  --border-soft: rgba(255, 255, 255, 0.05);
  --text: #f7f8f8;
  --body: #c8cdd5;
  --muted: #8a8f98;
  --accent: #ff4655;
  --accent-soft: rgba(255, 70, 85, 0.12);
  --green: #3ddc97;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% -15%, rgba(255, 70, 85, 0.12), transparent 34%),
    linear-gradient(180deg, #0b0c0e 0, var(--bg) 32%);
  color: var(--text);
  font: 16px/1.65 Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "cv01", "ss03";
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 5px; }

.shell { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border-soft);
  background: rgba(8, 9, 10, 0.86);
  backdrop-filter: blur(18px);
}
.nav { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 620; letter-spacing: -0.02em; }
.brand img { width: 27px; height: 27px; }
.nav-links { display: flex; align-items: center; gap: 7px; }
.nav-links a {
  padding: 8px 11px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 510;
  border-radius: 7px;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: var(--surface); }

.hero { padding: 124px 0 92px; text-align: center; }
.eyebrow, .status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 11px;
  color: var(--body);
  background: rgba(255,255,255,.025);
  font: 510 12px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .02em;
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 14px var(--green); }
h1 { max-width: 900px; margin: 24px auto 22px; font-size: clamp(48px, 8vw, 84px); line-height: .98; letter-spacing: -.058em; font-weight: 560; }
.hero p { max-width: 690px; margin: 0 auto; color: var(--muted); font-size: clamp(17px, 2.1vw, 20px); line-height: 1.65; }
.actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 11px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 17px; border: 1px solid var(--border); border-radius: 8px; color: var(--text); background: var(--surface); text-decoration: none; font-size: 14px; font-weight: 570; }
.button:hover { background: var(--surface-hover); }
.button.primary { border-color: rgba(255,70,85,.5); background: var(--accent); color: #fff; box-shadow: 0 10px 32px rgba(255,70,85,.18); }

.section { padding: 34px 0 96px; }
.section-head { max-width: 690px; margin-bottom: 30px; }
.section-head h2 { margin: 0 0 12px; font-size: clamp(30px, 5vw, 48px); line-height: 1.05; letter-spacing: -.04em; font-weight: 540; }
.section-head p { margin: 0; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card { min-height: 220px; padding: 27px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.card .number { display: block; color: var(--accent); font: 520 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.card h3 { margin: 38px 0 8px; font-size: 19px; letter-spacing: -.02em; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.legal-shell { width: min(820px, calc(100% - 40px)); margin: 0 auto; padding: 80px 0 110px; }
.legal-header { padding-bottom: 34px; border-bottom: 1px solid var(--border); }
.legal-header h1 { margin: 18px 0 12px; font-size: clamp(42px, 7vw, 66px); text-align: left; }
.legal-header p { margin: 0; color: var(--muted); }
.legal { padding-top: 16px; }
.legal h2 { margin: 44px 0 13px; padding-top: 30px; border-top: 1px solid var(--border-soft); font-size: 23px; letter-spacing: -.025em; }
.legal h2 span { color: var(--accent); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; margin-right: 5px; }
.legal p, .legal li { color: var(--body); }
.legal p { margin: 12px 0; }
.legal ul { margin: 13px 0 20px; padding-left: 23px; }
.legal li { margin: 8px 0; }
.legal code { color: #fff; background: var(--surface-hover); border: 1px solid var(--border); padding: 2px 5px; border-radius: 5px; }
.link-list { display: grid; gap: 11px; margin-top: 30px; }
.link-card { display: flex; justify-content: space-between; gap: 20px; padding: 19px 20px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); text-decoration: none; }
.link-card:hover { background: var(--surface-hover); }
.link-card span { color: var(--muted); }

.site-footer { border-top: 1px solid var(--border-soft); padding: 32px 0 46px; color: var(--muted); font-size: 13px; }
.footer-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--text); }

@media (max-width: 760px) {
  .shell, .legal-shell { width: min(100% - 28px, var(--max)); }
  .nav { min-height: 62px; align-items: flex-start; padding: 15px 0; }
  .nav-links { justify-content: flex-end; flex-wrap: wrap; }
  .nav-links a { padding: 5px 7px; font-size: 12px; }
  .hero { padding: 84px 0 68px; }
  .grid { grid-template-columns: 1fr; }
  .card { min-height: 180px; }
  .legal-shell { padding: 56px 0 78px; }
  .footer-row { flex-direction: column; }
}
