@font-face { font-family: Geist; src: url(fonts/geist.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

/* shadcn/ui zinc tokens (same as KSh Converter), green for prices */
:root {
  --background: #fff; --foreground: #09090b; --card: #fff; --primary: #18181b; --primary-foreground: #fafafa;
  --muted: #f4f4f5; --muted-foreground: #5f5f68; --accent: #f4f4f5; --border: #e4e4e7; --input: #d4d4d8; --ring: #71717a;
  --price: #15803d; --price-bg: #dcfce7; --down: #b91c1c; --warn: #92400e; --warn-bg: #fef3c7; --line: #16a34a; --area: rgb(22 163 74 / .08);
  --radius: .625rem; --shadow: 0 1px 2px rgb(0 0 0 / .05); --img-bg: #f4f4f5; color-scheme: light;
}
.dark {
  --background: #09090b; --foreground: #fafafa; --card: #131316; --primary: #fafafa; --primary-foreground: #18181b;
  --muted: #1f1f23; --muted-foreground: #a1a1aa; --accent: #27272a; --border: #27272a; --input: #3f3f46; --ring: #a1a1aa;
  --price: #4ade80; --price-bg: #052e16; --down: #f87171; --warn: #fcd34d; --warn-bg: #3a2a08; --line: #4ade80; --area: rgb(74 222 128 / .1);
  --shadow: none; --img-bg: #f4f4f5; color-scheme: dark;
}
*, ::before, ::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 7rem; }
body { margin: 0; background: var(--background); color: var(--foreground); font: 400 1rem/1.6 Geist, Inter, ui-sans-serif, system-ui, sans-serif; font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; overflow-x: clip; min-height: 100vh; display: flex; flex-direction: column; }
.cp-main { flex: 1; }
h1, h2, h3 { margin: 0; line-height: 1.12; font-weight: 600; letter-spacing: -.03em; overflow-wrap: anywhere; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -.045em; line-height: 1.06; }
h2 { font-size: clamp(1.375rem, 2.6vw, 1.875rem); letter-spacing: -.035em; }
h3 { font-size: 1rem; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; text-underline-offset: 3px; }
img { max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; background: var(--background); padding: .5rem 1rem; border-radius: var(--radius); }
.muted { color: var(--muted-foreground); }
.icon { flex: none; }
.price { color: var(--price); font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.price.off { color: var(--muted-foreground); }
s { color: var(--muted-foreground); }

/* frame: one column with hairline rails, as on shadcn.io */
.frame { width: min(100% - 2rem, 76rem); margin-inline: auto; border-inline: 1px solid var(--border); position: relative; }
.section { border-top: 1px solid var(--border); }
.section > .frame { padding: clamp(2rem, 4.5vw, 3.5rem) clamp(1rem, 3.5vw, 2.5rem); }
.section > .frame::before, .section > .frame::after { content: ""; position: absolute; top: -5.5px; width: 11px; height: 11px; background: linear-gradient(var(--ring), var(--ring)) center / 11px 1px no-repeat, linear-gradient(var(--ring), var(--ring)) center / 1px 11px no-repeat; }
.section > .frame::before { left: -6px; }
.section > .frame::after { right: -6px; }
.section.flush > .frame { padding: 0; }
.section.top { border-top: 0; }
.section.top > .frame { padding-top: clamp(1.25rem, 3vw, 2rem); padding-bottom: clamp(1.5rem, 3.5vw, 2.5rem); }
.section.top > .frame::before, .section.top > .frame::after { display: none; }
.frame.narrow > * { max-width: 48rem; }
.center { text-align: center; }
.frame.narrow.center > * { margin-inline: auto; }
.section-head { display: flex; gap: 1rem 2rem; align-items: end; justify-content: space-between; flex-wrap: wrap; margin-bottom: 1.5rem; }
.section-head > div { flex: 1 1 26rem; min-width: 0; }
.section-head .lead { margin-top: .625rem; }
.lead { color: var(--muted-foreground); font-size: clamp(1rem, 1.5vw, 1.125rem); }
.lead b { color: var(--foreground); font-weight: 500; }
.gap { height: 2.5rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.125rem; padding: .3125rem .75rem; border: 1px solid var(--border); border-radius: 999px; font-size: .8125rem; color: var(--muted-foreground); background: var(--background); }
.source { margin-top: .875rem; font-size: .8125rem; color: var(--muted-foreground); }

/* header */
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--background) 94%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.bar { display: flex; align-items: center; gap: 1rem; height: 3.5rem; border-inline-color: transparent; padding-inline: .25rem; position: static; }
.brand { display: flex; align-items: center; gap: .5rem; font-weight: 650; letter-spacing: -.03em; text-decoration: none; white-space: nowrap; font-size: 1.0625rem; }
.brand .word small { font-weight: 500; color: var(--muted-foreground); font-size: .8125rem; letter-spacing: -.01em; margin-left: 1px; }
.logo-bg { fill: var(--primary); }
.logo-fg { stroke: var(--primary-foreground); }
.logo-dot { fill: #22c55e; stroke: var(--background); stroke-width: 2.5; }
.main-nav { display: flex; gap: .125rem; font-size: .875rem; margin-left: .75rem; }
.nav-a, .nav-g summary { padding: .375rem .625rem; border-radius: calc(var(--radius) - 4px); color: var(--muted-foreground); text-decoration: none; white-space: nowrap; }
.nav-a:hover, .nav-g summary:hover, .nav-g[open] summary { color: var(--foreground); }
.nav-g summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .25rem; user-select: none; }
.nav-g summary::-webkit-details-marker { display: none; }
.nav-g[open] summary { background: var(--accent); }
.nav-g summary svg { width: .875rem; height: .875rem; transition: transform .2s; opacity: .7; }
.nav-g[open] summary svg { transform: rotate(180deg); }
.nav-p { position: absolute; left: 0; right: 0; top: 100%; background: var(--background); border-bottom: 1px solid var(--border); box-shadow: 0 24px 40px -24px rgb(0 0 0 / .28); animation: np .18s ease-out; }
.nav-p::after { content: ""; position: absolute; inset: 100% 0 auto; height: 100vh; background: rgb(9 9 11 / .28); pointer-events: none; }
.dark .nav-p::after { background: rgb(0 0 0 / .55); }
@keyframes np { from { opacity: 0; transform: translateY(-6px); } }
.np-in { display: grid; grid-template-columns: 17rem minmax(0, 1fr); }
.np-side { padding: 1.5rem; border-right: 1px solid var(--border); background: linear-gradient(160deg, var(--muted), transparent 75%); display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; }
.np-side .btn { margin-top: 1rem; }
.np-mark { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: var(--radius); background: var(--primary); color: var(--primary-foreground); margin-bottom: .625rem; }
.np-mark svg { width: 1.25rem; height: 1.25rem; }
.np-title { font-size: 1.125rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.np-line { font-size: .875rem; line-height: 1.4; color: var(--muted-foreground); }
.np-main { padding: 1.5rem; display: grid; gap: 1.25rem; align-content: start; }
.np-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .625rem; }
.np-links a { display: flex; align-items: center; gap: .75rem; padding: .875rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); text-decoration: none; transition: border-color .15s; }
.np-links a:hover { border-color: var(--ring); }
.np-i { display: grid; place-items: center; flex: none; width: 2.25rem; height: 2.25rem; border-radius: calc(var(--radius) - 2px); border: 1px solid var(--border); color: var(--muted-foreground); }
.np-t { display: grid; line-height: 1.35; min-width: 0; }
.np-t b { font-size: .9375rem; font-weight: 500; }
.np-t small { font-size: .8125rem; color: var(--muted-foreground); }
.np-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.np-chips .chip { font-size: .8125rem; padding: .3125rem .6875rem; }
.np-budgets, .np-brands { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .625rem; }
.np-budgets a, .np-brands a { display: grid; gap: .0625rem; padding: .875rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); text-decoration: none; transition: border-color .15s; }
.np-budgets a:hover, .np-brands a:hover { border-color: var(--ring); }
.np-budgets small, .np-budgets span, .np-brands small { font-size: .8125rem; color: var(--muted-foreground); }
.np-budgets b { font-size: 1.125rem; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.np-brands { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bar-end { margin-left: auto; display: flex; gap: .375rem; align-items: center; }
.icon-btn { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 999px; border: 1px solid transparent; background: none; cursor: pointer; color: var(--muted-foreground); list-style: none; }
.icon-btn::-webkit-details-marker { display: none; }
.icon-btn:hover { background: var(--accent); color: var(--foreground); }
.icon-moon { display: none; }
.dark .icon-moon { display: block; }
.dark .icon-sun { display: none; }
.menu { display: none; position: relative; }
.m-nav { position: absolute; right: 0; top: calc(100% + .5rem); width: min(18rem, calc(100vw - 2rem)); padding: .5rem; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 10px 30px rgb(0 0 0 / .15); display: grid; }
.m-nav > a { padding: .5rem .75rem; border-radius: calc(var(--radius) - 2px); text-decoration: none; font-size: .9375rem; }
.m-nav > a:hover { background: var(--accent); }
.m-h { padding: .75rem .75rem .25rem; font-size: .75rem; font-weight: 500; color: var(--muted-foreground); }
.m-chips { display: flex; flex-wrap: wrap; gap: .375rem; padding: .25rem .5rem .5rem; }
.m-chips .chip { font-size: .8125rem; padding: .25rem .625rem; }

/* search */
.search-pill { display: inline-flex; align-items: center; gap: .5rem; height: 2.25rem; padding: 0 .5rem 0 .75rem; border: 1px solid var(--border); border-radius: 999px; background: var(--muted); color: var(--muted-foreground); font-size: .875rem; cursor: pointer; transition: border-color .15s, color .15s; }
.search-pill:hover { border-color: var(--ring); color: var(--foreground); }
.search-pill kbd, .kbd-close { font: inherit; font-size: .75rem; line-height: 1; padding: .1875rem .375rem; border: 1px solid var(--border); border-radius: .25rem; background: var(--background); color: var(--muted-foreground); }
.search-pill.wide { width: 100%; max-width: 32rem; height: 3rem; padding: 0 .75rem 0 1rem; border-radius: var(--radius); font-size: 1rem; margin-top: 1.5rem; background: var(--background); box-shadow: var(--shadow); }
.search-pill.wide span { flex: 1; text-align: left; }
.search-dlg { width: min(40rem, calc(100vw - 1.5rem)); max-height: min(36rem, 80vh); padding: 0; margin: 10vh auto auto; border: 1px solid var(--border); border-radius: calc(var(--radius) + 4px); background: var(--card); color: var(--foreground); box-shadow: 0 30px 80px rgb(0 0 0 / .35); flex-direction: column; }
.search-dlg[open] { display: flex; }
.search-dlg::backdrop { background: rgb(9 9 11 / .45); backdrop-filter: blur(2px); }
.search-top { display: flex; align-items: center; gap: .625rem; padding: .5rem .625rem .5rem 1rem; border-bottom: 1px solid var(--border); }
.search-top .icon { width: 1.125rem; height: 1.125rem; color: var(--muted-foreground); }
.search-top input { flex: 1; min-width: 0; height: 2.75rem; padding: 0; border: 0; outline: 0; background: none; color: inherit; font: inherit; font-size: 1.125rem; }
.search-top input:focus { outline: 0; box-shadow: none; }
.kbd-close { cursor: pointer; }
.search-hint { padding: .75rem 1rem .25rem; font-size: .8125rem; color: var(--muted-foreground); }
.search-list { list-style: none; margin: 0; padding: .25rem .5rem .75rem; overflow-y: auto; overscroll-behavior: contain; }
.search-list a { display: flex; align-items: center; gap: .75rem; padding: .5rem .625rem; border-radius: var(--radius); text-decoration: none; }
.search-list a[aria-selected="true"], .search-list a:hover { background: var(--accent); }
.search-list img, .search-list .ph-img { width: 2.5rem; height: 2.5rem; object-fit: contain; border-radius: .375rem; background: var(--img-bg); flex: none; }
.search-list .st { display: grid; min-width: 0; flex: 1; line-height: 1.35; }
.search-list .st small { color: var(--muted-foreground); font-size: .8125rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-list .sp { font-size: .875rem; }

/* buttons, chips, badges */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.5rem; padding: .5rem 1.125rem; border-radius: 999px; border: 1px solid transparent; font: 500 .9375rem/1.2 inherit; font-family: inherit; text-decoration: none; cursor: pointer; background: none; color: inherit; transition: background .15s, border-color .15s, opacity .15s; white-space: nowrap; }
.btn.primary { background: var(--primary); color: var(--primary-foreground); }
.btn.primary:hover { opacity: .9; }
.btn.outline { border-color: var(--border); background: var(--background); }
.btn.outline:hover, .btn.ghost:hover { background: var(--accent); }
.btn.small { min-height: 2rem; padding: .25rem .75rem; font-size: .8125rem; }
.btn .icon { width: 1rem; height: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; gap: .4rem; align-items: center; padding: .4375rem .8125rem; border: 1px solid var(--border); border-radius: 999px; font-size: .875rem; text-decoration: none; background: var(--background); font-variant-numeric: tabular-nums; cursor: pointer; }
.chip:hover { background: var(--accent); }
.chip small { color: var(--muted-foreground); }
.chip .icon { color: var(--muted-foreground); }
.chip.on { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }
.chip.on small, .chip.on .icon { color: inherit; opacity: .75; }
.badge { display: inline-block; padding: .0625rem .5rem; border-radius: 999px; font-size: .75rem; font-weight: 500; background: var(--primary); color: var(--primary-foreground); white-space: nowrap; }
.badge.soft { background: var(--muted); color: var(--foreground); border: 1px solid var(--border); }
.badge.warn { background: var(--warn-bg); color: var(--warn); }
.badge.up { background: var(--price-bg); color: var(--price); }
.card { background: var(--card); border: 1px solid var(--border); border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow); }
.pad { padding: clamp(1rem, 3vw, 1.5rem); }
.empty p { color: var(--muted-foreground); }
.note { display: flex; gap: .875rem; align-items: flex-start; color: var(--muted-foreground); }
.note .icon { width: 1.25rem; height: 1.25rem; margin-top: .1875rem; color: var(--foreground); }
.note b { color: var(--foreground); font-weight: 500; }

/* hero */
.hero { background-image: radial-gradient(var(--border) 1px, transparent 1px); background-size: 22px 22px; }
.hero > .frame { background: linear-gradient(90deg, var(--background) 30%, color-mix(in srgb, var(--background) 78%, transparent)); }
.hero-in { padding: clamp(2rem, 5vw, 4.5rem) clamp(1rem, 3.5vw, 2.5rem); }
.hero-in.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; }
.hero h1 { max-width: 15ch; }
.hero .lead { margin-top: 1.125rem; max-width: 34rem; }
.hero-links { display: flex; flex-wrap: wrap; gap: .625rem; margin-top: 1rem; }
.hero-links.center { justify-content: center; }
.budget-card { padding: 1.25rem; display: grid; gap: 1rem; }
.budget-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.budget-card-head small { color: var(--muted-foreground); font-size: .8125rem; }
.budget-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.budget { display: grid; padding: .75rem .875rem; border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; background: var(--background); transition: border-color .15s, background .15s; }
.budget:hover { border-color: var(--ring); }
.budget small, .budget span { font-size: .75rem; color: var(--muted-foreground); line-height: 1.3; }
.budget b { font-size: 1.125rem; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.3; }
.budget-card-foot { display: flex; justify-content: space-between; gap: .75rem; align-items: center; padding-top: .875rem; border-top: 1px solid var(--border); font-size: .875rem; }
.budget-card-foot > span { color: var(--muted-foreground); }
.budget-card-foot a { text-decoration: none; text-align: right; }

/* brand + feature grids */
.brand-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: calc(var(--radius) + 4px); overflow: hidden; background: var(--card); }
/* hairlines drawn by each cell, so a short last row never shows grey filler */
.brand-cell { display: grid; gap: .125rem; align-content: start; padding: 1.125rem 1.25rem; background: var(--card); text-decoration: none; transition: background .15s; box-shadow: 1px 0 0 var(--border), 0 1px 0 var(--border); }
.brand-cell:hover { background: var(--accent); }
.brand-cell b { font-size: 1.0625rem; letter-spacing: -.02em; font-weight: 600; }
.brand-cell small { color: var(--muted-foreground); font-size: .8125rem; }
.brand-cell .price { font-size: .875rem; margin-top: .375rem; }
.brand-grid.big { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .625rem; }
.feat { display: flex; align-items: center; gap: .875rem; padding: .875rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); text-decoration: none; transition: border-color .15s; }
.feat:hover { border-color: var(--ring); }
.feat-i { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: calc(var(--radius) - 2px); background: var(--muted); flex: none; }
.feat-i svg { width: 1.125rem; height: 1.125rem; }
.feat-t { display: grid; line-height: 1.35; min-width: 0; }
.feat-t b { font-weight: 500; font-size: .9375rem; }
.feat-t small { color: var(--muted-foreground); font-size: .8125rem; }

/* phone cards */
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .875rem; }
.pcell { display: contents; }
.pcell[hidden] { display: none; }
.pcard { position: relative; display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: calc(var(--radius) + 4px); background: var(--card); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.pcard:hover { border-color: var(--ring); }
.pcard-img { display: grid; place-items: center; aspect-ratio: 1; background: var(--img-bg); padding: 1rem; }
.pcard-img img, .pcard-img .ph-img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.ph-img { display: grid; place-items: center; color: #a1a1aa; }
.ph-img svg { width: 40%; height: 40%; }
.pcard-body { display: flex; flex-direction: column; gap: .1875rem; padding: .875rem 1rem 1rem; flex: 1; }
.pcard-brand { font-size: .75rem; color: var(--muted-foreground); font-weight: 500; }
.pcard-name { font-size: 1rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.pcard-name a { text-decoration: none; }
.pcard-name a::after { content: ""; position: absolute; inset: 0; }
.pcard-specs { font-size: .8125rem; color: var(--muted-foreground); line-height: 1.4; }
.pcard-price { margin-top: auto; padding-top: .5rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .125rem .5rem; }
.pcard-price .price { font-size: 1.0625rem; }
.pcard-price small { font-size: .75rem; color: var(--muted-foreground); }
.cmp-add { position: absolute; z-index: 2; top: .625rem; right: .625rem; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 999px; border: 1px solid var(--border); background: var(--background); color: var(--muted-foreground); cursor: pointer; transition: background .15s, color .15s; }
.cmp-add:hover { color: var(--foreground); border-color: var(--ring); }
.cmp-add .i-check, .cmp-add[aria-pressed="true"] .i-plus { display: none; }
.cmp-add[aria-pressed="true"] .i-check { display: block; }
.cmp-add[aria-pressed="true"] { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }
.cmp-add.wide-cmp { position: static; width: auto; height: auto; display: inline-flex; border-radius: 999px; }
.cmp-add.wide-cmp[aria-pressed="true"] .cmp-l::after { content: "d"; }

/* comparisons list */
.vs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.vs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .5rem; padding: 1rem; border: 1px solid var(--border); border-radius: calc(var(--radius) + 4px); background: var(--card); text-decoration: none; transition: border-color .15s; }
.vs:hover { border-color: var(--ring); }
.vs-side { display: grid; justify-items: center; text-align: center; gap: .25rem; line-height: 1.3; min-width: 0; }
.vs-side img, .vs-side .ph-img { width: 4rem; height: 4rem; object-fit: contain; border-radius: .5rem; background: var(--img-bg); padding: .25rem; }
.vs-side b { font-size: .875rem; font-weight: 500; }
.vs-side small { font-size: .8125rem; }
.vs-mid { width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--border); font-size: .75rem; color: var(--muted-foreground); background: var(--background); }

/* exelic block */
.exelic { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: center; }
.exelic-points { list-style: none; margin: 0; padding: 0; display: grid; gap: .625rem; }
.exelic-points li { display: flex; gap: .875rem; align-items: flex-start; padding: .875rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); }
.exelic-points .icon { width: 1.25rem; height: 1.25rem; margin-top: .125rem; color: var(--price); }
.exelic-points span { display: grid; line-height: 1.4; }
.exelic-points b { font-weight: 500; }
.exelic-points small { color: var(--muted-foreground); font-size: .875rem; }

/* FAQ */
.faq-head { margin-bottom: 1rem; }
.faq { border-bottom: 1px solid var(--border); }
.qa { border-top: 1px solid var(--border); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa h3 { font-size: 1.0625rem; font-weight: 500; line-height: 1.4; overflow-wrap: normal; }
.qa-x { flex: none; width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 1px solid var(--border); background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat; transition: rotate .2s, background-color .2s; }
.qa summary:hover .qa-x { background-color: var(--accent); }
.qa[open] .qa-x { rotate: 45deg; background-color: var(--primary); color: var(--primary-foreground); }
.qa-a { padding: 0 3.5rem 1.25rem 0; color: var(--muted-foreground); line-height: 1.65; }
.qa-a b { color: var(--foreground); font-weight: 600; }

/* breadcrumbs */
.crumbs { display: flex; flex-wrap: wrap; gap: .375rem; align-items: center; font-size: .8125rem; color: var(--muted-foreground); margin-bottom: 1.25rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--foreground); }
.crumbs [aria-current] { color: var(--foreground); }

/* phone page */
.phone-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.gallery { display: grid; gap: .625rem; position: sticky; top: 5rem; }
.gallery-main { aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--border); border-radius: calc(var(--radius) + 6px); background: var(--img-bg); padding: clamp(1rem, 4vw, 2.5rem); overflow: hidden; }
.gallery-main img, .gallery-main .ph-img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gallery-thumbs { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; }
.gallery-thumbs::-webkit-scrollbar { display: none; }
.gallery-thumbs button { flex: none; width: 4rem; height: 4rem; padding: .25rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--img-bg); cursor: pointer; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--foreground); box-shadow: 0 0 0 1px var(--foreground); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.phone-head { display: grid; gap: .75rem; align-content: start; padding-top: .5rem; }
.phone-brand { font-size: .875rem; color: var(--muted-foreground); text-decoration: none; font-weight: 500; }
.phone-brand:hover { color: var(--foreground); }
.phone-head h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.badges { display: flex; flex-wrap: wrap; gap: .375rem; }
.price-box { padding: 1.25rem; display: grid; gap: .25rem; margin-top: .5rem; }
.price-box > small { color: var(--muted-foreground); font-size: .8125rem; }
.price-big { font-size: clamp(2rem, 4vw, 2.5rem); font-weight: 650; letter-spacing: -.045em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.price-sub { color: var(--muted-foreground); font-size: .875rem; }
.price-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .875rem; }
.price-more { display: inline-flex; align-items: center; gap: .25rem; margin-top: .5rem; font-size: .875rem; color: var(--muted-foreground); text-decoration: none; }
.price-more:hover { color: var(--foreground); }
.price-more .icon { width: .875rem; height: .875rem; }
.tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: 2rem; border: 1px solid var(--border); border-radius: calc(var(--radius) + 4px); overflow: hidden; gap: 1px; background: var(--border); }
.tile { display: grid; align-content: start; gap: .125rem; padding: 1rem 1.125rem; background: var(--card); min-width: 0; }
.tile-i { color: var(--muted-foreground); margin-bottom: .375rem; }
.tile-i svg { width: 1.125rem; height: 1.125rem; }
.tile-l { font-size: .75rem; color: var(--muted-foreground); }
.tile-v { font-size: 1.0625rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; overflow-wrap: anywhere; }
.tile small { font-size: .75rem; color: var(--muted-foreground); line-height: 1.35; }
.subnav { position: sticky; top: 3.5rem; z-index: 30; background: color-mix(in srgb, var(--background) 94%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--border); }
.subnav .frame { display: flex; gap: .25rem; overflow-x: auto; padding: .375rem clamp(.5rem, 3vw, 2rem); scrollbar-width: none; }
.subnav a { padding: .375rem .75rem; border-radius: 999px; font-size: .875rem; color: var(--muted-foreground); text-decoration: none; white-space: nowrap; }
.subnav a:hover, .subnav a.on { background: var(--accent); color: var(--foreground); }

/* tables */
.table-card { overflow: hidden; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
th, td { padding: .6875rem .875rem; text-align: left; border-top: 1px solid var(--border); vertical-align: middle; font-weight: 400; }
thead th { border-top: 0; background: var(--muted); color: var(--muted-foreground); font-size: .8125rem; font-weight: 500; white-space: nowrap; }
tbody tr:hover { background: color-mix(in srgb, var(--accent) 55%, transparent); }
th.num, td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
td b { font-weight: 600; }
td small { display: block; color: var(--muted-foreground); font-size: .8125rem; }
td.num small { display: block; }
td.act { text-align: right; white-space: nowrap; width: 1%; }
tr.oos td { color: var(--muted-foreground); }
.ccy { display: flex; gap: .75rem; align-items: center; text-decoration: none; min-width: 12rem; }
.ccy img, .ccy .ph-img { width: 2.5rem; height: 2.5rem; object-fit: contain; border-radius: .375rem; background: var(--img-bg); flex: none; }
.ccy span { display: grid; line-height: 1.3; }
.ccy:hover b { text-decoration: underline; }
table.specs th.grp { width: 9rem; vertical-align: top; font-weight: 600; font-size: .875rem; color: var(--foreground); background: color-mix(in srgb, var(--muted) 60%, transparent); }
table.specs th.lab { width: 10rem; vertical-align: top; color: var(--muted-foreground); font-size: .875rem; }
table.specs td { vertical-align: top; font-size: .9375rem; line-height: 1.55; }
table.specs tbody:first-child tr:first-child > * { border-top: 0; }
table.specs tbody tr:hover { background: none; }

/* price history */
.hist { display: grid; grid-template-columns: minmax(0, 1fr) 14rem; gap: 1.5rem; align-items: center; }
.pchart { width: 100%; height: auto; display: block; }
.pchart .grid { stroke: var(--border); stroke-dasharray: 3 4; }
.pchart .line { fill: none; stroke: var(--line); stroke-width: 2.5; stroke-linejoin: round; }
.pchart .lbl { fill: var(--muted-foreground); font-size: 11px; font-family: inherit; }
.hist-stats { display: grid; gap: .75rem; }
.hist-stats div { display: grid; }
.hist-stats small { font-size: .8125rem; color: var(--muted-foreground); }
.hist-stats b { font-size: 1.25rem; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: calc(var(--radius) + 4px); overflow: hidden; gap: 1px; background: var(--border); margin-bottom: 1.25rem; }
.stat { display: grid; align-content: start; gap: .125rem; padding: 1rem 1.25rem; background: var(--card); min-width: 0; }
.stat small { font-size: .8125rem; color: var(--muted-foreground); }
.stat b { font-size: 1.5rem; letter-spacing: -.035em; font-weight: 600; line-height: 1.2; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.stat a, .stat span { font-size: .8125rem; color: var(--muted-foreground); text-decoration: none; }
.stat a:hover { color: var(--foreground); }
.series-chips { margin-top: .25rem; }

/* finder */
.finder { display: grid; grid-template-columns: 17rem minmax(0, 1fr); }
.filters { border-right: 1px solid var(--border); padding: 1.5rem 1.25rem; }
.filters-in { display: grid; gap: 1.125rem; position: sticky; top: 4.5rem; }
.filters-in[open] { display: grid; }
.filters-toggle { display: none; }
.field { display: grid; gap: .375rem; min-width: 0; }
.field label, legend { font-size: .8125rem; font-weight: 500; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .625rem; }
input[type=search], input[type=text], input:not([type]), select { width: 100%; min-height: 2.5rem; padding: .375rem .75rem; border: 1px solid var(--input); border-radius: var(--radius); background: var(--background); color: inherit; font: inherit; font-size: .9375rem; }
select { appearance: none; padding-right: 1.875rem; background-image: linear-gradient(45deg, transparent 50%, var(--muted-foreground) 50%), linear-gradient(-45deg, transparent 50%, var(--muted-foreground) 50%); background-position: right 1rem center, right .6875rem center; background-size: 5px 5px; background-repeat: no-repeat; }
input:focus, select:focus { outline: 3px solid color-mix(in srgb, var(--ring) 40%, transparent); outline-offset: 0; border-color: var(--ring); }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; margin-bottom: .375rem; }
.seg { display: flex; border: 1px solid var(--input); border-radius: var(--radius); padding: .1875rem; gap: .1875rem; }
.seg label { flex: 1; position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: block; text-align: center; padding: .3125rem .375rem; border-radius: calc(var(--radius) - 3px); font-size: .8125rem; color: var(--muted-foreground); white-space: nowrap; }
.seg input:checked + span { background: var(--primary); color: var(--primary-foreground); }
.seg input:focus-visible + span { outline: 2px solid var(--ring); }
.checks { display: grid; gap: .25rem; }
.checks label, .switch { display: flex; align-items: center; gap: .5rem; font-size: .875rem; cursor: pointer; line-height: 1.35; }
.checks input, .switch input { width: 1rem; height: 1rem; accent-color: var(--primary); flex: none; margin: 0; }
.checks small { color: var(--muted-foreground); }
.brands-checks { max-height: 15rem; overflow-y: auto; }
.switch.small { font-size: .8125rem; font-weight: 400; color: var(--muted-foreground); }
.filter-actions { display: flex; gap: .5rem; }
.results { padding: 1.5rem clamp(1rem, 3vw, 2rem); min-width: 0; }
.toolbar { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; justify-content: space-between; margin-bottom: 1.125rem; }
.toolbar p { color: var(--muted-foreground); font-size: .875rem; }
.toolbar p b { color: var(--foreground); }
.sort select { min-height: 2.25rem; font-size: .875rem; }
.pager { display: flex; flex-wrap: wrap; gap: .375rem; justify-content: center; margin-top: 2rem; }
.pager a { display: grid; place-items: center; min-width: 2.25rem; height: 2.25rem; padding: 0 .5rem; border: 1px solid var(--border); border-radius: 999px; text-decoration: none; font-size: .875rem; }
.pager a.on { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }
.results .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* compare */
.cmp-picker { position: relative; max-width: 34rem; padding: .375rem; }
.picker-in { display: flex; align-items: center; gap: .5rem; padding-left: .75rem; color: var(--muted-foreground); }
.picker-in input { border: 0; min-height: 2.5rem; padding-left: 0; background: none; }
.picker-in input:focus { outline: 0; }
.picker-list { position: absolute; left: 0; right: 0; top: calc(100% + .375rem); z-index: 20; list-style: none; margin: 0; padding: .375rem; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 16px 40px rgb(0 0 0 / .18); max-height: 22rem; overflow-y: auto; }
.picker-list a { display: flex; align-items: center; gap: .75rem; padding: .5rem; border-radius: calc(var(--radius) - 2px); text-decoration: none; font-size: .9375rem; }
.picker-list a:hover, .picker-list a[aria-selected="true"] { background: var(--accent); }
.picker-list img { width: 2.25rem; height: 2.25rem; object-fit: contain; border-radius: .375rem; background: var(--img-bg); }
.cmp-wrap { overflow-x: auto; }
table.cmp { table-layout: fixed; min-width: 36rem; }
table.cmp .cmp-lab { width: 11rem; color: var(--muted-foreground); font-size: .875rem; vertical-align: top; }
table.cmp thead th { background: var(--background); vertical-align: top; padding: 1.25rem .875rem; color: var(--foreground); white-space: normal; position: relative; }
table.cmp.cmp-4 .cmp-lab, table.cmp.cmp-3 .cmp-lab { width: 9rem; }
.cmp-phone a { display: grid; gap: .5rem; text-decoration: none; justify-items: start; }
.cmp-phone img, .cmp-phone .ph-img { width: 6rem; height: 6rem; object-fit: contain; border-radius: var(--radius); background: var(--img-bg); padding: .375rem; }
.cmp-phone b { font-size: 1rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.cmp-phone .price { display: block; margin-top: .25rem; }
.cmp-x { position: absolute; top: .75rem; right: .75rem; display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 999px; border: 1px solid var(--border); color: var(--muted-foreground); }
.cmp-x:hover { background: var(--accent); color: var(--foreground); }
.cmp-x svg { width: .875rem; height: .875rem; }
table.cmp td { vertical-align: top; font-size: .9375rem; line-height: 1.5; }
table.cmp td.win { font-weight: 600; color: var(--price); }
table.cmp td.win::after { content: " ✓"; font-size: .8125rem; }
table.cmp.full td { font-size: .875rem; }
.cmp-grp th { background: var(--muted); font-weight: 600; font-size: .875rem; color: var(--foreground) !important; }
.hide-same tr[data-same] { display: none; }
.diff { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.diff li { padding: .75rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); color: var(--muted-foreground); }
.diff b { color: var(--foreground); font-weight: 600; }
.cmp-chips { margin-top: 1.25rem; }

/* compare tray */
.cmp-tray { position: fixed; z-index: 50; left: 50%; bottom: 1rem; translate: -50% 0; width: min(calc(100% - 1.5rem), 44rem); animation: tray .2s ease-out; }
@keyframes tray { from { opacity: 0; translate: -50% 12px; } }
.cmp-tray-in { display: flex; align-items: center; gap: .625rem; padding: .5rem .5rem .5rem .75rem; border: 1px solid var(--border); border-radius: 999px; background: var(--card); box-shadow: 0 18px 50px rgb(0 0 0 / .25); }
.cmp-tray-items { display: flex; gap: .375rem; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.cmp-tray-items .chip { padding: .25rem .375rem .25rem .625rem; font-size: .8125rem; white-space: nowrap; }
.cmp-tray-items .chip button { display: grid; place-items: center; width: 1.25rem; height: 1.25rem; border: 0; border-radius: 999px; background: var(--muted); cursor: pointer; color: var(--muted-foreground); }
.cmp-tray-items .chip button svg { width: .75rem; height: .75rem; }

/* footer */
.site-footer { border-top: 1px solid var(--border); background: var(--muted); font-size: .9375rem; margin-top: 0; }
.dark .site-footer { background: #060607; }
.foot-wrap { width: min(100% - 2rem, 76rem); margin-inline: auto; padding: clamp(2.5rem, 5vw, 3.5rem) clamp(.25rem, 3vw, 2.5rem) 1.5rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr); gap: 2.5rem 2rem; }
.foot-brand { display: grid; gap: 1rem; align-content: start; justify-items: start; }
.foot-brand p { color: var(--muted-foreground); max-width: 18rem; }
.foot-pill { display: inline-flex; align-items: center; gap: .5rem; padding: .4375rem .875rem; border: 1px solid var(--border); border-radius: 999px; text-decoration: none; font-size: .8125rem; background: var(--background); white-space: nowrap; }
.foot-dot { width: .5rem; height: .5rem; border-radius: 50%; background: #22c55e; }
.foot-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2rem 1.5rem; }
.foot-cols h2 { font-size: .9375rem; letter-spacing: 0; margin-bottom: .75rem; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.foot-cols a { color: var(--muted-foreground); text-decoration: none; font-size: .875rem; }
.foot-cols a:hover { color: var(--foreground); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border); font-size: .8125rem; color: var(--muted-foreground); }
.prose .entry { margin-top: 1.25rem; color: var(--muted-foreground); }

/* responsive */
@media (max-width: 1100px) {
  .main-nav .nav-a:last-child { display: none; }
  .np-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .np-budgets { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .brand-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .main-nav { display: none; }
  .menu { display: block; }
  .hero-in.two, .phone-top, .exelic { grid-template-columns: minmax(0, 1fr); }
  .gallery { position: static; max-width: 26rem; margin-inline: auto; width: 100%; }
  .pgrid, .results .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .finder { grid-template-columns: minmax(0, 1fr); }
  .filters { border-right: 0; border-bottom: 1px solid var(--border); padding: .75rem 1rem; }
  .filters-in { position: static; }
  .filters-in:not([open]) { display: block; }
  .filters-toggle { display: flex; align-items: center; gap: .5rem; cursor: pointer; list-style: none; font-weight: 500; font-size: .9375rem; padding: .25rem 0; }
  .filters-toggle::-webkit-details-marker { display: none; }
  .hist { grid-template-columns: minmax(0, 1fr); }
  .hist-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-co { grid-column: 1 / -1; }
  .foot-co ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-grid.big { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .sp-l, .search-pill kbd { display: none; }
  .bar .search-pill { width: 2.25rem; padding: 0; justify-content: center; }
  .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-cell { padding: .875rem 1rem; }
  .feat-grid, .vs-grid { grid-template-columns: minmax(0, 1fr); }
  .pgrid, .results .pgrid { gap: .625rem; }
  .pcard-body { padding: .75rem .75rem .875rem; }
  .pcard-name { font-size: .9375rem; }
  .pcard-specs { font-size: .75rem; }
  .pcard-price .price { font-size: 1rem; }
  .pcard-img { padding: .75rem; }
  .cmp-add { width: 1.875rem; height: 1.875rem; top: .5rem; right: .5rem; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile { padding: .875rem 1rem; }
  th, td { padding: .5625rem .625rem; }
  table { font-size: .875rem; }
  table.specs th.grp { display: none; }
  table.specs th.lab { width: 7.5rem; }
  .qa-a { padding-right: 0; }
  .price-actions .btn { flex: 1; }
  .budget-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  table.cmp .cmp-lab { width: 7rem; }
  .ccy { min-width: 10rem; }
}
@media (max-width: 520px) { .frame { width: calc(100% - 1rem); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
.price-ref { display: flex; align-items: center; gap: .375rem; margin-top: .5rem; font-size: .875rem; color: var(--muted-foreground); }
.price-ref .icon { width: .875rem; height: .875rem; }

.note.basis { margin-top: .25rem; font-size: .9375rem; line-height: 1.5; border-color: color-mix(in srgb, var(--warn) 35%, var(--border)); background: color-mix(in srgb, var(--warn-bg) 45%, var(--card)); }
.note.basis .icon { color: var(--warn); }
.cmp-phone small { display: block; margin-top: .25rem; font-size: .75rem; font-weight: 400; }
.pcard-brand .badge { margin-left: .25rem; font-size: .6875rem; padding: 0 .4375rem; vertical-align: 1px; }

/* brand marks */
.brand-mark { display: flex; align-items: center; height: 1.75rem; margin-bottom: .625rem; color: var(--foreground); }
.brand-logo { height: 1.5rem; width: auto; max-width: 6.5rem; display: block; }
svg.brand-logo { width: 1.75rem; height: 1.75rem; }
.brand-word { font-weight: 700; font-size: 1.0625rem; letter-spacing: .02em; line-height: 1; white-space: nowrap; }
.brand-cell.more { background: color-mix(in srgb, var(--muted) 55%, var(--card)); }
.brand-cell.more .brand-mark { color: var(--muted-foreground); }
.brand-cell.more .brand-mark svg { width: 1.25rem; height: 1.25rem; }
.brand-cell:hover .brand-mark { color: var(--foreground); }
.brand-hero-mark { display: inline-flex; align-items: center; justify-content: center; min-width: 3.5rem; height: 3.5rem; padding: 0 .875rem; margin-bottom: 1.25rem; border: 1px solid var(--border); border-radius: calc(var(--radius) + 4px); background: var(--card); }
.brand-hero-mark svg.brand-logo { width: 2rem; height: 2rem; }
.brand-hero-mark .brand-word { font-size: 1.25rem; }
.np-logo { display: flex; height: 1.25rem; margin-bottom: .375rem; color: var(--foreground); }
.np-logo svg.brand-logo { width: 1.25rem; height: 1.25rem; }
.np-logo .brand-word { font-size: .875rem; }
.muted.small { font-size: .8125rem; margin-top: .375rem; }

/* finder sidebar v2: grouped sections, pill toggles, switch */
.finder { grid-template-columns: 19rem minmax(0, 1fr); }
.filters { padding: 0; background: color-mix(in srgb, var(--muted) 35%, var(--background)); }
.filters-in { gap: 0; top: 3.5rem; max-height: calc(100vh - 3.5rem); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.fl-head { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 1.25rem .75rem; }
.fl-head b { font-size: .9375rem; font-weight: 600; }
.fl-head a { font-size: .8125rem; color: var(--muted-foreground); text-decoration: none; }
.fl-head a:hover { color: var(--foreground); }
.fl-search { display: flex; align-items: center; gap: .5rem; margin: 0 1.25rem .875rem; padding: 0 .75rem; height: 2.5rem; border: 1px solid var(--input); border-radius: var(--radius); background: var(--background); color: var(--muted-foreground); }
.fl-search:focus-within { border-color: var(--ring); outline: 3px solid color-mix(in srgb, var(--ring) 30%, transparent); }
.fl-search input { border: 0; min-height: 0; height: 100%; padding: 0; background: none; font-size: .9375rem; }
.fl-search input:focus { outline: 0; }
.fl-group { padding: 1rem 1.25rem 1.125rem; border-top: 1px solid var(--border); }
.fl-group legend { float: left; width: 100%; margin-bottom: .625rem; font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted-foreground); }
.fl-group legend + * { clear: both; }
.pills { display: flex; flex-wrap: wrap; gap: .375rem; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill > span { display: inline-flex; align-items: center; gap: .375rem; height: 2rem; padding: 0 .75rem; border: 1px solid var(--border); border-radius: 999px; background: var(--background); font-size: .8125rem; color: var(--foreground); white-space: nowrap; transition: background .12s, border-color .12s, color .12s; }
.pill > span .icon { width: .875rem; height: .875rem; color: var(--muted-foreground); }
.pill > span small { color: var(--muted-foreground); font-size: .75rem; }
.pill:hover > span { border-color: var(--ring); }
.pill input:checked + span { background: var(--primary); border-color: var(--primary); color: var(--primary-foreground); }
.pill input:checked + span .icon, .pill input:checked + span small { color: inherit; opacity: .8; }
.pill input:focus-visible + span { outline: 2px solid var(--ring); outline-offset: 2px; }
.bp-logo { display: inline-flex; }
.bp-logo svg.brand-logo { width: .9375rem; height: .9375rem; }
.field-row { gap: .5rem; }
.mini-sel { display: grid; gap: .25rem; font-size: .75rem; color: var(--muted-foreground); }
.mini-sel select { min-height: 2.25rem; font-size: .875rem; color: var(--foreground); border-color: var(--border); }
.seg { border-color: var(--border); background: var(--background); }
.seg span { padding: .375rem .25rem; }
.toggle { display: flex; align-items: center; gap: .625rem; margin: 0 1.25rem 1rem; font-size: .875rem; cursor: pointer; user-select: none; }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle-ui { position: relative; flex: none; width: 2.25rem; height: 1.25rem; border-radius: 999px; background: var(--input); transition: background .15s; }
.toggle-ui::after { content: ""; position: absolute; top: 2px; left: 2px; width: 1rem; height: 1rem; border-radius: 50%; background: var(--background); box-shadow: 0 1px 2px rgb(0 0 0 / .25); transition: transform .15s; }
.toggle input:checked + .toggle-ui { background: var(--price); }
.toggle input:checked + .toggle-ui::after { transform: translateX(1rem); }
.toggle input:focus-visible + .toggle-ui { outline: 2px solid var(--ring); outline-offset: 2px; }
.fl-submit { position: sticky; bottom: 0; padding: .875rem 1.25rem 1.25rem; background: linear-gradient(transparent, color-mix(in srgb, var(--muted) 35%, var(--background)) 35%); }
.fl-submit .btn { width: 100%; }
.js .fl-submit { display: none; }
.ft-chev { margin-left: auto; transition: transform .2s; }
@media (max-width: 900px) {
  .filters { background: var(--background); }
  .filters-in { max-height: none; overflow: visible; }
  .filters-toggle { padding: .875rem 1rem; }
  .filters-in[open] .ft-chev { transform: rotate(180deg); }
  .fl-head { display: none; }
  .js .fl-submit { display: block; }
  .fl-search, .toggle { margin-inline: 1rem; }
  .fl-group { padding-inline: 1rem; }
}
svg.brand-logo.is-wide { width: 5.25rem; height: 5.25rem; margin-block: -1.75rem; margin-left: -.125rem; }
.brand-hero-mark svg.brand-logo.is-wide { width: 6rem; height: 6rem; margin-block: -2rem; }
.np-logo svg.brand-logo.is-wide { width: 3.75rem; height: 3.75rem; margin-block: -1.25rem; }
.bp-logo svg.brand-logo.is-wide { display: none; }

/* headings fit one line where possible; balanced when they must wrap */
h1, h2 { text-wrap: balance; }
.section-head h1 { max-width: none; }
h1.fit-m { font-size: clamp(1.875rem, 4.2vw, 3rem); }
h1.fit-l { font-size: clamp(1.75rem, 3.5vw, 2.625rem); }
h1.fit-xl { font-size: clamp(1.625rem, 3vw, 2.375rem); letter-spacing: -.04em; }
.phone-head h1 { font-size: clamp(1.875rem, 3.4vw, 2.75rem); }
.phone-head h1.fit-l { font-size: clamp(1.75rem, 2.9vw, 2.375rem); }
.phone-head h1.fit-xl { font-size: clamp(1.5rem, 2.5vw, 2rem); }
.photo-note { display: flex; align-items: center; gap: .375rem; font-size: .8125rem; color: var(--muted-foreground); }
.photo-note .icon { width: .875rem; height: .875rem; flex: none; }
/* compare: the remove button sits on its phone's photo, not in the corner of the column */
.cmp-thumb { position: relative; display: inline-block; margin-bottom: .5rem; }
.cmp-thumb > a:first-child { display: block; }
.cmp-thumb .cmp-x { top: -.5rem; right: -.5rem; width: 1.625rem; height: 1.625rem; background: var(--background); box-shadow: 0 1px 3px rgb(0 0 0 / .25); }
.cmp-thumb .cmp-x:hover { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }
.cmp-name { display: block; text-decoration: none; }
.cmp-name:hover b { text-decoration: underline; }

/* brand grid v2: one logo row at a fixed height; wordmark alone, or symbol + name */
.brand-cell { position: relative; gap: 0; padding: 1.25rem 1.375rem 1.25rem; }
.brand-cell .brand-mark { display: flex; align-items: center; gap: .625rem; height: 2rem; margin: 0 0 .875rem; color: var(--foreground); }
.brand-cell .brand-mark svg.brand-logo { width: 1.625rem; height: 1.625rem; margin: 0; }
.brand-cell .brand-mark svg.brand-logo.is-wide { width: 6rem; height: 6rem; margin: -2rem 0 -2rem -.0625rem; }
.brand-cell .brand-mark .brand-word { font-size: 1.1875rem; font-weight: 700; letter-spacing: .03em; }
.brand-cell .brand-mark b { font-size: 1.125rem; font-weight: 600; letter-spacing: -.025em; }
.brand-meta { font-size: .8125rem; color: var(--muted-foreground); line-height: 1.4; }
.brand-price { margin-top: .25rem; font-size: .875rem; color: var(--muted-foreground); }
.brand-price .price { font-size: .9375rem; }
.brand-go { position: absolute; top: 1.5rem; right: 1.25rem; width: 1rem; height: 1rem; color: var(--muted-foreground); opacity: 0; transform: translateX(-4px); transition: opacity .15s, transform .15s; }
.brand-cell:hover .brand-go { opacity: 1; transform: none; }
.brand-cell.more .brand-mark { color: var(--muted-foreground); }
.brand-cell.more .brand-mark svg.icon { width: 1.25rem; height: 1.25rem; }
.brand-cell.more .brand-mark b { color: var(--foreground); font-size: 1rem; }
@media (max-width: 640px) {
  .brand-cell { padding: 1rem; }
  .brand-cell .brand-mark { height: 1.75rem; margin-bottom: .625rem; }
  .brand-cell .brand-mark svg.brand-logo.is-wide { width: 5rem; height: 5rem; margin-block: -1.625rem; }
  .brand-cell .brand-mark .brand-word { font-size: 1.0625rem; }
  .brand-go { display: none; }
}

/* compare: a small, quiet remove control inside the photo's corner */
.cmp-thumb .cmp-x { top: .3125rem; right: .3125rem; width: 1.375rem; height: 1.375rem; border: 0; border-radius: 999px; background: rgb(9 9 11 / .55); color: #fff; box-shadow: none; backdrop-filter: blur(4px); opacity: .75; transition: opacity .15s, background .15s; }
.cmp-thumb .cmp-x svg { width: .75rem; height: .75rem; stroke-width: 2.25; }
.cmp-thumb .cmp-x:hover, .cmp-thumb .cmp-x:focus-visible { opacity: 1; background: rgb(9 9 11 / .85); color: #fff; }

/* Compare 2.0: two-phone summary, theme cards, prices */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: .75rem; align-items: stretch; margin-bottom: .75rem; }
.duo-p { display: flex; gap: 1rem; align-items: center; min-width: 0; padding: .875rem; border: 1px solid var(--border); border-radius: calc(var(--radius) + 4px); background: var(--card); }
.duo-p.is-win { border-color: color-mix(in srgb, var(--price) 45%, var(--border)); }
.duo-p .cmp-thumb { position: relative; flex: none; }
.duo-p .cmp-thumb img, .duo-p .cmp-thumb .ph-img { display: block; width: 5.5rem; height: 5.5rem; object-fit: contain; padding: .375rem; border-radius: var(--radius); background: var(--img-bg); }
.duo-t { display: grid; gap: .3125rem; min-width: 0; justify-items: start; }
.duo-name { font-size: 1.0625rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; color: var(--foreground); text-decoration: none; }
.duo-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.duo-t .price { font-weight: 600; }
.duo-vs { align-self: center; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border: 1px solid var(--border); border-radius: 999px; background: var(--background); font-size: .8125rem; color: var(--muted-foreground); }
.cmp-sum { display: grid; gap: 1rem; padding: 1.25rem 1.5rem; }
.cmp-lead { margin: 0; font-size: 1.0625rem; line-height: 1.65; color: var(--muted-foreground); }
.cmp-lead b, .cmp-pick b, .cmp-theme li b { color: var(--foreground); font-weight: 600; }
.cmp-sum .note.basis { margin: 0; padding: .625rem .875rem; border: 1px solid; border-radius: var(--radius); font-size: .875rem; }
.cmp-verdict { display: grid; gap: .75rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.cmp-k { margin: 0; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-foreground); }
.cmp-prio { gap: .375rem; }
.cmp-prio .chip { font-size: .8125rem; padding: .3125rem .75rem; }
.cmp-prio .chip[aria-pressed="true"] { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }
.cmp-pick { margin: 0; padding: .875rem 1rem; border-radius: var(--radius); background: var(--muted); font-size: 1rem; line-height: 1.6; color: var(--muted-foreground); }
.cmp-both { display: flex; gap: .5rem; align-items: flex-start; margin: 0; font-size: .9375rem; line-height: 1.55; color: var(--muted-foreground); }
.cmp-both .icon { flex: none; margin-top: .25rem; color: var(--price); }
.cmp-both b { color: var(--foreground); font-weight: 500; }
.cmp-themes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.cmp-theme { padding: 1rem 1.125rem 1.125rem; }
.cmp-theme header { display: flex; align-items: center; gap: .625rem; }
.cmp-theme h3 { flex: 1; margin: 0; font-size: 1rem; font-weight: 600; letter-spacing: -.01em; }
.cmp-ti { display: grid; place-items: center; width: 2rem; height: 2rem; flex: none; border-radius: var(--radius); background: var(--muted); color: var(--foreground); }
.cmp-theme ul { display: grid; gap: .5rem; margin: .875rem 0 0; padding: 0; list-style: none; }
.cmp-theme li { position: relative; padding-left: 1rem; font-size: .9375rem; line-height: 1.55; color: var(--muted-foreground); }
.cmp-theme li::before { content: ""; position: absolute; left: .125rem; top: .6875rem; width: .3125rem; height: .3125rem; border-radius: 999px; background: var(--muted-foreground); opacity: .5; }
.cmp-prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.cmp-pcol { display: grid; gap: .5rem; align-content: start; padding: 1rem 1.125rem; }
.cmp-pcol header { display: flex; align-items: center; gap: .625rem; padding-bottom: .375rem; }
.cmp-pcol header img, .cmp-pcol header .ph-img { width: 2.75rem; height: 2.75rem; object-fit: contain; padding: .1875rem; border-radius: var(--radius); background: var(--img-bg); }
.cmp-pcol header b { font-weight: 600; letter-spacing: -.01em; }
.cmp-offers { margin: 0; padding: 0; list-style: none; }
.cmp-offers li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: .75rem; align-items: center; padding: .625rem 0; border-top: 1px solid var(--border); }
.cmp-offers li > span b { display: block; font-weight: 500; font-size: .9375rem; }
.cmp-offers small { display: block; font-size: .75rem; color: var(--muted-foreground); }
.cmp-offers .price { font-variant-numeric: tabular-nums; }
.cmp-none { margin: 0; padding: .625rem 0; border-top: 1px solid var(--border); font-size: .9375rem; }
.cmp-all { justify-self: start; margin-top: .25rem; padding-inline: 0; }
.cmp-all .icon { width: .875rem; height: .875rem; }
@media (max-width: 720px) {
  .duo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .5rem; }
  .duo-vs { display: none; }
  .duo-p { flex-direction: column; align-items: flex-start; gap: .625rem; padding: .625rem; }
  .duo-p .cmp-thumb img, .duo-p .cmp-thumb .ph-img { width: 4.5rem; height: 4.5rem; }
  .duo-name { font-size: .9375rem; }
  .duo-t .badges .badge { font-size: .6875rem; }
  .cmp-sum { padding: 1rem; }
  .cmp-lead { font-size: 1rem; }
  .cmp-pick { font-size: .9375rem; padding: .75rem .875rem; }
  .cmp-themes, .cmp-prices { grid-template-columns: minmax(0, 1fr); }
}

/* Best-for collections */
.best-nav { margin-top: 1.25rem; }
.best-nav .chip .icon { width: .875rem; height: .875rem; }
.best-bands { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.best-band { display: grid; gap: .625rem; padding: 1rem; text-decoration: none; color: inherit; transition: border-color .15s; }
.best-band:hover { border-color: var(--ring); }
.best-band > small { font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted-foreground); }
.best-band-in { display: flex; gap: .875rem; align-items: center; min-width: 0; }
.best-band-in img, .best-band-in .ph-img { width: 4.5rem; height: 4.5rem; flex: none; object-fit: contain; padding: .25rem; border-radius: var(--radius); background: var(--img-bg); }
.best-band-t { display: grid; gap: .25rem; min-width: 0; }
.best-band-t b { font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.best-band-t .price { font-weight: 600; }
.best-tags { display: flex; flex-wrap: wrap; gap: .25rem .375rem; }
.best-tags span { font-size: .75rem; line-height: 1.4; padding: .0625rem .5rem; border: 1px solid var(--border); border-radius: 999px; color: var(--muted-foreground); background: var(--background); white-space: nowrap; }
.best-list { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.best-row { display: grid; grid-template-columns: 2.25rem 4.5rem minmax(0, 1fr) auto; gap: .875rem; align-items: center; padding: .75rem 1rem .75rem .75rem; }
.best-n { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 999px; background: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.best-row:nth-child(1) .best-n { background: var(--primary); color: var(--primary-foreground); }
.best-img img, .best-img .ph-img { display: block; width: 4.5rem; height: 4.5rem; object-fit: contain; padding: .25rem; border-radius: var(--radius); background: var(--img-bg); }
.best-t { display: grid; gap: .375rem; min-width: 0; }
.best-name { font-weight: 600; letter-spacing: -.01em; color: var(--foreground); text-decoration: none; }
.best-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.best-p { display: grid; gap: .375rem; justify-items: end; }
.best-p .price { font-size: 1.0625rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.best-hub { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.best-hub-c { display: grid; gap: .75rem; align-content: start; padding: 1.125rem; text-decoration: none; color: inherit; transition: border-color .15s; }
.best-hub-c:hover { border-color: var(--ring); }
.best-hub-h { display: flex; align-items: center; gap: .75rem; }
.best-hub-h b { font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.best-hub-d { font-size: .875rem; line-height: 1.5; color: var(--muted-foreground); }
.best-hub-top { display: flex; gap: .625rem; align-items: center; padding: .625rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--background); }
.best-hub-top img, .best-hub-top .ph-img { width: 3rem; height: 3rem; flex: none; object-fit: contain; border-radius: calc(var(--radius) - 2px); background: var(--img-bg); padding: .125rem; }
.best-hub-top > span { display: grid; min-width: 0; line-height: 1.3; }
.best-hub-top small { font-size: .6875rem; color: var(--muted-foreground); text-transform: uppercase; letter-spacing: .04em; }
.best-hub-top b { font-weight: 500; font-size: .875rem; }
.best-hub-top .price { font-size: .8125rem; font-weight: 600; }
.best-hub-n { display: inline-flex; align-items: center; gap: .375rem; font-size: .8125rem; color: var(--muted-foreground); }
.best-hub-n .icon { width: .875rem; height: .875rem; }
.rank-chips { display: flex; flex-wrap: wrap; gap: .375rem; }
.rank-chip { display: inline-flex; align-items: center; gap: .375rem; padding: .25rem .625rem; border: 1px solid var(--border); border-radius: 999px; font-size: .8125rem; color: var(--foreground); background: var(--card); text-decoration: none; }
.rank-chip:hover { border-color: var(--ring); }
.rank-chip .icon { width: .875rem; height: .875rem; color: var(--muted-foreground); }
@media (max-width: 1100px) { .best-hub { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .best-bands { grid-template-columns: minmax(0, 1fr); }
  .best-nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -1.25rem; padding-inline: 1.25rem; }
  .best-nav::-webkit-scrollbar { display: none; }
  .best-nav .chip { flex: none; }
  .best-row .best-tags span:nth-child(3) { display: none; }
  .best-row { grid-template-columns: 1.75rem 3.5rem minmax(0, 1fr); gap: .625rem; padding: .625rem; }
  .best-n { width: 1.75rem; height: 1.75rem; font-size: .8125rem; }
  .best-img img, .best-img .ph-img { width: 3.5rem; height: 3.5rem; }
  .best-p { grid-column: 3; justify-items: start; grid-auto-flow: column; align-items: center; gap: .625rem; }
  .best-p .price { font-size: .9375rem; }
  .best-hub { grid-template-columns: minmax(0, 1fr); }
}

/* Phone overview */
.ov { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 1.5rem; align-items: start; }
.ov-text { display: grid; gap: 1.375rem; max-width: 46rem; }
.ov-sec { display: grid; gap: .375rem; }
.ov-sec h3 { margin: 0; font-size: 1rem; font-weight: 600; letter-spacing: -.01em; color: var(--foreground); }
.ov-text p { margin: 0; font-size: 1.0625rem; line-height: 1.7; color: var(--muted-foreground); }
.ov-text b { color: var(--foreground); font-weight: 600; }
.ov-alts { display: grid; gap: .5rem; padding: 1rem 1.125rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); }
.ov-alts h3 { margin: 0; font-size: .875rem; font-weight: 600; }
.ov-alts p { font-size: .9375rem; line-height: 1.6; }
.ov-alts a { color: var(--foreground); font-weight: 500; text-underline-offset: 3px; }
.ov-side { display: grid; gap: .625rem; padding: 1.125rem; }
.ov-side h3 { margin: .25rem 0 0; font-size: .8125rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted-foreground); }
.ov-side h3:first-child { margin-top: 0; }
.ov-list { display: grid; gap: .5rem; margin: 0 0 .375rem; padding: 0; list-style: none; }
.ov-list li { display: flex; gap: .5rem; align-items: flex-start; font-size: .9375rem; line-height: 1.45; }
.ov-list .icon { flex: none; width: 1rem; height: 1rem; margin-top: .125rem; }
.ov-list.good .icon { color: var(--price); }
.ov-list.bad .icon { color: var(--down); }
.ov-list.suits .icon { color: var(--muted-foreground); }
@media (max-width: 900px) {
  .ov { grid-template-columns: minmax(0, 1fr); }
  .ov-text p { font-size: 1rem; }
}

/* WhatsApp orders */
.btn.wa { border-color: color-mix(in srgb, #25d366 55%, var(--border)); background: var(--background); color: var(--foreground); }
.btn.wa:hover { background: color-mix(in srgb, #25d366 10%, var(--background)); }
.btn.wa .icon { color: #1fb855; }
.dark .btn.wa .icon { color: #25d366; }
.btn.icon-only { padding: 0; width: 2rem; }
.buy-pair { display: inline-flex; gap: .375rem; align-items: center; }
.price-actions { flex-wrap: wrap; }

/* Text pages (About, policies) */
.prose h1 { font-size: clamp(2rem, 4vw, 2.75rem); letter-spacing: -.03em; line-height: 1.1; }
.prose .entry { max-width: 44rem; font-size: 1.0625rem; line-height: 1.75; }
.prose .entry > * + * { margin-top: 1rem; }
.prose .entry p { margin: 0; }
.prose .entry h2 { margin-top: 2.25rem; font-size: 1.25rem; line-height: 1.3; letter-spacing: -.015em; color: var(--foreground); }
.prose .entry h2 + * { margin-top: .625rem; }
.prose .entry ul { margin-bottom: 0; padding-left: 1.25rem; display: grid; gap: .5rem; }
.prose .entry li::marker { color: var(--muted-foreground); }
.prose .entry strong { color: var(--foreground); font-weight: 600; }
.prose .entry em { color: var(--muted-foreground); font-size: .9375rem; }
.prose .entry a { color: var(--foreground); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--border); }
.prose .entry a:hover { text-decoration-color: currentColor; }
@media (max-width: 640px) { .prose .entry { font-size: 1rem; } }
