:root {
  --bg: #ffffff; --fg: #141629; --muted: #5d6280; --line: #e6e8f2; --card: #f5f6fb; --raise: #ffffff;
  --brand: #4f46e5; --brand-2: #3b82f6; --brand-ink: #ffffff; --brand-soft: #eef0ff;
  --hero-ink: #ffffff; --hero-muted: rgba(255,255,255,.78);
  --warm: #ffb020; --warm-ink: #2a1600; --orange: #f97316; --pink: #ec4899; --teal: #14b8a6; --violet: #8b5cf6; --green: #22c55e; --rose: #f43f5e; --sky: #0ea5e9;
  --night: radial-gradient(700px 380px at 90% -5%, rgba(255,122,24,.42), transparent 60%), radial-gradient(600px 420px at 0% 110%, rgba(20,184,166,.30), transparent 60%), radial-gradient(900px 520px at 45% 35%, rgba(124,58,237,.45), transparent 65%), linear-gradient(160deg, #0c1030, #191241 55%, #0b0d24);
  --peach: linear-gradient(135deg, #fff3e3, #ffe6ef);
  --lcd: #12141f; --lcd-ink: #ffb020;
  --ok: #0f8a4f; --ok-bg: #e9f8f0; --caution: #b45309; --caution-bg: #fff6e8; --stop: #c02626; --stop-bg: #fdecec;
  --shadow: 0 1px 2px rgba(20,22,41,.06), 0 8px 24px rgba(20,22,41,.06);
  --shadow-lg: 0 24px 60px rgba(25,22,110,.28);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0f19; --fg: #eceef8; --muted: #a3a8c2; --line: #252a3d; --card: #151827; --raise: #181b2c;
    --brand: #8b85ff; --brand-2: #60a5fa; --brand-ink: #0d0f19; --brand-soft: #1d1f3a;
    --peach: linear-gradient(135deg, #2a1c10, #2a1022);
    --ok: #4ade80; --ok-bg: #11251a; --caution: #fbbf24; --caution-bg: #272010; --stop: #f87171; --stop-bg: #2a1414;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.25);
    --shadow-lg: 0 24px 60px rgba(0,0,0,.5);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 17px/1.65 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
a { color: var(--brand); text-underline-offset: 3px; }
h1, h2, h3 { letter-spacing: -0.02em; }
h1 { font-size: clamp(1.9rem, 4.2vw, 2.7rem); line-height: 1.15; margin: 0.3em 0 0.3em; font-weight: 800; overflow-wrap: anywhere; }
h2 { font-size: 1.4rem; line-height: 1.3; margin: 1.8em 0 0.5em; font-weight: 750; }
h3 { font-size: 1.05rem; margin: 1.2em 0 0.2em; }
.lead { font-size: 1.15rem; color: var(--muted); }
.small { font-size: 0.86rem; color: var(--muted); }
.kicker { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.76rem; font-weight: 800; color: var(--brand); margin: 1.6em 0 0; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; color: var(--fg); text-decoration: none; letter-spacing: -0.01em; }
.brand img { border-radius: 9px; box-shadow: 0 4px 12px rgba(59,130,246,.35); }
.top-right { display: flex; align-items: center; gap: 8px; }
.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a, .menu-panel a { position: relative; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.93rem;
  padding: 8px 12px; border-radius: 10px; white-space: nowrap; }
.main-nav a:hover { color: var(--fg); background: var(--card); }
.main-nav a[aria-current=page] { color: var(--fg); }
.main-nav a[aria-current=page]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--orange), var(--pink)); }
.nav-cta { color: var(--warm-ink); background: linear-gradient(135deg, #ffc23d, #ff9a1f); text-decoration: none; font-weight: 700;
  font-size: 0.93rem; padding: 9px 16px; border-radius: 12px; white-space: nowrap; box-shadow: 0 4px 14px rgba(255,154,31,.3); }
.nav-cta:hover { filter: brightness(1.05); }

/* Menu button and dropdown, for screens too narrow for the links */
.menu { position: relative; display: none; }
.menu summary { list-style: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--raise);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { width: 18px; height: 2px; border-radius: 2px; background: var(--fg); transition: transform .2s, opacity .2s; }
.menu[open] summary span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu[open] summary span:nth-child(2) { opacity: 0; }
.menu[open] summary span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.menu-panel { position: absolute; right: 0; top: calc(100% + 10px); min-width: 220px; display: flex; flex-direction: column; padding: 8px;
  border-radius: 16px; background: var(--raise); border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(20,22,41,.18); }
.menu-panel a { color: var(--fg); font-size: 1rem; padding: 12px 14px; }
.menu-panel a:hover { background: var(--card); }
.menu-panel a[aria-current=page] { background: color-mix(in srgb, var(--orange) 12%, transparent); color: var(--orange); }
@media (max-width: 820px) {
  .main-nav { display: none; }
  .menu { display: block; }
}
.crumbs { font-size: 0.85rem; color: var(--muted); margin-top: 20px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; background: var(--brand); color: var(--brand-ink);
  padding: 13px 22px; border-radius: 14px; font-weight: 700; text-decoration: none; line-height: 1.2;
  box-shadow: 0 6px 18px color-mix(in srgb, var(--brand) 35%, transparent); transition: transform .15s, filter .15s;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn.light { background: #fff; color: #1e1b6b; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.btn.warm { background: linear-gradient(135deg, #ffc23d, #ff9a1f); color: var(--warm-ink); box-shadow: 0 8px 24px rgba(255,154,31,.35); }
.btn.ghost { background: transparent; color: var(--hero-ink); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); }
.btn[disabled] { opacity: 0.5; cursor: default; transform: none; }
button.btn { border: 0; font: inherit; font-weight: 700; cursor: pointer; }

/* Home hero */
.hero { position: relative; overflow: hidden; color: var(--hero-ink);
  background: var(--night); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px); background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, #000, transparent 80%); -webkit-mask-image: linear-gradient(to bottom, #000, transparent 80%); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.04; margin: 0.2em 0 0.35em; letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #ffc23d, #ff7a59 55%, #ff4f9a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: var(--hero-muted); font-size: 1.18rem; max-width: 34em; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 700; padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); color: #fff; }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,.25); }
.ticks { display: flex; gap: 18px; flex-wrap: wrap; list-style: none; padding: 0; margin: 18px 0 0; color: var(--hero-muted); font-size: 0.92rem; font-weight: 600; }
.ticks li::before { content: "✓"; color: #4ade80; font-weight: 900; margin-right: 6px; }

.finder { margin: 26px 0 0; background: var(--raise); color: var(--fg); border-radius: 18px; padding: 8px; box-shadow: var(--shadow-lg); max-width: 520px; }
.finder label { display: block; font-size: 0.78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 8px 12px 0; }
.finder input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--fg); font: 600 1.25rem/1.4 inherit; font-family: inherit; padding: 6px 12px 10px; }
.finder input::placeholder { color: color-mix(in srgb, var(--muted) 70%, transparent); font-weight: 500; }
.hits { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); max-height: 300px; overflow: auto; }
.hits:empty { display: none; }
.hits a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--fg); text-decoration: none; }
.hits a:hover, .hits a:focus { background: var(--card); outline: 0; }
.hits .code { min-width: 3.4em; text-align: center; }
.hits span.t { flex: 1; min-width: 0; font-size: 0.95rem; line-height: 1.35; }
.hits span.t small { display: block; color: var(--muted); font-size: 0.8rem; }
.hits .none { padding: 12px; font-size: 0.92rem; color: var(--muted); }

.phones { position: relative; height: 560px; }
.phones img { position: absolute; width: 250px; border-radius: 28px; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.25); }
.phones img:nth-child(1) { left: 50%; top: 0; transform: translateX(-50%); z-index: 3; width: 270px; }
.phones img:nth-child(2) { left: 2%; top: 70px; transform: rotate(-8deg); opacity: .92; }
.phones img:nth-child(3) { right: 2%; top: 70px; transform: rotate(8deg); opacity: .92; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line);
  border-radius: 20px; overflow: hidden; margin: -36px auto 0; position: relative; z-index: 2; box-shadow: var(--shadow); }
.stats div { background: var(--raise); padding: 20px 22px; }
.stats b { display: block; color: var(--c, var(--fg)); font-size: 1.8rem; letter-spacing: -0.03em; line-height: 1.1; }
.stats span { color: var(--muted); font-size: 0.9rem; }

.section { padding: 72px 0 8px; }
.section > .wrap > h2:first-child, .section-head h2 { margin-top: 0; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.section-head p { margin: 4px 0 0; color: var(--muted); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.card {
  display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px;
  background: var(--raise); border: 1px solid var(--line); color: var(--fg); text-decoration: none; box-shadow: var(--shadow);
  transition: transform .15s, border-color .15s;
}
.card .mono { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, color-mix(in srgb, var(--c) 65%, #fff), var(--c)); font-size: 1.05rem; box-shadow: 0 6px 14px color-mix(in srgb, var(--c) 35%, transparent); }
.card div { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.card span { font-size: 0.85rem; color: var(--muted); }
.card:hover { border-color: var(--c, var(--brand)); transform: translateY(-2px); }

.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.features li { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.features .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 15%, transparent); color: var(--c); margin-bottom: 12px; }
.features li { transition: transform .15s, border-color .15s; }
.features li:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 50%, transparent); }
.features .ic svg { width: 22px; height: 22px; }
.features strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.features p { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.55; }

.band { margin: 80px 0 0; color: #fff; background: var(--night); }
.band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 56px; padding-bottom: 56px; }
.band h2 { margin: 0 0 6px; font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.band p { margin: 0; color: var(--hero-muted); }
.band .btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Inner pages */
.page-head { background: linear-gradient(180deg, var(--brand-soft), transparent); border-bottom: 1px solid var(--line); padding-bottom: 28px; }
.page-head .crumbs { margin-top: 0; padding-top: 20px; }
.search { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--raise); color: var(--fg); font: inherit; margin: 8px 0 14px; box-shadow: var(--shadow); }
.search:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.list { list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--raise); }
.list li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0; border-top: 1px solid var(--line); }
.list li:first-child { border-top: 0; }
.list li a { flex: 1; display: flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; padding: 12px 16px; }
.list li:hover { background: var(--card); }
.list li .chip { margin-right: 14px; }
.code { display: inline-block; font-family: ui-monospace, "JetBrains Mono", SFMono-Regular, Consolas, monospace; font-weight: 800; font-size: 0.9em;
  color: var(--brand); background: var(--brand-soft); padding: 2px 8px; border-radius: 8px; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-block; font-size: 0.78rem; font-weight: 700; padding: 4px 11px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.sev-high { color: var(--stop); background: var(--stop-bg); border-color: transparent; }
.sev-medium { color: var(--caution); background: var(--caution-bg); border-color: transparent; }
.sev-low { color: var(--ok); background: var(--ok-bg); border-color: transparent; }

/* Error page */
.err-hero { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; margin: 22px 0 8px; }
.err-hero h1 { margin-top: 0.1em; }
.lcd { width: 190px; aspect-ratio: 4 / 3; border-radius: 20px; background: linear-gradient(160deg, #1d2030, var(--lcd)); border: 6px solid #2a2e42;
  box-shadow: var(--shadow-lg), inset 0 0 30px rgba(255,176,32,.08); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.lcd .dots { display: flex; gap: 4px; }
.lcd .dots i { width: 14px; height: 5px; border-radius: 2px; background: var(--lcd-ink); opacity: .9; }
.lcd .dots i:nth-child(n+4) { opacity: .25; }
.lcd b { font-family: ui-monospace, "JetBrains Mono", Consolas, monospace; color: var(--lcd-ink); font-size: clamp(1.6rem, 4vw, 2.6rem); letter-spacing: .04em;
  text-shadow: 0 0 18px rgba(255,176,32,.55); max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.article { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.aside { position: sticky; top: 88px; margin-top: 24px; padding: 22px; border-radius: 20px; color: #fff;
  background: var(--night); box-shadow: var(--shadow-lg); }
.aside img { border-radius: 12px; }
.aside h2 { margin: 10px 0 6px; font-size: 1.2rem; }
.aside p { color: var(--hero-muted); font-size: 0.93rem; margin: 0 0 16px; }
.aside .btn { width: 100%; justify-content: center; }

.callout { position: relative; border-radius: 18px; padding: 6px 22px 10px 64px; margin: 22px 0; border: 1px solid transparent; }
.callout::before { position: absolute; left: 20px; top: 20px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 0.95rem; color: #fff; }
.callout h2 { margin-top: 0.8em; font-size: 1.1rem; }
.callout.ok { background: var(--ok-bg); border-color: color-mix(in srgb, var(--ok) 45%, transparent); }
.callout.ok::before { content: "✓"; background: var(--ok); }
.callout.caution { background: var(--caution-bg); border-color: color-mix(in srgb, var(--caution) 45%, transparent); }
.callout.caution::before { content: "!"; background: var(--caution); }
.callout.stop { background: var(--stop-bg); border-color: color-mix(in srgb, var(--stop) 45%, transparent); }
.callout.stop::before { content: "✕"; background: var(--stop); }
.steps { list-style: none; counter-reset: s; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: 2px 0 2px 46px; margin: 12px 0; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center;
  font-weight: 800; font-size: 0.9rem; background: color-mix(in srgb, var(--orange) 14%, transparent); color: var(--orange); }
article ul li { margin: 5px 0; }

.cta { margin: 40px 0 12px; padding: 26px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.cta h2 { margin-top: 0.1em; }

.prices { border-collapse: separate; border-spacing: 0; width: 100%; max-width: 560px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--raise); }
.prices th, .prices td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.prices tr:last-child td { border-bottom: 0; }
.prices th { background: var(--card); font-size: 0.85rem; color: var(--muted); }

.searchrow { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.searchrow .search { flex: 1 1 260px; margin: 0; }
.picks { list-style: none; padding: 0; display: grid; gap: 8px; }
.pick { width: 100%; text-align: left; display: flex; flex-direction: column; gap: 2px; padding: 12px 14px;
  border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--fg); font: inherit; cursor: pointer; }
.pick span { font-size: 0.85rem; color: var(--muted); }
.pick:hover, .pick.on { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
#step2 label { display: block; margin: 14px 0 6px; }
#radius { width: 100%; max-width: 420px; accent-color: var(--brand); }
#days { font: inherit; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); }
.price { font-size: 1.2rem; margin: 18px 0 12px; }

/* Footer */
footer { margin-top: 0; border-top: 1px solid var(--line); background: var(--card); padding: 40px 0 36px; }
main + footer { margin-top: 72px; }
main.home + footer { margin-top: 0; }
.foot { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot .brand { margin-bottom: 8px; }
.foot p { margin: 6px 0; max-width: 30em; }
.foot nav { display: grid; grid-template-columns: repeat(2, auto); gap: 6px 28px; align-content: start; }
.foot nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.93rem; }
.foot nav a:hover { color: var(--brand); }
.legal { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 18px; }

/* Screenshot gallery: starts in line with the page content and runs off the right edge */
.slider { position: relative; }
.slider .section-head { align-items: end; }
.track { --pad: max(20px, calc((100% - 1080px) / 2)); display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 26px var(--pad) 44px; scroll-padding-left: var(--pad); scrollbar-width: none; -webkit-overflow-scrolling: touch; outline: 0; }
.track::-webkit-scrollbar { display: none; }
.track figure { margin: 0; flex: none; width: 250px; scroll-snap-align: start; transition: transform .25s; }
.track figure:hover { transform: translateY(-6px); }
.track img { display: block; width: 100%; height: auto; border-radius: 24px; box-shadow: 0 12px 24px rgba(25,22,110,.16); }
.slider-nav { display: flex; gap: 10px; }
.slider-nav > button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--raise); color: var(--fg);
  font-size: 1.5rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow); }
.slider-nav > button:hover { border-color: var(--orange); color: var(--orange); }
.dots { display: flex; gap: 8px; }
.dots button { width: 8px; height: 8px; padding: 0; border-radius: 99px; border: 0; background: var(--line); cursor: pointer; transition: width .25s, background .25s; }
.dots button.on { width: 26px; background: linear-gradient(90deg, var(--orange), var(--pink)); }

/* Shop pitch + price calculator */
.pitch { display: grid; grid-template-columns: 1fr 420px; gap: 40px; align-items: center; padding: 40px; border-radius: 28px;
  background: var(--peach); border: 1px solid color-mix(in srgb, var(--orange) 22%, transparent); }
.pitch .kicker { color: var(--orange); }
.pitch h2 { margin-top: 0.2em; font-size: clamp(1.5rem, 3vw, 2rem); }
.pitch > div > p { color: var(--muted); }
.ticks.dark { color: var(--fg); }
.ticks.dark li::before { color: var(--ok); }
.calc { background: var(--raise); border: 1px solid var(--line); border-radius: 22px; padding: 24px; box-shadow: var(--shadow); margin: 8px 0; }
.calc label { display: flex; justify-content: space-between; font-weight: 700; font-size: 0.95rem; }
.calc output { color: var(--orange); }
.calc input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; margin: 16px 0 18px;
  background: linear-gradient(to right, var(--orange) var(--fill, 17%), var(--line) var(--fill, 17%)); }
.calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--orange); box-shadow: var(--shadow); cursor: grab; }
.calc input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--orange); cursor: grab; }
.seg { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; background: var(--card); border-radius: 12px; padding: 4px; }
.seg button { border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 0.8rem; font-weight: 700; padding: 8px 2px; border-radius: 9px; cursor: pointer; }
.seg button[aria-pressed=true] { background: var(--raise); color: var(--fg); box-shadow: var(--shadow); }
.total { margin: 18px 0 14px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.total b { font-size: 2.3rem; letter-spacing: -0.03em; line-height: 1; }
.total small { color: var(--ok); font-weight: 700; }
.calc .btn { width: 100%; justify-content: center; }
.calc .small { margin: 10px 0 0; text-align: center; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; padding: 14px 36px 14px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 1.5rem; font-weight: 400; color: var(--orange); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 16px; color: var(--muted); }

/* Code page extras */
button.chip { font: inherit; font-size: 0.78rem; font-weight: 700; cursor: pointer; }
.share:hover { color: var(--brand); border-color: var(--brand); }
.mechanic { display: flex; gap: 14px; align-items: center; margin: 18px 0 8px; padding: 16px 18px; border-radius: 16px; text-decoration: none;
  color: var(--fg); background: color-mix(in srgb, var(--teal) 10%, var(--bg)); border: 1px dashed color-mix(in srgb, var(--teal) 55%, transparent); }
.mechanic svg { flex: none; width: 26px; height: 26px; color: var(--teal); }
.mechanic:hover { border-style: solid; }

/* Shop promo pop-up */
.promo { position: fixed; right: 20px; bottom: 20px; z-index: 30; width: min(360px, calc(100vw - 32px)); padding: 22px; border-radius: 22px;
  color: #fff; background: radial-gradient(260px 160px at 100% 0%, rgba(255,194,61,.45), transparent 60%), linear-gradient(150deg, #c2410c, #be185d);
  box-shadow: 0 30px 80px rgba(20,18,90,.45); transform: translateY(24px) scale(.97); opacity: 0; transition: transform .4s cubic-bezier(.2,.9,.3,1.2), opacity .3s; }
.promo.in { transform: none; opacity: 1; }
.promo .tag { display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(255,255,255,.16); padding: 4px 10px; border-radius: 99px; }
.promo .tag svg { width: 14px; height: 14px; }
.promo strong { display: block; font-size: 1.2rem; line-height: 1.3; margin: 12px 0 6px; letter-spacing: -0.01em; }
.promo p { margin: 0 0 16px; color: rgba(255,255,255,.9); font-size: 0.93rem; line-height: 1.5; }
.promo .btn { background: #fff; color: #9a1b4b; }
.x { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14);
  color: inherit; font-size: 1.3rem; line-height: 1; cursor: pointer; }
.x:hover { background: rgba(255,255,255,.26); }

/* Mobile install bar */
.appbar { display: none; }
@media (max-width: 900px) {
  .appbar { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 30; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px;
    border-radius: 18px; background: var(--raise); border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(20,22,41,.22);
    transform: translateY(130%); transition: transform .35s cubic-bezier(.2,.9,.3,1.1); }
  .appbar[hidden] { display: none; }
  .appbar.in { transform: none; }
  .appbar img { border-radius: 10px; }
  .appbar div { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
  .appbar span { font-size: 0.8rem; color: var(--muted); }
  .appbar .btn { padding: 10px 18px; box-shadow: none; }
  .appbar .x { position: static; flex: none; background: var(--card); color: var(--muted); }
  body.has-appbar { padding-bottom: 84px; }
}

@media (max-width: 900px) {
  .pitch { grid-template-columns: 1fr; padding: 24px; gap: 8px; }
  .hero .wrap { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 64px; }
  .phones { height: 400px; }
  .phones img { width: 180px; border-radius: 22px; }
  .phones img:nth-child(1) { width: 200px; }
  .phones img:nth-child(2), .phones img:nth-child(3) { top: 50px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .article { grid-template-columns: 1fr; }
  .aside { position: static; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .err-hero { grid-template-columns: 1fr; }
  .err-hero .lcd { order: -1; width: 150px; }
  .phones img { width: 150px; }
  .phones img:nth-child(1) { width: 170px; }
  .phones { height: 340px; }
  .callout { padding-left: 20px; padding-top: 52px; }
  .callout::before { top: 16px; }
  .promo { left: 10px; right: 10px; bottom: 10px; width: auto; padding: 16px 18px; }
  .promo p { display: none; }
  .promo strong { font-size: 1.05rem; margin: 8px 40px 12px 0; }
  .promo .btn { padding: 10px 18px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Was this helpful? */
.helpful { margin: 30px 0 8px; padding: 18px 20px; border-radius: 18px; background: var(--card); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.helpful > strong { font-size: 1rem; }
.helpful .opts { display: flex; gap: 8px; }
.helpful button.vote { font: inherit; font-weight: 700; font-size: 0.92rem; padding: 8px 16px; border-radius: 12px; cursor: pointer;
  border: 1px solid var(--line); background: var(--raise); color: var(--fg); }
.helpful button.vote:hover { border-color: var(--orange); }
.helpful .reply { flex-basis: 100%; margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Rating ask */
.rate { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; padding: 26px 30px; border-radius: 24px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--warm) 16%, var(--bg)), color-mix(in srgb, var(--pink) 10%, var(--bg)));
  border: 1px solid color-mix(in srgb, var(--warm) 35%, transparent); }
.stars { font-size: 1.9rem; letter-spacing: 2px; line-height: 1; color: #ffa41f; }
.rate h2 { margin: 0 0 2px; font-size: 1.3rem; }
.rate p { margin: 0; color: var(--muted); }
.foot .rate-link { display: inline-block; margin-top: 4px; color: var(--fg); font-weight: 700; font-size: 0.92rem; text-decoration: none; }
.foot .rate-link span { color: #ffa41f; }
@media (max-width: 700px) { .rate { grid-template-columns: 1fr; gap: 10px; padding: 22px; } }

/* Hero showcase: one phone, floating callouts */
.showcase { position: relative; height: 560px; display: grid; place-items: center; }
.showcase .halo { position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,154,31,.45), rgba(139,92,246,.25) 45%, transparent 70%); filter: blur(20px); }
.showcase .phone { position: relative; width: 280px; height: auto; border-radius: 30px; box-shadow: 0 40px 90px rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.25); transform: perspective(1200px) rotateY(-10deg) rotateX(3deg); }
.float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 16px;
  background: rgba(255,255,255,.96); color: #141629; box-shadow: 0 18px 40px rgba(0,0,0,.28); line-height: 1.25; animation: bob 6s ease-in-out infinite; }
.float strong { display: block; font-size: 0.9rem; }
.float small { display: block; font-size: 0.78rem; color: #5d6280; }
.float.f1 { left: 0; top: 210px; }
.float.f2 { right: 0; top: 320px; animation-delay: -2s; }
.float.f3 { left: 40px; bottom: 40px; animation-delay: -4s; }
.mini-lcd { font-family: ui-monospace, Consolas, monospace; font-weight: 800; color: #ffb020; background: #12141f; border: 3px solid #2a2e42;
  border-radius: 10px; padding: 6px 9px; text-shadow: 0 0 10px rgba(255,176,32,.6); }
.dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 900; flex: none; }
.dot.caution { background: #f59e0b; }
.dot.ok { background: #16a34a; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.cards-3 { grid-template-columns: repeat(3, 1fr); }


@media (max-width: 900px) {
  .showcase { height: 470px; }
  .showcase .phone { width: 230px; transform: none; }
  .showcase .halo { width: 320px; height: 320px; }
  .float.f1 { left: 4px; top: 170px; }
  .float.f2 { right: 4px; top: 260px; }
  .float.f3 { left: 10px; bottom: 24px; }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .features li { padding: 16px; }
  .features .ic { width: 38px; height: 38px; margin-bottom: 8px; }
  .features strong { font-size: 0.95rem; }
  .features p { font-size: 0.84rem; }
}
@media (max-width: 560px) {
  .err-hero { grid-template-columns: 1fr auto; gap: 12px; align-items: start; }
  .err-hero .lcd { order: 0; width: 96px; border-width: 4px; border-radius: 14px; margin-top: 20px; }
  .err-hero .lcd b { font-size: 1.3rem; }
  .err-hero .lcd .dots i { width: 8px; height: 3px; }
  .cards-3 .card { padding: 12px; gap: 10px; }
  .cards-3 .card .mono { width: 36px; height: 36px; }
  .cards-3 .card strong { font-size: 0.92rem; }
  .float { padding: 8px 12px 8px 8px; }
  .float strong { font-size: 0.82rem; }
  .float small { font-size: 0.72rem; }
}
@media (prefers-reduced-motion: reduce) { .float { animation: none; } }
@media (max-width: 560px) {
  .track figure { width: 210px; }
  .track { gap: 14px; }
  .slider-nav { display: none; }
}

/* Site search */
.finder .tips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 0 12px 10px; }
.finder .tips[hidden] { display: none; }
.finder .tips span { font-size: 0.78rem; color: var(--muted); font-weight: 700; margin-right: 2px; }
.finder .tips button { font: inherit; font-size: 0.8rem; font-weight: 600; padding: 4px 10px; border-radius: 99px; cursor: pointer;
  border: 1px solid var(--line); background: var(--card); color: var(--fg); }
.finder .tips button:hover { border-color: var(--orange); color: var(--orange); }
.hits a.sel { background: var(--card); box-shadow: inset 3px 0 0 var(--orange); }
.hits .code.kind-m, .hits .code.kind-b { color: #fff; background: linear-gradient(135deg, var(--violet), var(--pink)); }
.hits .code.kind-b { background: linear-gradient(135deg, var(--orange), var(--pink)); }
.finder.inline { max-width: none; margin: 18px 0 8px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.finder.inline .hits { max-height: 420px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards-4 .card { padding: 12px; gap: 10px; } .cards-4 .card .mono { width: 36px; height: 36px; } .cards-4 .card strong { font-size: 0.92rem; } }
.cards.wide { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
@media (max-width: 560px) { .cards.wide { grid-template-columns: 1fr; } }
