/* Avtohekim site styles (same palette as the app: graphite, warm white, one orange). */
:root {
  --bg: #f7f4ef;
  --surface: #ffffff;
  --surface2: #efeae2;
  --border: #e2dcd2;
  --text: #1d1b18;
  --muted: #6b655d;
  --faint: #a29b90;
  --accent: #f26b1d;
  --accent-text: #bd4700;
  --on-accent: #1a0e06;
  --ok: #2f9e64;
  --high: #d93b30;
  --medium: #c98a12;
  --mono: "JetBrains Mono", "Noto Sans", ui-monospace, monospace;
  --sans: "Noto Sans", system-ui, sans-serif;
  --wrap: 1120px;
}

.scanner, .compat-out, .iphone, .device, .dg, .dark {
  --bg: #0c0c0d;
  --surface: #161617;
  --surface2: #202022;
  --border: #2b2b2e;
  --text: #ece8e1;
  --muted: #9c978f;
  --faint: #64615c;
  --accent: #ff7a2f;
  --accent-text: #ff7a2f;
  --ok: #56c08a;
  --high: #f04a3e;
  --medium: #f2b33d;
  color: var(--text);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: var(--text); color: var(--bg); text-decoration: none; transform: translateY(calc(-100% - 16px)); }
.skip-link:focus-visible { transform: translateY(0); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.mono, .num { font-family: var(--mono); font-feature-settings: "tnum"; }
.muted { color: var(--muted); }
.accent { color: var(--accent-text); }
h1, h2, h3 { line-height: 1.18; margin: 0; font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: clamp(38px, 6vw, 68px); }
h2 { font-size: clamp(28px, 4vw, 42px); }
h3 { font-size: 21px; }
p { margin: 0 0 14px; }


.strip { border-bottom: 1px solid var(--border); font: 13px/1 var(--mono); color: var(--muted); }
.strip .wrap { display: flex; gap: 22px; padding-top: 10px; padding-bottom: 10px; overflow-x: auto; white-space: nowrap; }
.strip b { color: var(--text); font-weight: 600; }
.nav { position: sticky; top: 0; z-index: 30; background: rgba(247, 244, 239, 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 19px; }
.brand svg { width: 40px; height: 26px; }
.links { display: flex; gap: 22px; margin-left: auto; }
.links a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 600; padding: 6px 0; border-bottom: 2px solid transparent; }
.links a:hover, .links a[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent); }
.cart-btn { display: flex; align-items: center; gap: 8px; background: none; border: 1px solid var(--border); color: var(--text); border-radius: 8px; padding: 8px 12px; font: 600 14px var(--sans); cursor: pointer; }
.cart-btn .num { background: var(--accent); color: var(--on-accent); border-radius: 5px; padding: 1px 7px; font-size: 13px; }
.menu-btn { display: none; background: none; border: 1px solid var(--border); color: var(--text); border-radius: 8px; padding: 8px 10px; cursor: pointer; }
@media (max-width: 860px) {
  .links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); flex-direction: column; gap: 0; padding: 8px 22px 16px; }
  .links.on { display: flex; }
  .links a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .menu-btn { display: block; margin-left: auto; }
  .cart-btn { margin-left: 0; padding: 8px 10px; }
  .cart-btn .lbl { display: none; }
  .nav .wrap { gap: 10px; }
}


.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 8px; font: 700 16px var(--sans); text-decoration: none; cursor: pointer; border: 1px solid transparent; }
.btn.primary { background: var(--accent); color: var(--on-accent); }
.btn.primary:hover { filter: brightness(1.06); }
.btn.ghost { border-color: var(--border); color: var(--text); background: var(--surface); }
.btn.ghost:hover { border-color: var(--faint); }
.btn.block { width: 100%; }
.btn:disabled { opacity: 0.45; cursor: default; }


section { padding: 88px 0; border-bottom: 1px solid var(--border); }
.eyebrow { display: flex; align-items: center; gap: 12px; font: 600 13px/1 var(--mono); color: var(--accent-text); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px; }
.eyebrow::after { content: ""; flex: 0 0 48px; height: 1px; background: var(--accent); opacity: 0.6; }
.lead { font-size: 19px; color: var(--muted); max-width: 640px; }
.sec-head { margin-bottom: 44px; max-width: 760px; }
.sec-head p { margin-top: 14px; }


.hero { padding: 72px 0 0; border-bottom: 1px solid var(--border); }
.hero .wrap:not(.plain) { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: end; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { margin: 22px 0 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-shot { align-self: end; }
.device { justify-self: center; background: #050505; border: 1px solid var(--border); border-radius: 34px 34px 0 0; padding: 10px 10px 0; border-bottom: 0; max-width: 360px; margin-left: auto; }
.device img { border-radius: 26px 26px 0 0; }
.device.full { border-radius: 34px; padding: 10px; border-bottom: 1px solid var(--border); }
.device.full img { border-radius: 26px; }
@media (max-width: 860px) {
  .hero .wrap:not(.plain) { grid-template-columns: 1fr; }
  .device { margin: 0 auto; }
}


.specs { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); }
.specs div { padding: 22px 22px 24px 0; border-right: 1px solid var(--border); }
.specs div:last-child { border-right: 0; }
.specs div + div { padding-left: 22px; }
.specs b { display: block; font: 800 clamp(26px, 3.2vw, 38px)/1.1 var(--sans); font-feature-settings: "tnum"; }
.specs span { color: var(--muted); font-size: 14px; }
@media (max-width: 860px) { .specs { grid-template-columns: 1fr 1fr; } .specs div:nth-child(2) { border-right: 0; } .specs div:nth-child(3) { padding-left: 0; } .specs div:nth-child(n+3) { border-top: 1px solid var(--border); } }


.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.step { padding: 28px; border-right: 1px solid var(--border); background: var(--surface); }
.step:last-child { border-right: 0; }
.step .n { font: 700 13px var(--mono); color: var(--accent-text); }
.step h3 { margin: 14px 0 8px; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .step { border-right: 0; border-bottom: 1px solid var(--border); } .step:last-child { border-bottom: 0; } }


.row { display: grid; grid-template-columns: 1fr minmax(320px, 460px); gap: 64px; align-items: center; }
.row.rev { grid-template-columns: minmax(320px, 460px) 1fr; }
.row.rev .row-text { order: 2; }
.row + .row { margin-top: 96px; }
.row-text h2 { margin-bottom: 16px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; border-top: 1px solid var(--border); }
.ticks li { padding: 12px 0 12px 30px; border-bottom: 1px solid var(--border); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 122, 47, 0.16); }
.ticks li { color: var(--muted); font-size: 15px; }
.ticks b { display: block; font-weight: 700; color: var(--text); font-size: 17px; margin-bottom: 2px; }
@media (max-width: 860px) { .row, .row.rev { grid-template-columns: 1fr; gap: 32px; } .row.rev .row-text { order: 0; } }


.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 24px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; }
.card .tag { font: 600 12px var(--mono); color: var(--accent-text); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; display: block; }
@media (max-width: 860px) { .grid3 { grid-template-columns: 1fr; } }


.table { width: 100%; border-collapse: collapse; font-size: 16px; }
.table th { text-align: left; font: 600 12px var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; padding: 0 0 12px; border-bottom: 1px solid var(--border); }
.table td { padding: 13px 0; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table td.n { font-family: var(--mono); text-align: right; white-space: nowrap; width: 110px; }
.table td.bar { width: 40%; padding-left: 24px; }
.table .b { height: 6px; background: var(--accent); border-radius: 3px; min-width: 3px; }
.table tr.total td { font-weight: 800; border-bottom: 0; }
.table-scroll { max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; -webkit-overflow-scrolling: touch; }
.table-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.table-scroll .table { min-width: 620px; }
.make-note { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; font-weight: 400; }
.make-table td:first-child { padding-right: 20px; }
.screenshot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.screenshot-slot { margin: 0; min-height: 420px; border: 1px dashed var(--border); border-radius: 24px; background: var(--surface); display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; }
.screenshot-slot img { width: 100%; min-height: 360px; object-fit: contain; }
.screenshot-slot img:not([src]), .screenshot-slot img[src=""] { display: none; }
.screenshot-slot figcaption { padding: 16px; color: var(--muted); font-size: 14px; }
@media (max-width: 760px) { .screenshot-grid { grid-template-columns: 1fr; } .screenshot-slot { min-height: 320px; } }
.badge { display: inline-block; font: 600 11px var(--mono); padding: 3px 7px; border-radius: 5px; border: 1px solid var(--border); color: var(--muted); margin-left: 8px; vertical-align: 2px; }
.badge.new { color: var(--ok); border-color: rgba(86, 192, 138, 0.45); }
.badge.soon { color: var(--medium); border-color: rgba(242, 179, 61, 0.45); }


.buy { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 14px; }
.product { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 28px; }
.product.hot { border-color: rgba(255, 122, 47, 0.55); }
.product ul { list-style: none; padding: 0; margin: 18px 0 24px; }
.product li { padding: 9px 0 9px 26px; border-top: 1px solid var(--border); position: relative; color: var(--muted); }
.product li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 12px; height: 2px; background: var(--accent); }
.price-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.price { font: 700 44px/1 var(--mono); }
.price small { font-size: 16px; color: var(--muted); }
.tiers { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.tier { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; text-align: left; background: var(--surface2); border: 1px solid var(--border); border-radius: 8px; padding: 14px 16px; color: var(--text); font: inherit; cursor: pointer; }
.tier:hover { border-color: var(--accent); }
.tier .p { font: 700 20px var(--mono); }
.tier .s { grid-column: 1 / -1; font-size: 13px; color: var(--ok); }
.note { font-size: 14px; color: var(--muted); margin-top: 16px; }
.guarantee { margin-top: 14px; border: 1px dashed var(--border); border-radius: 12px; padding: 20px 24px; color: var(--muted); }
.guarantee b { color: var(--text); }
@media (max-width: 860px) { .buy { grid-template-columns: 1fr; } }


details { border-bottom: 1px solid var(--border); padding: 18px 0; }
details summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::after { content: "+"; font-family: var(--mono); color: var(--accent-text); }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); margin: 12px 0 0; max-width: 760px; }


.contacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.contact { display: flex; gap: 16px; align-items: center; text-decoration: none; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
.contact:hover { border-color: var(--faint); }
.contact svg { width: 26px; height: 26px; flex: none; stroke: var(--accent); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact b { display: block; }
.contact span { color: var(--muted); font-size: 14px; }
@media (max-width: 860px) { .contacts { grid-template-columns: 1fr; } }


.footer { padding: 56px 0 40px; color: var(--muted); font-size: 15px; }
.footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.footer h4 { margin: 0 0 12px; color: var(--text); font-size: 14px; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.08em; }
.footer a { display: block; text-decoration: none; padding: 3px 0; }
.footer a:hover { color: var(--text); }
.footer .legal { grid-column: 1 / -1; border-top: 1px solid var(--border); padding-top: 20px; font-size: 13px; }
@media (max-width: 860px) { .footer .wrap { grid-template-columns: 1fr; } }


.overlay { position: fixed; inset: 0; background: rgba(29, 27, 24, 0.45); opacity: 0; pointer-events: none; transition: opacity 0.2s; z-index: 40; }
.overlay.on { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--bg); border-left: 1px solid var(--border); transform: translateX(100%); transition: transform 0.25s; z-index: 50; display: flex; flex-direction: column; padding: 20px; gap: 14px; }
.drawer.on { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; }
.drawer-head h3 { font-size: 20px; }
.x { background: none; border: 1px solid var(--border); color: var(--text); border-radius: 8px; width: 44px; height: 44px; cursor: pointer; font-size: 18px; }
.cart-items { flex: 1; overflow: auto; }
.ci { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.ci small { display: block; color: var(--muted); }
.qty { display: flex; align-items: center; gap: 10px; }
.qty button { width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-size: 18px; cursor: pointer; }
.totals div { display: flex; justify-content: space-between; padding: 5px 0; color: var(--muted); }
.totals .sum { color: var(--text); font-weight: 800; font-size: 19px; border-top: 1px solid var(--border); padding-top: 10px; margin-top: 4px; }
.totals .saved { color: var(--ok); }
.empty { color: var(--muted); }
.modal { position: fixed; inset: 0; background: rgba(29, 27, 24, 0.55); display: none; align-items: flex-start; justify-content: center; overflow: auto; padding: 40px 16px; z-index: 60; }
.modal.on { display: flex; }
.modal-box { width: min(480px, 100%); background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.modal-box.center { text-align: center; align-items: center; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
input, select, textarea { background: var(--surface2); border: 1px solid var(--border); border-radius: 8px; color: var(--text); font: 16px var(--sans); padding: 12px; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.err { color: var(--high); min-height: 1em; margin: 0; }
.toast { pointer-events: none; position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 20px); background: var(--surface2); border: 1px solid var(--border); padding: 12px 18px; border-radius: 8px; opacity: 0; transition: 0.2s; z-index: 70; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.sticky-buy { display: none; }
@media (max-width: 860px) {
  body { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
  .menu-btn, .cart-btn { min-width: 44px; min-height: 44px; }
  .sticky-buy { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 20; }
}


.doc { max-width: 780px; }
.doc h2 { font-size: 24px; margin: 40px 0 10px; }
.doc ul { padding-left: 22px; color: var(--muted); }
.doc p { color: var(--muted); }
.doc a { color: var(--accent-text); }
.page-head { padding: 64px 0 48px; }
.page-head .lead { margin-top: 16px; }
ol.connect { counter-reset: s; list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--border); }
ol.connect li { counter-increment: s; display: grid; grid-template-columns: 56px 1fr; padding: 16px 0; border-bottom: 1px solid var(--border); }
ol.connect li::before { content: counter(s, decimal-leading-zero); font: 700 14px var(--mono); color: var(--accent-text); padding-top: 3px; }


.hero2 { padding: 64px 0 0; border-bottom: 1px solid var(--border); background:
  radial-gradient(900px 420px at 78% 38%, rgba(255, 122, 47, 0.08), transparent 70%); }
.h2-top { max-width: 820px; }
.h2-top h1 { font-size: clamp(40px, 6.4vw, 76px); letter-spacing: -0.02em; }
.h2-top h1 em { font-style: normal; color: var(--accent); }
.h2-top .lead { margin: 22px 0 30px; }
.scanner { position: relative; margin: 8px 0 40px; border: 1px solid var(--border); border-radius: 16px; background: #09090a; overflow: hidden; }
.sc-head { display: flex; justify-content: space-between; padding: 14px 18px; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--border); }
.rec { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--high); margin-right: 6px; animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0.2; } }
.scanner .car { display: block; width: 100%; height: auto; }
.stage { position: relative; }
.nodes { position: absolute; inset: 0; pointer-events: none; }
.node { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 10px; opacity: 0.25; transition: opacity 0.3s; }
.node i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--faint); background: var(--bg); flex: none; transition: 0.3s; }
.node span { display: flex; flex-direction: column; line-height: 1.2; background: rgba(12, 12, 13, 0.82); border: 1px solid var(--border); border-radius: 6px; padding: 6px 9px; opacity: 0; transform: translateY(4px); transition: 0.35s; }
.node b { font-size: 13px; }
.node em { font-style: normal; font-size: 12px; color: var(--muted); font-family: var(--mono); }
.node.on { opacity: 1; }
.node.on span { opacity: 1; transform: none; }
.node.high i { border-color: var(--high); background: var(--high); box-shadow: 0 0 0 6px rgba(240, 74, 62, 0.18); }
.node.medium i { border-color: var(--medium); background: var(--medium); box-shadow: 0 0 0 6px rgba(242, 179, 61, 0.18); }
.node.ok i { border-color: var(--ok); background: var(--ok); }
.node.high em { color: var(--high); } .node.medium em { color: var(--medium); } .node.ok em { color: var(--ok); }
.sc-foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 1fr); border-top: 1px solid var(--border); }
.term { padding: 14px 18px; font-size: 12.5px; line-height: 1.7; min-height: 128px; color: var(--muted); }
.term .cmd { color: var(--text); }
.term .rep { color: var(--ok); opacity: 0.8; padding-left: 16px; }
.ticker { border-top: 1px solid var(--border); overflow: hidden; white-space: nowrap; padding: 14px 0; font-size: 14px; color: var(--muted); }
.ticker-in { display: inline-block; animation: tick 70s linear infinite; }
.ticker span { margin-right: 44px; }
.ticker b { color: var(--accent-text); margin-right: 10px; font-weight: 700; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-in { animation: none; } }
@media (max-width: 760px) {
  .node span { padding: 4px 6px; } .node b { font-size: 11px; } .node em { font-size: 10px; }
  .node i { width: 10px; height: 10px; }
  .sc-foot { grid-template-columns: 1fr; }
  .term { min-height: 112px; font-size: 11.5px; }
}


.codecard { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.cc-tabs { display: flex; border-bottom: 1px solid var(--border); }
.cc-tabs button { flex: 1; background: none; border: 0; border-right: 1px solid var(--border); color: var(--muted); font: 700 15px var(--mono); padding: 14px; cursor: pointer; }
.cc-tabs button:last-child { border-right: 0; }
.cc-tabs button.on { color: var(--text); background: var(--surface2); box-shadow: inset 0 -2px 0 var(--accent); }
.cc-body { padding: 26px; }
.cc-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.cc-code { font-size: 46px; font-weight: 700; letter-spacing: 0.02em; line-height: 1; }
.cc-sys { font-size: 13px; color: var(--accent-text); }
.codecard h3 { margin: 14px 0 18px; font-size: 19px; }
.codecard dl { margin: 0; display: grid; grid-template-columns: 120px 1fr; border-top: 1px solid var(--border); }
.codecard dt, .codecard dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
.codecard dt { color: var(--muted); font-size: 13px; padding-top: 14px; }
.codecard dd.mono { font-size: 13.5px; }
.cc-drive { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-weight: 700; }
.cc-drive i { width: 12px; height: 12px; border-radius: 50%; }
.cc-drive.ok { color: var(--ok); } .cc-drive.ok i { background: var(--ok); box-shadow: 0 0 0 5px rgba(86, 192, 138, 0.18); }
.cc-drive.soon { color: var(--medium); } .cc-drive.soon i { background: var(--medium); box-shadow: 0 0 0 5px rgba(242, 179, 61, 0.18); }
@media (max-width: 560px) { .codecard dl { grid-template-columns: 1fr; } .codecard dt { border-bottom: 0; padding-bottom: 0; } .cc-code { font-size: 36px; } }


.lamp { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; }
.lamp.high { background: var(--high); box-shadow: 0 0 0 4px rgba(240, 74, 62, 0.18); }
.lamp.medium { background: var(--medium); box-shadow: 0 0 0 4px rgba(242, 179, 61, 0.18); }
.lamp.ok { background: var(--ok); box-shadow: 0 0 0 4px rgba(86, 192, 138, 0.18); }


.odo { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 26px; }
.odo-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 12px; margin-bottom: 16px; }
.odo-row .odo-l { grid-column: 1 / -1; }
.odo-l { color: var(--muted); font-size: 13px; }
.odo-u { color: var(--muted); font-size: 13px; }
.digits { display: flex; gap: 4px; }
.dg { width: 38px; height: 54px; border-radius: 6px; background: #070707; border: 1px solid var(--border); display: grid; place-items: center; font-size: 30px; font-weight: 700; position: relative; overflow: hidden; }
.dg::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255, 255, 255, 0.06); }
.digits.warn .dg { color: var(--high); }
.odo-diff { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; margin: 20px 0 16px; padding: 14px 16px; border: 1px solid rgba(240, 74, 62, 0.4); background: rgba(240, 74, 62, 0.07); border-radius: 10px; }
.odo-diff small { grid-column: 2; color: var(--muted); }
.odo-list { list-style: none; padding: 0; margin: 0; }
.odo-list li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--border); font-size: 15px; }
.odo-list b { margin: 0 2px; }
@media (max-width: 560px) { .odo-row { grid-template-columns: 1fr auto; } .odo-l { grid-column: 1 / -1; } .dg { width: 30px; height: 44px; font-size: 24px; } }


.cells { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 26px; }
.cells-head, .cells-foot { display: flex; justify-content: space-between; color: var(--muted); font-size: 14px; }
.cells-foot span { display: flex; align-items: center; gap: 10px; }
.cells-bars { display: grid; grid-template-columns: repeat(17, 1fr); gap: 5px; height: 220px; margin: 18px 0; align-items: end; }
.cells-bars span { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.cells-bars i { width: 100%; height: 0; background: linear-gradient(#ff7a2f, #b4531f); border-radius: 3px 3px 1px 1px; transition: height 0.6s cubic-bezier(.2, .8, .2, 1); }
.cells-bars .weak i { background: var(--medium); box-shadow: 0 0 0 3px rgba(242, 179, 61, 0.2); }
.cells-bars em { font-style: normal; font-size: 10px; color: var(--faint); }
.cells-bars .weak em { color: var(--medium); }

.mods { display: none; }
@media (max-width: 760px) {
  .nodes .node span { display: none; }
  .nodes .node i { width: 12px; height: 12px; }
  .mods { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--border); }
  .mods .node { position: static; transform: none; opacity: 0.35; }
  .mods .node.on { opacity: 1; }
  .mods .node span { opacity: 1; transform: none; background: none; border: 0; padding: 0; }
  .mods .node b { font-size: 13px; } .mods .node em { font-size: 11px; }
}


.iphone { position: relative; justify-self: center; width: min(300px, 78vw); aspect-ratio: 71.6 / 147.6; border-radius: 15% / 7.2%; padding: 3.2%;
  background: linear-gradient(145deg, #3a3a3d, #1b1b1d 40%, #2c2c2f); box-shadow: 0 0 0 1px #4a4a4e inset, 0 30px 60px -24px rgba(40, 30, 20, 0.35), 0 0 0 1px #0a0a0a; }
.iphone .screen { position: relative; width: 100%; height: 100%; border-radius: 12.5% / 5.9%; overflow: hidden; background: #0c0c0d; display: flex; flex-direction: column; }
.iphone .screen img { width: 100%; flex: 1; min-height: 0; object-fit: cover; object-position: top; }
.sb { flex: none; height: 9%; display: flex; align-items: center; justify-content: space-between; padding: 0 8% 0 11%; color: #fff; font-size: 13px; position: relative; }
.sb .mono { font-family: var(--sans); font-weight: 700; font-size: 14px; }
.island { position: absolute; left: 50%; top: 22%; transform: translateX(-50%); width: 34%; height: 46%; background: #000; border-radius: 20px; }
.sb-r { display: flex; align-items: center; gap: 5px; }
.sb-r svg { width: 16px; height: 11px; fill: #fff; }
.bat { width: 24px; height: 11px; border: 1.3px solid rgba(255, 255, 255, 0.55); border-radius: 3.5px; padding: 1.3px; position: relative; }
.bat::after { content: ""; position: absolute; right: -4px; top: 3px; width: 2px; height: 4px; background: rgba(255, 255, 255, 0.55); border-radius: 0 1px 1px 0; }
.bat i { display: block; height: 100%; width: 80%; background: #fff; border-radius: 1.5px; }
.btn-side { position: absolute; width: 3px; background: #2a2a2d; border-radius: 2px; }
.btn-side.a { left: -3px; top: 18%; height: 5%; } .btn-side.b { left: -3px; top: 26%; height: 9%; } .btn-side.c { right: -3px; top: 27%; height: 13%; }


.table.cmp th:nth-child(2), .table.cmp td:nth-child(2) { color: var(--text); font-weight: 700; }
.table.cmp td { padding-right: 16px; }
.table.cmp td:nth-child(3) { color: var(--muted); }
.table.cmp td.yes { color: var(--ok); }
.table.cmp th:nth-child(2) { color: var(--accent-text); }


.fab { position: fixed; right: 18px; bottom: 18px; z-index: 30; display: flex; flex-direction: column; gap: 8px; }
.fab a { display: flex; align-items: center; gap: 8px; background: var(--surface2); border: 1px solid var(--border); color: var(--text); text-decoration: none; border-radius: 26px; padding: 10px 14px 10px 12px; font-weight: 700; font-size: 14px; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.8); }
.fab a:hover { border-color: var(--accent); }
.fab svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 860px) {
  .fab { bottom: calc(84px + env(safe-area-inset-bottom)); right: 12px; }
  .fab span { display: none; }
  .fab a { width: 44px; height: 44px; justify-content: center; padding: 0; }
  body:has(.drawer.on) .fab, body:has(.modal.on) .fab { display: none; }
}


.compat { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.compat-form { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 24px; display: grid; gap: 14px; }
.compat-out { background: #070707; border: 1px solid var(--border); border-radius: 14px; padding: 24px; }
.compat-out .res { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--border); }
.compat-out .res:last-child { border-bottom: 0; }
.compat-out .res b { display: block; }
.compat-out .res small { color: var(--muted); font-size: 14px; }
.compat-out .lamp { margin-top: 7px; }
.compat-out .compat-more { margin-top: 8px; font-size: 14px; color: var(--muted); }
.compat-out .compat-more summary { cursor: pointer; color: var(--text, #ECE8E1); }
.compat-out .compat-more ul { margin: 6px 0 0; padding-left: 18px; }
.compat-out .compat-more li { margin: 2px 0; }
@media (max-width: 860px) { .compat { grid-template-columns: 1fr; } }

/* Mechanic registration */
.mechanic-section { padding: 0 0 80px; }
.mechanic-form { display: grid; gap: 18px; }
.mechanic-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.mechanic-form legend { color: var(--muted); font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.mechanic-form legend span { font-weight: 400; }
.specialty-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.check-option { display: flex; flex-direction: row; align-items: center; gap: 9px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface2); color: var(--text); cursor: pointer; }
.check-option:has(input:checked) { border-color: var(--accent); }
.check-option input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.form-note { font-size: 13px; margin: 0; text-align: center; }
.mechanic-success { text-align: center; padding: 48px 24px; }
.mechanic-success h2 { margin: 12px 0 8px; }
.success-mark { margin: auto; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: 32px; font-weight: 800; }
.help-mechanic { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.help-mechanic h2 { margin: 6px 0 8px; }
@media (max-width: 600px) { .specialty-grid { grid-template-columns: 1fr; } .help-mechanic { align-items: stretch; flex-direction: column; } }
.tester-steps { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 16px; }
.tester-steps .card p { margin-bottom: 18px; }
.tester-steps .card:last-child p { margin-bottom: 0; }
.tester-note a { color: var(--accent-text); }

/* Hidden cart controls must not remain in the keyboard tab order. */
.drawer { visibility: hidden; }
.drawer.on { visibility: visible; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }
.tester-inapp { border-color: var(--accent); margin-bottom: 16px; }

/* Search landing pages: intentionally outside the main navigation, fully readable to visitors. */
.seo-page { max-width: 980px; padding-top: 36px; padding-bottom: 90px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 44px; padding: 0; color: var(--muted); font-size: 14px; }
.breadcrumbs li + li::before { content: "›"; margin-right: 8px; }
.breadcrumbs a { color: var(--muted); }
.seo-hero { max-width: 820px; margin-bottom: 48px; }
.seo-hero h1 { margin: 12px 0 18px; font-size: clamp(34px, 6vw, 62px); line-height: 1.08; overflow-wrap: anywhere; }
.seo-hero .mono { color: var(--accent); }
.severity { display: grid; gap: 6px; margin-top: 24px; padding: 18px 20px; border-left: 3px solid var(--accent); background: var(--surface2); }
.severity span { color: var(--muted); }
.seo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 48px; }
.seo-grid section { padding: 26px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.seo-grid section h2 { margin: 0 0 12px; font-size: 23px; }
.seo-grid section p:last-child, .seo-grid section ul:last-child, .seo-grid section ol:last-child { margin-bottom: 0; }
.seo-grid li { margin: 8px 0; }
.seo-cta { display: flex; justify-content: space-between; align-items: center; gap: 28px; margin: 52px 0; padding: 30px; border: 1px solid var(--accent); border-radius: 16px; background: linear-gradient(135deg, rgba(255,122,47,.12), var(--surface)); }
.seo-cta h2 { margin: 0 0 8px; }
.seo-cta p { margin: 0; color: var(--muted); }
.seo-cta > div:last-child { display: flex; flex-wrap: wrap; gap: 10px; flex: 0 0 auto; }
.seo-page details { border-bottom: 1px solid var(--border); padding: 16px 0; }
.seo-page summary { cursor: pointer; font-weight: 700; }
.seo-page details p { color: var(--muted); }
.related-codes, .code-directory { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; padding: 0; list-style: none; }
.related-codes a, .code-directory a { display: block; height: 100%; padding: 14px; border: 1px solid var(--border); border-radius: 10px; color: var(--text); }
.related-codes a:hover, .code-directory a:hover { border-color: var(--accent); }
.topic-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 48px; }
.topic-links h2 { flex-basis: 100%; }
.topic-links a { padding: 10px 14px; border: 1px solid var(--border); border-radius: 999px; color: var(--text); }
.seo-disclaimer { margin-top: 42px; color: var(--muted); font-size: 14px; }
@media (max-width: 720px) { .seo-grid, .related-codes, .code-directory { grid-template-columns: 1fr; } .seo-cta { align-items: stretch; flex-direction: column; } .seo-cta > div:last-child { flex-direction: column; } .seo-cta .btn { text-align: center; } }
.promo-video { width: 100%; max-width: 360px; height: auto; aspect-ratio: 9 / 16; justify-self: center; border-radius: 16px; background: #000; border: 1px solid var(--border); }
.delivery-eta { margin: 4px 0 16px; padding: 10px 14px; border-radius: 10px; background: rgba(255, 122, 47, 0.12); font-weight: 700; }
.lp-hero { padding: 48px 0 24px; }
.lp-hero h1 em { color: var(--accent-text); font-style: normal; }
.lp-shot { width: 100%; max-width: 300px; height: auto; justify-self: center; border-radius: 28px; border: 1px solid var(--border); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18); }
.lp-badges { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lp-badges li { font-weight: 700; font-size: 14px; padding: 8px 12px; border-radius: 999px; background: rgba(255, 122, 47, 0.12); }
.lp-why h3 { font-size: 19px; margin-bottom: 6px; }

.scan-demo-result { padding: 18px 24px; border-left: 1px solid var(--border); display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.scan-demo-result b { font-size: 17px; line-height: 1.5; }
.scan-demo-result small { color: var(--muted); font-size: 13px; line-height: 1.6; }
.app-preview { margin: 0; width: 100%; max-width: 300px; justify-self: center; }
.app-preview img { display: block; width: 100%; height: auto; border-radius: 24px; border: 1px solid var(--border); }
.app-preview figcaption { color: var(--muted); font-size: 13px; line-height: 1.6; margin-top: 12px; }
@media (max-width: 760px) { .scan-demo-result { border-left: 0; border-top: 1px solid var(--border); } }

/* Payment choice (unused for now) */
.paychoice { border: 0; padding: 0; margin: 4px 0 10px; display: grid; gap: 8px; }
.paychoice legend { font-weight: 600; margin-bottom: 6px; }
.payopt { display: flex !important; flex-direction: row !important; gap: 10px; align-items: flex-start; border: 1px solid var(--line, #ddd); border-radius: 12px; padding: 10px 12px; cursor: pointer; }
.payopt input { width: 18px !important; height: 18px; padding: 0; margin-top: 3px; flex: 0 0 auto; accent-color: var(--accent); }
.payopt span { display: grid; gap: 2px; }
.payopt small { color: var(--muted, #666); font-size: 13px; }
.payopt:has(input:checked) { border-color: var(--accent, #e85d04); box-shadow: 0 0 0 1px var(--accent, #e85d04) inset; }
.paylogos { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.paylogos svg { height: 26px; width: auto; border-radius: 4px; background: #fff; }

/* Avtohekim additions: HTML phone mockups (no screenshots), WhatsApp button, "coming soon" badge. */
.soon { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 18px; border-radius: 8px; border: 1px dashed var(--border); color: var(--muted); font-weight: 700; font-size: 15px; }
.az-phone { width: 100%; max-width: 320px; justify-self: center; margin: 0 auto; background: #0c0c0d; color: #f2efe9; border: 8px solid #222; border-radius: 34px; padding: 22px 16px; font-size: 14px; line-height: 1.45; }
.az-phone .t { font-size: 13px; color: #9a958c; margin-bottom: 4px; }
.az-phone .st { color: #ff5a4a; font-weight: 800; font-size: 20px; text-align: center; margin: 4px 0 14px; }
.az-phone .st.ok { color: #56c08a; }
.az-phone .btn2 { background: #ff7a2f; color: #111; font-weight: 800; text-align: center; border-radius: 10px; padding: 10px; margin-bottom: 12px; }
.az-phone .row2 { display: flex; gap: 8px; margin-bottom: 12px; }
.az-phone .box { flex: 1; border: 1px solid #333; border-radius: 10px; padding: 8px 10px; font-size: 12px; color: #9a958c; }
.az-phone .box b { display: block; font-size: 20px; color: #f2efe9; font-family: var(--mono); }
.az-phone .box b.y { color: #f5b73b; }
.az-phone .box b.r { color: #ff5a4a; }
.az-phone .code { border: 1px solid #6b4a1f; border-radius: 10px; padding: 10px 12px; font-size: 13px; margin-bottom: 10px; }
.az-phone .code .c { font-family: var(--mono); font-weight: 700; font-size: 20px; }
.az-phone .code .r { color: #ff5a4a; font-weight: 700; margin: 2px 0 4px; }
.az-phone .li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid #2b2b2e; padding: 8px 0; font-size: 13px; color: #c9c4bb; }
.az-phone .li b { font-family: var(--mono); color: #f2efe9; }
.az-cap { color: var(--muted); font-size: 14px; text-align: center; margin: 10px 0 0; }
.adapter-shot { background: #fff; border-radius: 16px; padding: 10px; border: 1px solid var(--border); }
.adapter-shot img { width: 100%; height: auto; }
a.wa-btn, a.wa-btn:hover { color: #fff; }
.wa-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; background: #25D366; color: #fff; font-weight: 800; font-size: 17px; text-decoration: none; border-radius: 8px; padding: 0 22px; }
.wa-btn svg { width: 24px; height: 24px; flex: none; fill: currentColor; }
.order-box { display: grid; grid-template-columns: 1.1fr 1fr; gap: 14px; }
.order-box .card ul { padding-left: 20px; color: var(--muted); margin: 8px 0 0; }
.order-price { font: 800 clamp(40px, 6vw, 60px)/1 var(--sans); margin: 6px 0 12px; }
.order-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 8px; }
.placeholder { background: rgba(242, 107, 29, 0.12); border-radius: 4px; padding: 0 4px; }
@media (max-width: 860px) { .order-box { grid-template-columns: 1fr; } }
