/* Free iPhone Online — design system
   Apple-inspired: big confident type, quiet surfaces, one electric-blue accent from the logo. */
:root {
  --ink: #0F172A;
  --ink-2: #1E293B;
  --text: #0F172A;
  --muted: #475569;
  --line: #E4ECFC;
  --line-2: #F1F5FD;
  --surface: #ffffff;
  --surface-2: #F1F5FD;
  --surface-3: #F0F9FF;
  --blue: #2563EB;
  --blue-600: #1D4ED8;
  --blue-700: #1E40AF;
  --blue-50: #EFF6FF;
  --cyan: #60A5FA;
  --green: #059669;
  --green-50: #ECFDF5;
  --amber: #a85b00;
  --amber-50: #fff5e6;
  --red: #DC2626;
  --red-50: #FEF2F2;
  --night: #0F172A;
  --night-2: #1E293B;
  --radius-s: 8px;
  --radius: 14px;
  --radius-l: 20px;
  --shadow-s: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
  --shadow: 0 10px 30px -12px rgba(16, 24, 40, .18), 0 2px 6px rgba(16, 24, 40, .06);
  --shadow-l: 0 24px 48px -24px rgba(37, 99, 235, .30), 0 4px 12px -4px rgba(15, 23, 42, .10);
  --font: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --accent: #DC2626;
  --accent-600: #B91C1C;
  --wrap: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--surface); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-700); text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.12; letter-spacing: -.022em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.28rem; letter-spacing: -.012em; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; margin: 0 0 1.2em; }
li { margin-bottom: .4em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: var(--muted); line-height: 1.55; max-width: 44em; }
.muted { color: var(--muted); }
.grad-text { background: linear-gradient(100deg, var(--blue) 10%, var(--cyan) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 1rem; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), background .2s, box-shadow .2s, color .2s; text-decoration: none !important; font-family: inherit; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -10px rgba(220, 38, 38, .6); }
.btn-primary:hover { background: var(--accent-600); color: #fff; transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #23252b; color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #f0f2f5; color: var(--ink); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .35); background: transparent; }
.btn-outline-light:hover { border-color: #fff; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.link-arrow { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(3px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .82); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid rgba(0, 0, 0, .06); }
.header-inner { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 1.14rem; letter-spacing: -.02em; white-space: nowrap; }
.brand:hover { text-decoration: none; color: var(--ink); }
.brand img { width: 40px; height: 40px; }
.brand b { color: var(--blue); font-weight: 700; }
.main-nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.nav-list > li { margin: 0; position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 11px; border-radius: 10px; color: var(--ink-2); font-size: .93rem; font-weight: 500; background: none; border: 0; cursor: pointer; font-family: inherit; white-space: nowrap; }
.nav-link:hover { background: var(--surface-2); text-decoration: none; color: var(--ink); }
.nav-link .chev { width: 12px; height: 12px; transition: transform .2s; opacity: .6; }
.nav-item.open .chev { transform: rotate(180deg); }
.nav-link.is-tool { background: var(--blue-50); color: var(--blue-700); font-weight: 600; }
.nav-link.is-tool svg { width: 16px; height: 16px; }
.nav-link.is-tool:hover { background: #dce8ff; }
.nav-link[aria-current="page"] { color: var(--blue); }
.mega { position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px); opacity: 0; visibility: hidden; transition: opacity .18s, transform .22s var(--ease), visibility .18s; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 22px; display: grid; gap: 22px; grid-auto-flow: column; grid-auto-columns: minmax(190px, 1fr); z-index: 60; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-item.open > .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) and (min-width: 1101px) { .nav-item:hover > .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); } }
.nav-list > li:nth-last-child(-n+3) .mega { left: auto; right: 0; transform: translate(0, 6px); }
.nav-list > li:nth-last-child(-n+3).open .mega, .nav-list > li:nth-last-child(-n+3):hover .mega { transform: translate(0, 0); }
.mega h4 { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; font-family: var(--font); font-weight: 600; }
.mega ul { list-style: none; padding: 0; margin: 0; }
.mega li { margin: 0; }
.mega a { display: block; padding: 6px 8px; margin: 0 -8px; border-radius: 8px; color: var(--ink-2); font-size: .92rem; white-space: nowrap; }
.mega a:hover { background: var(--surface-2); color: var(--blue); text-decoration: none; }
.mega .mega-all { color: var(--blue); font-weight: 600; margin-top: 6px; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { position: fixed; inset: 68px 0 0 0; background: #fff; overflow-y: auto; padding: 12px 20px 110px; transform: translateX(100%); transition: transform .3s var(--ease); margin: 0; }
  body.nav-open .main-nav { transform: none; }
  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 { background: var(--blue-50); border-radius: 12px; padding: 0 14px; margin: 8px 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: 1101px) { .mobile-cta { display: none; } }
@media (max-width: 1240px) and (min-width: 1101px) { .nav-link { padding: 0 8px; font-size: .88rem; } .brand { font-size: 1.02rem; } }

/* Hero (home) */
.hero { position: relative; overflow: hidden; padding: 88px 0 96px; background: radial-gradient(1200px 520px at 85% -10%, rgba(96, 165, 250, .20), transparent 60%), radial-gradient(900px 500px at 0% 0%, rgba(37, 99, 235, .12), transparent 60%), linear-gradient(180deg, #fbfcff 0%, #fff 100%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); margin-bottom: 22px; }
.hero .lede { margin-bottom: 0; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; color: var(--muted); font-size: .92rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--green); }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual .glow { position: absolute; inset: 10% 5%; background: radial-gradient(closest-side, rgba(37, 99, 235, .35), transparent); filter: blur(30px); }
.hero-visual img, .hero-visual svg { position: relative; width: min(440px, 100%); filter: drop-shadow(0 40px 60px rgba(11, 60, 160, .28)); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }
@media (max-width: 900px) { .hero { padding: 56px 0 64px; } .hero-grid { grid-template-columns: 1fr; gap: 36px; } .hero-visual { order: -1; } .hero-visual img, .hero-visual svg { width: 240px; } }

/* Page hero (inner) */
.page-hero { padding: 36px 0 44px; background: linear-gradient(180deg, var(--surface-3) 0%, #fff 100%); border-bottom: 1px solid var(--line-2); }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); max-width: 22ch; }
.page-hero.wide h1 { max-width: none; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 22px; font-size: .86rem; color: var(--muted); }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: var(--muted); }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-size: .88rem; color: var(--muted); }
.meta-row span { display: inline-flex; align-items: center; gap: 6px; }
.meta-row svg { width: 16px; height: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .86rem; font-weight: 500; color: var(--ink-2); }
.chip b { color: var(--blue); }

/* Sections */
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--surface-2); }
.section-dark { background: radial-gradient(900px 500px at 90% 0%, rgba(37, 99, 235, .35), transparent 60%), var(--night); color: #c9d1e0; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lede, .section-dark .muted { color: #9aa6bd; }
.section-dark .eyebrow { color: var(--cyan); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
@media (max-width: 700px) { .section { padding: 60px 0; } }

/* Grid + cards */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; color: var(--text); }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d2d8e4; text-decoration: none; color: var(--text); }
.card h3 { margin-bottom: 8px; font-size: 1.14rem; }
.card p { color: var(--muted); font-size: .95rem; margin-bottom: 14px; }
.card .link-arrow { margin-top: auto; font-size: .93rem; }
.card-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); margin-bottom: 16px; }
.card-icon svg { width: 22px; height: 22px; }
.card .tag { position: absolute; top: 18px; right: 18px; font-size: .72rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--green-50); color: var(--green); }
.card .tag.blue { background: var(--blue-50); color: var(--blue-700); }
.card .tag.amber { background: var(--amber-50); color: var(--amber); }
.section-dark .card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); color: #c9d1e0; }
.section-dark a.card:hover { background: rgba(255, 255, 255, .07); color: #c9d1e0; }
.section-dark .card h3 { color: #fff; }
.section-dark .card p { color: #9aa6bd; }
.section-dark .card-icon { background: rgba(96, 165, 250, .12); color: var(--cyan); }

/* Model cards (device art) */
.model-card { padding: 0; overflow: hidden; }
.model-card .art { background: linear-gradient(160deg, #f3f6fc, #e7edf8); display: grid; place-items: center; height: 190px; }
.model-card .art svg { height: 150px; width: auto; }
.model-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.model-card .spec { font-size: .82rem; color: var(--muted); margin-bottom: 10px; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.bento > * { grid-column: span 2; }
.bento .span-3 { grid-column: span 3; }
.bento .span-4 { grid-column: span 4; }
.bento .span-6 { grid-column: span 6; }
.bento .card { padding: 28px; }
.bento .feature { background: linear-gradient(145deg, #2563EB, #1E40AF); color: #dbe6ff; border: 0; }
.bento .feature h3 { color: #fff; font-size: 1.6rem; }
.bento .feature p { color: #cfdcff; }
.bento .feature .link-arrow { color: #fff; }
@media (max-width: 980px) { .bento > *, .bento .span-3, .bento .span-4 { grid-column: span 3; } }
@media (max-width: 620px) { .bento > *, .bento .span-3, .bento .span-4 { grid-column: span 6; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: #fff; padding: 26px 22px; }
.stat strong { display: block; font-family: var(--font-display); font-size: 2.2rem; letter-spacing: -.03em; color: var(--ink); line-height: 1.1; }
.stat span { font-size: .9rem; color: var(--muted); }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Article layout */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; padding: 52px 0 88px; align-items: start; }
@media (max-width: 1000px) { .layout { grid-template-columns: 1fr; gap: 40px; } }
.prose { max-width: 760px; }
.prose > h2 { margin-top: 2.1em; padding-top: .2em; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.7em; }
.prose p, .prose li { color: #2b2d33; }
.prose li::marker { color: var(--blue); }
.prose a { font-weight: 500; }
.prose strong { color: var(--ink); }
.prose .card p, .prose .card li { color: var(--muted); }
.prose .grid { margin: 26px 0; }
.aside { position: sticky; top: 92px; display: grid; gap: 18px; }
@media (max-width: 1000px) { .aside { position: static; } }
.panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; }
.panel h3 { font-size: 1rem; margin-bottom: 12px; }
.panel ul { list-style: none; padding: 0; margin: 0; }
.panel li { margin: 0; border-top: 1px solid var(--line-2); }
.panel li:first-child { border-top: 0; }
.panel li a { display: block; padding: 9px 0; font-size: .93rem; color: var(--ink-2); }
.panel li a:hover { color: var(--blue); }
.toc li a { color: var(--muted); padding: 7px 0; }
.toc li a.active { color: var(--blue); font-weight: 600; }
.panel-cta { background: radial-gradient(400px 200px at 100% 0%, rgba(96, 165, 250, .45), transparent 60%), linear-gradient(160deg, #2563EB, #1E40AF); color: #dbe6ff; border: 0; }
.panel-cta h3 { color: #fff; font-size: 1.2rem; }
.panel-cta p { font-size: .93rem; color: #d0ddff; }
.panel-cta .btn { width: 100%; }

/* Callouts, tables, steps */
.callout { display: flex; gap: 14px; padding: 18px 20px; border-radius: 14px; background: var(--blue-50); border: 1px solid #d4e3ff; margin: 26px 0; font-size: .97rem; }
.callout svg { width: 22px; height: 22px; flex: none; color: var(--blue); margin-top: 2px; }
.callout p:last-child { margin: 0; }
.callout.warn { background: var(--amber-50); border-color: #f7dcb2; }
.callout.warn svg { color: var(--amber); }
.callout.ok { background: var(--green-50); border-color: #c6ead5; }
.callout.ok svg { color: var(--green); }
.callout.danger { background: var(--red-50); border-color: #f6cbc6; }
.callout.danger svg { color: var(--red); }
.table-wrap { overflow-x: auto; margin: 24px 0 28px; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 560px; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
th { background: var(--surface-2); font-weight: 600; color: var(--ink); font-size: .86rem; }
tr:last-child td { border-bottom: 0; }
td strong { color: var(--ink); }
.yes { color: var(--green); font-weight: 600; }
.no { color: var(--red); font-weight: 600; }
.maybe { color: var(--amber); font-weight: 600; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 26px 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding: 18px 20px 18px 66px; border: 1px solid var(--line); border-radius: 14px; background: #fff; margin: 0; }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.steps li strong { display: block; margin-bottom: 2px; }
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 32px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 50%; background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f8a4b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.pros-cons > div { border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.pros-cons h4 { margin-bottom: 10px; }
.pros-cons ul { margin: 0; padding-left: 1.1em; font-size: .95rem; }
@media (max-width: 620px) { .pros-cons { grid-template-columns: 1fr; } }
.key-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 26px 0; }
.key-facts div { background: var(--surface-2); border-radius: 14px; padding: 16px 18px; }
.key-facts dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.key-facts dd { margin: 4px 0 0; font-weight: 650; color: var(--ink); font-size: 1.02rem; line-height: 1.35; }

/* FAQ */
.faq { display: grid; gap: 10px; margin: 20px 0; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .2s; }
.faq details[open] { border-color: #c9d6ee; box-shadow: var(--shadow-s); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; font-weight: 600; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-weight: 500; transition: transform .2s; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 20px 18px; color: #2b2d33; }
.faq .answer p:last-child { margin: 0; }

/* CTA band */
.cta-band { border-radius: var(--radius-l); padding: 56px; background: radial-gradient(700px 300px at 100% 0%, rgba(96, 165, 250, .45), transparent 60%), linear-gradient(135deg, #1E3A8A, #0F172A); color: #c9d1e0; display: grid; grid-template-columns: 1.4fr auto; gap: 30px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { margin: 0; color: #a9b5cc; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; padding: 36px 26px; } }

/* A–Z link lists */
.link-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.link-cloud a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; color: var(--ink-2); background: #fff; }
.link-cloud a:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }

/* Tools */
.tool { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow-l); overflow: hidden; }
.tool-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 28px; border-bottom: 1px solid var(--line-2); }
.tool-head strong { font-family: var(--font-display); font-size: 1.05rem; }
.progress { flex: 1; max-width: 260px; height: 6px; border-radius: 99px; background: var(--line-2); overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--cyan)); border-radius: 99px; transition: width .35s var(--ease); }
.tool-body { padding: 30px 28px 32px; }
.tool-step { display: none; }
.tool-step.active { display: block; animation: rise .35s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.tool-step h2, .tool-step h3 { font-size: 1.5rem; margin-bottom: 6px; }
.tool-step .hint { color: var(--muted); margin-bottom: 20px; font-size: .95rem; }
.options { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option label { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; font-weight: 500; transition: border-color .15s, background .15s; background: #fff; }
.option label:hover { border-color: #b9c6dd; }
.option input:checked + label { border-color: var(--blue); background: var(--blue-50); color: var(--blue-700); }
.option input:focus-visible + label { outline: 3px solid var(--blue); outline-offset: 2px; }
.option label::before { content: ""; width: 20px; height: 20px; flex: none; border: 1.5px solid #b3bccb; border-radius: 6px; background: #fff; }
.option input[type=radio] + label::before { border-radius: 50%; }
.option input:checked + label::before { border-color: var(--blue); background: var(--blue) 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/12px no-repeat; }
.field { display: grid; gap: 6px; margin-bottom: 16px; max-width: 420px; }
.field label { font-weight: 600; font-size: .95rem; }
.field select, .field input { height: 52px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px; font: inherit; background: #fff; color: var(--ink); }
.field select:focus, .field input:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 4px rgba(37, 99, 235, .15); }
.field .help { font-size: .85rem; color: var(--muted); }
.field .err { font-size: .88rem; color: var(--red); display: none; }
.field.invalid .err { display: block; }
.field.invalid select, .field.invalid input { border-color: var(--red); }
.tool-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.results { display: grid; gap: 14px; }
.result { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; }
.result .badge { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); font-weight: 700; }
.result h4 { margin: 0 0 2px; font-size: 1.02rem; }
.result p { margin: 0; font-size: .9rem; color: var(--muted); }
@media (max-width: 620px) { .result { grid-template-columns: 1fr; } .result .badge { display: none; } .tool-body { padding: 24px 18px; } .tool-head { padding: 16px 18px; } }
.verdict { padding: 22px; border-radius: 16px; margin-bottom: 20px; }
.verdict.ok { background: var(--green-50); border: 1px solid #c6ead5; }
.verdict.maybe { background: var(--amber-50); border: 1px solid #f7dcb2; }
.verdict.no { background: var(--red-50); border: 1px solid #f6cbc6; }
.verdict h3 { margin-bottom: 6px; }
.verdict p { margin: 0; }

/* Mini finder card (on content pages) */
.mini-finder { border-radius: var(--radius); padding: 26px; margin: 34px 0; background: radial-gradient(500px 220px at 100% 0%, rgba(96, 165, 250, .25), transparent 60%), var(--surface-3); border: 1px solid #d4e3ff; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; }
.mini-finder h3 { margin: 0 0 4px; }
.mini-finder p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 620px) { .mini-finder { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--night); color: #9aa6bd; padding: 72px 0 36px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 36px; }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; font-family: var(--font); font-weight: 600; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #b8c2d6; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand:hover { color: #fff; }
.site-footer .brand b { color: var(--cyan); }
.footer-note { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 48px; padding-top: 24px; font-size: .84rem; line-height: 1.6; display: grid; gap: 10px; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-600); color: #fff; transform: translateY(-1px); }

/* Mobile menu: fully hidden when closed (no overflow), compact brand on small phones */
html, body { overflow-x: clip; }
@media (max-width: 1100px) {
  .main-nav { display: none; transform: none; }
  body.nav-open .main-nav { display: block; animation: navIn .25s var(--ease); }
  @keyframes navIn { from { opacity: 0; transform: translateY(-6px); } }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .header-inner { gap: 10px; }
  .brand { font-size: 1rem; gap: 8px; }
  .brand img { width: 34px; height: 34px; }
}

/* Phone Finder directory */
.finder { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 28px; align-items: start; }
.finder-filters { position: sticky; top: 88px; display: grid; gap: 4px; }
.finder-filters .field { max-width: none; margin-bottom: 12px; }
.finder-filters .field select, .finder-filters .field input { height: 46px; }
.flabel { font-weight: 600; font-size: .95rem; }
.fchips { display: flex; flex-wrap: wrap; gap: 8px; }
.fchip { min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-size: .88rem; font-weight: 500; color: var(--ink-2); cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.fchip:hover { border-color: #b9c6dd; }
.fchip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.type-chips { margin-bottom: 16px; }
.finder-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; color: var(--muted); font-size: .95rem; }
.finder-bar strong { color: var(--ink); }
.dir-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.dir-card { display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--text); transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
.dir-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #c9d6ee; text-decoration: none; color: var(--text); }
.dir-card h3 { font-size: 1.02rem; margin: 2px 0 0; }
.dir-card p { font-size: .88rem; color: var(--muted); margin: 0; line-height: 1.5; }
.dir-meta { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; padding-top: 8px; }
.dir-meta span { font-size: .72rem; padding: 3px 8px; border-radius: 6px; background: var(--surface-2); color: var(--muted); font-weight: 600; }
.dir-type { align-self: flex-start; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--blue-50); color: var(--blue-700); }
.dir-type.tv { background: #EEF2FF; color: #3730A3; } .dir-type.to { background: #FDF2F8; color: #9D174D; } .dir-type.td { background: #FEF2F2; color: #B91C1C; }
.dir-type.tb, .dir-type.tp { background: var(--green-50); color: #047857; } .dir-type.tg { background: #F5F3FF; color: #5B21B6; } .dir-type.tst { background: #FFFBEB; color: #92400E; }
.dir-type.tde, .dir-type.tph { background: #ECFEFF; color: #0E7490; } .dir-type.ts { background: #F0F9FF; color: #075985; }
.filters-toggle { display: none; }
@media (max-width: 900px) {
  .finder { grid-template-columns: 1fr; }
  .filters-toggle { display: inline-flex; justify-self: start; }
  .finder-filters { display: none; position: static; }
  .finder.filters-open .finder-filters { display: grid; }
}
