:root {
  color-scheme: dark;
  --ink: #f8f7ff;
  --muted: #b8b4d0;
  --panel: rgba(35, 29, 85, 0.88);
  --line: rgba(143, 128, 255, 0.38);
  --teal: #5ce4d5;
  --violet: #8d70ff;
  --gold: #ffc956;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Inter, ui-rounded, "Segoe UI", system-ui, sans-serif;
  background:
    radial-gradient(circle at 15% 10%, rgba(77, 219, 211, .17), transparent 27rem),
    radial-gradient(circle at 90% 30%, rgba(134, 76, 255, .28), transparent 32rem),
    linear-gradient(145deg, #080624, #171047 56%, #0c092b);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}

a { color: var(--teal); }
.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: .9rem max(1rem, calc((100vw - 920px) / 2));
  background: rgba(8, 6, 36, .82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.brand { color: white; text-decoration: none; font-weight: 900; letter-spacing: .13em; }
.languages { display: flex; gap: .4rem; }
.languages button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .45rem .72rem;
  color: var(--muted);
  background: rgba(255,255,255,.04);
  font-weight: 800;
  cursor: pointer;
}
.languages button.active { color: #151039; background: var(--teal); border-color: white; }

.policy-shell { width: min(920px, calc(100% - 2rem)); margin: 2.5rem auto 5rem; }
.policy-hero, article, .hero-card {
  position: relative;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 26px 70px rgba(0,0,0,.34), inset 0 1px rgba(255,255,255,.12);
}
.policy-hero { padding: 2.1rem 2.3rem; border-radius: 32px 32px 14px 14px; overflow: hidden; }
.policy-hero::after { content: ""; position: absolute; width: 250px; height: 250px; right: -80px; top: -120px; border-radius: 50%; background: rgba(92,228,213,.14); }
.eyebrow { color: var(--teal); font-size: .78rem; font-weight: 900; letter-spacing: .16em; }
h1 { margin: .3rem 0; font-size: clamp(2.4rem, 7vw, 4.7rem); line-height: .95; letter-spacing: -.045em; }
.updated { margin: 1rem 0 0; color: var(--muted); }
article { margin-top: .8rem; padding: clamp(1.25rem, 5vw, 3.25rem); border-radius: 14px 14px 32px 32px; }
article p, article li { color: #d8d5e9; line-height: 1.72; }
article li + li { margin-top: .65rem; }
h2 { margin: 2.2rem 0 .6rem; color: white; font-size: clamp(1.25rem, 4vw, 1.65rem); }
code { color: var(--gold); font-size: .9em; overflow-wrap: anywhere; }
.provider-links { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.1rem; justify-content: center; }
.provider-links a { padding: .55rem .9rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; }

.home { min-height: 100vh; display: grid; place-items: center; padding: 1.25rem; }
.hero-card { width: min(620px, 100%); padding: clamp(2rem, 8vw, 5rem); text-align: center; border-radius: 42px; overflow: hidden; }
.lead { color: var(--muted); font-size: 1.15rem; }
.primary { display: inline-block; margin-top: 1.4rem; padding: .9rem 1.35rem; color: #151039; background: linear-gradient(180deg, #75f1e3, #3bc9bc); border-radius: 16px; text-decoration: none; font-weight: 900; box-shadow: 0 7px 0 #187a73; }
.home-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem; }
.secondary { display: inline-block; margin-top: 1.4rem; padding: .9rem 1.35rem; color: var(--ink); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; font-weight: 900; background: rgba(255,255,255,.05); }
.pixel-mark { display: grid; grid-template-columns: repeat(2, 22px); gap: 5px; width: max-content; margin: 0 auto 1.6rem; transform: rotate(45deg); }
.pixel-mark span { width: 22px; height: 22px; border-radius: 6px; background: var(--violet); box-shadow: inset 0 2px rgba(255,255,255,.35); }
.pixel-mark span:nth-child(2), .pixel-mark span:nth-child(3) { background: var(--teal); }
.pixel-mark span:nth-child(4) { background: var(--gold); }
.pixel-mark.small { grid-template-columns: repeat(2, 12px); gap: 3px; margin: 0 0 1rem; }
.pixel-mark.small span { width: 12px; height: 12px; border-radius: 3px; }

@media (max-width: 620px) {
  .policy-shell { width: min(100% - 1rem, 920px); margin-top: .6rem; }
  .policy-hero { padding: 1.5rem 1.2rem; border-radius: 24px 24px 12px 12px; }
  article { padding: 1.25rem; border-radius: 12px 12px 24px 24px; }
  article ul { padding-left: 1.15rem; }
  .topbar { padding-inline: .75rem; }
  article .primary { width: 100%; text-align: center; }
}
