:root {
  --paper: #f7f5ef;
  --surface: #ffffff;
  --ink: #162236;
  --muted: #657386;
  --blue: #17324d;
  --blue-2: #244b6f;
  --teal: #3e9f8d;
  --coral: #d96555;
  --gold: #c4a24b;
  --line: #dce3e8;
  --soft-blue: #eaf1f5;
  --soft-teal: #edf7f4;
  --soft-coral: #fff0ec;
  --shadow: 0 22px 54px rgba(20, 35, 52, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 100;
  width: auto;
  height: auto;
  left: 18px;
  top: 18px;
  padding: 10px 14px;
  clip: auto;
  background: var(--surface);
  color: var(--blue);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(247, 245, 239, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(22, 34, 54, 0.09);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--blue);
  font-weight: 800;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 17px;
  letter-spacing: 0;
  box-shadow: 0 12px 26px rgba(23, 50, 77, 0.22);
}

.brand-copy strong,
.brand-copy small {
  display: block;
  line-height: 1.15;
}

.brand-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2vw, 28px);
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.main-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

.main-nav a:hover,
.text-link:hover {
  color: var(--coral);
}

.nav-cta {
  padding: 0 16px;
  border: 1px solid rgba(23, 50, 77, 0.22);
  border-radius: 6px;
  background: var(--surface);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(23, 50, 77, 0.18);
  border-radius: 6px;
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  width: 20px;
  height: 2px;
  display: block;
  margin: 4px auto;
  background: var(--blue);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100svh - 112px));
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--blue);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.98);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 24, 40, 0.94) 0%, rgba(10, 24, 40, 0.82) 42%, rgba(10, 24, 40, 0.22) 100%),
    linear-gradient(0deg, rgba(10, 24, 40, 0.32), rgba(10, 24, 40, 0.04));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(820px, calc(100% - 40px));
  margin-left: clamp(20px, 6vw, 92px);
  padding: clamp(48px, 8vw, 92px) 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 22px;
  max-width: 780px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 720px;
  margin: 0 0 30px;
  color: #eff5f6;
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 900;
  text-align: center;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 12px 28px rgba(217, 101, 85, 0.26);
}

.button.secondary {
  background: #fff;
  color: var(--blue);
  border-color: rgba(23, 50, 77, 0.12);
}

.microcopy {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.review-strip {
  width: min(1160px, calc(100% - 40px));
  margin: -34px auto 0;
  position: relative;
  z-index: 3;
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  border: 1px solid rgba(62, 159, 141, 0.22);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.review-strip strong,
.review-strip span {
  display: block;
}

.review-strip strong {
  color: var(--blue);
  font-size: 19px;
  line-height: 1.25;
}

.review-strip span {
  margin-top: 4px;
  color: var(--muted);
}

.review-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(64px, 8vw, 112px) 0;
}

.section h2,
.final-cta h2 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(31px, 4vw, 50px);
  line-height: 1.12;
  letter-spacing: 0;
}

.section h3 {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 20px;
  line-height: 1.25;
}

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

.two-column,
.split-section,
.legal-section {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
}

.stat-panel {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(62, 159, 141, 0.24);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.stat-number {
  margin: 0 0 12px;
  color: var(--teal) !important;
  font-size: clamp(42px, 7vw, 78px);
  font-weight: 900;
  line-height: 0.95;
}

.muted-band {
  width: 100%;
  padding-left: max(20px, calc((100% - 1160px) / 2));
  padding-right: max(20px, calc((100% - 1160px) / 2));
  background: #edf2f4;
}

.muted-band h2 {
  max-width: 860px;
}

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

.reason-grid article,
.benefit-grid article,
.document-grid article,
.feature-list article {
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(22, 34, 54, 0.08);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 26px rgba(20, 35, 52, 0.07);
}

.reason-grid span {
  display: inline-block;
  margin-bottom: 38px;
  color: var(--coral);
  font-weight: 900;
}

.feature-list {
  display: grid;
  gap: 16px;
}

.feature-list article {
  min-height: auto;
  border-left: 4px solid var(--teal);
}

.sponsor-view {
  width: 100%;
  padding-left: max(20px, calc((100% - 1160px) / 2));
  padding-right: max(20px, calc((100% - 1160px) / 2));
  background: var(--blue);
}

.sponsor-view h2,
.sponsor-view .section-kicker {
  color: #fff;
}

.sponsor-flow {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.sponsor-flow div {
  min-height: 176px;
  padding: 22px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.sponsor-flow strong,
.sponsor-flow span {
  display: block;
}

.sponsor-flow strong {
  color: #fff;
  font-size: 19px;
}

.sponsor-flow span {
  margin-top: 42px;
  color: rgba(255, 255, 255, 0.76);
}

.timeline-section h2 {
  max-width: 840px;
}

.timeline {
  margin: 38px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
  counter-reset: steps;
  list-style: none;
}

.timeline li {
  position: relative;
  padding: 24px 24px 24px 82px;
  border: 1px solid rgba(22, 34, 54, 0.08);
  border-radius: 8px;
  background: var(--surface);
}

.timeline li::before {
  counter-increment: steps;
  content: counter(steps, decimal-leading-zero);
  position: absolute;
  left: 24px;
  top: 24px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--soft-teal);
  color: var(--teal);
  font-weight: 900;
}

.timeline p {
  margin: 0;
}

.documents-section {
  width: 100%;
  padding-left: max(20px, calc((100% - 1160px) / 2));
  padding-right: max(20px, calc((100% - 1160px) / 2));
  background: #fffaf2;
}

.campaign-section {
  align-items: center;
}

.campaign-section p {
  font-size: 17px;
}

.legal-section {
  align-items: stretch;
}

.legal-section > div,
.legal-section aside {
  padding: clamp(24px, 4vw, 42px);
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid rgba(22, 34, 54, 0.08);
}

.legal-section aside {
  background: var(--soft-teal);
  border-color: rgba(62, 159, 141, 0.22);
}

.legal-section p {
  font-size: 17px;
}

.text-link {
  color: var(--blue);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.faq-section h2 {
  max-width: 820px;
}

.faq-list {
  margin-top: 34px;
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid rgba(22, 34, 54, 0.1);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(20, 35, 52, 0.05);
}

.faq-list summary {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  color: var(--blue);
  font-weight: 900;
  cursor: pointer;
}

.faq-list summary::after {
  content: "+";
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 6px;
  background: var(--soft-blue);
  color: var(--blue);
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: 0;
  padding: 0 22px 22px;
}

.final-cta {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto clamp(54px, 7vw, 96px);
  padding: clamp(36px, 6vw, 62px);
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow);
}

.final-cta h2 {
  max-width: 780px;
  color: #fff;
}

.final-cta p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
}

.site-footer {
  padding: 36px clamp(20px, 5vw, 70px);
  display: grid;
  grid-template-columns: minmax(180px, 0.45fr) minmax(320px, 1.3fr) auto;
  gap: 28px;
  align-items: center;
  background: #101b2b;
  color: rgba(255, 255, 255, 0.78);
}

.footer-brand {
  color: #fff;
}

.site-footer p {
  margin: 0;
  font-size: 13px;
}

.footer-legal {
  display: grid;
  gap: 8px;
}

.footer-legal p {
  color: rgba(255, 255, 255, 0.64);
  font-size: 11px;
  line-height: 1.45;
}

.footer-legal strong {
  color: rgba(255, 255, 255, 0.82);
}

.site-footer nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 13px;
  font-weight: 800;
}

.site-footer a:hover {
  color: #fff;
}

.config-page {
  background: var(--paper);
}

.config-hero {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 104px) 0 44px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.config-hero h1 {
  margin: 0 0 20px;
  color: var(--blue);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.05;
}

.config-hero p {
  max-width: 690px;
  color: var(--muted);
  font-size: 18px;
}

.config-summary,
.config-panel,
.config-preview,
.config-benefits article {
  border: 1px solid rgba(22, 34, 54, 0.08);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(20, 35, 52, 0.08);
}

.config-summary {
  padding: 28px;
}

.config-summary span {
  display: block;
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.config-summary ol {
  margin: 20px 0 0;
  padding-left: 22px;
  color: var(--blue);
  font-weight: 800;
}

.config-summary li + li {
  margin-top: 14px;
}

.config-workspace {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 clamp(64px, 7vw, 90px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: start;
}

.config-panel,
.config-preview {
  padding: clamp(22px, 4vw, 34px);
}

.config-panel h2 {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
}

.config-panel > p {
  color: var(--muted);
}

.config-form {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.config-form label {
  display: grid;
  gap: 7px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.config-form .wide {
  grid-column: 1 / -1;
}

.config-form input,
.config-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid #cfd9df;
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
}

.config-form textarea {
  min-height: 104px;
  resize: vertical;
}

.config-preview {
  position: sticky;
  top: 96px;
}

.preview-top {
  padding: 24px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
}

.preview-top span,
.preview-top strong {
  display: block;
}

.preview-top span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preview-top strong {
  margin-top: 10px;
  font-size: 28px;
  line-height: 1.1;
}

.preview-top p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.config-preview dl {
  margin: 22px 0;
  display: grid;
  gap: 10px;
}

.config-preview dl div {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.config-preview dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.config-preview dd {
  margin: 5px 0 0;
  color: var(--blue);
  font-weight: 800;
}

.preview-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.preview-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.config-benefits {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto clamp(54px, 7vw, 90px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.config-benefits article {
  padding: 24px;
}

.config-benefits h2 {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 22px;
  line-height: 1.2;
}

.config-benefits p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 980px) {
  .main-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    display: none;
    padding: 18px 20px 26px;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
    border-bottom: 1px solid rgba(22, 34, 54, 0.12);
    box-shadow: 0 18px 38px rgba(20, 35, 52, 0.12);
  }

  body.nav-open .main-nav {
    display: flex;
  }

  .main-nav a {
    min-height: 46px;
  }

  .nav-toggle {
    display: block;
  }

  .two-column,
  .split-section,
  .legal-section,
  .review-strip,
  .config-hero,
  .config-workspace {
    grid-template-columns: 1fr;
  }

  .review-actions {
    justify-content: flex-start;
  }

  .config-preview {
    position: static;
  }

  .reason-grid,
  .benefit-grid,
  .document-grid,
  .sponsor-flow,
  .config-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 70px;
    padding: 10px 16px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-copy small {
    display: none;
  }

  .main-nav {
    inset: 70px 0 auto 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-media img {
    object-position: 58% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(10, 24, 40, 0.94), rgba(10, 24, 40, 0.72)),
      linear-gradient(0deg, rgba(10, 24, 40, 0.42), rgba(10, 24, 40, 0.18));
  }

  .hero-content {
    width: min(100% - 32px, 820px);
    margin-left: 16px;
    padding: 48px 0 58px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-actions,
  .button,
  .review-actions {
    width: 100%;
  }

  .button {
    min-height: 50px;
  }

  .review-strip {
    width: min(100% - 30px, 1160px);
    margin-top: -24px;
    padding: 18px;
  }

  .section {
    width: min(100% - 30px, 1160px);
  }

  .config-hero,
  .config-workspace,
  .config-benefits {
    width: min(100% - 30px, 1160px);
  }

  .config-form,
  .reason-grid,
  .benefit-grid,
  .document-grid,
  .sponsor-flow,
  .config-benefits {
    grid-template-columns: 1fr;
  }

  .reason-grid article,
  .benefit-grid article,
  .document-grid article {
    min-height: auto;
  }

  .sponsor-flow div {
    min-height: 142px;
  }

  .sponsor-flow span {
    margin-top: 24px;
  }

  .timeline li {
    padding: 72px 20px 22px;
  }

  .timeline li::before {
    left: 20px;
    top: 20px;
  }

  .final-cta {
    width: min(100% - 30px, 1160px);
    margin-bottom: 48px;
    padding: 30px 20px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
