/* ==========================================================================
   Combo Wireless — light theme stylesheet
   ========================================================================== */
:root {
  --navy-900: #0B1F44;
  --navy: #0B3D91;
  --blue: #1D5BD8;
  --blue-500: #3E7BFA;
  --sky: #E8F0FE;
  --sky-2: #F3F7FF;
  --red: #D22630;
  --red-600: #B81E27;
  --red-50: #FFF1F2;
  --bg: #FFFFFF;
  --bg-soft: #F6F8FC;
  --line: #E3E9F4;
  --line-2: #D5DEEE;
  --text: #33415C;
  --muted: #5B6B86;
  --ok: #0F8A5F;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(16, 32, 72, .06), 0 2px 8px rgba(16, 32, 72, .05);
  --shadow: 0 10px 30px -12px rgba(16, 40, 96, .22), 0 2px 6px rgba(16, 40, 96, .06);
  --shadow-lg: 0 30px 60px -24px rgba(11, 61, 145, .35);
  --font-h: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-b: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  --header-h: 76px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16.5px/1.7 var(--font-b); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-h); color: var(--navy-900); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.18rem; font-weight: 700; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; border-radius: 6px; }
.ic { width: 20px; height: 20px; flex: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Buttons ---------------------------------------------------------------- */
.btn {
  --b: transparent; display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .72em 1.25em; border-radius: 999px; font: 700 .95rem/1.2 var(--font-h); text-decoration: none;
  border: 1.5px solid var(--b); cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s; white-space: nowrap;
}
.btn .ic { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover .ic { transform: translateX(3px); }
.btn-primary { background: linear-gradient(135deg, var(--red) 0%, #E23B45 100%); color: #fff; box-shadow: 0 8px 20px -8px rgba(210, 38, 48, .6); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 26px -10px rgba(210, 38, 48, .65); }
.btn-outline { --b: var(--line-2); background: #fff; color: var(--navy); }
.btn-outline:hover { --b: var(--navy); color: var(--navy); transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-900); color: #fff; }
.btn-ghost-light { --b: rgba(255,255,255,.45); color: #fff; background: rgba(255,255,255,.08); }
.btn-ghost-light:hover { background: rgba(255,255,255,.18); color: #fff; }
.btn-lg { padding: .95em 1.6em; font-size: 1rem; }
.btn-block { width: 100%; }

/* Top bar & header -------------------------------------------------------- */
.topbar { background: var(--navy-900); color: #C9D5EE; font-size: .82rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 0; }
.topbar p { margin: 0; display: flex; align-items: center; gap: 8px; }
.topbar a { color: #fff; text-decoration: none; display: flex; align-items: center; gap: 6px; }
.topbar .ic { width: 16px; height: 16px; color: #FF8A91; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(11, 31, 68, .35); }
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.28rem/1 var(--font-h); color: var(--navy-900); letter-spacing: -.02em; flex: none; }
.brand b { color: var(--navy); font-weight: 800; }
.brand span { white-space: nowrap; }
.brand img { width: 44px; height: 44px; }
.main-nav { flex: 1; }
.nav-list { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; justify-content: center; }
.nav-link { white-space: nowrap; display: flex; align-items: center; gap: 4px; background: none; border: 0; padding: 10px 12px; border-radius: 10px; font: 600 .93rem/1 var(--font-h); color: var(--navy-900); cursor: pointer; }
.nav-link:hover, .nav-item.open .nav-link { background: var(--sky-2); color: var(--navy); }
.nav-caret { width: 16px; height: 16px; transition: transform .25s; }
.nav-item.open .nav-caret { transform: rotate(180deg); }
.has-mega { position: static; }
.mega { position: absolute; left: 0; right: 0; top: 100%; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .22s, transform .22s, visibility .22s; }
.mega-inner { width: min(100% - 32px, 1060px); margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 28px; display: flex; gap: 36px; }
.nav-item.open .mega { opacity: 1; visibility: visible; transform: none; }
.mega-col { flex: 1; min-width: 0; }
.mega-title { font: 700 .74rem/1 var(--font-h); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.mega-col ul { list-style: none; margin: 0; padding: 0; }
.mega-col a { display: block; padding: 7px 10px; margin: 0 -10px; border-radius: 8px; color: var(--navy-900); text-decoration: none; font-weight: 500; font-size: .95rem; }
.mega-col a:hover { background: var(--sky-2); color: var(--navy); }
.mega-feature { flex: 0 0 260px; background: linear-gradient(160deg, var(--sky) 0%, #fff 100%); border: 1px solid var(--line); border-radius: 16px; padding: 18px; text-decoration: none; display: flex; flex-direction: column; gap: 4px; }
.mega-feature strong { font-family: var(--font-h); color: var(--navy-900); }
.mega-feature span { color: var(--muted); font-size: .88rem; }
.mega-feature .combo-art { height: 150px; margin-bottom: 8px; }
.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.menu-toggle { display: none; background: var(--sky-2); border: 1px solid var(--line); width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; color: var(--navy-900); cursor: pointer; }
.nav-mobile-cta { display: none; }

/* Hero -------------------------------------------------------------------- */
.page-hero { position: relative; padding: 42px 0 64px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(700px 380px at 88% 18%, rgba(62, 123, 250, .16), transparent 70%),
    radial-gradient(520px 320px at 8% 100%, rgba(210, 38, 48, .08), transparent 70%),
    linear-gradient(180deg, #F3F7FF 0%, #FFFFFF 100%); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(11, 61, 145, .09) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.page-hero.has-art .hero-grid { grid-template-columns: 1.15fr .85fr; }
.hero-copy .lead { font-size: 1.14rem; color: var(--muted); max-width: 640px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 .78rem/1 var(--font-h); letter-spacing: .12em; text-transform: uppercase; color: var(--red); background: var(--red-50); border: 1px solid #FFD5D8; padding: 8px 12px; border-radius: 999px; margin-bottom: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.updated { display: flex; align-items: center; gap: 6px; font-size: .84rem; color: var(--muted); margin: 0; }
.updated .ic { width: 16px; height: 16px; }
.hero-art { position: relative; }
.hero-icon { width: 220px; height: 220px; margin-inline: auto; border-radius: 48px; display: grid; place-items: center; background: linear-gradient(145deg, #fff, var(--sky)); border: 1px solid var(--line); box-shadow: var(--shadow-lg); color: var(--navy); animation: float 6s ease-in-out infinite; }
.hero-icon .ic { width: 110px; height: 110px; stroke-width: 1.3; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 18px; font-size: .85rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }

/* Home hero */
.home-hero { position: relative; padding: 56px 0 40px; overflow: hidden; }
.home-hero .hero-grid { grid-template-columns: 1.05fr .95fr; }
.home-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.home-hero h1 .hl { background: linear-gradient(90deg, var(--navy), var(--blue) 55%, var(--red)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.hero-points li { display: flex; gap: 8px; align-items: center; font-weight: 500; color: var(--navy-900); font-size: .96rem; }
.hero-points .ic { color: var(--ok); width: 20px; height: 20px; }
.hero-stage { position: relative; aspect-ratio: 1 / .92; }
.hero-stage .blob { position: absolute; inset: 6% 4%; border-radius: 42% 58% 55% 45% / 50% 42% 58% 50%; background: linear-gradient(145deg, #DDE8FF, #F8FAFF 60%, #FFE9EB); animation: morph 14s ease-in-out infinite; }
.hero-stage .h-tablet { position: absolute; width: 68%; left: 0; top: 6%; animation: float 7s ease-in-out infinite; filter: drop-shadow(0 30px 40px rgba(11, 61, 145, .28)); }
.hero-stage .h-phone { position: absolute; z-index: 2; width: 21%; left: 12%; bottom: 0; animation: float 6s ease-in-out -2s infinite; filter: drop-shadow(0 30px 34px rgba(11, 31, 68, .35)); }
.hero-stage .h-laptop { position: absolute; z-index: 1; width: 62%; right: 0; bottom: 6%; animation: float 8s ease-in-out -4s infinite; filter: drop-shadow(0 24px 30px rgba(11, 31, 68, .25)); }
.chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow); font: 600 .86rem/1.25 var(--font-h); color: var(--navy-900); animation: float 6s ease-in-out infinite; }
.chip small { display: block; color: var(--muted); font: 500 .76rem var(--font-b); }
.chip .ic { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--sky); color: var(--navy); }
.chip-1 { right: 0; top: 52%; animation-delay: -1s; }
.chip-2 { right: -1%; top: 4%; animation-delay: -3s; }
.chip-2 .ic { background: var(--red-50); color: var(--red); }

/* Trust bar */
.trust-bar { list-style: none; margin: 0; padding: 18px 22px; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.trust-bar li { display: flex; align-items: center; gap: 10px; font: 600 .9rem/1.2 var(--font-h); color: var(--navy-900); }
.trust-bar .ic { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--sky); color: var(--navy); }

/* Sections ---------------------------------------------------------------- */
.sec { padding: 72px 0; }
.sec-tight { padding: 40px 0; }
.sec-soft { background: var(--bg-soft); border-block: 1px solid var(--line); }
.sec-head { max-width: 760px; margin-bottom: 36px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head p { color: var(--muted); font-size: 1.06rem; }
.kicker { display: inline-block; font: 700 .76rem/1 var(--font-h); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }

/* Article layout with sticky sidebar */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.side-apply { background: linear-gradient(160deg, var(--navy) 0%, #123F9A 55%, #1D5BD8 100%); color: #DCE6FA; border: 0; position: relative; overflow: hidden; }
.side-apply::after { content: ""; position: absolute; width: 220px; height: 220px; right: -90px; top: -90px; border-radius: 50%; background: rgba(255,255,255,.08); }
.side-apply h3 { color: #fff; }
.side-apply ul { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 6px; font-size: .92rem; }
.side-apply li { display: flex; gap: 8px; align-items: center; }
.side-apply .ic { width: 16px; height: 16px; color: #8FE3BF; }
.toc h3 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; counter-reset: t; }
.toc a { display: block; padding: 6px 10px; border-radius: 8px; text-decoration: none; color: var(--text); font-size: .92rem; border-left: 2px solid transparent; }
.toc a:hover, .toc a.active { background: var(--sky-2); color: var(--navy); border-left-color: var(--blue); }

/* Prose */
.prose { min-width: 0; }
.prose > h2 { margin-top: 1.9em; padding-top: .2em; }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose ul li, .prose ol li { margin-bottom: .45em; }
.prose ul.checks { list-style: none; padding: 0; }
.prose ul.checks li { position: relative; padding-left: 30px; }
.prose ul.checks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 20px; height: 20px; border-radius: 50%; background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B3D91' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center/12px no-repeat; }
.prose .lead-p { font-size: 1.12rem; color: var(--navy-900); }
.prose strong { color: var(--navy-900); }

/* Cards & grids ----------------------------------------------------------- */
.combo-grid, .fam-grid, .model-grid, .state-grid, .guide-grid, .card-grid { display: grid; gap: 20px; }
.combo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fam-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.model-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.state-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.guide-grid, .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.combo-card, .fam-card, .model-card, .state-card, .guide-card, .card, .rel-card {
  position: relative; display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  text-decoration: none; color: var(--text); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, border-color .3s; }
a.combo-card:hover, a.fam-card:hover, a.model-card:hover, a.state-card:hover, a.guide-card:hover, a.card:hover, .rel-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #C8D6F1; color: var(--text); }
.combo-card { padding-top: 16px; background: linear-gradient(180deg, var(--sky-2) 0%, #fff 55%); }
.cc-tag { align-self: flex-start; font: 700 .72rem/1 var(--font-h); letter-spacing: .06em; text-transform: uppercase; color: var(--navy); background: #fff; border: 1px solid var(--line); padding: 6px 10px; border-radius: 999px; }
.combo-card .combo-art { height: 170px; margin: 4px 0 6px; }
.cc-title, .fam-title { font: 700 1.06rem/1.3 var(--font-h); color: var(--navy-900); }
.cc-meta { font-size: .88rem; color: var(--muted); line-height: 1.8; }
.cc-meta .ic { display: inline; width: 16px; height: 16px; vertical-align: -3px; color: var(--ok); margin-right: 4px; }
.cc-link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font: 700 .9rem/1 var(--font-h); color: var(--blue); padding-top: 8px; }
.cc-link .ic { width: 16px; height: 16px; transition: transform .25s; }
a:hover .cc-link .ic { transform: translateX(4px); }
.fam-models { font-size: .9rem; color: var(--muted); line-height: 1.5; }
.fam-card .device-art, .model-card .device-art { height: 150px; display: flex; align-items: center; justify-content: center; background: radial-gradient(closest-side, var(--sky), transparent); margin-bottom: 8px; }
.fam-card .device-art svg, .model-card .device-art svg { max-height: 140px; width: auto; transition: transform .4s cubic-bezier(.2,.8,.2,1); }
a.fam-card:hover .device-art svg, a.model-card:hover .device-art svg { transform: translateY(-6px) rotate(-2deg); }
.pill { align-self: flex-start; margin-top: auto; font: 700 .76rem/1 var(--font-h); color: var(--ok); background: #E7F6EF; border-radius: 999px; padding: 6px 10px; }
.st-abbr { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font: 800 1.1rem var(--font-h); color: #fff; background: linear-gradient(135deg, var(--navy), var(--blue)); box-shadow: 0 8px 18px -8px rgba(11, 61, 145, .6); }
.gc-ic { width: 46px; height: 46px; padding: 11px; border-radius: 12px; background: var(--sky); color: var(--navy); }
.card > svg.ic:first-child, .card .ic.card-ic { width: 46px; height: 46px; padding: 11px; border-radius: 12px; background: var(--sky); color: var(--navy); }
.card.red > svg.ic:first-child, .card.red .ic.card-ic { background: var(--red-50); color: var(--red); }
.card h3 { margin: 6px 0 2px; }
.card p { margin: 0; font-size: .95rem; color: var(--muted); }

/* Device art */
.device-art svg { margin-inline: auto; }
.device-art.hero svg { max-height: 420px; width: auto; filter: drop-shadow(0 30px 40px rgba(11, 61, 145, .25)); animation: float 7s ease-in-out infinite; }
.combo-art { position: relative; height: 380px; }
.combo-art .ca-glow { position: absolute; inset: 10% 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(62, 123, 250, .22), transparent); }
.combo-art > div { position: absolute; }
.combo-art svg { width: 100%; height: auto; }
.combo-art .ca-back { left: 4%; top: 12%; width: 72%; animation: float 7s ease-in-out infinite; filter: drop-shadow(0 20px 26px rgba(11, 61, 145, .22)); }
.combo-art .ca-back.ca-s { width: 34%; left: 18%; top: 4%; }
.combo-art .ca-front { right: 6%; bottom: 2%; width: 28%; animation: float 6s ease-in-out -2.5s infinite; filter: drop-shadow(0 20px 22px rgba(11, 31, 68, .32)); }
.combo-art .ca-front.ca-m { width: 52%; }
.combo-art .ca-front.ca-l { width: 60%; }
.combo-art .ca-front.ca-s { width: 30%; right: 12%; }
.combo-art .ca-back.ca-m + .ca-front.ca-m { width: 50%; bottom: 0; }
.ca-plus { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 38px; height: 38px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font: 800 1.3rem/1 var(--font-h); box-shadow: 0 8px 18px -6px rgba(210, 38, 48, .7); z-index: 2; }
.combo-art.sm .ca-plus { width: 28px; height: 28px; font-size: 1rem; }
.combo-art.hero { height: 420px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: s; position: relative; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.step-n { position: absolute; top: 18px; right: 20px; font: 800 2.4rem/1 var(--font-h); color: var(--sky); }
.step-ic { width: 48px; height: 48px; padding: 11px; border-radius: 14px; background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; margin-bottom: 16px; }
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; font-size: .95rem; color: var(--muted); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.stat b { display: block; font: 800 2rem/1.1 var(--font-h); color: var(--navy); letter-spacing: -.02em; }
.stat span { font-size: .9rem; color: var(--muted); }
.stat.red b { color: var(--red); }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.wide-left { grid-template-columns: 1.2fr .8fr; }

/* Charts ------------------------------------------------------------------ */
.chart { margin: 28px 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.chart figcaption strong { display: block; font: 700 1.05rem/1.3 var(--font-h); color: var(--navy-900); }
.chart-sub { font-size: .88rem; color: var(--muted); margin: 4px 0 0; }
.chart-src { font-size: .78rem; color: var(--muted); margin: 18px 0 0; padding-top: 12px; border-top: 1px dashed var(--line); }
.chart-src a { color: var(--muted); }
.hbar { display: grid; gap: 14px; margin-top: 20px; }
.hb-row { display: grid; grid-template-columns: minmax(120px, 34%) 1fr auto; align-items: center; gap: 12px; }
.hb-label { font-size: .9rem; color: var(--text); font-weight: 500; line-height: 1.3; }
.hb-track { height: 14px; background: #EEF2F9; border-radius: 999px; overflow: hidden; }
.hb-bar { display: block; height: 100%; width: var(--w); border-radius: 999px; transform-origin: left; transform: scaleX(0); transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.hb-val { font: 700 .92rem var(--font-h); color: var(--navy-900); min-width: 64px; text-align: right; }
.hb-blue, .col-blue { background: linear-gradient(90deg, var(--navy), var(--blue-500)); }
.hb-red, .col-red { background: linear-gradient(90deg, var(--red), #F0626A); }
.hb-sky, .col-sky { background: linear-gradient(90deg, #4C8DF6, #8DB8FF); }
.hb-gray, .col-gray { background: linear-gradient(90deg, #8C9AB5, #B7C2D6); }
.col-navy { background: var(--navy-900); }
.in .hb-bar { transform: scaleX(1); }
.columns { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 10px; align-items: end; height: 260px; margin-top: 22px; }
.col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 6px; }
.col-val { font: 700 .74rem var(--font-h); color: var(--navy-900); white-space: nowrap; }
.col-bar { width: 100%; max-width: 56px; height: var(--h); border-radius: 10px 10px 4px 4px; transform-origin: bottom; transform: scaleY(0); transition: transform 1.1s cubic-bezier(.2,.8,.2,1); }
.col-label { font: 600 .85rem var(--font-h); color: var(--muted); }
.in .col-bar, .in .gbar { transform: scaleY(1); }
.col:nth-child(2) .col-bar, .col:nth-child(2) .gbar { transition-delay: .06s; } .col:nth-child(3) .col-bar, .col:nth-child(3) .gbar { transition-delay: .12s; }
.col:nth-child(4) .col-bar, .col:nth-child(4) .gbar { transition-delay: .18s; } .col:nth-child(5) .col-bar { transition-delay: .24s; }
.col:nth-child(6) .col-bar { transition-delay: .3s; } .col:nth-child(7) .col-bar { transition-delay: .36s; } .col:nth-child(8) .col-bar { transition-delay: .42s; }
.grouped .gbars { display: flex; align-items: flex-end; gap: 6px; height: 100%; width: 100%; justify-content: center; }
.gbar { position: relative; width: 42%; max-width: 44px; height: var(--h); border-radius: 8px 8px 3px 3px; transform-origin: bottom; transform: scaleY(0); transition: transform 1.1s cubic-bezier(.2,.8,.2,1); }
.gbar em { position: absolute; bottom: 100%; left: 50%; translate: -50% -4px; font: 700 .66rem var(--font-h); font-style: normal; color: var(--navy-900); white-space: nowrap; writing-mode: vertical-rl; rotate: 180deg; }
.grouped { height: 300px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: .86rem; }
.legend span { display: flex; align-items: center; gap: 6px; }
.sw { width: 12px; height: 12px; border-radius: 4px; display: inline-block; flex: none; }
.sw-blue { background: var(--navy); } .sw-red { background: var(--red); } .sw-sky { background: #4C8DF6; } .sw-gray { background: #9AA7BF; } .sw-navy { background: var(--navy-900); }
.donut-wrap { display: flex; align-items: center; gap: 28px; margin-top: 16px; flex-wrap: wrap; }
.donut { width: 190px; flex: none; }
.dn-seg { transition: stroke-dasharray 1.4s cubic-bezier(.2,.8,.2,1); }
.chart:not(.in) .dn-seg { stroke-dasharray: 0 999 !important; }
.dn-blue { stroke: var(--navy); } .dn-red { stroke: var(--red); } .dn-sky { stroke: #4C8DF6; } .dn-gray { stroke: #9AA7BF; } .dn-navy { stroke: var(--navy-900); }
.dn-big { font: 800 24px var(--font-h); fill: var(--navy-900); }
.dn-small { font: 500 11px var(--font-b); fill: var(--muted); }
.dn-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; flex: 1; min-width: 200px; }
.dn-legend li { display: flex; align-items: center; gap: 10px; font-size: .92rem; }
.dn-legend b { margin-left: auto; font-family: var(--font-h); color: var(--navy-900); }
.stacked { margin-top: 20px; }
.st-bar { display: flex; height: 64px; border-radius: 14px; overflow: hidden; background: #EEF2F9; }
.st-seg { width: var(--w); display: flex; align-items: center; padding: 0 14px; color: #fff; transform-origin: left; transform: scaleX(0); transition: transform 1.2s cubic-bezier(.2,.8,.2,1); min-width: 0; }
.st-seg + .st-seg { transition-delay: .35s; }
.in .st-seg { transform: scaleX(1); }
.st-seg em { font-style: normal; font-size: .78rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-seg b { display: block; font: 800 1.05rem var(--font-h); }
.st-total { margin: 12px 0 0; font-weight: 600; color: var(--navy-900); }
.timeline { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 20px; left: 8%; right: 8%; height: 3px; background: linear-gradient(90deg, var(--navy), var(--red)); border-radius: 3px; transform-origin: left; transform: scaleX(0); transition: transform 1.4s cubic-bezier(.2,.8,.2,1); }
.in .timeline::before { transform: scaleX(1); }
.timeline li { position: relative; text-align: center; }
.tl-dot { position: relative; z-index: 1; width: 42px; height: 42px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 3px solid var(--navy); font: 800 1rem var(--font-h); color: var(--navy); }
.timeline li:last-child .tl-dot { border-color: var(--red); color: var(--red); }
.timeline strong { font-family: var(--font-h); color: var(--navy-900); }
.timeline p { font-size: .88rem; color: var(--muted); margin: 4px 0 0; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 24px 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; font-size: .94rem; }
caption { text-align: left; padding: 16px 18px 8px; font: 700 1rem var(--font-h); color: var(--navy-900); }
th, td { padding: 12px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.spec th { width: 38%; color: var(--muted); font-weight: 600; background: var(--sky-2); }
.compare thead th { background: var(--navy); color: #fff; font-family: var(--font-h); font-size: .9rem; white-space: nowrap; }
.compare tbody th { background: var(--sky-2); color: var(--navy-900); font-weight: 600; white-space: nowrap; }
.compare { min-width: 620px; }
.data-table thead th { background: var(--sky-2); color: var(--navy-900); font-family: var(--font-h); }

/* Notes, terms, sources */
.note { display: flex; gap: 14px; background: var(--sky-2); border: 1px solid #CFE0FF; border-left: 4px solid var(--blue); border-radius: var(--radius-sm); padding: 18px 20px; margin: 26px 0; }
.note .ic { color: var(--blue); margin-top: 3px; }
.note p { margin: 0; font-size: .95rem; }
.note.warn { background: #FFF8EC; border-color: #FFE1AE; border-left-color: #E08A00; }
.note.warn .ic { color: #C77700; }
.terms { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 28px 0; box-shadow: var(--shadow-sm); }
.terms h3 { display: flex; align-items: center; gap: 8px; }
.terms h3 .ic { color: var(--blue); }
.terms ul { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.terms li { display: flex; gap: 10px; font-size: .94rem; }
.terms li .ic { color: var(--ok); width: 18px; height: 18px; margin-top: 4px; }
.terms p { margin: 0; font-size: .88rem; }
.sources { border: 1px dashed var(--line-2); border-radius: var(--radius); padding: 20px 22px; margin: 28px 0; background: #fff; }
.sources h3 { display: flex; align-items: center; gap: 8px; font-size: 1rem; }
.sources ul { margin: 0; font-size: .92rem; }

/* FAQ */
.faq { display: grid; gap: 12px; margin: 20px 0; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: #C8D6F1; box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; font: 700 1rem/1.4 var(--font-h); color: var(--navy-900); position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; translate: 0 -50%; width: 28px; height: 28px; border-radius: 50%; background: var(--sky); color: var(--navy); display: grid; place-items: center; font-size: 1.2rem; transition: transform .25s; }
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--navy); color: #fff; }
.faq-a { padding: 0 20px 18px; }
.faq-a p:last-child { margin: 0; }

/* CTA band */
.cta-band { margin: 64px auto; width: min(100% - 32px, var(--wrap)); border-radius: 28px; overflow: hidden; position: relative;
  background: radial-gradient(600px 300px at 90% 0%, rgba(255,255,255,.14), transparent 60%), linear-gradient(120deg, var(--navy-900) 0%, var(--navy) 50%, var(--blue) 100%); }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); background-size: 20px 20px; mask-image: linear-gradient(90deg, transparent, #000); -webkit-mask-image: linear-gradient(90deg, transparent, #000); }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 44px 48px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: #C9D6F1; margin: 0; max-width: 560px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.prose .cta-band, .layout .cta-band { width: 100%; margin: 40px 0; }
.prose .cta-inner, .layout .cta-inner { padding: 32px; }

/* Checker */
.checker { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.ck-head { display: flex; gap: 14px; align-items: center; padding: 22px 24px; background: linear-gradient(120deg, var(--sky) 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.ck-head .ic { width: 46px; height: 46px; padding: 11px; border-radius: 12px; background: var(--navy); color: #fff; }
.ck-head h3 { margin: 0; }
.ck-head p { margin: 0; font-size: .88rem; color: var(--muted); }
.ck-body { padding: 22px 24px 26px; display: grid; gap: 14px; }
.ck-body label[for], .ck-body legend { font: 700 .92rem var(--font-h); color: var(--navy-900); }
.ck-body fieldset { border: 0; padding: 0; margin: 0; }
.ck-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.ck-opt { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font-size: .9rem; transition: border-color .2s, background .2s; }
.ck-opt:has(input:checked) { border-color: var(--blue); background: var(--sky-2); }
.ck-opt input { accent-color: var(--navy); width: 18px; height: 18px; }
.ck-result { display: none; border-radius: 14px; padding: 16px 18px; font-size: .94rem; }
.ck-result.show { display: block; animation: pop .4s cubic-bezier(.2,.8,.2,1); }
.ck-result.good { background: #E9F7F0; border: 1px solid #BFE6D3; }
.ck-result.maybe { background: #FFF8EC; border: 1px solid #FFE1AE; }
.ck-result p { margin: 0 0 10px; }
.ck-result .btn { margin-top: 4px; }

/* Forms */
input, select, textarea { font: inherit; }
.field { display: grid; gap: 6px; }
.field label { font: 600 .9rem var(--font-h); color: var(--navy-900); }
.field .hint { font-size: .8rem; color: var(--muted); }
.input, select, textarea, .ck-body select { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 12px; background: #fff; color: var(--navy-900); transition: border-color .2s, box-shadow .2s; }
.input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(29, 91, 216, .14); }
.field.err .input, .field.err select { border-color: var(--red); }
.field .err-msg { display: none; font-size: .8rem; color: var(--red); }
.field.err .err-msg { display: block; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); padding: 32px; }
.progress { display: flex; gap: 8px; margin-bottom: 26px; list-style: none; padding: 0; }
.progress li { flex: 1; display: grid; gap: 8px; font: 600 .78rem var(--font-h); color: var(--muted); }
.progress li::before { content: ""; height: 6px; border-radius: 6px; background: var(--line); transition: background .4s; }
.progress li.done::before, .progress li.cur::before { background: linear-gradient(90deg, var(--navy), var(--blue)); }
.progress li.cur { color: var(--navy); }
.fstep { display: none; }
.fstep.cur { display: block; animation: fadeUp .45s cubic-bezier(.2,.8,.2,1); }
.fstep h2 { font-size: 1.4rem; }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: block; padding: 14px; border: 1.5px solid var(--line-2); border-radius: 14px; font: 600 .9rem/1.3 var(--font-h); color: var(--navy-900); cursor: pointer; height: 100%; transition: all .2s; }
.choice span small { display: block; font: 400 .78rem var(--font-b); color: var(--muted); margin-top: 3px; }
.choice input:checked + span { border-color: var(--blue); background: var(--sky-2); box-shadow: 0 0 0 3px rgba(29, 91, 216, .12); }
.choice input:focus-visible + span { outline: 3px solid var(--blue-500); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; padding: 12px 0; border-bottom: 1px solid var(--line); }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--navy); flex: none; }
.hp { position: absolute; left: -5000px; }
.form-alert { display: none; padding: 14px 16px; border-radius: 12px; background: var(--red-50); border: 1px solid #FFC9CD; color: var(--red-600); margin-bottom: 16px; font-size: .92rem; }
.form-alert.show { display: block; }
.secure-note { display: flex; gap: 8px; align-items: center; font-size: .84rem; color: var(--muted); margin-top: 16px; }
.secure-note .ic { color: var(--ok); width: 18px; height: 18px; }

/* Related */
.related { padding: 56px 0; background: var(--bg-soft); border-top: 1px solid var(--line); }
.related h2 { font-size: 1.5rem; }
.rel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.rel-card { padding: 18px 44px 18px 18px; gap: 4px; }
.rel-card span { font: 700 1rem/1.3 var(--font-h); color: var(--navy-900); }
.rel-card small { color: var(--muted); font-size: .84rem; line-height: 1.45; }
.rel-card .ic { position: absolute; right: 16px; top: 50%; translate: 0 -50%; color: var(--blue); width: 18px; height: 18px; transition: transform .25s; }
.rel-card:hover .ic { transform: translateX(4px); }

/* Footer */
.site-footer { background: #F3F6FB; border-top: 1px solid var(--line); padding: 64px 0 24px; font-size: .92rem; }
.f-top { display: grid; grid-template-columns: 300px 1fr; gap: 48px; }
.f-brand p { color: var(--muted); margin: 16px 0; }
.f-contact { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; }
.f-contact li { display: flex; gap: 8px; align-items: flex-start; font-size: .88rem; }
.f-contact .ic { width: 18px; height: 18px; color: var(--navy); margin-top: 3px; }
.f-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 28px; }
.f-col h3 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--navy-900); margin-bottom: 14px; }
.f-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.f-col a { color: var(--text); text-decoration: none; font-size: .9rem; }
.f-col a:hover { color: var(--blue); text-decoration: underline; }
.f-disclaimer { margin-top: 44px; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: 14px; font-size: .82rem; color: var(--muted); }
.f-disclaimer p { margin: 0; }
.f-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 24px; font-size: .84rem; color: var(--muted); }
.f-bottom p { margin: 0; }
.to-top { position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; place-items: center; color: var(--navy); opacity: 0; pointer-events: none; transform: translateY(10px); transition: all .3s; z-index: 40; }
.to-top .ic { transform: rotate(180deg); }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }

/* Animations -------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes morph { 0%, 100% { border-radius: 42% 58% 55% 45% / 50% 42% 58% 50%; } 50% { border-radius: 58% 42% 45% 55% / 42% 58% 42% 58%; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hb-bar, .col-bar, .gbar, .st-seg, .timeline::before { transform: none; }
}

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1120px) {
  .fam-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 36px; }
  .hide-sm { display: none; }
  .nav-link { padding: 10px 9px; font-size: .9rem; }
}
@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .menu-toggle { display: inline-flex; }
  .main-nav { position: fixed; inset: calc(var(--header-h)) 0 0 0; background: #fff; transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1); overflow-y: auto; padding: 12px 16px 32px; border-top: 1px solid var(--line); }
  .main-nav.open { transform: none; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; padding: 16px 6px; font-size: 1.02rem; }
  .mega { position: static; opacity: 1; visibility: visible; transform: none; display: none; }
  .nav-item.open .mega { display: block; }
  .mega-inner { flex-direction: column; gap: 18px; padding: 6px 6px 18px; border: 0; box-shadow: none; width: 100%; }
  .mega-feature { display: none; }
  .nav-mobile-cta { display: block; margin-top: 20px; }
  .header-actions .btn-primary { padding: .6em 1em; }
  .page-hero.has-art .hero-grid, .home-hero .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; width: 100%; margin-inline: auto; }
  .combo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .model-grid, .state-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps, .stats, .card-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .layout { grid-template-columns: 1fr; }
  .side { position: static; }
  .side .toc { display: none; }
  .split, .split.wide-left { grid-template-columns: 1fr; gap: 28px; }
  .f-top { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .topbar p { font-size: .76rem; }
  .topbar a { display: none; }
  .brand { font-size: 1.1rem; }
  .brand img { width: 38px; height: 38px; }
  .sec { padding: 52px 0; }
  .page-hero { padding: 28px 0 44px; }
  .combo-grid, .guide-grid, .card-grid, .card-grid.two, .fam-grid { grid-template-columns: 1fr; }
  .fam-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fam-card .device-art { height: 110px; }
  .fam-card .device-art svg { max-height: 104px; }
  .combo-art, .combo-art.hero { height: 300px; }
  .combo-card .combo-art { height: 180px; }
  .hero-points { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .cta-inner { padding: 32px 22px; }
  .cta-actions .btn { flex: 1 1 100%; }
  .f-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-card { padding: 22px 18px; border-radius: 18px; }
  .form-grid, .choice-grid, .ck-opts { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; text-align: left; }
  .timeline::before { display: none; }
  .timeline li { display: flex; gap: 14px; text-align: left; }
  .tl-dot { margin: 0; flex: none; }
  .hb-row { grid-template-columns: 1fr auto; }
  .hb-label { grid-column: 1 / -1; }
  .columns { height: 220px; gap: 6px; }
  .col-val { font-size: .6rem; writing-mode: vertical-rl; rotate: 180deg; }
  .chart { padding: 18px; }
  .trust-bar { justify-content: flex-start; }
  .chip { display: none; }
  .header-actions .btn-primary { display: none; }
}
@media (max-width: 420px) {
  .model-grid, .state-grid, .steps, .stats, .card-grid.four { grid-template-columns: 1fr; }
  .f-cols { grid-template-columns: 1fr; }
}
@media print {
  .topbar, .site-header, .site-footer, .cta-band, .related, .to-top, .side { display: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Small-screen tables: stack spec rows, tighten cells */
@media (max-width: 560px) {
  th, td { padding: 10px 12px; }
  .spec th, .spec td { display: block; width: 100%; }
  .spec th { border-bottom: 0; padding-bottom: 2px; background: none; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
  .spec td { padding-top: 0; }
  .spec tr { display: block; border-bottom: 1px solid var(--line); padding: 6px 0; }
  .spec tr:last-child { border-bottom: 0; }
  .spec tbody tr th, .spec tbody tr td { border-bottom: 0; }
  .data-table { font-size: .88rem; }
  caption { padding: 14px 12px 6px; }
}

/* Mobile header + drawer fixes */
.header-actions { margin-left: auto; }
.eyebrow { flex-wrap: wrap; row-gap: 4px; }
@media (max-width: 1024px) {
  .main-nav { visibility: hidden; transition: transform .35s cubic-bezier(.2,.8,.2,1), visibility 0s linear .35s; }
  .main-nav.open { visibility: visible; transition: transform .35s cubic-bezier(.2,.8,.2,1), visibility 0s; }
}
@media (max-width: 720px) {
  .eyebrow { font-size: .68rem; letter-spacing: .08em; padding: 7px 10px; }
  .eyebrow .ic { width: 15px; height: 15px; }
}

/* Mobile drawer: the sticky header's backdrop-filter makes it the containing
   block, so position the drawer just below the header and fade it in place
   (no off-screen translate, which caused horizontal overflow). */
@media (max-width: 1024px) {
  .main-nav { position: absolute; inset: auto; top: 100%; left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
    transform: translateY(-6px); opacity: 0; visibility: hidden; box-shadow: 0 24px 40px -20px rgba(11,31,68,.3);
    transition: opacity .25s, transform .25s, visibility 0s linear .25s; }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; transition: opacity .25s, transform .25s, visibility 0s; }
}

/* Group validation (combo choice + consent boxes) */
.choice-grid.err .choice span { border-color: var(--red); }
.field.err .consent span, [data-group-required].err .consent span { color: var(--red-600); }

/* Device photos */
.device-art.has-photo img { display: block; margin-inline: auto; width: auto; height: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(11, 31, 68, .22)); }
.device-art.hero.has-photo img { max-height: 440px; animation: float 7s ease-in-out infinite; }
.fam-card .device-art.has-photo img, .model-card .device-art.has-photo img { max-height: 140px; transition: transform .4s cubic-bezier(.2,.8,.2,1); }
a.fam-card:hover .device-art.has-photo img, a.model-card:hover .device-art.has-photo img { transform: translateY(-6px) scale(1.03); }
.combo-art .ca-photo img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.combo-art .ca-front.ca-s.ca-photo { width: 40%; right: 4%; height: 78%; }
.combo-art .ca-back.ca-s.ca-photo { width: 44%; left: 10%; height: 90%; }
.hero-stage .h-phone .device-art.has-photo img { max-height: none; width: 100%; }
.hero-stage .h-phone { width: 30%; }
@media (max-width: 720px) { .fam-card .device-art.has-photo img { max-height: 100px; } }
.hero-stage .device-art.has-photo img { width: 100%; max-height: none; }
.hero-stage .h-tablet { top: 4%; }
.combo-art .ca-back.ca-m.ca-photo, .combo-art .ca-back.ca-l.ca-photo { top: 8%; }
.fam-card .device-art.has-photo img, .model-card .device-art.has-photo img { max-width: 92%; }

/* Combo photos: keep every device inside the art box so nothing overlaps the card title */
.combo-art .ca-photo img { width: 100%; height: 100%; object-fit: contain; }
.combo-art .ca-back.ca-photo { left: 2%; top: 4%; width: 72%; height: 70%; }
.combo-art .ca-back.ca-l.ca-photo { width: 64%; height: 62%; top: 6%; }
.combo-art .ca-front.ca-m.ca-photo, .combo-art .ca-front.ca-l.ca-photo { width: 54%; height: 54%; right: 2%; bottom: 4%; }
.combo-art .ca-front.ca-s.ca-photo { width: 34%; height: 74%; right: 6%; bottom: 4%; }
.combo-art .ca-back.ca-s.ca-photo { width: 40%; height: 86%; left: 12%; }
.combo-art .ca-photo img { object-position: center; }

/* Full logo image (includes the name) */
.brand .brand-logo { width: auto; height: 50px; }
.site-footer .brand .brand-logo { height: 56px; }
@media (max-width: 720px) { .brand .brand-logo { height: 40px; } }

/* Provider logos */
.pv-logo { display: flex; align-items: center; justify-content: flex-start; height: 44px; margin-bottom: 6px; }
.pv-logo img { max-height: 40px; max-width: 150px; width: auto; object-fit: contain; }
.compare thead .pv-logo { background: #fff; border-radius: 8px; padding: 4px 8px; width: fit-content; }
.pv-logo { height: 58px; }
.pv-logo img[src*="/providers/"] { width: 56px; height: 56px; max-height: 56px; border-radius: 12px; box-shadow: var(--shadow-sm); }
.compare thead .pv-logo { padding: 3px; }
.compare thead .pv-logo img[src*="/providers/"] { width: 48px; height: 48px; }

/* Portrait hero image */
.hero-photo { max-width: 380px; margin-inline: auto; border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); animation: float 7s ease-in-out infinite; }
.hero-photo img { display: block; width: 100%; height: auto; }
@media (max-width: 1024px) { .hero-photo { max-width: 300px; } }
