:root {
  color-scheme: light dark;
  --background: #07090f;
  --surface: rgba(28, 31, 42, 0.82);
  --surface-strong: #1d2130;
  --text: #f8f8fb;
  --muted: #a5a8b4;
  --line: rgba(255, 255, 255, 0.11);
  --accent: #5368e7;
  --gold: #f3b52d;
  --red: #d8403a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 0%, rgba(243, 181, 45, 0.16), transparent 32rem),
    radial-gradient(circle at 90% 3%, rgba(90, 164, 255, 0.18), transparent 36rem),
    var(--background);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 720;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  color: #1a1202;
  background: linear-gradient(145deg, #ffd66a, #e8a613);
  box-shadow: 0 8px 24px rgba(243, 181, 45, 0.18);
  font-weight: 850;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

.nav a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

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

main {
  padding: 44px 0 84px;
}

.hero {
  padding: clamp(34px, 7vw, 76px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 38px;
  background: linear-gradient(145deg, rgba(34, 38, 53, 0.93), rgba(19, 22, 31, 0.9));
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(42px, 8vw, 76px);
}

h2 {
  margin-bottom: 18px;
  font-size: 27px;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.lead {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2.5vw, 22px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 16px;
  background: var(--accent);
  color: white;
  font-weight: 680;
  text-decoration: none;
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.card,
.document {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.card {
  min-height: 190px;
  padding: 28px;
  border-radius: 26px;
}

.card p,
.document p,
.document li {
  color: var(--muted);
}

.card a {
  color: #8393ff;
  font-weight: 650;
}

.document {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(28px, 6vw, 64px);
  border-radius: 34px;
}

.document h1 {
  margin-bottom: 10px;
  font-size: clamp(38px, 7vw, 62px);
}

.document h2 {
  margin-top: 42px;
}

.document h3 {
  margin-top: 28px;
}

.updated {
  margin: 0 0 36px;
  color: var(--muted);
  font-size: 14px;
}

.callout {
  margin: 28px 0;
  padding: 20px 22px;
  border-left: 4px solid var(--gold);
  border-radius: 4px 18px 18px 4px;
  background: rgba(243, 181, 45, 0.08);
}

.callout p {
  margin: 0;
  color: var(--text);
}

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

.contact-card p {
  margin: 4px 0 0;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer a {
  text-decoration: none;
}

@media (prefers-color-scheme: light) {
  :root {
    --background: #eef6fb;
    --surface: rgba(255, 255, 255, 0.78);
    --surface-strong: rgba(255, 255, 255, 0.92);
    --text: #121522;
    --muted: #5f6573;
    --line: rgba(28, 38, 62, 0.11);
    --shadow: 0 22px 60px rgba(54, 76, 108, 0.12);
  }

  body {
    background:
      radial-gradient(circle at 10% 0%, rgba(245, 197, 83, 0.46), transparent 34rem),
      radial-gradient(circle at 92% 0%, rgba(113, 190, 246, 0.42), transparent 38rem),
      var(--background);
  }

  .hero {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(244, 249, 255, 0.82));
  }

  .card a {
    color: #334cc7;
  }
}

@media (max-width: 680px) {
  .site-header,
  .footer,
  .contact-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  main {
    padding-top: 24px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .document {
    border-radius: 28px;
  }
}
