/* ===== Phone Link Wireless — Design System v2 ===== */

/* --- Design Tokens --- */
:root {
  --blue: #1a56db;
  --blue-dark: #1e40af;
  --blue-darker: #1e3a8a;
  --blue-light: #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --navy: #0f172a;
  --navy-light: #1e293b;
  --green: #15803d;
  --green-dark: #166534;
  --green-light: #f0fdf4;
  --green-100: #dcfce7;
  --gray: #64748b;
  --gray-light: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --border: #e2e8f0;
  --white: #ffffff;
  --shadow-xs: 0 1px 2px rgba(15,23,42,.04);
  --shadow-sm: 0 1px 3px rgba(15,23,42,.06), 0 1px 2px -1px rgba(15,23,42,.04);
  --shadow: 0 4px 6px -1px rgba(15,23,42,.07), 0 2px 4px -2px rgba(15,23,42,.04);
  --shadow-md: 0 10px 15px -3px rgba(15,23,42,.08), 0 4px 6px -4px rgba(15,23,42,.04);
  --shadow-lg: 0 20px 25px -5px rgba(15,23,42,.1), 0 8px 10px -6px rgba(15,23,42,.05);
  --shadow-xl: 0 25px 50px -12px rgba(15,23,42,.2);
  --radius-sm: 6px;
  --radius: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 999px;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(0, 0, .2, 1);
  --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
  --duration: 200ms;
  --duration-slow: 300ms;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0; font-family: var(--font); color: var(--navy); background: var(--white);
  line-height: 1.65; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-size: 16px;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--duration) var(--ease); }
a:hover { color: var(--blue-dark); text-decoration: underline; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.15; font-weight: 700; margin: 0 0 .5em; letter-spacing: -.025em; color: var(--navy);
}
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.65rem, 3.5vw, 2.35rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); font-weight: 600; letter-spacing: -.015em; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }
.section-alt { background: var(--gray-light); }

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

/* --- Skip Link --- */
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--blue); color: #fff;
  padding: 12px 20px; z-index: 200; border-radius: 0 0 10px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* --- Header --- */
.site-header {
  border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; max-width: 1320px; margin: 0 auto; height: 64px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.brand {
  display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem;
  color: var(--navy); white-space: nowrap; flex-shrink: 0;
}
.brand:hover { text-decoration: none; color: var(--blue); }
.brand svg { flex-shrink: 0; }
.main-nav { display: none; margin: 0 auto; }
.main-nav > ul {
  display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; align-items: center;
}
.main-nav a {
  color: var(--navy); font-weight: 500; font-size: .84rem; padding: 7px 10px;
  border-radius: 6px; white-space: nowrap;
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
}
.main-nav a:hover { color: var(--blue); background: var(--blue-light); text-decoration: none; }
.has-dropdown { position: relative; }
.has-dropdown > a::after {
  content: ''; display: inline-block; width: 0; height: 0; margin-left: 4px; vertical-align: 1px;
  border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 4px solid currentColor;
}
.dropdown {
  display: none; position: absolute; top: calc(100% + 4px); right: 0;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); min-width: 210px; padding: 6px; list-style: none; margin: 0;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { display: block; }
.dropdown li a {
  display: block; padding: 9px 12px; border-radius: 6px; font-weight: 500; font-size: .86rem;
  white-space: nowrap;
}
.dropdown li a:hover { background: var(--gray-light); text-decoration: none; }
.header-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-cta .btn { padding: 10px 20px; font-size: .88rem; }
.nav-toggle {
  display: inline-flex; background: none; border: 1px solid var(--border); border-radius: 10px;
  padding: 10px; cursor: pointer; transition: background var(--duration) var(--ease);
}
.nav-toggle:hover { background: var(--gray-light); }
.nav-toggle svg { width: 22px; height: 22px; }

/* Mobile nav — full-screen overlay */
.mobile-nav {
  position: fixed; inset: 0; background: rgba(15,23,42,.4); backdrop-filter: blur(4px);
  z-index: 99; opacity: 0; visibility: hidden; transition: opacity var(--duration-slow) var(--ease), visibility var(--duration-slow);
}
.mobile-nav.open { opacity: 1; visibility: visible; }
.mobile-nav ul {
  position: absolute; right: 0; top: 0; bottom: 0; width: min(340px, 88vw);
  background: #fff; list-style: none; margin: 0; padding: 80px 24px 32px;
  transform: translateX(100%); transition: transform var(--duration-slow) var(--ease);
  overflow-y: auto; box-shadow: var(--shadow-xl);
}
.mobile-nav.open ul { transform: translateX(0); }
.mobile-nav li { border-bottom: 1px solid var(--gray-200); }
.mobile-nav a {
  display: block; padding: 16px 8px; font-weight: 600; color: var(--navy); font-size: 1rem;
  min-height: 52px; display: flex; align-items: center;
}
.mobile-nav a:hover { text-decoration: none; color: var(--blue); }
@media (min-width: 1024px) {
  .main-nav { display: block; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--radius-full); font-weight: 600; font-size: .95rem;
  cursor: pointer; border: 2px solid transparent; transition: all var(--duration) var(--ease);
  text-decoration: none; line-height: 1.3; min-height: 48px;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 2px 8px rgba(26,86,219,.3); }
.btn-primary:hover { background: var(--blue-dark); box-shadow: 0 4px 16px rgba(26,86,219,.35); color: #fff; }
.btn-outline { background: transparent; border-color: var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--blue-light); color: var(--blue-dark); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 2px 8px rgba(21,128,61,.25); }
.btn-green:hover { background: var(--green-dark); box-shadow: 0 4px 16px rgba(21,128,61,.3); color: #fff; }
.btn-white { background: #fff; color: var(--blue); box-shadow: var(--shadow); }
.btn-white:hover { background: var(--blue-light); }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* --- Hero --- */
.hero {
  background: linear-gradient(150deg, var(--blue-light) 0%, #fff 45%, var(--green-light) 100%);
  padding: 88px 0 72px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -40%; right: -15%; width: 650px; height: 650px;
  background: radial-gradient(circle, rgba(26,86,219,.05) 0%, transparent 70%); border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -30%; left: -10%; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(21,128,61,.04) 0%, transparent 70%); border-radius: 50%;
  pointer-events: none;
}
.hero-grid { display: grid; gap: 48px; align-items: center; position: relative; z-index: 1; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr .85fr; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--green-100); color: var(--green); font-weight: 700; font-size: .8rem;
  letter-spacing: .04em; padding: 8px 16px; border-radius: var(--radius-full);
  margin-bottom: 18px; text-transform: uppercase;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-note { font-size: .85rem; color: var(--gray); margin-top: 18px; line-height: 1.6; }

/* Trust bar */
.trust-bar { background: var(--navy); padding: 0; }
.trust-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: rgba(255,255,255,.08);
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
@media (min-width: 768px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-item {
  display: flex; align-items: center; gap: 14px; padding: 20px 24px;
  background: var(--navy); color: #fff; font-size: .9rem;
}
.trust-item svg { width: 28px; height: 28px; flex-shrink: 0; color: var(--blue-200); }
.trust-item strong { display: block; font-size: .95rem; }
.trust-item span { color: var(--gray-300); font-size: .82rem; line-height: 1.4; }

/* --- Cards --- */
.card-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 820px) {
  .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-sm);
  transition: box-shadow var(--duration-slow) var(--ease), transform var(--duration-slow) var(--ease);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card h3 { margin-top: 16px; }
.icon-badge {
  width: 56px; height: 56px; border-radius: var(--radius);
  background: var(--blue-light); display: flex; align-items: center; justify-content: center;
}
.icon-badge svg { width: 28px; height: 28px; }
.icon-badge.green { background: var(--green-light); }

/* --- Comparison table rows (compare-providers) --- */
.plan-row-label { flex: 1; min-width: 220px; }
.plan-row-body { flex: 2; min-width: 260px; }
@media (max-width: 560px) {
  .plan-row-label, .plan-row-body { min-width: 0; width: 100%; flex: 1 1 100%; }
}

/* --- Plan Cards --- */
.plan-card {
  border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 32px;
  background: #fff; display: flex; flex-direction: column; gap: 16px; position: relative;
  transition: box-shadow var(--duration-slow) var(--ease), transform var(--duration-slow) var(--ease), border-color var(--duration-slow) var(--ease);
}
.plan-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.plan-card.featured {
  border-color: var(--blue); box-shadow: var(--shadow-md);
  background: linear-gradient(180deg, var(--blue-light) 0%, #fff 15%);
}
.plan-card.featured:hover { box-shadow: var(--shadow-lg); }
.plan-price { font-size: 2.25rem; font-weight: 800; color: var(--blue); letter-spacing: -.03em; }
.plan-price span { font-size: 1rem; font-weight: 500; color: var(--gray); }
.plan-card ul { list-style: none; padding: 0; margin: 0; }
.plan-card ul li { display: flex; gap: 10px; padding: 8px 0; font-size: .95rem; align-items: flex-start; }
.plan-card ul li svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--green); margin-top: 2px; }
.badge {
  display: inline-block; background: var(--blue); color: #fff; font-size: .75rem;
  font-weight: 700; padding: 5px 12px; border-radius: var(--radius-full); align-self: flex-start;
  letter-spacing: .02em; text-transform: uppercase;
}

/* --- Steps --- */
.steps { counter-reset: step; display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 820px) {
  .steps.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .steps.cols-4 { grid-template-columns: repeat(4, 1fr); }
}
.step {
  position: relative; padding: 32px 28px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--duration-slow) var(--ease), transform var(--duration-slow) var(--ease);
}
.step:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.step-num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem;
  margin-bottom: 18px; box-shadow: 0 2px 8px rgba(26,86,219,.25);
}

/* --- Callout / Disclaimer --- */
.callout {
  border-left: 4px solid var(--blue); background: var(--blue-light); padding: 22px 28px;
  border-radius: 0 var(--radius) var(--radius) 0; margin: 24px 0;
}
.callout.green { border-color: var(--green); background: var(--green-light); }
.callout.warn { border-color: #b45309; background: #fef3c7; }
.disclaimer { font-size: .85rem; color: var(--gray); line-height: 1.7; }

/* --- FAQ / Accordion --- */
.accordion-item {
  border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px;
  overflow: hidden; background: #fff;
  transition: box-shadow var(--duration) var(--ease), border-color var(--duration) var(--ease);
}
.accordion-item:hover { border-color: var(--gray-300); }
.accordion-item[open] { border-color: var(--blue-200); box-shadow: var(--shadow-sm); }
.accordion-item summary {
  cursor: pointer; padding: 20px 24px; font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: .95rem; min-height: 56px;
  transition: background var(--duration) var(--ease);
}
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary::after {
  content: ''; width: 10px; height: 10px; flex-shrink: 0;
  border-right: 2.5px solid var(--gray); border-bottom: 2.5px solid var(--gray);
  transform: rotate(45deg); transition: transform var(--duration-slow) var(--ease);
}
.accordion-item[open] summary { background: var(--gray-light); }
.accordion-item[open] summary::after { transform: rotate(-135deg); }
.accordion-item .accordion-body { padding: 4px 24px 24px; color: var(--gray-600); line-height: 1.7; }

/* --- Breadcrumbs --- */
.breadcrumbs { font-size: .85rem; color: var(--gray); padding: 18px 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--gray-400); }

/* --- Page Hero (interior pages) --- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff; padding: 64px 0; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; top: 50%; right: -5%; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(26,86,219,.12) 0%, transparent 70%); border-radius: 50%;
  transform: translateY(-50%); pointer-events: none;
}
.page-hero p { color: var(--gray-300); max-width: 65ch; position: relative; z-index: 1; }
.page-hero h1 { color: #fff; position: relative; z-index: 1; }

/* --- Forms --- */
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-weight: 600; margin-bottom: 8px; font-size: .92rem; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--border); border-radius: 10px;
  font-family: inherit; font-size: 1rem; background: var(--gray-light);
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease), background var(--duration) var(--ease);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--blue); background: #fff;
  box-shadow: 0 0 0 3px rgba(26,86,219,.15);
}
fieldset { border: 1.5px solid var(--border); border-radius: var(--radius); padding: 20px; margin: 0 0 20px; }
legend { font-weight: 700; padding: 0 8px; font-size: .95rem; }
.radio-row { display: flex; gap: 18px; flex-wrap: wrap; }
.radio-row label {
  font-weight: 500; display: flex; align-items: center; gap: 8px;
  padding: 8px 0; cursor: pointer; min-height: 44px;
}

/* Eligibility tool */
.eligibility-tool {
  background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md); padding: 40px; max-width: 720px; margin: 0 auto;
}
.progress-track { height: 6px; background: var(--gray-200); border-radius: var(--radius-full); margin-bottom: 32px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--blue), var(--green)); width: 20%; transition: width .35s var(--ease); border-radius: var(--radius-full); }
.q-step { display: none; }
.q-step.active { display: block; }
.result-box { text-align: center; padding: 24px; }
.result-icon { width: 64px; height: 64px; margin: 0 auto 16px; }
.q-nav { display: flex; justify-content: space-between; margin-top: 28px; gap: 12px; }

/* --- Table --- */
table { width: 100%; border-collapse: collapse; margin: 20px 0; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--border); }
th { background: var(--gray-light); font-weight: 600; font-size: .9rem; }

/* --- CTA Band --- */
.cta-band {
  background: linear-gradient(135deg, var(--blue-darker) 0%, var(--blue) 50%, var(--blue-dark) 100%);
  color: #fff; padding: 72px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; top: -50%; left: -20%; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,.06) 0%, transparent 70%); border-radius: 50%;
  pointer-events: none;
}
.cta-band h2 { color: #fff; position: relative; z-index: 1; }
.cta-band p { color: var(--blue-200); max-width: 55ch; margin: 0 auto 28px; position: relative; z-index: 1; }
.cta-band .btn { position: relative; z-index: 1; }

/* --- Footer --- */
.site-footer {
  background: linear-gradient(180deg, var(--navy) 0%, #070d18 100%);
  color: var(--gray-300); padding: 64px 0 32px; margin-top: 0;
}
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr; margin-bottom: 40px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.5fr repeat(3, 1fr); } }
.footer-grid h4 {
  color: #fff; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 18px; font-weight: 700;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 12px; }
.footer-grid a {
  color: var(--gray-400); font-size: .9rem;
  transition: color var(--duration) var(--ease), padding-left var(--duration) var(--ease);
}
.footer-grid a:hover { color: #fff; text-decoration: none; padding-left: 4px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; margin-bottom: 14px; font-size: 1.05rem; }
.footer-contact-block {
  font-size: .85rem; line-height: 1.8; color: var(--gray-400); margin-top: 14px !important;
}
.footer-contact-block a { color: var(--gray-300); text-decoration: none; }
.footer-contact-block a:hover { color: #fff; text-decoration: underline; }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 28px;
  font-size: .8rem; color: var(--gray-400); line-height: 1.8;
}
.footer-legal p { margin: 0 0 12px; }
.footer-legal a { color: var(--gray-300); text-decoration: underline; }
.footer-legal a:hover { color: #fff; }
.footer-compliance-notice {
  font-style: italic; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.06);
}
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 24px; font-size: .8rem; color: var(--gray-500); padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-bottom ul { list-style: none; display: flex; gap: 20px; padding: 0; margin: 0; flex-wrap: wrap; }
.footer-bottom a { color: var(--gray-400); }
.footer-bottom a:hover { color: #fff; text-decoration: none; }

/* --- Utilities --- */
.text-center { text-align: center; }
.mt-lg { margin-top: 40px; }
.grid-2 { display: grid; gap: 36px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.lede { font-size: 1.15rem; color: var(--gray-600); line-height: 1.7; }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.tag { background: var(--gray-100); border: 1px solid var(--border); border-radius: var(--radius-full); padding: 6px 16px; font-size: .85rem; font-weight: 600; }
.article-body h2 { margin-top: 2em; }
.article-body h3 { margin-top: 1.5em; }
.article-meta { color: var(--gray); font-size: .9rem; margin-bottom: 24px; }
.not-found { padding: 100px 0; text-align: center; }
.link-list { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 24px; }

/* --- Lifestyle photos --- */
.lifestyle-photo {
  width: 100%; height: auto; max-height: 420px; object-fit: cover;
  border-radius: var(--radius-lg, 20px); box-shadow: var(--shadow-lg);
}

/* --- Product pages --- */
.product-hero { padding: 48px 0 56px; }
.product-img { display: flex; justify-content: center; align-items: center; }
.product-img svg { width: 100%; max-width: 320px; height: auto; }
.product-img img { width: 100%; max-width: 320px; height: auto; object-fit: contain; border-radius: var(--radius); }
.product-info { display: flex; flex-direction: column; gap: 12px; }
.product-info h1 { margin: 4px 0 0; }
.product-tagline { font-size: 1.1rem; color: var(--gray-600); line-height: 1.6; margin: 0; }
.product-price { display: flex; align-items: baseline; gap: 12px; margin: 8px 0; }
.product-highlights {
  list-style: none; padding: 0; margin: 8px 0 16px;
}
.product-highlights li {
  padding: 6px 0 6px 26px; position: relative; font-size: .95rem; color: var(--gray-600);
}
.product-highlights li::before {
  content: ''; position: absolute; left: 0; top: 10px; width: 16px; height: 16px;
  background: var(--green); border-radius: 50%;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat;
}
.product-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.spec-table th, .spec-table td {
  padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: .92rem;
}
.spec-table th { width: 35%; font-weight: 600; color: var(--navy); background: var(--gray-light); }
.spec-table td { color: var(--gray-600); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
.step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff;
  font-weight: 800; font-size: 1.1rem; margin-bottom: 12px;
}

/* --- Phone listing cards --- */
.phone-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 8px; padding: 24px 20px !important; text-decoration: none; color: inherit;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.phone-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); text-decoration: none; color: inherit; }
.phone-card-img { width: 120px; margin-bottom: 4px; display: flex; justify-content: center; }
.phone-card-img svg { width: 100%; height: auto; }
.phone-card-img img { width: 100%; height: 150px; object-fit: contain; }
.phone-card h3 { margin: 4px 0 0; font-size: 1.05rem; }
.phone-card-specs { font-size: .84rem; color: var(--gray-600); margin: 0; }
.phone-card-price { font-size: 1.3rem; font-weight: 800; color: var(--green); margin-top: auto; }
.phone-card .badge { margin-bottom: 0; }
.cols-2 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .cols-2 { grid-template-columns: 1fr 1fr; } }

/* --- Shop cards --- */
.shop-card-link {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  text-decoration: none; color: inherit; gap: 4px;
}
.shop-card-link:hover { text-decoration: none; color: inherit; }
.shop-card-link h3 { transition: color var(--duration) var(--ease); }
.shop-card-link:hover h3 { color: var(--blue); }
.shop-filters {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.shop-filter-label { font-weight: 600; font-size: .9rem; color: var(--gray-600); margin-right: 4px; }
.shop-filter {
  background: var(--gray-light); border: 1px solid var(--border); border-radius: var(--radius-full);
  padding: 8px 18px; font-size: .88rem; font-weight: 600; cursor: pointer; color: var(--navy);
  transition: all var(--duration) var(--ease);
}
.shop-filter:hover { background: var(--blue-light); border-color: var(--blue-200); }
.shop-filter.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.shop-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px;
  padding: 28px 24px !important; position: relative;
}
.shop-card .badge { margin-bottom: 4px; }
.shop-card h3 { margin: 4px 0 0; font-size: 1.1rem; }
.shop-card-img { width: 140px; margin-bottom: 8px; display: flex; justify-content: center; }
.shop-card-img svg { width: 100%; height: auto; }
.shop-card-img img { width: 100%; height: 175px; object-fit: contain; }
.shop-card-specs { font-size: .85rem; color: var(--gray-600); margin: 0; }
.shop-card-features {
  list-style: none; padding: 0; margin: 8px 0 12px; text-align: left; width: 100%; font-size: .9rem;
}
.shop-card-features li {
  padding: 4px 0 4px 22px; position: relative; color: var(--gray-600);
}
.shop-card-features li::before {
  content: ''; position: absolute; left: 0; top: 9px; width: 14px; height: 14px;
  background: var(--green); border-radius: 50%;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/10px no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/10px no-repeat;
}
.shop-card-price { margin: auto 0 12px; padding-top: 12px; border-top: 1px solid var(--border); width: 100%; }
.price-free { font-size: 1.5rem; font-weight: 800; color: var(--green); }
.price-amount { font-size: 1.5rem; font-weight: 800; color: var(--navy); }
.price-note { display: block; font-size: .82rem; color: var(--gray-600); margin-top: 2px; }
.shop-card .btn { width: 100%; }
.badge-blue { background: var(--blue-light); color: var(--blue); }
.badge-green { background: #dcfce7; color: #15803d; }

/* --- Provider cards (compare page) --- */
.provider-card { position: relative; }
.provider-card .badge { position: absolute; top: -10px; left: 20px; }

/* --- State grid (by-state) --- */
.state-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; }
.state-grid a {
  display: flex; align-items: center; justify-content: center; padding: 12px 8px;
  background: var(--gray-light); border: 1px solid var(--border); border-radius: 8px;
  font-weight: 700; font-size: .9rem; color: var(--navy); min-height: 48px;
  transition: background var(--duration) var(--ease), border-color var(--duration) var(--ease), transform var(--duration) var(--ease);
}
.state-grid a:hover { background: var(--blue-light); border-color: var(--blue-200); transform: translateY(-2px); text-decoration: none; }

/* --- Back to top --- */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px; width: 48px; height: 48px;
  background: var(--blue); color: #fff; border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: var(--shadow-md); z-index: 50;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity var(--duration-slow) var(--ease), visibility var(--duration-slow), transform var(--duration-slow) var(--ease), background var(--duration) var(--ease);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--blue-dark); }
.back-to-top svg { width: 22px; height: 22px; }

/* Hide header CTA on mobile — it's in the mobile nav */
@media (max-width: 1023px) {
  .header-cta .btn { display: none; }
  .nav-toggle { display: inline-flex !important; }
}

/* --- Small breakpoint adjustments --- */
@media (max-width: 640px) {
  section { padding: 56px 0; }
  .hero { padding: 64px 0 56px; }
  .container { padding: 0 18px; }
  .trust-grid { padding: 0 18px; }
  .card { padding: 24px; }
  .plan-card { padding: 24px; }
  .eligibility-tool { padding: 28px 20px; }
  .cta-band { padding: 56px 0; }
  .page-hero { padding: 48px 0; }
  .trust-item { padding: 16px 18px; }
  .step { padding: 24px 20px; }
}
