/* Vention-inspired tokens — shoghian.com / MedlinePlus landing */
:root {
  --primary: #1c344f;
  --primary-hover: #152638;
  --accent-blue: #3080ff;
  --accent-blue-hover: #155dfc;
  --accent-blue-soft: #eff6ff;
  --ink: #0f172a;
  --body: #1e293b;
  --muted: #64748b;
  --muted-soft: #94a3b8;
  --canvas: #ffffff;
  --surface-alt: #f8fafc;
  --surface-slate: #f1f5f9;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --link: #155dfc;
  --success: #00a544;
  --on-primary: #ffffff;
  --footer-bg: #0f172a;
  --radius-sm: 4px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --container: min(1200px, 100% - 2rem);
  --section-pad: clamp(4rem, 8vw, 6rem);
  --nav-h: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--body);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--link);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-h);
  gap: 1rem;
}

.brand-mark {
  font-size: 14px;
  font-weight: 600;
  color: var(--on-primary);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.brand-mark span {
  opacity: 0.85;
  font-weight: 500;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--on-primary);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.nav-links a:hover {
  color: #fff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: var(--on-primary);
}

.btn-blue {
  background: var(--accent-blue);
  color: var(--on-primary);
  border-color: var(--accent-blue);
}

.btn-blue:hover {
  background: var(--accent-blue-hover);
  border-color: var(--accent-blue-hover);
  color: var(--on-primary);
}

.btn-secondary {
  background: var(--canvas);
  color: var(--ink);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--border-strong);
  background: var(--surface-alt);
  color: var(--ink);
}

.btn .arrow {
  transition: transform 0.15s ease;
}

.btn:hover .arrow {
  transform: translateX(3px);
}

/* Hero */
.hero {
  padding: clamp(3.5rem, 10vw, 7rem) 0 clamp(3rem, 8vw, 5.5rem);
  background: linear-gradient(180deg, var(--surface-alt) 0%, var(--canvas) 55%);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 1rem;
}

.hero-eyebrow .badge-gov {
  background: var(--accent-blue-soft);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

h1.hero-title {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 5.5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.hero-title em {
  font-style: normal;
  color: var(--primary);
  display: block;
  margin-top: 0.15em;
}

.hero-lead {
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.55;
  color: var(--body);
  max-width: 36rem;
  margin: 0 0 1.75rem;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  padding-top: 0.5rem;
}

.stat {
  min-width: 7rem;
}

.stat-value {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.stat-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 0.25rem;
}

.hero-visual {
  background: var(--surface-slate);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.hero-visual-inner {
  padding: 1.75rem;
}

.hero-visual h2 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
}

.term-preview-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.term-preview-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 15px;
  color: var(--body);
}

.term-preview-list .dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 0.55em;
  background: var(--accent-blue);
  border-radius: 2px;
}

/* Sections */
.section {
  padding: var(--section-pad) 0;
}

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

.section-header {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.section-header p {
  margin: 0;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.55;
}

.benefits-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
}

.card p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}

.card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-blue-soft);
  color: var(--primary);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 1rem;
}

/* Lifecycle strip (Design→Learn pattern) */
.lifecycle {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .lifecycle {
    grid-template-columns: repeat(4, 1fr);
  }
}

.lifecycle-step {
  padding: 1.25rem;
  border-left: 3px solid var(--primary);
  background: var(--canvas);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  border: 1px solid var(--border);
  border-left-width: 3px;
  border-left-color: var(--primary);
}

.lifecycle-step strong {
  display: block;
  font-size: 14px;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.lifecycle-step p {
  margin: 0;
  font-size: 14px;
  color: var(--body);
}

/* Terms grid */
.terms-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

.term-chip {
  display: block;
  padding: 0.75rem 1rem;
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.term-chip:hover {
  border-color: var(--primary);
  background: var(--surface-alt);
  color: var(--primary);
}

/* Trust */
.trust-band {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 768px) {
  .trust-band {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

.quote-card {
  background: var(--surface-slate);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
}

.quote-card blockquote {
  margin: 0 0 1rem;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--body);
}

.quote-card cite {
  font-size: 13px;
  font-style: normal;
  color: var(--muted);
}

.trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.trust-list li {
  display: flex;
  gap: 0.75rem;
  font-size: 15px;
  color: var(--body);
}

.trust-list .check {
  flex-shrink: 0;
  color: var(--success);
  font-weight: 700;
}

/* CTA band */
.cta-band {
  background: var(--primary);
  color: var(--on-primary);
  padding: var(--section-pad) 0;
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.cta-band p {
  margin: 0 auto 1.75rem;
  max-width: 32rem;
  font-size: 1.0625rem;
  line-height: 1.55;
  opacity: 0.92;
}

.cta-band .btn-blue {
  font-size: 15px;
  padding: 14px 22px;
}

/* Footer */
.site-footer {
  background: var(--footer-bg);
  color: #f8fafc;
  padding: 2.5rem 0 2rem;
  font-size: 14px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.footer-inner a {
  color: #93c5fd;
}

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

.footer-legal {
  color: var(--muted-soft);
  font-size: 13px;
  line-height: 1.5;
  max-width: 36rem;
}

/* Mobile nav */
@media (max-width: 767px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-panel {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--primary-hover);
    padding: 1rem 1rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
  }

  .nav-panel.is-open {
    display: block;
  }

  .nav-panel .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .nav-panel .btn {
    width: 100%;
  }

  .site-header {
    position: relative;
  }
}

@media (min-width: 768px) {
  .nav-panel {
    display: flex;
    align-items: center;
    gap: 1.25rem;
  }
}
