:root {
  color-scheme: dark;
  --ink: #f4f8fb;
  --muted: #9eb0c1;
  --faint: #708397;
  --navy-950: #050b13;
  --navy-900: #07111f;
  --navy-850: #0a1726;
  --line: rgba(174, 203, 225, 0.14);
  --line-strong: rgba(174, 203, 225, 0.24);
  --cyan: #54d5e8;
  --max: 920px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 72% -10%, rgba(84, 213, 232, 0.1), transparent 32rem),
    var(--navy-950);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

header {
  border-bottom: 1px solid var(--line);
  background: rgba(5, 11, 19, 0.82);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 1.08rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(84, 213, 232, 0.42);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(84, 213, 232, 0.2), rgba(84, 213, 232, 0.04));
  color: var(--cyan);
  font-size: 0.86rem;
  letter-spacing: -0.08em;
}

.back-link {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

.back-link:hover,
.back-link:focus-visible,
.legal-contact a:hover,
.legal-contact a:focus-visible,
footer a:hover,
footer a:focus-visible {
  color: var(--cyan);
}

.back-link:focus-visible,
.legal-contact a:focus-visible,
footer a:focus-visible {
  outline: 3px solid rgba(84, 213, 232, 0.35);
  outline-offset: 4px;
}

main {
  padding: clamp(68px, 10vw, 112px) 0 110px;
}

.eyebrow {
  display: block;
  margin-bottom: 13px;
  color: var(--cyan);
  font-size: 0.77rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.65rem, 7vw, 5rem);
  line-height: 1;
  letter-spacing: -0.058em;
}

.intro {
  max-width: 680px;
  margin-bottom: 56px;
  color: var(--muted);
  font-size: 1.08rem;
}

.legal-card {
  padding: clamp(26px, 5vw, 46px);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(13, 29, 47, 0.78), rgba(7, 17, 31, 0.62));
}

.legal-section + .legal-section {
  margin-top: 42px;
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

h2 {
  margin-bottom: 13px;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.legal-section h3 {
  margin: 28px 0 8px;
  font-size: 1.03rem;
  letter-spacing: -0.01em;
}

.legal-section p:last-child,
.legal-section ul:last-child {
  margin-bottom: 0;
}

.legal-section p,
.legal-section li {
  color: var(--muted);
}

.legal-section ul {
  padding-left: 1.2rem;
}

.legal-contact {
  margin: 0;
  color: var(--muted);
  font-style: normal;
}

.legal-contact strong {
  color: var(--ink);
}

.legal-contact a,
.provider-link {
  color: var(--cyan);
  text-decoration: underline;
  text-decoration-color: rgba(84, 213, 232, 0.35);
  text-underline-offset: 4px;
}

.note {
  margin-top: 24px;
  padding: 17px 19px;
  border-left: 3px solid var(--cyan);
  border-radius: 0 10px 10px 0;
  background: rgba(84, 213, 232, 0.07);
  color: var(--muted);
}

.updated {
  margin-top: 34px;
  color: var(--faint);
  font-size: 0.84rem;
}

footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--faint);
  font-size: 0.84rem;
}

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

@media (max-width: 620px) {
  .shell {
    width: min(calc(100% - 28px), var(--max));
  }

  .nav {
    min-height: 66px;
  }

  .back-link span {
    display: none;
  }

  main {
    padding-top: 58px;
  }

  .legal-card {
    padding: 26px 20px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 24px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
