:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-foreground: #ffffff;
  --green: #13bd89;
  --green-button: #0a7d57;
  --green-button-dark: #086a4a;
  --dark: #0d101b;
  --foreground: #0a0a0a;
  --muted: #fafafa;
  --muted-foreground: #64748b;
  --border: #e5e7eb;
  --card: #ffffff;
  --radius: 18px;
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding-bottom: 200px;
  font-family: -apple-system, "system-ui", "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  color: var(--foreground);
  background: #ffffff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Applied by script.js when SITE_CONFIG.showFooterCallBar is false. */
body.call-bar-hidden {
  padding-bottom: 0;
}

h1, h2, h3, p, ul {
  margin: 0;
}

ul {
  padding: 0;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

img, svg {
  display: block;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.container-narrow {
  max-width: 1024px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 8px;
  background: var(--primary);
  color: var(--primary-foreground);
}

.brand-mark .icon {
  width: 19px;
  height: 19px;
}

.brand-name {
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-call {
  min-height: 40px;
  flex: none;
  padding: 8px 12px;
  font-size: 12px;
}

.header-call .icon {
  width: 15px;
  height: 15px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn .icon {
  width: 17px;
  height: 17px;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.2), 0 4px 6px -4px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.25), 0 8px 10px -6px rgba(37, 99, 235, 0.2);
}

.btn-outline {
  background: #ffffff;
  color: var(--foreground);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: rgba(37, 99, 235, 0.3);
  color: var(--primary);
}

.btn-light {
  width: 100%;
  margin-top: 28px;
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.15);
}

.btn-light:hover {
  background: #eff6ff;
  transform: translateY(-2px);
}

.btn:focus-visible,
.faq-question:focus-visible,
a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ---------- Typography ---------- */
h1 {
  max-width: 768px;
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.025em;
  text-wrap: pretty;
}

h2 {
  max-width: none;
  font-size: 1.875rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-wrap: wrap;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.prose {
  margin-top: 24px;
}

.prose p,
.body-copy {
  max-width: 1024px;
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 2;
  color: var(--foreground);
}

.section-lead {
  max-width: 720px;
  margin-top: 20px;
  font-size: 16px;
  line-height: 2;
  color: var(--foreground);
}

/* ---------- Hero ---------- */
.hero {
  border-bottom: 1px solid var(--border);
  background: #ffffff;
  padding: 48px 0 56px;
}

.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 6px 12px;
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.05);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-badge .icon {
  width: 13px;
  height: 13px;
}

.hero-lead {
  max-width: 576px;
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.78;
  color: var(--foreground);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  margin-top: 32px;
}

.hero-checks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 32px;
  font-size: 14px;
  font-weight: 600;
}

.hero-checks span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-checks .icon {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

.hero-card {
  padding: 24px;
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 24px;
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.3);
}

.hero-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hero-card-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.hero-card-title .icon {
  width: 22px;
  height: 22px;
}

.pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.pill-light {
  background: rgba(0, 0, 0, 0.16);
  color: #ffffff;
}

.hero-card-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  list-style: none;
  font-size: 14px;
  font-weight: 500;
}

.hero-card-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.hero-card-list .icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
}

/* ---------- Sections ---------- */
.section {
  padding: 64px 0;
}

.section-muted {
  background: var(--muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  margin-bottom: 0;
}

.section-head.center {
  text-align: center;
}

.section-head.center h2,
.section-head.center .section-lead {
  margin-left: auto;
  margin-right: auto;
}

.section-action {
  margin-top: 32px;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  gap: 20px;
  margin-top: 40px;
}

.card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-card);
}

.card h3 {
  font-size: 20px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.card p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--foreground);
}

.icon-tile {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
}

.icon-tile .icon {
  width: 24px;
  height: 24px;
}

.kicker {
  display: block;
  color: var(--primary);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  font-weight: 700;
}

.steps {
  margin-top: 40px;
}

.step-card .kicker {
  margin-bottom: 32px;
}

.step-card h3 {
  font-size: 20px;
}

.tips {
  margin-top: 40px;
}

.tip-card .kicker {
  margin-bottom: 16px;
}

.tip-card h3 {
  font-size: 16px;
}

.callout {
  margin-top: 40px;
  padding: 24px;
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--radius);
  background: rgba(37, 99, 235, 0.05);
}

.callout .eyebrow {
  margin-bottom: 8px;
}

.callout-text {
  max-width: 672px;
  font-size: 16px;
  line-height: 1.75;
}

.callout .btn {
  margin-top: 24px;
}

/* ---------- Radio ID split ---------- */
.split-grid {
  display: grid;
  gap: 40px;
  align-items: start;
}

.split-grid h2 {
  margin-top: 12px;
}

.method-card {
  padding: 24px;
}

.method-row {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.method-row:first-child {
  padding-top: 0;
}

.method-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.method-icon {
  flex: none;
  margin-top: 4px;
  color: var(--primary);
}

.method-icon .icon {
  width: 24px;
  height: 24px;
}

.method-row h3 {
  font-size: 16px;
  font-weight: 900;
  line-height: 1.4;
}

.method-row p {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--foreground);
}

/* ---------- CTA band ---------- */
.cta-band {
  padding: 56px 0;
  background: var(--primary);
  color: var(--primary-foreground);
}

.cta-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.cta-eyebrow {
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cta-band h2 {
  color: #ffffff;
}

.cta-text {
  max-width: 672px;
  margin-top: 16px;
  color: #ffffff;
  font-size: 17px;
  line-height: 1.9;
}

.btn-cta {
  align-self: flex-start;
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.25);
}

/* ---------- FAQ ---------- */
.faq-section {
  background: #ffffff;
}

.faq-list {
  margin-top: 40px;
  padding: 0 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card);
}

.faq-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.faq-question .icon {
  width: 19px;
  height: 19px;
  color: var(--primary);
  transition: transform 0.2s ease;
}

.faq-item.open .faq-question .icon {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-answer p {
  padding-right: 28px;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.75;
}

.faq-footnote {
  margin-top: 32px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}

.faq-section .center-action {
  margin-top: 24px;
}

/* ---------- Final info ---------- */
.final-info {
  padding: 56px 0;
  border-bottom: 0;
}

.final-grid {
  display: grid;
  gap: 32px;
}

.final-grid h2 {
  font-size: 24px;
  line-height: 1.25;
}

.final-grid p {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.75;
}

.final-grid h3 {
  font-size: 16px;
  font-weight: 700;
}

.popular-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  list-style: none;
  font-size: 14px;
  font-weight: 500;
}

.final-note {
  font-size: 14px !important;
  line-height: 1.6 !important;
}

.final-grid .btn {
  margin-top: 16px;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  background: #ffffff;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--primary);
}

/* ---------- Fixed call bar ---------- */
.call-bar {
  position: fixed;
  left: 8px;
  right: 8px;
  bottom: 8px;
  z-index: 50;
  padding: 12px 16px;
  border-radius: 28px;
  background: var(--dark);
  color: #ffffff;
  box-shadow: 0 -8px 30px rgba(15, 23, 42, 0.28);
}

.call-bar-inner {
  max-width: 1024px;
  margin: 0 auto;
  text-align: center;
}

.call-bar-title {
  font-size: 16px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.call-bar-title .block-sm {
  display: block;
}

.call-bar-title .hide-sm {
  display: none;
}

.call-bar-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  margin: 12px auto 0;
  padding: 8px 20px;
  border-radius: 999px;
  background: var(--green-button);
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-decoration: none;
  box-shadow: 0 0 24px rgba(19, 189, 137, 0.24);
  transition: background 0.2s ease;
}

.call-bar-button:hover {
  background: var(--green-button-dark);
}

.call-bar-button .icon {
  width: 20px;
  height: 20px;
}

.call-bar-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  color: #94a3b8;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.call-bar-note .dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--green);
}

/* ---------- Legal pages ---------- */
.legal-page h1 {
  font-size: 2.5rem;
  line-height: 1.1;
}

.legal-meta {
  margin-top: 16px;
  color: var(--muted-foreground);
  font-size: 14px;
  font-weight: 600;
}

.legal-content {
  max-width: 820px;
  margin-top: 32px;
}

.legal-content h2 {
  margin: 40px 0 12px;
  font-size: 1.5rem;
  line-height: 1.25;
}

.legal-content h3 {
  margin: 28px 0 8px;
  font-size: 1.125rem;
  line-height: 1.35;
}

.legal-content p,
.legal-content li {
  font-size: 16px;
  line-height: 1.8;
}

.legal-content p {
  margin-bottom: 16px;
}

.legal-content ul {
  margin: 0 0 16px;
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content a {
  color: var(--primary);
}

.legal-back {
  display: inline-block;
  margin-top: 40px;
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.legal-back:hover {
  text-decoration: underline;
}

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  h1 {
    font-size: 3.75rem;
  }

  h2 {
    font-size: 3rem;
  }

  .hero {
    padding-top: 64px;
    padding-bottom: 80px;
  }

  .hero-actions {
    flex-direction: row;
    align-items: center;
  }

  .hero-actions .btn {
    width: auto;
  }

  .hero-checks {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-card {
    padding: 32px;
  }

  .hero-lead {
    font-size: 20px;
    line-height: 1.6;
  }

  .legal-page h1 {
    font-size: 3rem;
  }

  .section-lead,
  .body-copy,
  .prose p,
  .cta-text {
    font-size: 18px;
    line-height: 1.78;
  }

  .cta-band {
    padding: 72px 0;
  }

  .section {
    padding: 80px 0;
  }

  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid-3-lg,
  .grid-4-lg {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .call-bar {
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 16px 32px;
  }

  .call-bar-title {
    font-size: 20px;
  }

  .call-bar-title .block-sm {
    display: inline;
  }

  .call-bar-title .hide-sm {
    display: inline;
  }

  .call-bar-button {
    min-height: 56px;
    margin-top: 16px;
    font-size: 20px;
  }

  .call-bar-button .icon {
    width: 24px;
    height: 24px;
  }

  .call-bar-note {
    margin-top: 12px;
    font-size: 12px;
  }

  .faq-list {
    padding: 0 32px;
  }

  .faq-question {
    font-size: 17px;
  }

  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

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

  .cta-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .final-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 32px;
    padding-right: 32px;
  }

  h1 {
    font-size: 4.5rem;
  }

  .section {
    padding: 112px 0;
  }

  .hero {
    padding-top: 96px;
    padding-bottom: 112px;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
  }

  .split-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
  }

  .grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .grid-3-lg {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid-4-lg {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .call-bar {
    left: 16px;
    right: 16px;
    max-width: 1152px;
    margin-left: auto;
    margin-right: auto;
  }

  .final-info {
    padding: 56px 0;
  }
}

@media (max-width: 479px) {
  .header-call {
    padding: 8px 10px;
    font-size: 11px;
  }

  .brand-name {
    font-size: 15px;
  }

  .call-bar-title {
    font-size: 15px;
  }
}

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

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