:root {
  --navy: #0b2e5b;
  --blue: #1265c7;
  --red: #f52d2d;
  --yellow: #ffc21a;
  --green: #57b957;
  --ink: #17243a;
  --muted: #5e6b7d;
  --soft: #f7fafd;
  --line: #e8eef5;
  --shadow: 0 20px 55px rgba(11, 46, 91, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
}

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

img {
  max-width: 100%;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(11, 46, 91, 0.08);
}

.nav {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 338px;
}

.brand img {
  width: 166px;
  height: 100px;
  object-fit: contain;
  object-position: left center;
}

.brand-wordmark {
  display: grid;
  color: var(--red);
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 0.95;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-wordmark small {
  margin-top: 5px;
  font-size: 0.72rem;
  letter-spacing: 0.34em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 800;
  color: #33435a;
  font-size: 0.93rem;
}

.nav-links a {
  position: relative;
  white-space: nowrap;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--red);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -13px;
  height: 3px;
  background: var(--red);
  border-radius: 3px;
}

.phone-pill {
  background: var(--red);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(245, 45, 45, 0.2);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 54px;
  background:
    radial-gradient(circle at 9% 18%, rgba(18, 101, 199, 0.08), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(255, 194, 26, 0.14), transparent 28%),
    linear-gradient(180deg, #fff 0%, #fbfdff 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -8% -110px -8%;
  height: 240px;
  background:
    radial-gradient(ellipse at 20% 25%, rgba(18, 101, 199, 0.12), transparent 50%),
    radial-gradient(ellipse at 70% 45%, rgba(245, 45, 45, 0.08), transparent 48%);
  border-radius: 50% 50% 0 0;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 52px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 16px;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--red);
  background: #fff0f0;
  border: 1px solid #ffd5d5;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin: 0 0 20px;
  color: var(--navy);
  font-size: clamp(3rem, 5.5vw, 5.6rem);
  line-height: 0.97;
}

.hero h1 .red {
  color: var(--red);
}

.hero h1 .yellow {
  color: #f1b500;
}

.lead {
  margin: 0 0 28px;
  max-width: 590px;
  color: #2f3d52;
  font-size: 1.13rem;
  line-height: 1.58;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 25px rgba(245, 45, 45, 0.2);
}

.btn-yellow {
  background: var(--yellow);
  color: var(--navy);
}

.btn-outline {
  color: var(--navy);
  border: 1px solid rgba(11, 46, 91, 0.16);
  background: #fff;
}

.hero-media {
  position: relative;
  min-height: 505px;
}

.hero-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 46% 44% 18% 38% / 32% 30% 20% 38%;
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-media::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 170px;
  border: 16px solid var(--yellow);
  border-bottom: 0;
  border-left: 0;
  border-radius: 50%;
  right: -18px;
  top: -10px;
  transform: rotate(-8deg);
  z-index: -1;
}

.hero-media::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 190px;
  border-radius: 50%;
  background: var(--red);
  right: -50px;
  bottom: -16px;
  z-index: -1;
  transform: rotate(8deg);
}

.section {
  padding: 72px 0;
}

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

.section-soft {
  background: var(--soft);
}

.section-title {
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-title span {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-title h2 {
  margin: 8px 0 10px;
  color: var(--navy);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
}

.section-title p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature,
.card,
.coming-card,
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 10px 26px rgba(11, 46, 91, 0.05);
}

.feature {
  display: flex;
  gap: 16px;
  padding: 22px;
}

.feature-icon {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: #e8f2ff;
  border-radius: 50%;
  font-size: 26px;
  font-weight: 900;
}

.feature:nth-child(2) .feature-icon {
  color: var(--red);
  background: #ffe9e8;
}

.feature:nth-child(3) .feature-icon {
  color: #b78200;
  background: #fff3cc;
}

.feature:nth-child(4) .feature-icon {
  color: var(--green);
  background: #eaf7e9;
}

.feature h3,
.card h3,
.coming-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.08rem;
}

.feature p,
.card p,
.coming-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.card,
.coming-card,
.contact-card {
  padding: 28px;
}

.logo-card {
  display: grid;
  align-content: center;
  gap: 18px;
}

.logo-card img {
  display: block;
  width: min(100%, 420px);
  max-height: 250px;
  object-fit: contain;
  margin: 0 auto;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: #fff;
  background: var(--red);
  border-radius: 50%;
  font-weight: 900;
}

.coming-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.status-pill {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 12px;
  color: var(--navy);
  background: #fff3cc;
  border: 1px solid #ffe28a;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.page-hero {
  padding: 78px 0 54px;
  text-align: center;
  background:
    radial-gradient(circle at 18% 18%, rgba(245, 45, 45, 0.08), transparent 28%),
    radial-gradient(circle at 85% 0%, rgba(255, 194, 26, 0.18), transparent 28%),
    linear-gradient(180deg, #fff 0%, #f7fafd 100%);
}

.page-hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
}

.page-hero p {
  max-width: 680px;
  margin: 0 auto 28px;
}

.notice-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
  padding: 0;
  list-style: none;
}

.notice-list li {
  padding: 14px 16px;
  color: #33435a;
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

.contact-card p {
  margin: 7px 0;
  color: var(--muted);
  line-height: 1.55;
}

.contact-card strong {
  color: var(--navy);
}

.contact-grid > .form-card,
form.form-card {
  display: block;
}

.form-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 10px 26px rgba(11, 46, 91, 0.05);
}

.form-card .field-grid,
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-card label.field,
.field {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 900;
}

.form-card label.field.full,
.field.full {
  grid-column: 1 / -1;
}

.form-card label.field input,
.form-card label.field select,
.form-card label.field textarea,
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fbfdff;
  border: 1px solid #cddbeb;
  border-radius: 12px;
  font: inherit;
  font-weight: 500;
}

.form-card label.field textarea,
.field textarea {
  resize: vertical;
}

.form-card label.field input:focus,
.form-card label.field select:focus,
.form-card label.field textarea:focus,
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid rgba(18, 101, 199, 0.14);
  border-color: var(--blue);
}

.form-card .checkbox-row,
.checkbox-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 18px 0;
  color: #33435a;
  line-height: 1.5;
}

.form-card .checkbox-row input,
.checkbox-row input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.form-status {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--navy);
  font-weight: 800;
}

.compact-note {
  margin-top: 18px;
}

.support-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.support-list li {
  padding: 14px 16px;
  color: #33435a;
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 14px;
  line-height: 1.45;
}

.mini-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.resource-card {
  display: flex;
  flex-direction: column;
  min-height: 178px;
  padding: 24px;
  color: var(--navy);
  background: #fff;
  border: 1px solid #d8e4f2;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(11, 46, 91, 0.05);
}

.resource-card:hover {
  border-color: rgba(18, 101, 199, 0.5);
  box-shadow: 0 14px 32px rgba(11, 46, 91, 0.09);
}

.resource-logo-image {
  width: 92px;
  height: 92px;
  margin-bottom: 16px;
  object-fit: contain;
  object-position: left center;
  background: #fff;
  border-radius: 8px;
}

.resource-logo-image.senate-logo {
  width: 178px;
  height: 64px;
}

.resource-card small {
  color: #00883f;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.resource-card h3 {
  margin: 10px 0 0;
  font-size: 1.14rem;
  line-height: 1.28;
}

.hipaa-note {
  margin-top: 18px;
  padding: 18px 20px;
  color: #33435a;
  background: #fff8df;
  border: 1px solid #ffe38d;
  border-radius: 16px;
  line-height: 1.55;
}

.policy-content {
  max-width: 900px;
  margin: 0 auto;
}

.policy-content .card {
  margin-bottom: 18px;
}

.policy-content h2 {
  margin: 0 0 10px;
  color: var(--navy);
}

.policy-content p,
.policy-content li {
  color: var(--muted);
  line-height: 1.65;
}

.policy-content ul {
  margin: 0;
  padding-left: 20px;
}

.privacy-banner {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 100;
  width: min(420px, calc(100vw - 44px));
  padding: 22px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 22px 60px rgba(11, 46, 91, 0.22);
}

.privacy-banner[hidden] {
  display: none;
}

.privacy-banner h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.25rem;
}

.privacy-banner p {
  margin: 0 0 18px;
  color: #34445c;
  line-height: 1.55;
}

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

.privacy-actions button,
.privacy-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  color: var(--navy);
  background: #12b9bd;
  border: 1px solid #079aa1;
  border-radius: 5px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.privacy-actions .accept {
  color: #fff;
}

.site-footer {
  background: linear-gradient(135deg, #0b2e5b, #0a376e);
  color: #fff;
  padding: 34px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.9fr 1fr;
  gap: 34px;
}

.site-footer h3,
.site-footer h4 {
  margin: 0 0 12px;
}

.site-footer p,
.site-footer a {
  color: #d4dfec;
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 6px 0;
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 18px;
  color: #b7c7da;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  font-size: 0.84rem;
}

@media (max-width: 1120px) {
  .nav {
    gap: 12px;
  }

  .nav-links {
    gap: 12px;
    font-size: 0.86rem;
  }

  .brand img {
    width: 118px;
    height: 72px;
  }

  .brand {
    gap: 8px;
    min-width: 246px;
  }

  .brand-wordmark {
    font-size: 0.82rem;
  }

  .brand-wordmark small {
    font-size: 0.58rem;
    letter-spacing: 0.28em;
  }

  .phone-pill {
    padding: 10px 14px;
    font-size: 0.84rem;
  }
}

@media (max-width: 920px) {
  .nav {
    min-height: auto;
    padding: 14px 0;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    overflow-x: auto;
    padding: 8px 0 2px;
  }

  .hero-grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    max-width: 720px;
    width: 100%;
    margin: auto;
  }

  .feature-grid,
  .steps,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .brand img {
    width: 104px;
    height: 64px;
  }

  .brand {
    min-width: 226px;
  }

  .brand-wordmark {
    font-size: 0.78rem;
  }

  .brand-wordmark small {
    font-size: 0.58rem;
    letter-spacing: 0.28em;
  }

  .phone-pill {
    padding: 10px 12px;
    font-size: 0.82rem;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-media {
    min-height: 380px;
  }

  .feature-grid,
  .steps,
  .field-grid,
  .coming-grid,
  .resource-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 54px 0;
  }
}
