:root {
  color-scheme: light;
  --navy-950: #061832;
  --navy-900: #0a2347;
  --navy-800: #12335d;
  --cream-50: #fffaf0;
  --cream-100: #f8edd9;
  --paper: #fffdf8;
  --burgundy: #7d1223;
  --burgundy-dark: #5e0d19;
  --gold: #cf9c32;
  --ink: #172033;
  --muted: #5d6572;
  --line: #dfd3bd;
  --shadow: 0 18px 55px rgba(6, 24, 50, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream-50);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

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

a:hover {
  color: var(--burgundy-dark);
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(6, 24, 50, 0.96);
  color: white;
  backdrop-filter: blur(16px);
}

.nav-wrap {
  display: flex;
  width: min(1120px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 24px;
}

.main-nav a {
  color: #f9f3e7;
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: #ffd980;
}

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 83% 20%, rgba(207, 156, 50, 0.22), transparent 28%),
    linear-gradient(145deg, var(--navy-950), var(--navy-800));
  color: white;
}

.hero-grid {
  display: grid;
  width: min(1120px, calc(100% - 40px));
  min-height: 560px;
  margin: 0 auto;
  padding: 72px 0;
  align-items: center;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 56px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--navy-950);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.15;
}

.hero h1 {
  max-width: 720px;
  margin-bottom: 22px;
  color: white;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  letter-spacing: -0.04em;
}

.hero-copy {
  max-width: 680px;
  margin: 0;
  color: #e9edf5;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 11px 20px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--burgundy);
  color: white;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.button:hover {
  background: var(--burgundy-dark);
  color: white;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.hero-mark {
  display: grid;
  justify-items: center;
}

.hero-mark img {
  width: min(100%, 340px);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 28%;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.hero-mark p {
  margin: 18px 0 0;
  color: #d9c9a7;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
}

.beta-section {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.beta-grid {
  display: flex;
  padding: 48px 0;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.beta-grid h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.025em;
}

.beta-grid p:not(.eyebrow) {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
}

.beta-grid p + p {
  margin-top: 10px;
}

.beta-button {
  flex: 0 0 auto;
  white-space: nowrap;
}

.editable-section {
  text-align: center;
}

.editable-section .eyebrow {
  margin-bottom: 12px;
}

.editable-section h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.15rem);
  letter-spacing: -0.025em;
}

.editable-copy {
  color: var(--muted);
  font-size: 1.12rem;
  white-space: pre-line;
}

.section {
  padding: 78px 0;
}

.section.alt {
  border-block: 1px solid var(--line);
  background: var(--cream-100);
}

.container {
  width: min(1060px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  width: min(820px, calc(100% - 40px));
}

.section h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.15rem);
  letter-spacing: -0.025em;
}

.lede {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.12rem;
}

.card-grid {
  display: grid;
  margin-top: 34px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 8px 28px rgba(6, 24, 50, 0.06);
}

.card-number {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--navy-900);
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.card h3 {
  margin-bottom: 8px;
  font-size: 1.35rem;
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
}

.notice {
  padding: 24px 26px;
  border-left: 5px solid var(--gold);
  border-radius: 4px 14px 14px 4px;
  background: #fff4d7;
}

.page-hero {
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 80% 10%, rgba(207, 156, 50, 0.18), transparent 32%),
    var(--navy-950);
  color: white;
}

.page-hero .container {
  padding-top: 68px;
  padding-bottom: 64px;
}

.page-hero h1 {
  margin-bottom: 14px;
  color: white;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: -0.035em;
}

.page-hero p:last-child {
  max-width: 700px;
  margin-bottom: 0;
  color: #dce4ef;
}

.policy {
  padding: 64px 0 90px;
}

.policy h2 {
  margin-top: 48px;
  margin-bottom: 12px;
  font-size: 1.65rem;
}

.policy h3 {
  margin-top: 28px;
}

.policy li + li {
  margin-top: 8px;
}

.updated {
  color: #d8c59b;
  font-size: 0.93rem;
}

.support-grid {
  display: grid;
  margin-top: 34px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.site-footer {
  padding: 42px 0;
  background: var(--navy-950);
  color: #d4dbe6;
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
}

.footer-grid p {
  max-width: 560px;
  margin: 6px 0 0;
  font-size: 0.9rem;
}

.footer-title {
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 700;
}

.made-by {
  display: flex;
  margin-top: 18px;
  align-items: center;
  gap: 12px;
  color: #bfc9d8;
  font-size: 0.82rem;
}

.made-by img {
  width: 86px;
  height: 86px;
  padding: 4px;
  border-radius: 14px;
  background: white;
  object-fit: contain;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 22px;
}

.footer-links a {
  color: #f4dfad;
  font-size: 0.9rem;
}

@media (max-width: 760px) {
  .nav-wrap,
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-wrap {
    padding: 14px 0 16px;
    gap: 11px;
  }

  .main-nav {
    justify-content: flex-start;
    gap: 6px 17px;
  }

  .hero-grid {
    min-height: auto;
    padding: 56px 0 64px;
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero-mark img {
    width: min(72vw, 300px);
  }

  .beta-grid {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .card-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 0;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

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