:root {
  color-scheme: dark;
  --bg: #050505;
  --surface: #0b0b0b;
  --surface-raised: #101010;
  --text: #f5f5f5;
  --muted: #9a9a9a;
  --quiet: #666;
  --line: #242424;
  --line-strong: #383838;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  background: rgba(5, 5, 5, .86);
  backdrop-filter: blur(16px);
}

.topbar__inner {
  width: min(1120px, calc(100% - 40px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: .12em;
  text-decoration: none;
}

.brand__mark {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border: 1px solid #fff;
  border-radius: 8px;
  font-size: 12px;
  letter-spacing: 0;
}

.nav { display: flex; align-items: center; gap: 8px; }

.nav a {
  padding: 8px 11px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
  transition: color .2s ease, background .2s ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: var(--surface-raised);
  color: #fff;
}

.legal {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: 80px 0 56px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero {
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line-strong);
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(38px, 7vw, 68px);
  font-weight: 650;
  letter-spacing: -.055em;
  line-height: 1.02;
}

.lead {
  max-width: 650px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2.5vw, 20px);
  line-height: 1.55;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 22px;
  margin-top: 28px;
  color: var(--quiet);
  font-size: 13px;
}

.content { counter-reset: section; }

.content section {
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}

h2 {
  position: relative;
  margin: 0 0 20px;
  padding-left: 44px;
  color: #fff;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.35;
}

h2::before {
  counter-increment: section;
  content: counter(section, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: .18em;
  color: var(--quiet);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}

p { margin: 13px 0 0; color: #b8b8b8; }

ul {
  margin: 17px 0 0;
  padding: 0;
  list-style: none;
}

li {
  position: relative;
  margin-top: 10px;
  padding-left: 22px;
  color: #b8b8b8;
}

li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: .78em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
}

.contact-card {
  margin-top: 20px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface);
}

.contact-card p { margin: 0; }

.button {
  flex: 0 0 auto;
  padding: 10px 15px;
  border-radius: 10px;
  background: #fff;
  color: #000;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.footer {
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--quiet);
  font-size: 13px;
}

.footer__links { display: flex; gap: 18px; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: #fff; }

@media (max-width: 680px) {
  .topbar__inner,
  .legal { width: min(100% - 28px, 820px); }
  .topbar__inner { min-height: 60px; }
  .nav a:not([aria-current="page"]) { display: none; }
  .legal { padding-top: 52px; }
  .hero { padding-bottom: 34px; }
  .content section { padding: 36px 0; }
  h2 { padding-left: 36px; font-size: 19px; }
  .contact-card { align-items: flex-start; flex-direction: column; }
  .footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
