:root {
  color-scheme: light;
  --bg: #f7f9fb;
  --surface-low: #f2f4f6;
  --bg-elevated: #ffffff;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --navy: #0f2942;
  --navy-deep: #071824;
  --accent: #0c6e6a;
  --accent-bright: #0d9488;
  --accent-hover: #0f766e;
  --accent-soft: rgba(13, 148, 136, 0.1);
  --accent-ring: rgba(13, 148, 136, 0.35);
  --success: #059669;
  --focus-ring: 0 0 0 3px rgba(13, 148, 136, 0.35);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow: var(--shadow-xs), 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 4px 6px rgba(25, 28, 30, 0.03), 0 24px 48px -12px rgba(25, 28, 30, 0.08);
  --shadow-glass: 0 24px 48px -12px rgba(25, 28, 30, 0.06);
  --ghost-border: rgba(25, 28, 30, 0.08);
  --shadow-card-hover: 0 8px 24px rgba(15, 23, 42, 0.08);
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
  --t-fast: 150ms;
  --t-med: 220ms;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --space: clamp(1rem, 3vw, 2rem);
  --max: 1120px;
  --bar-h: 104px;
  --z-header: 100;
  --z-bar: 200;
  --z-toast: 300;
  --z-loader: 400;
}

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

[hidden] {
  display: none !important;
}

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: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  font-feature-settings: "liga" 1, "calt" 1;
  color: var(--text);
  background: var(--bg);
  padding-bottom: 0;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.selection-bar-visible {
  padding-bottom: calc(var(--bar-h) + 1.25rem);
}

body.page-app {
  --font-sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "IBM Plex Serif", Georgia, "Times New Roman", serif;
  font-family: var(--font-sans);
}

.page-app .hero-title {
  font-weight: 500;
  font-size: clamp(1.6rem, 3.1vw, 2.2rem);
  line-height: 1.22;
  letter-spacing: -0.018em;
}

.page-app .section-heading {
  font-weight: 500;
  letter-spacing: -0.02em;
}

.page-app .hero-lead {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  max-width: 46ch;
}

.page-app .hero-main {
  max-width: 38rem;
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(226, 232, 240, 0.95);
  box-shadow: var(--shadow-xs), 0 20px 40px -12px rgba(15, 23, 42, 0.07);
}

.page-app .section-sub {
  font-size: 0.9375rem;
  max-width: 44ch;
}

.page-app .site-header {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  border-bottom-color: rgba(226, 232, 240, 0.95);
}

@media (max-width: 640px) {
  body.selection-bar-visible {
    --bar-h: 192px;
  }
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-color: var(--bg);
  background-image: radial-gradient(1400px 720px at 8% -15%, rgba(13, 148, 136, 0.09) 0, transparent 58%),
    radial-gradient(1000px 560px at 92% 5%, rgba(14, 165, 233, 0.06) 0, transparent 52%),
    radial-gradient(900px 480px at 50% 105%, rgba(15, 41, 66, 0.05) 0, transparent 48%),
    radial-gradient(600px 400px at 70% 40%, rgba(13, 148, 136, 0.04) 0, transparent 55%);
  pointer-events: none;
}

body.step-verify,
body.step-done {
  padding-bottom: 0;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(100% - 2 * var(--space), var(--max));
  margin-inline: auto;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(247, 249, 251, 0.78);
  backdrop-filter: blur(22px) saturate(1.35);
  border-bottom: 1px solid var(--ghost-border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset, 0 8px 32px rgba(25, 28, 30, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-block: 1rem 1.1rem;
  gap: 1rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.03em;
}

.brand-logo--textless {
  min-width: 2.75rem;
  min-height: 2.5rem;
}

.brand-logo-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--accent-bright), #0f766e);
  color: #fff;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
}

.brand-logo:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 4px;
  border-radius: 12px;
}

.brand-logo-text {
  line-height: 1.2;
}

.brand-logo-accent {
  color: var(--accent-bright);
  font-weight: 800;
}

.hero {
  position: relative;
  padding: clamp(2rem, 5vw, 3rem) 0 clamp(2.5rem, 6vw, 4rem);
  overflow: hidden;
}

.hero-ambient {
  position: absolute;
  inset: -20% -10% auto;
  height: min(70vh, 640px);
  pointer-events: none;
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}

.hero-orb--a {
  width: min(420px, 55vw);
  height: min(420px, 55vw);
  top: -5%;
  left: -8%;
  background: radial-gradient(circle at 40% 40%, rgba(13, 148, 136, 0.35), transparent 70%);
}

.hero-orb--b {
  width: min(380px, 48vw);
  height: min(380px, 48vw);
  top: 10%;
  right: 5%;
  background: radial-gradient(circle at 50% 50%, rgba(14, 165, 233, 0.22), transparent 68%);
  opacity: 0.5;
}

.hero-orb--c {
  width: min(320px, 42vw);
  height: min(320px, 42vw);
  bottom: -15%;
  left: 35%;
  background: radial-gradient(circle at 50% 50%, rgba(13, 148, 136, 0.18), rgba(15, 41, 66, 0.08));
  opacity: 0.4;
}

@media (prefers-reduced-motion: reduce) {
  .hero-orb {
    filter: blur(64px);
    opacity: 0.32;
  }
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-layout {
  display: block;
}

.hero-main {
  max-width: 40rem;
  margin-inline: auto;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-radius: var(--radius);
  border: 1px solid var(--ghost-border);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero-main::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.hero-main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-bright), #0e7490, #2563eb);
  opacity: 0.95;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 2.85rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 1rem;
  color: var(--navy);
  text-wrap: balance;
}

.hero-lead {
  font-size: 1.0625rem;
  color: #3d4947;
  margin: 0 auto 1.75rem;
  max-width: 54ch;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.65rem 1.35rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-med) var(--ease-out),
    background var(--t-med) var(--ease-out), filter var(--t-fast) ease;
}

@media (prefers-reduced-motion: no-preference) {
  .btn:active {
    transform: translateY(1px);
  }
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring), 0 4px 16px rgba(13, 148, 136, 0.25);
}

.btn-icon {
  flex-shrink: 0;
}

.btn-primary {
  background: linear-gradient(145deg, var(--accent-bright), #0f766e);
  color: #fff;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.06), 0 8px 20px rgba(13, 148, 136, 0.35);
}

.btn-primary:hover {
  filter: brightness(1.04);
  box-shadow: 0 4px 8px rgba(15, 23, 42, 0.08), 0 12px 28px rgba(13, 148, 136, 0.42);
}

.section {
  padding: clamp(2rem, 5vw, 3.5rem) 0;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--navy);
  margin: 0;
}

.section-head--row .section-heading {
  text-align: left;
}

.section-carriers .section-head--row .section-heading {
  text-align: center;
}

.section-head {
  margin-bottom: 1.75rem;
}

.section-sub {
  margin: 0.75rem 0 0;
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 52ch;
  line-height: 1.65;
}

.section-carriers .section-sub {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-carriers {
  background: linear-gradient(180deg, var(--surface-low) 0%, var(--bg) 45%, transparent 100%);
  border-top: 1px solid rgba(226, 232, 240, 0.65);
}

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

.carrier-fieldset {
  border: none;
  margin: 0;
  padding: 0;
}

.carrier-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

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

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

.carrier-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.3rem 1.25rem;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  text-align: left;
  width: 100%;
  font: inherit;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
  transition: border-color 220ms var(--ease-out), box-shadow 220ms var(--ease-out),
    transform 220ms var(--ease-out), background 220ms ease;
}

@media (prefers-reduced-motion: no-preference) {
  .carrier-card:hover {
    border-color: var(--border-strong);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.03);
    transform: translateY(-3px);
    background: #fafffe;
  }
}

@media (prefers-reduced-motion: reduce) {
  .carrier-card:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow);
  }
}

.carrier-card:focus-visible {
  outline: none;
  border-color: var(--accent-bright);
  box-shadow: var(--focus-ring), 0 1px 3px rgba(15, 23, 42, 0.03);
}

.carrier-card[aria-checked="true"] {
  border-color: var(--accent-bright);
  background: linear-gradient(135deg, #ffffff 0%, rgba(240, 253, 250, 0.92) 100%);
  box-shadow: 0 0 0 1.5px rgba(13, 148, 136, 0.25), 0 12px 32px -8px rgba(13, 148, 136, 0.2);
}

.carrier-card[hidden] {
  display: none !important;
}

.carrier-mark {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: #fff;
  position: relative;
  overflow: hidden;
  border: 1.5px solid rgba(15, 23, 42, 0.07);
  background: var(--bg-elevated);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
  transition: box-shadow 220ms var(--ease-out);
}

.carrier-mark.is-fallback {
  border: none;
}

.carrier-logo-img {
  width: 58px;
  height: 58px;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  image-rendering: auto;
}

.carrier-fallback-initials {
  display: none;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: #fff;
}

.carrier-mark.is-fallback .carrier-fallback-initials {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.carrier-mark.is-fallback .carrier-logo-img {
  display: none;
}

.carrier-mark--logo {
  background: #fff !important;
}

.carrier-mark.is-fallback .carrier-fallback-initials {
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.carrier-body {
  flex: 1;
  min-width: 0;
}

.carrier-name {
  font-weight: 700;
  font-size: 1rem;
  margin: 0;
  color: var(--navy);
  line-height: 1.3;
}

.carrier-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid #cbd5e1;
  display: grid;
  place-items: center;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.carrier-card[aria-checked="true"] .carrier-check {
  border-color: var(--accent-bright);
  background: var(--accent-bright);
}

.carrier-check svg {
  width: 14px;
  height: 14px;
  opacity: 0;
  color: #fff;
}

.carrier-card[aria-checked="true"] .carrier-check svg {
  opacity: 1;
}

.site-footer {
  position: relative;
  margin-top: auto;
}

.footer-shell {
  background: linear-gradient(165deg, #0c1929 0%, var(--navy-deep) 45%, #050a10 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem 0 2.75rem;
}

.footer-shell::before {
  content: "";
  display: block;
  height: 3px;
  width: min(120px, 40%);
  margin: 0 auto 2.25rem;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--accent-bright), transparent);
  opacity: 0.55;
}

.footer-inner {
  max-width: 52rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.75rem;
}

.footer-disclaimer {
  width: 100%;
}

.footer-disclaimer p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.75;
  color: rgba(226, 232, 240, 0.72);
  max-width: 48rem;
  margin-inline: auto;
}

.footer-legal {
  width: 100%;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copyright {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.85);
}

.selection-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-bar);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 250, 252, 0.98) 100%);
  backdrop-filter: blur(20px) saturate(1.35);
  -webkit-backdrop-filter: blur(20px) saturate(1.35);
  border-top: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.08), 0 -1px 0 rgba(255, 255, 255, 0.9) inset;
}

.selection-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(13, 148, 136, 0.45), #0d9488, rgba(14, 116, 144, 0.5), transparent);
  opacity: 0.85;
}

.selection-bar[hidden] {
  display: none;
}

.selection-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  padding: 1.1rem 0 1.25rem;
  max-width: var(--max);
}

.selection-bar-body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  flex: 1;
  min-width: min(100%, 280px);
}

.selection-bar-leading {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  min-width: 0;
}

.selection-bar-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(13, 148, 136, 0.14), rgba(13, 148, 136, 0.06));
  color: var(--accent-bright);
  border: 1px solid rgba(13, 148, 136, 0.2);
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.12);
}

.selection-bar-copy {
  min-width: 0;
}

.selection-bar-kicker {
  margin: 0 0 0.2rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

.selection-bar-headline {
  margin: 0;
  font-size: 1.1875rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  line-height: 1.25;
  max-width: 20ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.selection-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  min-height: 3rem;
}

.selection-pick {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.85rem 0.45rem 0.45rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-xs), 0 2px 12px rgba(15, 23, 42, 0.05);
}

.selection-pick-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
}

.selection-pick-logo img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  object-position: center;
}

.selection-pick-initials {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
}

.selection-pick-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.selection-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  justify-content: flex-end;
}

.selection-btn-clear {
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  min-height: 44px;
}

.selection-btn-clear:hover {
  color: var(--navy);
  background: rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.06);
}

.selection-btn-clear:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.selection-btn-continue {
  min-height: 48px;
  padding-inline: 1.35rem;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(13, 148, 136, 0.25), 0 8px 24px rgba(13, 148, 136, 0.28);
}

@media (max-width: 640px) {
  .selection-bar-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .selection-bar-body {
    flex-direction: column;
    align-items: stretch;
  }

  .selection-chips {
    min-height: 0;
  }

  .selection-pick {
    width: 100%;
    justify-content: flex-start;
  }

  .selection-actions {
    justify-content: stretch;
    width: 100%;
  }

  .selection-btn-clear {
    flex: 1;
    text-align: center;
    border: 1px solid var(--border);
    background: #fff;
  }

  .selection-btn-continue {
    flex: 1.4;
    justify-content: center;
  }
}

.toast {
  position: fixed;
  bottom: calc(var(--bar-h) + 1rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-toast);
  padding: 0.85rem 1.35rem;
  background: var(--navy);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  max-width: min(90vw, 380px);
  text-align: center;
}

.toast[hidden] {
  display: none;
}

.section-verify,
.section-done {
  padding-top: 1.5rem;
  padding-bottom: 3.5rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  padding: 0.4rem 0;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.15s ease;
}

.back-link:hover {
  color: var(--accent-bright);
}

.back-link:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

.verify-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.verify-card-top {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem 1.5rem 1rem;
  background: linear-gradient(135deg, #f8fafc 0%, #fff 100%);
  border-bottom: 1px solid var(--border);
}

.verify-card-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--accent-bright), #0f766e);
  color: #fff;
  box-shadow: 0 6px 18px rgba(13, 148, 136, 0.35);
}

.verify-card-kicker {
  margin: 0 0 0.25rem;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-bright);
}

.verify-card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0;
  color: var(--navy);
  line-height: 1.2;
}

.verify-lead {
  margin: 0;
  padding: 1.25rem 1.5rem 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.carrier-login-forms {
  padding: 1.25rem 1.5rem 0.5rem;
}

.carrier-login {
  margin-bottom: 1.5rem;
}

.carrier-login:last-child {
  margin-bottom: 0;
}

.carrier-login-slot {
  min-height: 0;
}

.carrier-login-panel {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 16px 48px -12px rgba(15, 23, 42, 0.1);
  position: relative;
  overflow: hidden;
}

.carrier-login-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-bright), #0e7490, #2563eb);
  opacity: 0.9;
  pointer-events: none;
}

.carrier-login-panel--ready {
  border-color: rgba(13, 148, 136, 0.35);
  box-shadow: 0 0 0 1px rgba(13, 148, 136, 0.12), 0 20px 52px -14px rgba(13, 148, 136, 0.2);
}

.carrier-login-panel--ready::before {
  background: linear-gradient(90deg, var(--success), var(--accent-bright), var(--success));
}

.carrier-login-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.carrier-login-logo-mark {
  width: 100px;
  height: 100px;
  border-radius: 24px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
}

.carrier-login-logo-mark .carrier-logo-img {
  width: 84px;
  height: 84px;
}

.carrier-field {
  margin-bottom: 1.2rem;
}

.carrier-field-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  color: var(--text);
  letter-spacing: 0.01em;
}

.carrier-field-input {
  width: 100%;
  min-height: 52px;
  padding: 0.65rem 1rem;
  font: inherit;
  font-size: 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
  transition: border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.carrier-field-input::placeholder {
  color: #94a3b8;
}

.carrier-field-input:hover {
  border-color: var(--border-strong);
  background: #fafbfc;
}

.carrier-field-input:focus {
  outline: none;
  border-color: var(--accent-bright);
  box-shadow: 0 0 0 3.5px var(--accent-soft);
  background: #fff;
}

.carrier-field-input--locked {
  background: #f1f5f9;
  color: var(--text-muted);
  border-style: dashed;
  cursor: not-allowed;
}

.carrier-field-input--phone {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.carrier-pass-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  overflow: hidden;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.carrier-pass-row:hover {
  border-color: var(--border-strong);
}

.carrier-pass-row:focus-within {
  border-color: var(--accent-bright);
  box-shadow: 0 0 0 3.5px var(--accent-soft);
}

.carrier-pass-row .carrier-field-input {
  border: none;
  border-radius: 0;
  min-height: 52px;
  flex: 1;
  box-shadow: none;
  background: transparent;
}

.carrier-pass-row .carrier-field-input:hover {
  background: transparent;
}

.carrier-pass-row .carrier-field-input:focus {
  box-shadow: none;
}

.carrier-pass-toggle {
  flex-shrink: 0;
  width: 52px;
  display: grid;
  place-items: center;
  border: none;
  border-left: 1px solid var(--border);
  background: #f8fafc;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}

.carrier-pass-toggle:hover {
  background: #f1f5f9;
  color: var(--navy);
}

.carrier-pass-toggle:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--accent-bright);
}

.carrier-login-status {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.carrier-login-status svg {
  flex-shrink: 0;
}

.carrier-login-status--err {
  color: #991b1b;
  background: linear-gradient(135deg, #fef2f2, #fff1f2);
  border: 1px solid #fecaca;
}

.carrier-login-status--ok {
  color: #065f46;
  background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
  border: 1px solid #a7f3d0;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.btn-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 600ms linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .btn-spinner { animation-duration: 1200ms; }
}

.verify-strip-wrap {
  margin: 1.25rem 1.5rem 0;
  padding: 1rem 1.1rem;
  background: linear-gradient(180deg, #f8fafc, #fff);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.verify-strip-label {
  margin: 0 0 0.6rem;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.verify-strip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.verify-strip li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--navy);
  max-width: 100%;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.verify-strip-logo {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
}

.verify-strip-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  object-position: center;
}

.verify-strip-logo .mini-initials {
  font-size: 0.65rem;
  font-weight: 800;
  color: #fff;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.form-error {
  margin: 0 1.5rem 1rem;
  padding: 0.65rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius-sm);
}

.verify-actions {
  padding: 1.25rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
  background: #fafbfc;
}

.btn-wide {
  width: 100%;
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.done-card {
  text-align: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 2.75rem) 1.5rem;
  box-shadow: var(--shadow-lg);
}

.done-card-strip-wrap {
  display: flex;
  justify-content: center;
  margin: 0 0 1.35rem;
}

.verify-strip--done {
  margin: 0;
  justify-content: center;
}

.done-text--lead {
  margin: 0 0 0.65rem;
}

.done-text--lead strong {
  display: inline;
  margin: 0;
  color: var(--navy);
  font-weight: 700;
}

.done-text--sub {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.done-next {
  margin-top: 1.35rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--border);
}

.done-open-hint {
  margin: 0.85rem 0 0.65rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.btn-done-open {
  margin-top: 0.15rem;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--navy);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.btn-done-open:hover {
  border-color: rgba(13, 148, 136, 0.45);
  color: var(--accent-bright);
  filter: none;
}

.done-footnote {
  margin: 1.35rem 0 0;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 42ch;
  margin-left: auto;
  margin-right: auto;
}

.done-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(5, 150, 105, 0.15), rgba(5, 150, 105, 0.08));
  color: var(--success);
  display: grid;
  place-items: center;
  border: 1px solid rgba(5, 150, 105, 0.25);
}

.done-kicker {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-bright);
  margin: 0 0 0.5rem;
}

.done-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  margin: 0 0 1rem;
  color: var(--navy);
}

.done-text {
  margin: 0 0 1.75rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.done-text strong {
  display: block;
  margin-top: 0.35rem;
  color: var(--navy);
  font-weight: 700;
}

.done-redirect-msg {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent-bright);
}

body[data-carrier-flow="att"].step-done .done-kicker {
  color: #0277bd;
}

body[data-carrier-flow="att"].step-done .done-icon {
  background: linear-gradient(145deg, rgba(2, 119, 189, 0.2), rgba(2, 119, 189, 0.08));
  color: #0277bd;
  border-color: rgba(2, 119, 189, 0.35);
}

body[data-carrier-flow="verizon"].step-done .done-kicker {
  color: #c62828;
}

body[data-carrier-flow="verizon"].step-done .done-icon {
  background: linear-gradient(145deg, rgba(198, 40, 40, 0.18), rgba(198, 40, 40, 0.07));
  color: #c62828;
  border-color: rgba(198, 40, 40, 0.32);
}

body[data-carrier-flow="tmobile"].step-done .done-kicker,
body[data-carrier-flow="metro"].step-done .done-kicker {
  color: #e20074;
}

body[data-carrier-flow="tmobile"].step-done .done-icon,
body[data-carrier-flow="metro"].step-done .done-icon {
  background: linear-gradient(145deg, rgba(226, 0, 116, 0.18), rgba(226, 0, 116, 0.07));
  color: #e20074;
  border-color: rgba(226, 0, 116, 0.3);
}

body[data-carrier-flow="xfinity"].step-done .done-kicker {
  color: #5c6bc0;
}

body[data-carrier-flow="xfinity"].step-done .done-icon {
  background: linear-gradient(145deg, rgba(92, 107, 192, 0.2), rgba(92, 107, 192, 0.08));
  color: #5c6bc0;
  border-color: rgba(92, 107, 192, 0.32);
}

body[data-carrier-flow="spectrum"].step-done .done-kicker {
  color: #003057;
}

body[data-carrier-flow="spectrum"].step-done .done-icon {
  background: linear-gradient(145deg, rgba(0, 48, 87, 0.16), rgba(0, 48, 87, 0.06));
  color: #003057;
  border-color: rgba(0, 48, 87, 0.28);
}

.done-redirect-bar {
  width: min(280px, 80%);
  height: 4px;
  border-radius: 999px;
  background: var(--border);
  margin: 0 auto;
  overflow: hidden;
}

.done-redirect-progress {
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-bright), #0f766e);
  transform-origin: left;
}

@keyframes redirectShrink {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

#panel-step1[hidden],
#panel-step2[hidden],
#panel-step3[hidden],
#panel-step4[hidden],
#panel-step5[hidden] {
  display: none !important;
}

.flow-step-content {
  padding: 0 1.5rem 0.5rem;
}

.verify-method-single {
  margin: 0 0 1.25rem;
  padding: 1rem 1.15rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

.verify-method-single .verify-method-title {
  margin: 0 0 0.35rem;
}

.verify-method-single .verify-method-hint {
  margin: 0;
}

.otp-push-resume {
  margin: 0.75rem 0 0;
}

.otp-push-resume-linkwrap {
  margin: 0.5rem 0 0;
}

.otp-push-external-link {
  font-weight: 600;
  color: var(--accent-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.otp-push-external-link:hover {
  color: var(--accent-hover);
}

.verify-method-fieldset {
  border: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.verify-method-legend {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 0.65rem;
  padding: 0;
}

.verify-method-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.verify-method-option {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin: 0;
  padding: 1rem 1.15rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  background: #fff;
  transition: border-color 200ms ease, background 200ms ease, box-shadow 200ms ease, transform 150ms var(--ease-out);
}

.verify-method-option:hover {
  border-color: var(--border-strong);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  transform: translateY(-1px);
}

.verify-method-option:has(input:checked) {
  border-color: var(--accent-bright);
  background: linear-gradient(135deg, #ffffff 0%, rgba(240, 253, 250, 0.65) 100%);
  box-shadow: 0 0 0 1.5px rgba(13, 148, 136, 0.2), 0 4px 16px rgba(13, 148, 136, 0.08);
}

.verify-method-option input {
  margin-top: 0.25rem;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: var(--accent-bright);
  cursor: pointer;
}

.verify-method-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.verify-method-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy);
}

.verify-method-hint {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.otp-code-input {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.45em;
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.carrier-field-hint {
  margin: 0.45rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.otp-code-section {
  animation: slideDown 300ms var(--ease-out);
}

.billing-intro {
  margin: 0 0 1.35rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.billing-field-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
}

@media (max-width: 480px) {
  .billing-field-row {
    grid-template-columns: 1fr;
  }
}

.billing-field-row .carrier-field-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.billing-field-row .carrier-field-label svg {
  color: var(--accent-bright);
  flex-shrink: 0;
}

.billing-hint {
  margin-top: 0;
}

body.has-page-loader {
  overflow: hidden;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: var(--z-loader);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.38s cubic-bezier(0.33, 1, 0.68, 1),
    visibility 0.38s cubic-bezier(0.33, 1, 0.68, 1);
}

.page-loader.page-loader--active {
  opacity: 1;
  visibility: visible;
}

.page-loader__backdrop {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    165deg,
    rgba(15, 41, 66, 0.42) 0%,
    rgba(7, 24, 36, 0.52) 45%,
    rgba(13, 148, 136, 0.12) 100%
  );
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}

.page-loader__panel {
  position: relative;
  width: 100%;
  max-width: 340px;
  padding: 2rem 1.75rem 1.85rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(13, 148, 136, 0.06);
  text-align: center;
}

.page-loader__brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: 1.35rem;
  color: var(--navy);
}

.page-loader__brand-mark {
  display: flex;
  color: var(--accent-bright);
}

.page-loader__brand-text {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.page-loader__brand-accent {
  color: var(--accent-bright);
}

.page-loader__spinner {
  position: relative;
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
}

.page-loader__ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--accent-bright);
  border-right-color: rgba(13, 148, 136, 0.22);
  animation: pageLoaderOrbit 1.05s cubic-bezier(0.45, 0.05, 0.25, 1) infinite;
}

.page-loader__ring:nth-child(1) {
  inset: 0;
}

.page-loader__ring:nth-child(2) {
  inset: 7px;
  animation-delay: -0.14s;
  border-top-color: rgba(13, 148, 136, 0.92);
  opacity: 0.88;
}

.page-loader__ring:nth-child(3) {
  inset: 14px;
  animation-delay: -0.28s;
  border-top-color: var(--navy);
  opacity: 0.55;
}

@keyframes pageLoaderOrbit {
  to {
    transform: rotate(360deg);
  }
}

.page-loader__label {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1.45;
}

@media (prefers-reduced-motion: reduce) {
  .page-loader__ring {
    animation-duration: 1.6s;
    animation-timing-function: linear;
  }
}

.carrier-start-intro {
  margin: 1.75rem 0 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  max-width: 36rem;
}

.carrier-start-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr));
  max-width: 42rem;
}

.carrier-start-list a {
  display: block;
  padding: 0.6rem 0.85rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent-bright);
  background: rgba(255, 255, 255, 0.6);
  transition: border-color 160ms ease, background 160ms ease;
}

.carrier-start-list a:hover {
  border-color: var(--accent-bright);
  background: #fff;
}

