:root {
  --purple: #6a35ff;
  --deep-purple: #35166f;
  --orange: #ff8a3d;
  --gold: #ffc15e;
  --ink: #171321;
  --muted: #655d75;
  --surface: #ffffff;
  --soft: #f8f4ff;
  --border: rgba(106, 53, 255, 0.16);
  --shadow: 0 24px 80px rgba(53, 22, 111, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.7;
  background:
    radial-gradient(circle at top left, rgba(255, 138, 61, 0.18), transparent 34rem),
    radial-gradient(circle at top right, rgba(106, 53, 255, 0.2), transparent 32rem),
    linear-gradient(180deg, #fffaff 0%, #f8f4ff 48%, #ffffff 100%);
}

a {
  color: var(--purple);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  color: #fff;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--purple), var(--orange));
  box-shadow: 0 14px 28px rgba(106, 53, 255, 0.25);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.nav-links a {
  padding: 0.65rem 0.9rem;
  color: var(--deep-purple);
  font-size: 0.95rem;
  font-weight: 800;
  border-radius: 999px;
}

.nav-links a[aria-current="page"],
.nav-links a:hover {
  color: #fff;
  text-decoration: none;
  background: var(--deep-purple);
}

.hero {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 4.5rem 0 3rem;
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4rem);
  color: #fff;
  border-radius: 36px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 193, 94, 0.34), transparent 16rem),
    linear-gradient(135deg, var(--purple), var(--deep-purple) 62%, var(--orange));
  box-shadow: var(--shadow);
}

.hero-card::after {
  position: absolute;
  right: -5rem;
  bottom: -7rem;
  width: 22rem;
  height: 22rem;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.eyebrow {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  padding: 0.4rem 0.75rem;
  margin: 0 0 1rem;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.6rem, 8vw, 5.8rem);
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
}

.hero-card p {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 1.2rem 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.hero-actions,
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.8rem 1.15rem;
  color: #fff;
  font-weight: 900;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 14px 26px rgba(255, 138, 61, 0.25);
}

.button.secondary {
  color: var(--deep-purple);
  background: #fff;
}

.button:hover,
.button:focus {
  text-decoration: none;
  transform: translateY(-1px);
}

.pill {
  display: inline-flex;
  padding: 0.55rem 0.8rem;
  color: var(--deep-purple);
  font-size: 0.92rem;
  font-weight: 900;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 2rem 0;
}

.section-intro {
  max-width: 760px;
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.policy-section {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 36px rgba(53, 22, 111, 0.08);
}

.card strong,
.policy-section h2 {
  color: var(--deep-purple);
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.toc {
  position: sticky;
  top: 92px;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
}

.toc h2 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.toc a {
  display: block;
  padding: 0.35rem 0;
  color: var(--muted);
  font-weight: 750;
}

.policy-section {
  margin-bottom: 1rem;
}

.policy-section p {
  margin: 0.75rem 0 0;
}

.last-updated {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  padding: 0.8rem 1rem;
  margin-top: 1.25rem;
  color: var(--deep-purple);
  font-weight: 900;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
}

.footer {
  margin-top: 3rem;
  color: rgba(255, 255, 255, 0.78);
  background: var(--deep-purple);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 2rem 0;
}

.footer a {
  color: #fff;
  font-weight: 800;
}

@media (max-width: 820px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .grid,
  .grid.two,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
  }
}

@media (max-width: 520px) {
  .hero {
    padding-top: 2rem;
  }

  .hero-card {
    border-radius: 28px;
  }

  .nav-links a {
    padding: 0.5rem 0.7rem;
  }
}
