:root {
  color-scheme: dark;
  --bg: #08060c;
  --bg-soft: #12101a;
  --surface: rgba(28, 25, 34, 0.78);
  --surface-strong: #1c1922;
  --border: rgba(255, 255, 255, 0.12);
  --text: #f4f1f7;
  --muted: #b7b0c0;
  --green: #245639;
  --green-bright: #98af70;
  --purple: #8e6ac7;
  --purple-dark: #402b5f;
  --gold: #e7c952;
  --danger: #dc655f;
  font-family: "Work Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 80% 10%, rgba(142, 106, 199, 0.22), transparent 28rem),
    linear-gradient(145deg, #0b0612 0%, #10131b 42%, #123625 100%);
  color: var(--text);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  background: rgba(8, 6, 12, 0.76);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: Sora, Inter, sans-serif;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

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

.hero,
.content {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: 54px;
  align-items: center;
  padding: 74px 0 48px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-family: Sora, Inter, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Sora, Inter, sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(46px, 7vw, 82px);
  line-height: 1.02;
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
}

h3 {
  font-size: 20px;
}

.lead {
  max-width: 700px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  border: 0;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: #fff;
}

.hero-media {
  justify-self: center;
  width: min(100%, 390px);
}

.hero-media img {
  display: block;
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
}

.section {
  padding: 54px 0;
}

.section-heading {
  max-width: 760px;
}

.section-heading p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.55;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.feature-card,
.policy-card {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.feature-card p,
.policy-card p,
.policy-card li {
  color: var(--muted);
  font-weight: 600;
  line-height: 1.58;
}

.feature-card p {
  margin: 10px 0 0;
}

.policy-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 34px;
  padding: 52px 0 70px;
}

.side-nav {
  position: sticky;
  top: 90px;
  align-self: start;
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(28, 25, 34, 0.62);
}

.side-nav a {
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}

.side-nav a:hover {
  color: var(--text);
}

.policy-stack {
  display: grid;
  gap: 16px;
}

.policy-card h2 {
  margin-bottom: 12px;
  font-size: 28px;
}

.policy-card ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  background: rgba(8, 6, 12, 0.55);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0;
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 820px) {
  .hero,
  .policy-layout,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 44px;
  }

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

  .side-nav {
    position: static;
  }

  .nav {
    align-items: flex-start;
    gap: 12px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

@media (max-width: 520px) {
  .nav,
  .hero,
  .content,
  .footer-inner {
    width: min(100% - 28px, 1120px);
  }

  .nav {
    flex-direction: column;
  }

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

  h1 {
    font-size: 42px;
  }

  .footer-inner {
    flex-direction: column;
  }
}
