:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  background: #fff;
  color: #05070d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }

a {
  color: inherit;
}

.page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 72px;
}

.topbar {
  position: sticky;
  top: max(10px, env(safe-area-inset-top));
  z-index: 50;
  isolation: isolate;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 0;
  margin-bottom: clamp(28px, 6vw, 64px);
}

.topbar::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -12px -18px -18px;
  background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.98) 65%, transparent 100%);
  pointer-events: none;
}

.topbar-links,
.topbar-actions { display: flex; align-items: center; }

.topbar-links { display: none; }

.topbar-links a,
.static-menu-panel a {
  color: #282d3a;
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: none;
}

.topbar-links a {
  border-radius: 999px;
  padding: 10px 12px;
  white-space: nowrap;
}

.topbar-links a:hover,
.static-menu-panel a:hover { background: #edf2ff; color: #1246e2; }

.topbar-actions {
  justify-self: end;
  gap: 6px;
  border: 1px solid rgba(5, 7, 13, 0.06);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 38px -32px rgba(5, 7, 13, 0.36);
  padding: 4px;
  backdrop-filter: blur(18px);
}
.static-menu { display: block; position: relative; }

.legal-topbar { display: flex; justify-content: space-between; }
.legal-topbar .topbar-links { display: none; }
.legal-topbar .static-menu { display: block; }
.legal-language {
  border: 1px solid rgba(5, 7, 13, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  padding: 12px 16px;
  color: #282d3a;
  font-size: 0.82rem;
  text-decoration: none;
}

.static-menu summary {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(5, 7, 13, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  padding: 0 14px;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.static-menu summary::-webkit-details-marker { display: none; }
.static-menu[open] summary span { display: none; }
.static-menu[open] summary::after { content: "×"; font-size: 1.2rem; line-height: 0.7; }

.static-menu-panel {
  position: absolute;
  z-index: 20;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  width: min(320px, calc(100vw - 32px));
  gap: 2px;
  border: 1px solid rgba(5, 7, 13, 0.1);
  border-radius: 20px;
  background: #fff;
  padding: 8px;
  box-shadow: 0 24px 56px -30px rgba(5, 7, 13, 0.42);
}

.static-menu-panel a { border-radius: 12px; padding: 12px 14px; font-size: 0.93rem; }

.topbar a:focus-visible,
.static-menu summary:focus-visible { outline: 2px solid #1246e2; outline-offset: 3px; }

.brand,
.back-link,
.pill {
  border: 1px solid rgba(5, 7, 13, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 60px -42px rgba(5, 7, 13, 0.46);
}

.brand {
  justify-self: start;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding: 0 16px;
  font-weight: 950;
  letter-spacing: 0.25em;
  text-decoration: none;
  color: #05070d;
}

.back-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 16px;
  color: rgba(5, 7, 13, 0.72);
  font-weight: 800;
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: end;
}

.eyebrow {
  color: #0e2ac5;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1 {
  margin: 18px 0 0;
  max-width: 820px;
  font-size: clamp(3rem, 5.4vw, 4.7rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.028em;
}

.lead {
  margin: 24px 0 0;
  max-width: 680px;
  color: #454545;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.56;
}

.hero-card,
.section-card,
.faq-item {
  border: 1px solid rgba(5, 7, 13, 0.08);
  background: #f8f9fb;
  box-shadow: 0 18px 42px -38px rgba(5, 7, 13, 0.26);
}

.hero-card {
  border-radius: 32px;
  padding: clamp(22px, 4vw, 36px);
}

.hero-card strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 14px;
}

.hero-card ul,
.section-card ul {
  margin: 0;
  padding-left: 1.15rem;
}

.hero-card li,
.section-card li {
  margin: 0.55rem 0;
  color: rgba(5, 7, 13, 0.66);
  line-height: 1.45;
}

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

.cta {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  background: #05070d;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.ghost {
  background: rgba(255, 255, 255, 0.72);
  color: #05070d;
  border: 1px solid rgba(5, 7, 13, 0.1);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(44px, 7vw, 84px);
}

.section-card {
  border-radius: 28px;
  padding: clamp(22px, 3vw, 32px);
}

.section-card h2,
.faq h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
}

.section-card p,
.faq-item p {
  color: rgba(5, 7, 13, 0.66);
  line-height: 1.62;
}

.wide {
  grid-column: span 2;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pill {
  padding: 10px 14px;
  color: rgba(5, 7, 13, 0.68);
  font-size: 0.9rem;
  font-weight: 800;
}

.faq {
  margin-top: clamp(44px, 7vw, 84px);
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.faq-item {
  border-radius: 22px;
  padding: 22px;
}

.faq-item h3 {
  margin: 0;
  font-size: 1.08rem;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  margin-top: 54px;
  padding-top: 24px;
  border-top: 1px solid rgba(5, 7, 13, 0.1);
  color: rgba(5, 7, 13, 0.58);
  font-weight: 700;
}

@media (max-width: 1100px) {
  .topbar { gap: 12px; }
}

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

  .wide {
    grid-column: auto;
  }

}

@media (max-width: 520px) {
  .page {
    width: min(100% - 24px, 1120px);
    padding-top: 22px;
  }

  h1 {
    font-size: clamp(2.45rem, 10vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
  }

  .topbar-actions .back-link { display: none; }
  .legal-language { padding: 12px; }

  .topbar {
    gap: 8px;
    border: 1px solid rgba(5, 7, 13, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 1px 2px rgba(5, 7, 13, 0.04), 0 14px 32px -20px rgba(5, 7, 13, 0.38);
    padding: 5px 6px;
  }
  .topbar::before { content: none; }
  .brand {
    min-height: 44px;
    border: 0;
    background: none;
    box-shadow: none;
    padding: 0 10px;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
  }
  .topbar-actions { border: 0; background: none; box-shadow: none; padding: 0; backdrop-filter: none; }
  .static-menu summary {
    min-width: 90px;
    min-height: 44px;
    justify-content: center;
    padding: 0 12px;
    font-size: 0.82rem;
  }
  .static-menu summary span { font-size: 1.1rem; }

  .legal-topbar .topbar-actions { gap: 4px; }
  .legal-language { padding: 11px 9px; font-size: 0.75rem; }

  .actions {
    display: grid;
  }

  .cta {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .legal-topbar .static-menu summary {
    min-width: 44px;
    width: 44px;
    justify-content: center;
    padding: 0;
    font-size: 0;
  }

  .legal-topbar .static-menu summary span { font-size: 1.1rem; }
}
