:root {
  color-scheme: dark;
  --canvas: #070b1f;
  --surface: #151c3d;
  --surface-strong: #202952;
  --text: #f7f1e8;
  --text-secondary: #c8ccea;
  --aqua: #63e6e2;
  --violet: #b8a8ff;
  --amber: #ffc66d;
  --danger: #ff9eae;
  --border: #6472a6;
  --radius: 20px;
  --content-max: 720px;
  --reading-max: 640px;
  --page-gutter: 32px;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-family: ui-rounded, -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "SF Pro Text", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--aqua);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 2.5px;
}

a:focus-visible,
button:focus-visible {
  border-radius: 8px;
  outline: 3px solid var(--aqua);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  min-height: 44px;
  padding: 9px 14px;
  transform: translateY(-160%);
  background: var(--text);
  color: var(--canvas);
}

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

.page-shell {
  width: min(100%, calc(var(--content-max) + (2 * var(--page-gutter))));
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

.reading-column {
  max-width: calc(var(--reading-max) + (2 * var(--page-gutter)));
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header {
  min-height: 88px;
}

.site-header nav {
  display: flex;
  gap: 24px;
}

.site-header a,
.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.wordmark {
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-decoration: none;
}

main {
  padding-block: 72px 96px;
}

.hero,
.centered-flow {
  display: grid;
  justify-items: start;
}

.centered-flow {
  text-align: left;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--aqua);
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2 {
  margin-block: 0;
  text-wrap: balance;
}

h1 {
  max-width: 16ch;
  font-size: clamp(2rem, 7vw, 2.5rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h2 {
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1.25;
}

p,
ul {
  margin-block: 0;
}

.lede {
  max-width: 56ch;
  margin-top: 24px;
  color: var(--text-secondary);
  font-size: clamp(1.05rem, 3vw, 1.2rem);
  line-height: 1.65;
}

.surface {
  width: 100%;
  margin-top: 40px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.plain-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding-left: 1.25em;
  color: var(--text-secondary);
}

.plain-list li::marker {
  color: var(--violet);
}

.button-row,
.button-stack {
  display: flex;
  gap: 12px;
  width: 100%;
  margin-top: 32px;
}

.button-stack {
  flex-direction: column;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 14px;
  font: inherit;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  background: var(--amber);
  color: var(--canvas);
}

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

.button:disabled {
  border-color: var(--border);
  background: var(--surface-strong);
  color: var(--text-secondary);
  cursor: not-allowed;
}

.status-text,
.fine-print,
.effective-date {
  color: var(--text-secondary);
  font-size: 0.94rem;
}

.status-text {
  min-height: 48px;
}

.fine-print {
  margin-top: 28px;
}

.effective-date {
  margin-top: 16px;
}

.policy-page section {
  margin-top: 42px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

.policy-page section p,
.policy-page section ul {
  margin-top: 14px;
  color: var(--text-secondary);
}

.site-footer {
  min-height: 112px;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.94rem;
}

@media (max-width: 640px) {
  .button-row {
    flex-direction: column;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
  }
}

@media (max-width: 479px) {
  :root {
    --page-gutter: 20px;
  }

  body {
    font-size: 16px;
  }

  .site-header {
    min-height: 76px;
  }

  .site-header nav {
    gap: 14px;
  }

  main {
    padding-block: 52px 72px;
  }

  .surface {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-contrast: more) {
  :root {
    --border: #b8c4ff;
    --text-secondary: #e4e7ff;
  }

  .button-secondary,
  .surface,
  .policy-page section,
  .site-footer {
    border-width: 2px;
  }
}
