/* ================================================================
   Free iPhone Online — visual layer v2
   Core tokens stay on the UI/UX Pro Max palette (blue #2563EB, CTA red #DC2626,
   secondary green #059669); accents add depth and section contrast.
   ================================================================ */
:root {
  --violet: #7C3AED; --violet-50: #F5F3FF;
  --teal: #0D9488;   --teal-50: #F0FDFA;
  --amber-500: #F59E0B; --amber-100: #FEF3C7;
  --rose: #E11D48;   --rose-50: #FFF1F2;
  --emerald: #059669; --emerald-50: #ECFDF5;
  --sky: #0284C7;    --sky-50: #F0F9FF;
  --navy: #0B1437;
  --grad-brand: linear-gradient(135deg, #2563EB 0%, #4F46E5 55%, #7C3AED 100%);
  --grad-warm: linear-gradient(135deg, #F59E0B 0%, #F97316 50%, #E11D48 100%);
  --grad-cool: linear-gradient(135deg, #0EA5E9 0%, #0D9488 100%);
  --dots: radial-gradient(rgba(37, 99, 235, .12) 1px, transparent 1px);
}
body { background: #fff; }

/* ---------- Header ---------- */
.header-inner { height: 72px; gap: 24px; }
.brand { flex: none; }
.main-nav { margin-left: auto; min-width: 0; }
.nav-list { flex-wrap: nowrap; }
.nav-link { font-size: .92rem; padding: 0 10px; }
.nav-link.is-tool { background: var(--grad-brand); color: #fff; box-shadow: 0 6px 16px -8px rgba(79, 70, 229, .8); margin-right: 6px; padding: 0 14px; }
.nav-link.is-tool:hover { background: var(--grad-brand); color: #fff; filter: brightness(1.08); }
.nav-link.is-tool svg { color: #fff; }
.mega { border-radius: 22px; padding: 26px; box-shadow: 0 30px 60px -20px rgba(15, 23, 42, .28); }
.mega h4 { color: var(--blue); }
@media (max-width: 1240px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { display: none; position: fixed; inset: 72px 0 0 0; background: #fff; overflow-y: auto; padding: 12px 20px 110px; margin: 0; transform: none; }
  body.nav-open .main-nav { display: block; animation: navIn .25s var(--ease); }
  body.nav-open { overflow: hidden; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line-2); }
  .nav-link { width: 100%; height: 56px; justify-content: space-between; font-size: 1.05rem; padding: 0 6px; border-radius: 0; }
  .nav-link:hover { background: none; }
  .nav-link.is-tool { border-radius: 14px; padding: 0 16px; margin: 10px 0; justify-content: flex-start; }
  .mega, .nav-list > li:nth-last-child(-n+3) .mega { position: static; transform: none !important; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 6px 16px; display: none; grid-auto-flow: row; gap: 16px; }
  .nav-item.open > .mega { display: grid; }
  .mega a { white-space: normal; }
  .mobile-cta { position: fixed; left: 16px; right: 16px; bottom: 16px; display: none; z-index: 70; }
  body.nav-open .mobile-cta { display: flex; }
}
@media (min-width: 1241px) { .nav-toggle, .mobile-cta { display: none !important; } .main-nav { display: block !important; } }
@keyframes navIn { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Section backgrounds (5 distinct looks) ---------- */
.bg-mesh { position: relative; background: radial-gradient(900px 420px at 10% 0%, rgba(37, 99, 235, .10), transparent 60%), radial-gradient(700px 380px at 95% 20%, rgba(124, 58, 237, .10), transparent 60%), radial-gradient(600px 300px at 60% 100%, rgba(13, 148, 136, .08), transparent 60%), #F8FAFF; }
.bg-dots { background-color: #fff; background-image: var(--dots); background-size: 22px 22px; }
.bg-warm { background: radial-gradient(800px 400px at 100% 0%, rgba(245, 158, 11, .14), transparent 60%), radial-gradient(700px 400px at 0% 100%, rgba(225, 29, 72, .08), transparent 60%), #FFFBF5; }
.bg-brand { position: relative; overflow: hidden; background: var(--grad-brand); color: #DBE4FF; }
.bg-brand::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px); background-size: 24px 24px; mask-image: linear-gradient(180deg, #000, transparent 85%); }
.bg-brand > * { position: relative; }
.bg-brand h2, .bg-brand h3 { color: #fff; }
.bg-brand .lede, .bg-brand p { color: #DDE5FF; }
.bg-brand .eyebrow { color: #FDE68A; }
.bg-brand a:not(.btn):not(.card) { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.bg-navy { position: relative; overflow: hidden; background: radial-gradient(800px 420px at 85% -10%, rgba(124, 58, 237, .45), transparent 60%), radial-gradient(700px 400px at 0% 110%, rgba(37, 99, 235, .45), transparent 60%), var(--navy); color: #B9C3DA; }
.bg-navy::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
.bg-navy > * { position: relative; }
.bg-navy h2, .bg-navy h3 { color: #fff; }
.bg-navy .lede, .bg-navy p { color: #AEB9D3; }
.bg-navy .eyebrow { color: #93C5FD; }
.section-dark { background: radial-gradient(800px 420px at 85% -10%, rgba(124, 58, 237, .45), transparent 60%), radial-gradient(700px 400px at 0% 110%, rgba(37, 99, 235, .45), transparent 60%), var(--navy); }
.section-alt { background: radial-gradient(900px 420px at 10% 0%, rgba(37, 99, 235, .08), transparent 60%), radial-gradient(700px 380px at 95% 30%, rgba(124, 58, 237, .07), transparent 60%), #F7F9FE; }

/* ---------- Hero (home) ---------- */
.hero { background: radial-gradient(1100px 560px at 85% -10%, rgba(124, 58, 237, .20), transparent 60%), radial-gradient(900px 520px at -5% 10%, rgba(37, 99, 235, .18), transparent 60%), radial-gradient(700px 400px at 50% 110%, rgba(13, 148, 136, .10), transparent 60%), #F8FAFF; padding: 72px 0 88px; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: var(--dots); background-size: 22px 22px; mask-image: linear-gradient(180deg, transparent, #000 40%, transparent); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero-search { display: flex; gap: 8px; margin-top: 28px; padding: 8px; background: #fff; border-radius: 18px; box-shadow: 0 20px 40px -18px rgba(37, 99, 235, .35), 0 0 0 1px rgba(37, 99, 235, .1); max-width: 560px; }
.hero-search input { flex: 1; min-width: 0; border: 0; font: inherit; font-size: 1rem; padding: 0 12px; background: transparent; color: var(--ink); }
.hero-search input:focus { outline: none; }
.hero-search .btn { min-height: 50px; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; font-size: .86rem; }
.hero-pills a { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .8); border: 1px solid var(--line); color: var(--ink-2); }
.hero-pills a:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }
.float-chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-radius: 16px; box-shadow: 0 16px 32px -14px rgba(15, 23, 42, .35); font-size: .84rem; color: var(--ink); animation: float 6s ease-in-out infinite; }
.float-chip b { display: block; font-family: var(--font-display); font-size: 1rem; }
.float-chip i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-style: normal; color: #fff; }
.float-chip i svg { width: 18px; height: 18px; }
.fc1 { top: 8%; left: -4%; animation-delay: -1s; } .fc2 { bottom: 14%; left: -8%; animation-delay: -3s; } .fc3 { top: 38%; right: -6%; animation-delay: -2s; }
@media (max-width: 900px) { .float-chip { display: none; } .hero-visual img { width: 200px !important; } }

/* ---------- Trust strip ---------- */
.trust-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; align-items: center; color: #64748B; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; }
.trust-strip span { opacity: .75; }
.trust-label { text-align: center; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: #94A3B8; margin-bottom: 14px; font-weight: 600; }

/* ---------- Cards: colour-coded ---------- */
.card { border-radius: 20px; border-color: #E6EBF5; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
a.card { overflow: hidden; }
a.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: var(--grad-brand); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .25s; pointer-events: none; }
a.card:hover::after { opacity: 1; }
a.card:hover { box-shadow: 0 24px 40px -22px rgba(37, 99, 235, .45); }
.card-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--c-bg, var(--blue-50)); color: var(--c, var(--blue)); }
.grid > :nth-child(6n+1), .bento > :nth-child(6n+1) { --c: #2563EB; --c-bg: #EFF6FF; }
.grid > :nth-child(6n+2), .bento > :nth-child(6n+2) { --c: #7C3AED; --c-bg: #F5F3FF; }
.grid > :nth-child(6n+3), .bento > :nth-child(6n+3) { --c: #0D9488; --c-bg: #F0FDFA; }
.grid > :nth-child(6n+4), .bento > :nth-child(6n+4) { --c: #D97706; --c-bg: #FFFBEB; }
.grid > :nth-child(6n+5), .bento > :nth-child(6n+5) { --c: #E11D48; --c-bg: #FFF1F2; }
.grid > :nth-child(6n+6), .bento > :nth-child(6n+6) { --c: #059669; --c-bg: #ECFDF5; }
.card .link-arrow { color: var(--c, var(--blue)); }
.bento .feature { background: var(--grad-brand); }
.bento .feature::before { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .25), transparent); }
.bento .feature .card-icon { background: rgba(255, 255, 255, .18) !important; color: #fff !important; }
.bento .feature p { color: #E0E7FF; }
.bento .feature .link-arrow { color: #fff; }
.section-dark .card, .bg-navy .card { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); backdrop-filter: blur(6px); }
.bg-navy .card h3 { color: #fff; } .bg-navy .card p { color: #AEB9D3; }
.bg-navy .card-icon, .section-dark .card-icon { background: rgba(255, 255, 255, .1); color: #93C5FD; }
.bg-brand .card { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); color: #fff; backdrop-filter: blur(8px); }
.bg-brand .card h3 { color: #fff; } .bg-brand .card p { color: #DDE5FF; } .bg-brand .card .link-arrow { color: #FDE68A; }
.bg-brand .card-icon { background: rgba(255, 255, 255, .16); color: #fff; }

/* Gradient feature cards (5G / smartphone / combo) */
.gcard { position: relative; overflow: hidden; border-radius: 24px; padding: 30px; color: #fff; display: flex; flex-direction: column; min-height: 300px; }
.gcard h3 { color: #fff; font-size: 1.45rem; }
.gcard p { color: rgba(255, 255, 255, .88); }
.gcard a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.gcard .gicon { width: 52px; height: 52px; border-radius: 16px; background: rgba(255, 255, 255, .18); display: grid; place-items: center; margin-bottom: 18px; }
.gcard .gicon svg { width: 26px; height: 26px; }
.gcard::after { content: ""; position: absolute; width: 220px; height: 220px; right: -70px; bottom: -70px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.g-blue { background: linear-gradient(145deg, #2563EB, #1E40AF); } .g-violet { background: linear-gradient(145deg, #7C3AED, #4C1D95); }
.g-teal { background: linear-gradient(145deg, #0D9488, #065F46); } .g-warm { background: var(--grad-warm); }

/* ---------- Phone product cards ---------- */
.phone-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 22px; margin: 0 -4px; scrollbar-width: thin; }
.phone-rail > * { scroll-snap-align: start; }
.phone-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.phone-card { position: relative; display: flex; flex-direction: column; border-radius: 26px; background: #fff; border: 1px solid #E6EBF5; overflow: hidden; color: var(--text); transition: transform .3s var(--ease), box-shadow .3s; }
.phone-card:hover { transform: translateY(-5px); box-shadow: 0 30px 50px -26px rgba(15, 23, 42, .45); text-decoration: none; color: var(--text); }
.pc-stage { position: relative; height: 250px; display: grid; place-items: center; background: radial-gradient(circle at 50% 38%, var(--t1), var(--t2) 70%); overflow: hidden; }
.pc-stage::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .5) 1px, transparent 1px); background-size: 16px 16px; opacity: .35; }
.pc-halo { position: absolute; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .85), transparent); }
.pc-stage svg { position: relative; height: 205px; width: auto; filter: drop-shadow(0 22px 26px rgba(15, 23, 42, .35)); transition: transform .45s var(--ease); }
.phone-card:hover .pc-stage svg { transform: translateY(-6px) rotate(-3deg) scale(1.03); }
.pc-body { position: relative; padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pc-tags span { font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #F1F5F9; color: #475569; }
.pc-body h3 { margin: 2px 0 0; font-size: 1.12rem; padding-right: 40px; }
.pc-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; font-size: .84rem; color: var(--muted); }
.pc-price b { color: var(--ink); }
.pc-route { font-size: .74rem; font-weight: 700; padding: 5px 10px; border-radius: 8px; }
.r-green { background: #DCFCE7; color: #166534; } .r-blue { background: #DBEAFE; color: #1E40AF; } .r-violet { background: #EDE9FE; color: #5B21B6; }
.pc-go { position: absolute; top: 16px; right: 18px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; transition: transform .25s var(--ease), background .25s; }
.pc-go svg { width: 16px; height: 16px; }
.phone-card:hover .pc-go { transform: rotate(-45deg); background: var(--blue); }

/* ---------- Lifeline + eligibility home blocks ---------- */
.glass-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.glass { border-radius: 20px; padding: 22px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(8px); color: #fff; display: block; transition: background .2s, transform .2s; }
.glass:hover { background: rgba(255, 255, 255, .18); transform: translateY(-2px); color: #fff; text-decoration: none !important; }
.glass svg { width: 26px; height: 26px; margin-bottom: 12px; color: #FDE68A; }
.glass strong { display: block; font-family: var(--font-display); font-size: 1.08rem; margin-bottom: 4px; }
.glass span { font-size: .9rem; color: #DDE5FF; }
.big-stat { display: flex; gap: 26px; flex-wrap: wrap; margin: 26px 0; }
.big-stat div strong { display: block; font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: #fff; letter-spacing: -.03em; }
.big-stat div span { font-size: .88rem; color: #C7D2FE; }
.qual-list { display: grid; gap: 10px; margin: 22px 0; }
.qual { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid #E6EBF5; color: var(--ink); font-weight: 600; transition: transform .2s, box-shadow .2s; }
.qual:hover { transform: translateX(4px); box-shadow: 0 12px 24px -16px rgba(15, 23, 42, .35); text-decoration: none; color: var(--ink); }
.qual i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-style: normal; color: #fff; flex: none; }
.qual i svg { width: 20px; height: 20px; }
.qual small { display: block; font-weight: 400; color: var(--muted); font-size: .84rem; }
.qual:nth-child(1) i { background: #2563EB; } .qual:nth-child(2) i { background: #7C3AED; } .qual:nth-child(3) i { background: #0D9488; } .qual:nth-child(4) i { background: #D97706; } .qual:nth-child(5) i { background: #E11D48; }
.income-card { border-radius: 24px; background: #fff; padding: 26px; box-shadow: 0 30px 60px -30px rgba(15, 23, 42, .35); border: 1px solid #E6EBF5; }
.income-card .table-wrap { border: 0; margin: 12px 0; }
.income-card th { background: #F1F5FD; }

/* Steps timeline */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: t; position: relative; }
.timeline::before { content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, #2563EB, #7C3AED, #0D9488); opacity: .6; }
.tstep { position: relative; text-align: center; padding: 0 12px; }
.tstep .num { width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 22px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: #fff; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5); position: relative; }
.tstep:nth-child(1) .num { background: linear-gradient(145deg, #3B82F6, #1D4ED8); } .tstep:nth-child(2) .num { background: linear-gradient(145deg, #8B5CF6, #6D28D9); } .tstep:nth-child(3) .num { background: linear-gradient(145deg, #14B8A6, #0F766E); }
.tstep h3 { font-size: 1.2rem; }
@media (max-width: 800px) { .timeline { grid-template-columns: 1fr; } .timeline::before { display: none; } }

/* Provider monogram tiles */
.prov-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.prov { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; background: #fff; border: 1px solid #E6EBF5; color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
.prov:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -20px rgba(15, 23, 42, .4); border-color: #C7D2FE; text-decoration: none; color: var(--ink); }
.mono { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; flex: none; }
.prov strong { display: block; font-size: .98rem; }
.prov small { color: var(--muted); font-size: .8rem; }
.prov .ptype { margin-left: auto; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 3px 8px; border-radius: 6px; }
.pt-l { background: #DCFCE7; color: #166534; } .pt-c { background: #DBEAFE; color: #1E40AF; }

/* State tiles */
.state-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.state-tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 84px; padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px solid #E6EBF5; color: var(--ink); transition: transform .2s, background .2s, color .2s; overflow: hidden; }
.state-tile b { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; color: var(--c, #2563EB); letter-spacing: -.02em; }
.state-tile span { font-size: .8rem; color: var(--muted); }
.state-tile em { position: absolute; top: 10px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: #F59E0B; }
.state-tile:hover { transform: translateY(-3px); background: var(--c, #2563EB); text-decoration: none; }
.state-tile:hover b, .state-tile:hover span { color: #fff; }
.state-tile:nth-child(5n+1) { --c: #2563EB; } .state-tile:nth-child(5n+2) { --c: #7C3AED; } .state-tile:nth-child(5n+3) { --c: #0D9488; } .state-tile:nth-child(5n+4) { --c: #D97706; } .state-tile:nth-child(5n+5) { --c: #E11D48; }
.legend { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); margin-top: 14px; }
.legend i { width: 8px; height: 8px; border-radius: 50%; background: #F59E0B; display: inline-block; }

/* FAQ split */
.faq-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .faq-split { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; padding: 38px 0 50px; border-bottom: 0; background: radial-gradient(900px 420px at 100% 0%, rgba(124, 58, 237, .14), transparent 60%), radial-gradient(800px 420px at 0% 0%, rgba(37, 99, 235, .14), transparent 60%), #F7F9FE; }
.page-hero::after { content: ""; position: absolute; inset: 0; background-image: var(--dots); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent 40%, #000); pointer-events: none; }
.page-hero .wrap { position: relative; z-index: 1; }
.hero-2col { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: center; }
.hero-art { position: relative; display: grid; place-items: center; height: 300px; border-radius: 28px; background: radial-gradient(circle at 50% 40%, var(--t1, #EEF2FF), var(--t2, #C7D2FE) 75%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6), 0 30px 50px -30px rgba(15, 23, 42, .4); }
.hero-art::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background-image: radial-gradient(rgba(255, 255, 255, .6) 1px, transparent 1px); background-size: 16px 16px; opacity: .4; }
.hero-art svg { position: relative; max-height: 240px; width: auto; max-width: 80%; filter: drop-shadow(0 24px 30px rgba(15, 23, 42, .4)); animation: float 7s ease-in-out infinite; }
@media (max-width: 900px) { .hero-2col { grid-template-columns: 1fr; } .hero-art { height: 220px; order: -1; } .hero-art svg { max-height: 180px; } }
.chip { background: rgba(255, 255, 255, .85); backdrop-filter: blur(6px); }
.chips .chip:nth-child(1) { border-color: #BFDBFE; } .chips .chip:nth-child(2) { border-color: #DDD6FE; } .chips .chip:nth-child(3) { border-color: #99F6E4; } .chips .chip:nth-child(4) { border-color: #FDE68A; }

/* ---------- Article: numbered section blocks ---------- */
.prose { counter-reset: sec; }
.art-sec { position: relative; padding: 34px 0 10px; }
.art-sec + .art-sec { border-top: 1px solid #EEF2F8; }
.art-sec.tinted { border: 0; margin: 18px -30px; padding: 34px 30px 20px; border-radius: 26px; background: linear-gradient(180deg, #F5F8FF, #FBFCFF); box-shadow: inset 0 0 0 1px #E8EEFA; }
.art-sec.tinted + .art-sec { border-top: 0; }
.art-sec > h2 { counter-increment: sec; display: flex; align-items: flex-start; gap: 14px; margin-top: 0 !important; }
.art-sec > h2::before { content: counter(sec, decimal-leading-zero); flex: none; margin-top: .15em; font-size: .78rem; font-family: var(--font); font-weight: 700; letter-spacing: .04em; color: #fff; padding: 5px 9px; border-radius: 9px; background: var(--sc, #2563EB); }
.art-sec:nth-of-type(5n+1) { --sc: #2563EB; } .art-sec:nth-of-type(5n+2) { --sc: #7C3AED; } .art-sec:nth-of-type(5n+3) { --sc: #0D9488; } .art-sec:nth-of-type(5n+4) { --sc: #D97706; } .art-sec:nth-of-type(5n+5) { --sc: #E11D48; }
.art-sec.faq-sec > h2::before { content: "?"; }
@media (max-width: 700px) { .art-sec.tinted { margin: 14px -16px; padding: 26px 16px 14px; border-radius: 20px; } }
.prose .table-wrap { border-radius: 16px; border-color: #E2E8F5; box-shadow: 0 10px 24px -20px rgba(15, 23, 42, .4); background: #fff; }
.prose th { background: linear-gradient(180deg, #EEF3FF, #E7EEFD); color: #1E3A8A; }
.prose tbody tr:nth-child(even) td { background: #FAFBFE; }
.key-facts div { background: #fff; border: 1px solid #E6EBF5; border-top: 3px solid var(--kc, #2563EB); box-shadow: 0 10px 20px -18px rgba(15, 23, 42, .4); }
.key-facts div:nth-child(5n+1) { --kc: #2563EB; } .key-facts div:nth-child(5n+2) { --kc: #7C3AED; } .key-facts div:nth-child(5n+3) { --kc: #0D9488; } .key-facts div:nth-child(5n+4) { --kc: #D97706; } .key-facts div:nth-child(5n+5) { --kc: #E11D48; }
.steps li { border-color: #E6EBF5; box-shadow: 0 8px 18px -16px rgba(15, 23, 42, .35); }
.steps li::before { background: var(--grad-brand); }
.pros-cons > div:first-child { background: #F0FDF4; border-color: #BBF7D0; }
.pros-cons > div:last-child { background: #FFF7ED; border-color: #FED7AA; }
.pros-cons > div:first-child h4 { color: #166534; } .pros-cons > div:last-child h4 { color: #9A3412; }
.callout { border-radius: 18px; }
.mini-finder { background: var(--grad-brand); border: 0; color: #fff; border-radius: 24px; padding: 28px 30px; }
.mini-finder h3 { color: #fff; } .mini-finder p { color: #DDE5FF !important; }
.mini-finder .btn-primary { background: #fff; color: var(--ink); box-shadow: none; }
.mini-finder .btn-primary:hover { background: #FDE68A; color: var(--ink); }
.panel { border-radius: 20px; border-color: #E6EBF5; }
.panel-cta { background: radial-gradient(400px 200px at 100% 0%, rgba(253, 230, 138, .35), transparent 60%), var(--grad-brand); }
.toc { background: #FBFCFF; }
.toc li a.active { color: var(--blue); }
.faq details { border-radius: 16px; }
.faq details[open] { border-color: #C7D2FE; background: linear-gradient(180deg, #fff, #F8FAFF); }
.faq summary::after { background: var(--blue-50); color: var(--blue); }
.cta-band { background: radial-gradient(600px 300px at 100% 0%, rgba(253, 230, 138, .35), transparent 60%), var(--grad-brand); border-radius: 30px; }
.cta-band p { color: #DDE5FF; }
.link-cloud a:nth-child(5n+1):hover { border-color: #2563EB; color: #2563EB; }
.link-cloud a:nth-child(5n+2):hover { border-color: #7C3AED; color: #7C3AED; }
.link-cloud a:nth-child(5n+3):hover { border-color: #0D9488; color: #0D9488; }

/* ---------- Phone Finder (filter directory) ---------- */
.finder-stage { padding: 40px 0 72px; background: radial-gradient(900px 420px at 0% 0%, rgba(37, 99, 235, .12), transparent 60%), radial-gradient(800px 420px at 100% 30%, rgba(124, 58, 237, .10), transparent 60%), #EEF3FC; border-top: 1px solid #E2E8F5; border-bottom: 1px solid #E2E8F5; }
.finder { grid-template-columns: 300px minmax(0, 1fr); gap: 26px; }
.finder-filters { padding: 0; overflow: hidden; background: #fff; border: 1px solid #E2E8F5; border-radius: 24px; box-shadow: 0 24px 48px -30px rgba(15, 23, 42, .45); display: block; top: 90px; }
.ff-head { display: flex; align-items: center; gap: 10px; padding: 18px 20px; background: var(--grad-brand); color: #fff; font-family: var(--font-display); font-weight: 600; }
.ff-head svg { width: 20px; height: 20px; }
.ff-body { padding: 18px 20px 20px; display: grid; gap: 2px; }
.finder-filters .field { margin-bottom: 14px; max-width: none; min-width: 0; }
.finder-filters .field select, .finder-filters .field input { width: 100%; min-width: 0; max-width: 100%; height: 46px; font-size: .95rem; background: #F8FAFF; border-color: #E2E8F5; }
.finder-filters .field label, .flabel { font-size: .84rem; font-weight: 700; color: #334155; text-transform: uppercase; letter-spacing: .04em; }
.finder-filters .fchips { gap: 6px; }
.finder-filters .fchip { min-height: 34px; font-size: .82rem; padding: 0 12px; }
.finder-results { min-width: 0; }
.results-shell { background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .8); border-radius: 26px; padding: 20px; backdrop-filter: blur(6px); }
.presets { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 12px; scrollbar-width: none; }
.preset { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 14px; background: #fff; border: 1px solid #E2E8F5; font: inherit; font-size: .86rem; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: transform .15s, box-shadow .15s; }
.preset:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -14px rgba(15, 23, 42, .5); }
.preset i { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color: #fff; font-style: normal; }
.preset i svg { width: 14px; height: 14px; }
.type-chips .fchip { background: #fff; }
.fchip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); }
.dir-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.dir-card { position: relative; border-radius: 20px; padding: 18px 18px 16px 18px; border: 1px solid #E6EBF5; overflow: hidden; }
.dir-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--dc, #2563EB); }
.dir-head { display: flex; align-items: center; gap: 10px; }
.dir-ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--dcb, #EFF6FF); color: var(--dc, #2563EB); flex: none; }
.dir-ic svg { width: 18px; height: 18px; }
.dir-type { background: none !important; padding: 0 !important; color: var(--dc, #2563EB) !important; }
.dir-card h3 { margin-top: 6px; }
.dir-card:hover { box-shadow: 0 20px 34px -22px rgba(15, 23, 42, .45); }
.k-Program { --dc: #059669; --dcb: #ECFDF5; } .k-Benefit { --dc: #0D9488; --dcb: #F0FDFA; } .k-Provider { --dc: #4F46E5; --dcb: #EEF2FF; }
.k-Organization { --dc: #DB2777; --dcb: #FDF2F8; } .k-Deal { --dc: #DC2626; --dcb: #FEF2F2; } .k-iPhone { --dc: #2563EB; --dcb: #EFF6FF; }
.k-Phone { --dc: #0284C7; --dcb: #F0F9FF; } .k-Device { --dc: #7C3AED; --dcb: #F5F3FF; } .k-Service { --dc: #0891B2; --dcb: #ECFEFF; }
.k-Guide { --dc: #9333EA; --dcb: #FAF5FF; } .k-State { --dc: #D97706; --dcb: #FFFBEB; }
.dir-meta span.m-free { background: #DCFCE7; color: #166534; } .dir-meta span.m-low { background: #FEF3C7; color: #92400E; } .dir-meta span.m-deal { background: #FEE2E2; color: #991B1B; }
.finder-below { background: #fff; }
@media (max-width: 900px) {
  .finder { grid-template-columns: 1fr; }
  .finder-filters { display: none; position: static; }
  .finder.filters-open .finder-filters { display: block; }
  .results-shell { padding: 14px; }
}

/* ---------- Footer ---------- */
.site-footer { background: radial-gradient(800px 400px at 100% 0%, rgba(124, 58, 237, .25), transparent 60%), radial-gradient(700px 400px at 0% 100%, rgba(37, 99, 235, .25), transparent 60%), var(--navy); }

/* Icon art for pages without a device */
.icon-art { overflow: hidden; }
.ia-tile { position: relative; width: 132px; height: 132px; border-radius: 38px; display: grid; place-items: center; color: #fff; box-shadow: 0 30px 50px -20px rgba(15, 23, 42, .55), inset 0 1px 0 rgba(255, 255, 255, .35); transform: rotate(-6deg); animation: float 7s ease-in-out infinite; }
.ia-tile svg { width: 64px; height: 64px; filter: none; animation: none; max-height: none; }
.ia-b { position: absolute; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #fff; box-shadow: 0 14px 26px -14px rgba(15, 23, 42, .5); animation: float 6s ease-in-out infinite; }
.ia-b svg { width: 22px; height: 22px; animation: none; filter: none; max-height: none; }
.ia-b.b1 { top: 18%; left: 14%; color: #059669; animation-delay: -1s; } .ia-b.b2 { bottom: 16%; left: 22%; color: #2563EB; animation-delay: -2.5s; } .ia-b.b3 { top: 24%; right: 14%; color: #F59E0B; animation-delay: -4s; }
.pc-body { position: static; }
.pc-body h3 { padding-right: 0; }
.pc-go { top: 14px; right: 14px; background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: 0 8px 18px -10px rgba(15, 23, 42, .5); }
.phone-card:hover .pc-go { color: #fff; }

/* Grid children must be allowed to shrink (wide tables scroll inside .table-wrap) */
.layout > *, .hero-grid > *, .hero-2col > *, .grid > *, .faq-split > *, .finder > * { min-width: 0; }
@media (max-width: 1000px) { .layout { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Real photos ---------- */
.pc-stage img.dev-photo { position: relative; max-height: 212px; max-width: 82%; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 22px 24px rgba(15, 23, 42, .32)); transition: transform .45s var(--ease); }
.phone-card:hover .pc-stage img.dev-photo { transform: translateY(-6px) rotate(-3deg) scale(1.04); }
.hero-art img.dev-photo { position: relative; max-height: 250px; max-width: 84%; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 26px 30px rgba(15, 23, 42, .38)); animation: float 7s ease-in-out infinite; }
@media (max-width: 900px) { .hero-art img.dev-photo { max-height: 180px; } }
.hero-visual img.hero-phone { width: min(400px, 100%); height: auto; filter: drop-shadow(0 50px 60px rgba(30, 64, 175, .35)); }
.hero-visual .glow { background: radial-gradient(closest-side, rgba(124, 58, 237, .35), rgba(37, 99, 235, .25) 50%, transparent); }
@media (max-width: 900px) { .hero-visual img.hero-phone { width: 230px !important; } }

/* "How it works" over the real iPhone photo */
.bg-photo { background: linear-gradient(180deg, rgba(11, 20, 55, .86) 0%, rgba(11, 20, 55, .55) 50%, rgba(11, 20, 55, .9) 100%), linear-gradient(90deg, rgba(37, 99, 235, .25), rgba(124, 58, 237, .25)), url("../img/free-government-iphone.webp") center 40% / cover no-repeat, var(--navy); }
.bg-photo::before { opacity: .35; }
.bg-photo .tstep { background: rgba(11, 20, 55, .55); border: 1px solid rgba(255, 255, 255, .14); border-radius: 24px; padding: 28px 22px; backdrop-filter: blur(10px); }
.bg-photo .tstep p { color: #C7D2FE; }
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) { .bg-photo { background-attachment: scroll, scroll, fixed, scroll; } }

/* ---------- AEO: quick answer, sources ---------- */
.quick-answer { position: relative; margin: 6px 0 22px; padding: 26px 28px 22px; border-radius: 24px; background: linear-gradient(135deg, #EEF4FF 0%, #F5F0FF 100%); border: 1px solid #DCE6FB; box-shadow: 0 18px 40px -30px rgba(37, 99, 235, .55); overflow: hidden; }
.quick-answer::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--grad-brand); }
.qa-label { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #4F46E5; background: #fff; padding: 5px 11px; border-radius: 999px; box-shadow: 0 4px 12px -8px rgba(79, 70, 229, .6); }
.qa-label svg { width: 14px; height: 14px; }
.quick-answer h2 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); margin: 14px 0 8px; }
.qa-text { font-size: 1.08rem; line-height: 1.65; color: #1E293B !important; margin-bottom: 14px; }
.qa-facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.qa-facts li { position: relative; padding: 10px 14px 10px 40px; background: rgba(255, 255, 255, .75); border-radius: 12px; font-size: .94rem; color: #334155 !important; margin: 0; }
.qa-facts li::before { content: ""; position: absolute; left: 13px; top: 12px; width: 18px; height: 18px; border-radius: 50%; background: #2563EB url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/10px no-repeat; }
@media (max-width: 700px) { .quick-answer { padding: 22px 18px 18px; } }
.qa-meta { font-size: .85rem; color: var(--muted); margin: 12px 0 0; }

/* Homepage quick-answer band (replaces the brand-name strip) */
.qa-band { position: relative; margin-top: -44px; z-index: 2; padding-bottom: 20px; }
.qa-band-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 18px; align-items: stretch; }
.home-qa { margin: 0; background: #fff; border-color: #E2E8F5; box-shadow: 0 30px 60px -34px rgba(15, 23, 42, .45); }
.home-qa h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.qa-mini { display: grid; gap: 12px; }
.qa-card { display: block; padding: 18px 20px; border-radius: 20px; background: #fff; border: 1px solid #E2E8F5; color: var(--ink); box-shadow: 0 18px 40px -32px rgba(15, 23, 42, .5); transition: transform .2s, border-color .2s; }
.qa-card:hover { transform: translateX(4px); border-color: #C7D2FE; text-decoration: none; color: var(--ink); }
.qa-card b { display: block; font-family: var(--font-display); font-size: 1.02rem; margin-bottom: 4px; }
.qa-card span { font-size: .92rem; color: var(--muted); }
.qa-card:nth-child(1) { border-left: 4px solid #059669; } .qa-card:nth-child(2) { border-left: 4px solid #7C3AED; } .qa-card:nth-child(3) { border-left: 4px solid #D97706; }
@media (max-width: 900px) { .qa-band { margin-top: -24px; } .qa-band-grid { grid-template-columns: minmax(0, 1fr); } }

/* Sources */
.art-sec.sources h2::before { content: "✓"; }
.sources .muted { font-size: .95rem; }
.src-list { list-style: none; padding: 0; display: grid; gap: 8px; }
.src-list li { margin: 0; padding: 10px 14px; border: 1px solid #E6EBF5; border-radius: 12px; background: #fff; font-size: .93rem; }
.src-list a::after { content: " ↗"; font-size: .85em; }

/* ---------- Provider logos ---------- */
.pcard-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin: 18px 0 26px; }
.pcard { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 18px; background: #fff; border: 1px solid #E6EBF5; color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
.pcard:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -20px rgba(15, 23, 42, .45); border-color: #C7D2FE; text-decoration: none !important; color: var(--ink); }
.pcard-logo { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; flex: none; box-shadow: 0 0 0 1px #E6EBF5; }
.pcard-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pcard-body strong { font-size: 1rem; line-height: 1.3; }
.pcard-body small { color: var(--muted); font-size: .8rem; }
.pcard-body .pcard-was { color: #7C3AED; font-weight: 600; }
.pcard-body .ptype { align-self: flex-start; margin: 0 0 2px; }
.prose .pcard-grid h3, .prose h3 + .pcard-grid { margin-top: 12px; }
.hero-art img.logo-art { position: relative; width: 190px; height: 190px; border-radius: 42px; object-fit: cover; box-shadow: 0 30px 50px -22px rgba(15, 23, 42, .55), 0 0 0 6px rgba(255, 255, 255, .8); animation: float 7s ease-in-out infinite; }
@media (max-width: 900px) { .hero-art img.logo-art { width: 140px; height: 140px; border-radius: 32px; } }
.mono.logo-mono { background: #fff; padding: 0; overflow: hidden; box-shadow: 0 0 0 1px #E6EBF5; }
.mono.logo-mono img { width: 48px; height: 48px; object-fit: cover; }
.rebrand { display: flex; align-items: center; justify-content: center; gap: 22px; padding: 22px; margin: 6px 0 18px; border-radius: 22px; background: linear-gradient(135deg, #F5F3FF, #EEF4FF); border: 1px solid #E0E7FF; }
.rb-logo { width: 110px; height: 110px; border-radius: 26px; object-fit: cover; box-shadow: 0 14px 28px -16px rgba(15, 23, 42, .5); }
.rebrand .rb-logo:first-child { filter: grayscale(.6); opacity: .8; }
.rb-arrow { font-size: 2rem; color: #7C3AED; font-weight: 700; }
.dir-ic.has-logo { background: #fff; box-shadow: 0 0 0 1px #E6EBF5; overflow: hidden; padding: 0; }
.dir-ic.has-logo img { width: 36px; height: 36px; object-fit: cover; }
.pcard .ptype { font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 2px 7px; border-radius: 6px; }

/* Hero phone: align to the site's right content edge, keep chips inside it */
@media (min-width: 901px) {
  .hero-visual { justify-content: flex-end; }
  .hero-visual .fc3 { right: 0; top: 34%; }
  .hero-visual .fc1 { left: 6%; }
  .hero-visual .fc2 { left: 2%; }
}

/* Hero phone: centre in its column */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-visual img.hero-phone { margin: 0 auto; flex: none; }

/* Mobile menu: the header's backdrop-filter turns it into the containing block for
   position:fixed children, squeezing the menu panel to the header's height. Drop it while open. */
@media (max-width: 1240px) {
  body.nav-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
  .main-nav { bottom: 0; height: calc(100dvh - 72px); }
  .nav-list > li:first-child { border-bottom: 0; }
  .mobile-cta { justify-content: center; }
}
/* The "Phone Finder" button already heads the mobile menu; the floating bottom bar duplicated it and covered the last links */
body.nav-open .mobile-cta { display: none !important; }
@media (max-width: 1240px) { .nav-list > li.nav-item.open > .mega { display: grid; } }
