:root {
  color-scheme: light;
  --ink: #17212b;
  --muted: #5d6975;
  --line: #d8dee5;
  --navy: #102532;
  --midnight: #162b3a;
  --blue: #0f6b8f;
  --glacier: #d9f1f7;
  --green: #16815f;
  --gold: #c9872f;
  --bg: #f6f8f9;
  --panel: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

.site-header {
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
}
.brand {
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}
nav { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
nav a {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}
nav a:hover { color: var(--blue); }
.nav-cta {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  padding: 8px 12px;
  background: var(--green);
  color: white;
}
.nav-cta:hover { color: white; background: #116f52; }
.nav-toggle,
.nav-button { display: none; }

.hero {
  min-height: 74vh;
  display: grid;
  align-items: center;
  padding: clamp(48px, 8vw, 104px) clamp(20px, 5vw, 72px);
  color: white;
}
.public-hero {
  background:
    linear-gradient(90deg, rgba(10,24,34,.9), rgba(10,24,34,.5), rgba(10,24,34,.18)),
    url("https://images.unsplash.com/photo-1491002052546-bf38f186af56?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center;
}
.hero-copy { max-width: 820px; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}
.hero h1,
.form-page h1,
.center-message h1 {
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 4.6rem);
  line-height: 1.03;
}
.hero p,
.form-page p,
.center-message p,
.section-heading p,
.split p {
  max-width: 760px;
  color: inherit;
  font-size: 1.04rem;
  line-height: 1.65;
}
.hero-actions,
.portal-options {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.button,
button {
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  font-weight: 850;
  text-decoration: none;
}
.primary { background: var(--green); color: white; }
.secondary { background: white; color: var(--ink); border: 1px solid var(--line); }

.band,
.form-page,
.center-message {
  padding: clamp(40px, 6vw, 78px) clamp(20px, 5vw, 72px);
}
.section-heading {
  max-width: 860px;
  margin-bottom: 24px;
}
.section-heading h2,
.split h2,
.closing-cta h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.12;
}
.value-band,
.revenue-band {
  background: white;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.feature-grid.five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.feature-grid article,
.comparison article,
.request-form,
.login-card,
.dashboard-mock,
details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}
.feature-grid h3,
.comparison h3 {
  margin: 0 0 8px;
}
.feature-grid p,
.comparison p,
details p,
.disclosure {
  color: var(--muted);
  line-height: 1.58;
}
.split {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(300px, 1fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
}
.step-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
  font-weight: 750;
  line-height: 1.5;
}
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: #fbfcfd;
  font-weight: 750;
}
.comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.recommended {
  border-color: #a8dec9;
  box-shadow: inset 4px 0 0 var(--green);
}
.dashboard-mock {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  background: var(--midnight);
}
.dashboard-mock div {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  padding: 14px;
  background: rgba(255,255,255,.06);
  color: white;
}
.dashboard-mock span {
  display: block;
  color: #b9cbd5;
  font-weight: 750;
  font-size: .86rem;
}
.dashboard-mock strong {
  display: block;
  margin-top: 8px;
  font-size: 1.45rem;
}
.faq {
  display: grid;
  gap: 10px;
}
details summary {
  cursor: pointer;
  font-weight: 850;
}
.closing-cta {
  background: var(--navy);
  color: white;
}

.form-page {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(300px, 760px);
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
}
.request-form,
.voucher-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 750;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  min-height: 42px;
  padding: 10px 12px;
  color: var(--ink);
  font: inherit;
  background: white;
}
textarea { resize: vertical; }
.full,
.request-form button,
.voucher-form button { grid-column: 1 / -1; }
.form-error { color: #b42318; font-weight: 750; }
.hp { display: none; }
fieldset {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}
legend { color: var(--ink); font-weight: 850; }
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
}
.checkbox-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.checkbox-grid input { width: auto; min-height: auto; }
.center-message { max-width: 820px; margin: 0 auto; text-align: center; }
.portal-entry { min-height: 60vh; display: grid; place-content: center; }
.voucher-form { text-align: left; margin-top: 24px; }
.portal-logo {
  max-width: 180px;
  max-height: 72px;
  object-fit: contain;
  margin-bottom: 18px;
}
.portal-footer,
.connection-status,
.ad-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
  margin-top: 18px;
}
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  padding: 0 10px;
  background: #fff3d8;
  color: #9a650f;
  font-size: .82rem;
  font-weight: 850;
}
.ad-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.ad-strip a,
.portal-footer a { color: var(--blue); font-weight: 800; }
.legal-page .request-form {
  line-height: 1.65;
  text-align: left;
}
.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: 24px;
  padding: 34px clamp(20px, 5vw, 72px);
  background: #101820;
  color: #d8e7ee;
}
.site-footer p { color: #aac0cc; line-height: 1.55; }
.site-footer nav {
  justify-content: flex-end;
}
.site-footer a { color: #d8e7ee; }
.fine-print {
  grid-column: 1 / -1;
  margin: 0;
  font-size: .9rem;
}

@media (max-width: 1100px) {
  .feature-grid.five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .site-header {
    align-items: center;
    flex-wrap: wrap;
  }
  .nav-button {
    margin-left: auto;
    display: grid;
    gap: 4px;
    cursor: pointer;
  }
  .nav-button span {
    width: 26px;
    height: 3px;
    border-radius: 999px;
    background: var(--ink);
  }
  .site-header nav {
    display: none;
    width: 100%;
    align-items: stretch;
  }
  .nav-toggle:checked ~ nav {
    display: grid;
    grid-template-columns: 1fr;
  }
  .site-header nav a { padding: 8px 0; }
  .feature-grid,
  .feature-grid.five,
  .split,
  .comparison,
  .form-page,
  .request-form,
  .voucher-form,
  .site-footer { grid-template-columns: 1fr; }
  .checkbox-grid,
  .dashboard-mock { grid-template-columns: 1fr; }
  .hero { min-height: 68vh; }
  .site-footer nav { justify-content: flex-start; }
}

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