:root {
  color-scheme: dark;
  --background: #070a12;
  --surface: rgba(20, 25, 43, 0.82);
  --surface-strong: #171d31;
  --text: #f6f7fb;
  --muted: #b3bad1;
  --accent: #8f7cff;
  --accent-2: #5ee7d5;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 16% -10%, rgba(143, 124, 255, 0.28), transparent 34rem),
    radial-gradient(circle at 90% 8%, rgba(94, 231, 213, 0.15), transparent 28rem),
    var(--background);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: #c8c0ff; }
a:hover { color: #d8d2ff; }

a:focus-visible,
button:focus-visible,
[tabindex="-1"]:focus-visible {
  outline: 3px solid var(--accent-2);
  outline-offset: 4px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--text);
  color: var(--background);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus { transform: translateY(0); }

.shell {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
}

.brand {
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

nav { display: flex; gap: 12px; flex-wrap: wrap; }
nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 6px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 650;
}

nav a[aria-current="page"] { color: var(--text); }

main { padding: 48px 0 80px; }

.hero {
  padding: clamp(34px, 7vw, 72px);
  border: 1px solid var(--border);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(36, 42, 70, 0.9), rgba(14, 18, 32, 0.88));
  box-shadow: var(--shadow);
}

.eyebrow {
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.035em; }
h1 { margin: 12px 0 18px; font-size: clamp(2.5rem, 8vw, 5.2rem); }
h2 { margin-top: 2.2em; font-size: clamp(1.45rem, 4vw, 2rem); }
h3 { margin-top: 1.8em; }
p, li { color: var(--muted); }
.lead { max-width: 680px; font-size: clamp(1.08rem, 2.4vw, 1.28rem); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.card, .document {
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.card { padding: 26px; }
.card h2 { margin: 0 0 10px; font-size: 1.25rem; }

.document { padding: clamp(24px, 6vw, 58px); }
.document h1 { font-size: clamp(2rem, 6vw, 3.6rem); }
.document section + section { border-top: 1px solid var(--border); margin-top: 34px; padding-top: 6px; }

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  padding: 0 20px;
  border-radius: 15px;
  background: linear-gradient(135deg, #a99cff, var(--accent-2));
  color: #080b16;
  font-weight: 800;
  text-decoration: none;
}

.notice {
  margin: 24px 0;
  padding: 18px 20px;
  border-left: 3px solid var(--accent-2);
  border-radius: 0 14px 14px 0;
  background: rgba(94, 231, 213, 0.08);
}

footer {
  padding: 28px 0 48px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

footer a { color: inherit; }

@media (max-width: 620px) {
  header { align-items: flex-start; flex-direction: column; }
  main { padding-top: 24px; }
  .hero { border-radius: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .skip-link { transition: none; }
}

@media (forced-colors: active) {
  .hero, .card, .document { border: 1px solid CanvasText; }
  .button { border: 1px solid ButtonText; }
}

@media print {
  :root { color-scheme: light; }
  body { background: white; color: black; font-size: 11pt; }
  .shell { width: 100%; }
  header, footer { border-color: #bbb; }
  .hero, .card, .document, .notice {
    background: white;
    border: 1px solid #bbb;
    box-shadow: none;
  }
  p, li, .meta, footer { color: #222; }
  a { color: #111; text-decoration: underline; }
}
