:root {
  color-scheme: dark;
  --page: #07100e;
  --surface: #0d1d19;
  --surface-raised: #122820;
  --text: #f6fff9;
  --muted: #b7c9c0;
  --line: #29453b;
  --green: #78f6ba;
  --blue: #58adff;
  --focus: #ffdc72;
  --content: 72rem;
  --reading: 47rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page);
  scroll-behavior: smooth;
}

body {
  min-width: 20rem;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 16% 0%, rgb(38 141 104 / 18%), transparent 31rem),
    radial-gradient(circle at 92% 8%, rgb(22 143 255 / 12%), transparent 28rem),
    var(--page);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

main,
.hero,
.card,
.notice,
.document,
.error {
  min-width: 0;
}

a {
  color: var(--blue);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--green);
}

a:focus-visible,
summary:focus-visible {
  outline: 0.2rem solid var(--focus);
  outline-offset: 0.25rem;
  border-radius: 0.2rem;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  color: #07100e;
  background: var(--focus);
  border-radius: 0.5rem;
  font-weight: 800;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.site-footer,
main {
  width: min(calc(100% - 2rem), var(--content));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 850;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand img {
  width: 2.5rem;
  height: 2.5rem;
}

.site-nav ul,
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: var(--muted);
  font-weight: 700;
}

.site-nav a[aria-current="page"] {
  color: var(--green);
}

main {
  min-height: 65vh;
  padding-block: clamp(3rem, 7vw, 6.5rem);
}

.hero {
  display: grid;
  max-width: 64rem;
  gap: 1.2rem;
}

.eyebrow {
  margin: 0;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  max-width: 24ch;
  margin-block: 0;
  line-height: 1.13;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}

h1 {
  font-size: clamp(2.7rem, 8vw, 6.5rem);
}

.document h1,
.error h1 {
  max-width: 18ch;
  font-size: clamp(2.3rem, 7vw, 4.8rem);
}

h2 {
  margin-top: 3.4rem;
  font-size: clamp(1.55rem, 4vw, 2.25rem);
}

h3 {
  margin-top: 1.8rem;
  font-size: 1.18rem;
}

.lede {
  max-width: 48rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.4rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.05rem;
  border: 1px solid var(--green);
  border-radius: 999px;
  color: #07100e;
  background: var(--green);
  font-weight: 850;
  text-decoration: none;
  text-align: center;
}

.button.secondary {
  color: var(--text);
  background: transparent;
  border-color: var(--line);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(3.5rem, 8vw, 7rem);
}

.card,
.notice {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: linear-gradient(145deg, rgb(18 40 32 / 96%), rgb(10 24 20 / 96%));
}

.card h2 {
  margin-top: 0;
  font-size: 1.45rem;
}

.card p:last-child,
.notice p:last-child {
  margin-bottom: 0;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--line);
}

.trust-strip p {
  margin: 0;
  padding: 1.15rem;
  color: var(--muted);
  background: var(--surface);
}

.trust-strip strong {
  display: block;
  color: var(--text);
}

.document,
.error {
  max-width: var(--reading);
}

.document-header {
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}

.effective-date {
  margin-top: 1rem;
  color: var(--muted);
}

.document p,
.document li {
  color: #d5e3dc;
}

.document strong {
  color: var(--text);
}

.document ul,
.document ol {
  padding-left: 1.35rem;
}

.document li + li {
  margin-top: 0.55rem;
}

.notice {
  margin-block: 2rem;
  border-color: #3a6c5a;
}

.notice h2,
.notice h3 {
  margin-top: 0;
}

.fine-print {
  color: var(--muted);
  font-size: 0.92rem;
}

details {
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
}

summary {
  min-height: 2.75rem;
  cursor: pointer;
  color: var(--text);
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem 2rem;
  padding-block: 2rem 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--muted);
}

@media (max-width: 52rem) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 34rem) {
  .site-header,
  .site-footer,
  main {
    width: min(calc(100% - 1.25rem), var(--content));
  }

  .site-nav ul {
    gap: 0 0.8rem;
  }

  .site-nav a {
    font-size: 0.92rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}

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

@media (forced-colors: active) {
  .button,
  .card,
  .notice,
  .trust-strip {
    border: 1px solid CanvasText;
  }
}
