:root {
  --ink: #0d1b3e;
  --ink-deep: #091430;
  --ink-soft: #1b2f66;
  --dawn: #f2a93b;
  --dawn-deep: #d98d1c;
  --paper: #f7f9fc;
  --mist: #e3e9f3;
  --steel: #56627d;
  --text: #1a2440;
  --white: #ffffff;
  --display: "Newsreader", Georgia, "Times New Roman", serif;
  --body: "Public Sans", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--body);
  color: var(--text);
  background: var(--white);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--display);
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0;
}
p { margin: 0 0 1em; }
a { color: var(--ink-soft); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--dawn);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 28px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink-deep);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
}
.logo svg { width: 48px; height: 48px; flex: none; margin-top: -4px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  color: #c9d3e8;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.site-nav a:hover { color: var(--white); }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--dawn);
  color: var(--ink-deep);
  transition: background 0.15s;
}
.btn:hover { background: #ffbd55; }
.site-nav .btn { padding: 10px 20px; font-size: 0.92rem; color: var(--ink-deep); }
.site-nav .btn:hover { color: var(--ink-deep); }
.btn-quiet {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.35);
}
.btn-quiet:hover { background: rgba(255, 255, 255, 0.08); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(180deg, var(--ink-deep) 0%, #10224f 62%, #24397a 100%);
}
.hero .wrap {
  position: relative;
  z-index: 2;
  padding-top: 104px;
  padding-bottom: 240px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  font-weight: 500;
  max-width: 15ch;
}
.hero-sub {
  font-size: 1.2rem;
  color: #c9d3e8;
  max-width: 34rem;
  margin: 28px 0 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin: 22px 0 0; font-size: 0.92rem; color: #9aa9c9; }
.sunrise {
  position: absolute;
  z-index: 1;
  right: -4%;
  bottom: 0;
  width: min(760px, 92vw);
  height: auto;
  pointer-events: none;
}
.sunrise .bar {
  fill: var(--dawn);
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: rise 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes rise { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.horizon {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.55);
}

/* Terms */
.terms { background: var(--ink-deep); color: var(--white); }
.terms dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.terms div { padding: 30px 24px 32px 0; }
.terms div + div { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, 0.14); }
.terms dt { font-size: 0.9rem; color: #9aa9c9; margin-bottom: 6px; }
.terms dd {
  margin: 0;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.terms dd small {
  display: block;
  font-family: var(--body);
  font-size: 0.88rem;
  font-weight: 400;
  color: #c9d3e8;
  letter-spacing: 0;
  margin-top: 6px;
}

/* Sections */
.band { padding: 104px 0; }
.band-paper { background: var(--paper); }
.band h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 500; max-width: 18ch; }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.split .prose p { font-size: 1.12rem; color: var(--steel); max-width: 38rem; }
.split .prose p:first-child { color: var(--text); font-size: 1.3rem; line-height: 1.5; }

/* Focus */
.focus { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.focus article { padding: 36px 40px 40px 0; border-top: 3px solid var(--ink); }
.focus article + article { padding-left: 40px; border-left: 1px solid var(--mist); }
.focus h3 { font-size: 1.7rem; font-weight: 500; margin-bottom: 14px; }
.focus p { color: var(--steel); max-width: 30rem; }
.focus ul { margin: 18px 0 0; padding: 0; list-style: none; }
.focus li { padding: 10px 0; border-top: 1px solid var(--mist); font-weight: 500; }

/* Steps */
.steps {
  list-style: none;
  counter-reset: step;
  margin: 56px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.steps li { counter-increment: step; border-top: 3px solid var(--dawn); padding-top: 20px; }
.steps li::before {
  content: counter(step);
  display: block;
  font-family: var(--display);
  font-size: 2.8rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 14px;
}
.steps h3 { font-size: 1.2rem; font-weight: 500; margin-bottom: 8px; }
.steps p { color: var(--steel); font-size: 0.98rem; margin: 0; }

/* Benefits */
.benefits { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.benefits article { border-top: 3px solid var(--dawn); padding-top: 22px; }
.benefits h3 { font-size: 1.4rem; font-weight: 500; margin-bottom: 12px; }
.benefits p { color: var(--steel); margin: 0; }

/* Statement band */
.statement { background: linear-gradient(180deg, var(--ink-deep) 0%, #10224f 100%); color: var(--white); padding-top: 96px; }
.statement p {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.015em;
  max-width: 24ch;
  margin: 0 0 72px;
}
.statement svg { display: block; width: 100%; height: 140px; }
.statement svg rect { fill: var(--dawn); }
.statement .ground { height: 3px; background: rgba(255, 255, 255, 0.55); }

/* Reasons */
.reasons { margin-top: 48px; }
.reasons div {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  padding: 28px 0;
  border-top: 1px solid var(--mist);
}
.reasons h3 { font-size: 1.5rem; font-weight: 500; }
.reasons p { margin: 0; color: var(--steel); font-size: 1.08rem; max-width: 36rem; }

/* Contact */
.contact { background: var(--ink-deep); color: var(--white); padding: 104px 0; }
.contact .split { align-items: start; }
.contact h2 { color: var(--white); font-size: clamp(2.2rem, 4.4vw, 3.6rem); font-weight: 500; max-width: 14ch; }
.contact p { color: #c9d3e8; max-width: 32rem; }
.contact address { font-style: normal; color: #c9d3e8; line-height: 1.8; margin-top: 28px; }
.contact address a { color: var(--white); }

/* Footer */
.site-footer { background: #060e24; color: #8f9dbd; font-size: 0.88rem; padding: 36px 0 44px; }
.site-footer .wrap { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; }
.site-footer p { margin: 0 0 8px; max-width: 44rem; }
.site-footer a { color: #c9d3e8; }
.site-footer .logo { font-size: 1.15rem; margin-bottom: 12px; }
.site-footer .logo svg { width: 30px; height: 30px; }

/* Legal */
.legal { padding: 80px 0 104px; }
.legal .wrap { max-width: 800px; }
.legal h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin-bottom: 36px; }
.legal p { margin-bottom: 1.3em; }
.legal .draft { color: var(--steel); border-top: 1px solid var(--mist); padding-top: 20px; }

/* Responsive */
@media (max-width: 900px) {
  .site-nav a:not(.btn) { display: none; }
  .hero .wrap { padding-top: 72px; padding-bottom: 200px; }
  .terms dl { grid-template-columns: 1fr 1fr; }
  .terms div { padding: 22px 16px 22px 0; }
  .terms div + div { padding-left: 16px; }
  .terms div:nth-child(3) { padding-left: 0; border-left: 0; }
  .terms div:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, 0.14); }
  .band, .contact { padding: 72px 0; }
  .statement { padding-top: 64px; }
  .statement svg { height: 90px; }
  .split, .reasons div, .site-footer .wrap { grid-template-columns: 1fr; gap: 20px; }
  .focus { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; gap: 28px; }
  .focus article, .focus article + article { padding: 28px 0 32px; border-left: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 20px; }
  .steps { grid-template-columns: 1fr; }
  .logo { font-size: 1.25rem; }
  .site-nav { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sunrise .bar { animation: none; }
}

section[id] { scroll-margin-top: 72px; }
