/* ============================================================
   Pin7 Diagnostics — landing page styles
   Dark automotive theme · amber accent · system-ish fonts
   ============================================================ */

:root {
  --bg: #06080d;
  --bg-soft: #0a0e15;
  --panel: #0d121b;
  --card: #0f141f;
  --card-hi: #131a28;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #edf2f9;
  --muted: #94a3b8;
  --dim: #5d6b80;
  --amber: #ffb020;
  --amber-2: #ff7a00;
  --amber-ink: #241500;
  --green: #2fd08d;
  --red: #ff4e5b;
  --cyan: #37c6ff;
  --grad: linear-gradient(135deg, #ffb020 0%, #ff7a00 100%);
  --radius: 18px;
  --shadow-card: 0 10px 34px rgba(0, 0, 0, 0.45);
  --glow-amber: 0 10px 30px rgba(255, 140, 0, 0.28);
  --font-display: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

p { margin: 0; }

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; }

.container { width: min(1160px, 92%); margin-inline: auto; }

.section { padding: 96px 0; position: relative; }
.section--soft { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%); }

/* ---------- shared bits ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--grad);
  border-radius: 2px;
}

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 17px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary {
  background: var(--grad);
  color: var(--amber-ink);
  box-shadow: var(--glow-amber);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(255, 140, 0, 0.38); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.32); background: rgba(255, 255, 255, 0.06); }

.btn-lg { padding: 17px 34px; font-size: 16px; }

/* ---------- background ambience ---------- */

.ambience { pointer-events: none; position: absolute; inset: 0; overflow: hidden; }
.ambience .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.16;
}
.ambience .blob--amber { width: 560px; height: 560px; background: #ff8a00; top: -260px; right: -140px; }
.ambience .blob--cyan  { width: 480px; height: 480px; background: #1493d0; bottom: -220px; left: -160px; opacity: 0.09; }

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 20%, transparent 75%);
}

/* ---------- header ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(6, 8, 13, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 70px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.brand .logo-mark {
  width: 34px; height: 34px;
  flex: none;
}
.brand small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.brand .logo-text { line-height: 1.05; }

.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a { color: var(--muted); font-size: 14px; font-weight: 600; transition: color 0.15s; }
.nav__links a:hover { color: var(--text); }

.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav .btn { padding: 10px 20px; font-size: 14px; }

.nav--scrolled { box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35); }

.nav__burger {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  width: 42px; height: 42px;
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ---------- language switcher ---------- */

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 3px;
  flex: none;
}
.lang-switch button {
  background: none;
  border: none;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.lang-switch button:hover { color: var(--text); }
.lang-switch button.active {
  background: var(--grad);
  color: var(--amber-ink);
}
.nav-langs {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.nav-langs-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}
.nav-menu-cta {
  display: none;
  margin-bottom: 10px;
}
.nav-langs .lang-switch { margin-left: auto; }
/* Nav läheb burgeriks juba 1060px juures, mitte 760px juures: kuus linki +
   keelelüliti + ostunupp ei mahu 761–1060px vahemikku ära. Mõõdetud enne
   parandust: 137px ületäitumine @900px ja 18px @1024px — leht viskas
   horisontaalse kerimisriba sisse, mida keegi ei märganud, sest enamik
   vaatab lehte kas telefonis või laual. */
@media (min-width: 1061px) {
  .nav-langs { display: none; }
}
@media (max-width: 1060px) {
  .nav__cta .lang-switch { display: none; }
}

/* ---------- hero ---------- */

.hero { padding: 88px 0 70px; position: relative; overflow: hidden; overflow: clip; }

@media (max-width: 760px) and (orientation: portrait) {
  .hero { padding-top: 56px; }
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 800;
  margin-bottom: 22px;
}
.hero h1 .accent {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead {
  color: var(--muted);
  font-size: 18px;
  max-width: 540px;
  margin-bottom: 34px;
}

.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero .price-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: #1c2b14;
  background: var(--green);
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 18px rgba(47, 208, 141, 0.3);
  margin-bottom: 20px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
}
.hero__trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero__trust svg { width: 15px; height: 15px; color: var(--green); flex: none; }
.hero__trust .soon b { color: var(--amber); }

/* hero visual */
.hero__visual { position: relative; }

.window-frame {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  overflow: hidden;
}
.window-frame__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--line);
}
.window-frame__bar i {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: #3a4657;
}
.window-frame__bar i:nth-child(1) { background: #ff5f57; }
.window-frame__bar i:nth-child(2) { background: #febc2e; }
.window-frame__bar i:nth-child(3) { background: #28c840; }
.window-frame__bar .win-title {
  margin-left: 10px;
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}
.window-frame img { width: 100%; height: auto; }
.window-frame__glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(255, 122, 0, 0.10));
  pointer-events: none;
}

.hero-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  background: rgba(13, 18, 27, 0.92);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 11px 15px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(8px);
  /* Telefonikestad on z-index: 2 – ilma selleta jääb märgis nende TAHA
     ja tekst on arvutivaates kinni (mobiilis hoiab ära eraldi reegel). */
  z-index: 3;
  animation: float 5s ease-in-out infinite;
}
.hero-chip .chip-ic {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex: none;
}
.hero-chip .chip-ic svg { width: 19px; height: 19px; }
.hero-chip b { font-family: var(--font-display); font-size: 13.5px; display: block; line-height: 1.2; }
.hero-chip span { font-size: 11.5px; color: var(--muted); display: block; line-height: 1.25; }
/* tekstiveerg: lase pikemal lausel murda, mitte ei venita märgist laiemaks */
.hero-chip > span:not(.chip-ic) { max-width: 236px; }
.hero-chip--ok { bottom: -24px; left: -28px; }
.hero-chip--ok .chip-ic { background: rgba(47, 208, 141, 0.14); color: var(--green); }
.hero-chip--skc { top: 92px; right: -26px; animation-delay: 1.2s; }
.hero-chip--skc .chip-ic { background: rgba(255, 176, 32, 0.14); color: var(--amber); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ---------- marquee ---------- */

.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.015);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; }
.marquee__group > * {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 26px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.marquee__group > * svg { width: 17px; height: 17px; color: var(--amber); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- features ---------- */

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.feature-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  overflow: hidden;
}
.feature-card::after {
  content: "";
  position: absolute;
  inset: auto -30% -60% auto;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255, 140, 0, 0.13), transparent 70%);
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(255, 176, 32, 0.4); background: var(--card-hi); }
.feature-card:hover::after { opacity: 1; }

.feature-card .f-ic {
  width: 46px; height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255, 176, 32, 0.16), rgba(255, 122, 0, 0.05));
  border: 1px solid rgba(255, 176, 32, 0.22);
  color: var(--amber);
  margin-bottom: 18px;
}
.feature-card .f-ic svg { width: 23px; height: 23px; }
.feature-card h3 { font-size: 17px; margin-bottom: 9px; }
.feature-card p { font-size: 14px; color: var(--muted); }
.feature-card .tag {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(47, 208, 141, 0.1);
  border: 1px solid rgba(47, 208, 141, 0.22);
  padding: 3px 9px;
  border-radius: 999px;
}

/* ---------- screens gallery ---------- */

.shots-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 22px;
}
.shot {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.shot:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.shot img { width: 100%; height: auto; }
.shot figcaption {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 20px 18px;
  border-top: 1px solid var(--line);
}
.shot figcaption .dot {
  margin-top: 6px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(47, 208, 141, 0.14);
  flex: none;
}
.shot figcaption b { font-family: var(--font-display); font-size: 15px; display: block; margin-bottom: 2px; }
.shot figcaption span { font-size: 13.5px; color: var(--muted); }
.shot--tall { grid-row: span 2; }
.shots-grid .shot--small figcaption span { font-size: 13px; }

/* ---------- screens gallery: Android phone shots ---------- */

.phone-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.shot--phone .shot-phone { padding: 22px 0 8px; }
.shot--phone .shot-phone img {
  width: min(196px, 66%);
  border-radius: 26px;
  border: 7px solid #1b2331;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.55);
}
@media (max-width: 1020px) {
  .phone-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .phone-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- compatibility ---------- */

.compat-wrap {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 26px;
  align-items: start;
}
.compat-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.compat-card + .compat-card { margin-top: 18px; }
.compat-card h3 { font-size: 18px; margin-bottom: 6px; display: flex; align-items: center; gap: 9px; }
.compat-card h3 svg { width: 20px; height: 20px; color: var(--amber); }
.compat-card > p { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }

.brand-group { margin-bottom: 18px; }
.brand-group:last-child { margin-bottom: 0; }
.brand-group h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 10px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #c6d2e0;
}
.chip small { color: var(--dim); font-weight: 500; }
.chip--k { border-color: rgba(47, 208, 141, 0.3); }
.chip--k::after {
  content: "K";
  display: inline-grid;
  place-items: center;
  width: 15px; height: 15px;
  margin-left: 7px;
  border-radius: 50%;
  font-size: 9.5px;
  font-weight: 800;
  background: rgba(47, 208, 141, 0.16);
  color: var(--green);
  vertical-align: middle;
}
.chip--can { border-color: rgba(240, 180, 41, 0.4); }
.chip--can::after {
  content: "K*";
  display: inline-grid;
  place-items: center;
  width: auto;
  min-width: 17px;
  height: 15px;
  margin-left: 7px;
  padding: 0 3px;
  border-radius: 8px;
  font-size: 8.5px;
  font-weight: 800;
  background: rgba(240, 180, 41, 0.16);
  color: var(--amber);
  vertical-align: middle;
}

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.check-list li { display: flex; gap: 11px; font-size: 14.5px; color: #cdd7e3; }
.check-list li svg { width: 19px; height: 19px; color: var(--green); flex: none; margin-top: 2px; }
.check-list li b { color: var(--text); }

.note-box {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--muted);
  background: rgba(255, 176, 32, 0.05);
  border: 1px solid rgba(255, 176, 32, 0.16);
  border-radius: 12px;
  padding: 12px 15px;
}
.note-box svg { width: 15px; height: 15px; vertical-align: -2px; color: var(--amber); margin-right: 6px; }

/* ---------- how it works ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px 26px;
}
.step .step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--amber-ink);
  background: var(--grad);
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  box-shadow: var(--glow-amber);
}
.step h3 { font-size: 18px; margin-bottom: 9px; }
.step p { color: var(--muted); font-size: 14.5px; }
.step code {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 12.5px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 6px;
  color: var(--cyan);
}

/* ---------- pricing ---------- */

.pricing { position: relative; }
.pricing-card {
  position: relative;
  max-width: 560px;
  margin-inline: auto;
  background: linear-gradient(180deg, var(--card-hi), var(--card));
  border: 1px solid rgba(255, 176, 32, 0.34);
  border-radius: 26px;
  padding: 44px 44px 38px;
  text-align: center;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5), 0 0 60px rgba(255, 122, 0, 0.07);
  overflow: hidden;
}
.pricing-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad);
}
.pricing-card .pc-top { margin-bottom: 26px; }
.pricing-card .pc-top h3 { font-size: 22px; }
.pricing-card .pc-top p { color: var(--muted); font-size: 14.5px; margin-top: 6px; }

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 6px;
}
.price .amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 72px;
  letter-spacing: -0.04em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
html[lang="et"] .price { flex-wrap: wrap; }
html[lang="et"] .price .amount { font-size: clamp(24px, 5vw, 40px); }
.price .per { color: var(--muted); font-size: 15px; font-weight: 600; }
.price-note { color: var(--dim); font-size: 13px; margin-bottom: 26px; }

.pc-list {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  text-align: left;
  display: grid;
  gap: 12px;
}
.pc-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: #cdd7e3; }
.pc-list li svg { width: 19px; height: 19px; color: var(--green); flex: none; margin-top: 3px; }
.pc-list li b { color: var(--text); }
.pc-list li .pc-soon b { color: var(--amber); }

.pc-foot { margin-top: 16px; font-size: 12.5px; color: var(--dim); }
.pc-foot a { color: var(--amber); font-weight: 600; }

/* bank transfer (IBAN) option in the pricing card */
.iban-opt {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  text-align: left;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.iban-ic {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--muted);
}
.iban-ic svg { width: 17px; height: 17px; }
.iban-opt .iban-txt { flex: 1; min-width: 0; }
.iban-opt p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.55; }
.iban-opt .iban-txt p + p { margin-top: 6px; }
.iban-opt p b { color: var(--text); }
.iban-opt a { color: var(--amber); font-weight: 600; }
.iban-opt .iban-lang { margin-top: 6px; font-size: 12.5px; color: var(--dim); }

/* KKL cable — coming soon notice */
/* Out of stock badge */
.badge-stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(255, 75, 75, 0.12);
  color: #ff5252;
  border: 1px solid rgba(255, 75, 75, 0.35);
  margin-bottom: 12px;
}
.badge-stock svg { width: 14px; height: 14px; }

.cs-note {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px dashed rgba(255, 170, 0, 0.45);
  border-radius: 14px;
  background: rgba(255, 170, 0, 0.06);
  text-align: left;
}
.cs-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #1a1204;
  background: linear-gradient(135deg, #ffb020, #ff7a00);
  box-shadow: 0 4px 14px rgba(255, 136, 0, 0.28);
}
.cs-badge svg { width: 13px; height: 13px; }
.cs-note p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.55; }
.cs-note p b { color: var(--text); }
.cs-note a { color: var(--amber); font-weight: 600; }

/* ---------- FAQ ---------- */

.faq-list { max-width: 780px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: rgba(255, 176, 32, 0.3); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 19px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15.5px;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-q { flex: 1; min-width: 0; }
.faq-item summary .plus {
  width: 26px; height: 26px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  transition: transform 0.2s ease, background 0.2s;
  color: var(--muted);
}
.faq-item summary .plus svg { width: 13px; height: 13px; }
.faq-item[open] summary .plus { transform: rotate(45deg); background: rgba(255, 176, 32, 0.14); border-color: rgba(255, 176, 32, 0.4); color: var(--amber); }
.faq-item .faq-body { padding: 0 22px 20px; color: var(--muted); font-size: 14.5px; }
.faq-item .faq-body a { color: var(--amber); font-weight: 600; }
.faq-item .faq-body code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 12.5px;
  background: rgba(255, 255, 255, 0.06);
  padding: 1px 6px;
  border-radius: 6px;
  color: var(--cyan);
}

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 54px 0 40px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.15fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer .brand { margin-bottom: 14px; }
.footer__grid p { color: var(--muted); font-size: 13.5px; max-width: 340px; }
.footer h5 {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 14px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer ul a { color: var(--muted); font-size: 14px; }
.footer ul a:hover { color: var(--amber); }

/* inline credit links (kw1281test attribution) */
.credit-link {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 176, 32, 0.4);
  transition: color 0.15s ease;
}
.credit-link:hover { color: #ffd080; }
.footer__bottom a.credit-link { color: var(--muted); text-decoration-color: rgba(148, 163, 184, 0.4); }
.footer__bottom a.credit-link:hover { color: var(--amber); }
.footer__bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  justify-content: space-between;
  color: var(--dim);
  font-size: 12.5px;
}
.footer__bottom .disclaimer { color: var(--dim); }

/* seller identity block in the footer (filled from app.js LEGAL) */
.footer__seller {
  margin-top: 16px;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--dim);
}
.footer__seller b { color: var(--text); }

/* ---------- long-text (legal) pages ---------- */

.prose { max-width: 800px; }
.prose section { margin-bottom: 34px; }
.prose section:last-of-type { margin-bottom: 26px; }
.prose h3 {
  font-size: 19px;
  margin-bottom: 10px;
  color: var(--text);
}
.prose p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 12px;
}
.prose ul {
  margin: 0 0 12px;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
}
.prose li::marker { color: var(--amber); }
.prose b, .prose strong { color: var(--text); }
.prose a {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 176, 32, 0.4);
}
.prose a:hover { color: #ffd080; }
.legal-note {
  border-left: 3px solid rgba(255, 176, 32, 0.5);
  border-radius: 0 10px 10px 0;
  background: var(--bg-soft);
  padding: 14px 18px;
  color: var(--dim) !important;
  font-size: 13.5px !important;
  line-height: 1.6 !important;
  max-width: 800px;
}

/* ---------- cable shop page ---------- */

.shop-crumb { margin-bottom: 24px; }
.shop-crumb a { color: var(--muted); font-size: 14px; }
.shop-crumb a:hover { color: var(--amber); }

.product {
  display: grid;
  grid-template-columns: minmax(0, 4.5fr) minmax(0, 5.5fr);
  gap: 36px;
  align-items: start;
  background: linear-gradient(180deg, var(--card-hi), var(--card));
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow-card);
}
.product__media img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
}
.product__attrib { margin-top: 10px; font-size: 11.5px; color: var(--dim); }
.product__attrib a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.product__attrib a:hover { color: var(--amber); }
.product__info h2 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 10px; }
.product__tag { color: var(--amber); font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.product__sub { color: var(--muted); font-size: 14.5px; }
.price-row { display: flex; align-items: baseline; gap: 12px; margin: 20px 0 4px; }
.price-row .amount { font-family: var(--font-display); font-size: 44px; font-weight: 800; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.price-row .per { color: var(--muted); font-size: 14px; }
.product__list { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; gap: 10px; }
.product__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: #cdd7e3; }
.product__list li svg { width: 18px; height: 18px; color: var(--green); flex: none; margin-top: 3px; }
.product__list li b { color: var(--text); }
.product__note { margin-top: 14px; font-size: 13px; color: var(--muted); max-width: 46ch; }
.product__note b { color: var(--text); }

@media (max-width: 880px) {
  .product { grid-template-columns: 1fr; padding: 18px; gap: 22px; }
}

/* ---------- download (post-purchase) page ---------- */

.dl-card {
  position: relative;
  max-width: 620px;
  margin-inline: auto;
  background: linear-gradient(180deg, var(--card-hi), var(--card));
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  padding: 46px 40px 40px;
  text-align: center;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.dl-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad);
}
.dl-gate h3, .dl-ready h3 { font-size: 21px; margin-bottom: 8px; }
.dl-gate > p, .dl-ready > p { color: var(--muted); font-size: 14.5px; }
.dl-lock, .dl-ok {
  width: 62px; height: 62px;
  border-radius: 18px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
}
.dl-lock { background: rgba(255, 176, 32, 0.12); border: 1px solid rgba(255, 176, 32, 0.3); color: var(--amber); }
.dl-lock svg { width: 28px; height: 28px; }
.dl-ok { background: rgba(47, 208, 141, 0.12); border: 1px solid rgba(47, 208, 141, 0.35); color: var(--green); }
.dl-ok svg { width: 30px; height: 30px; }
.dl-form { display: flex; gap: 12px; margin-top: 24px; }
.dl-input {
  flex: 1;
  min-width: 0;
  background: #0a0e15;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 15px;
  letter-spacing: 0.06em;
  padding: 13px 20px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.dl-input::placeholder { color: var(--dim); letter-spacing: 0.06em; }
.dl-input:focus { border-color: rgba(255, 176, 32, 0.6); box-shadow: 0 0 0 3px rgba(255, 176, 32, 0.15); }
.dl-error { display: none; color: var(--red); font-size: 13.5px; margin-top: 14px; }
.dl-error.show { display: block; }
.dl-hint { margin-top: 16px; font-size: 12.5px; color: var(--dim); }
.dl-gate.hide { display: none; }
.dl-ready { display: none; }
.dl-ready.show { display: block; }
.dl-ready .dl-meta { font-size: 12.5px; color: var(--dim); margin-bottom: 24px; }
.dl-steps { margin-top: 28px; text-align: left; }
.dl-steps li { font-size: 14px; }
.dl-steps code {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 12.5px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 6px;
  color: var(--cyan);
}
.dl-card .note-box { margin-top: 24px; text-align: left; }
.dl-card .note-box a { color: var(--amber); font-weight: 600; }

@media (max-width: 560px) {
  .dl-card { padding: 36px 22px 32px; }
  .dl-form { flex-direction: column; }
}

/* ---------- toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  transform: translate(-50%, 140%);
  z-index: 120;
  background: #10151f;
  border: 1px solid rgba(255, 176, 32, 0.45);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  padding: 20px 24px;
  width: min(440px, 90%);
  text-align: center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.toast.show { transform: translate(-50%, 0); }
.toast b { font-family: var(--font-display); display: block; margin-bottom: 4px; font-size: 16px; }
.toast p { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.toast .btn { padding: 10px 18px; font-size: 13.5px; }
.toast-pay {
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px dashed rgba(255, 176, 32, 0.4);
  border-radius: 12px;
  background: rgba(255, 176, 32, 0.06);
  display: grid;
  gap: 5px;
  text-align: left;
  font-size: 13px;
  color: var(--muted);
}
.toast-pay b { color: var(--text); }

/* ---------- reveal ---------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */

@media (max-width: 1020px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 80px; }
  .hero__grid > * { min-width: 0; }
  .hero__visual { max-width: 640px; margin-inline: auto; width: 100%; }
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compat-wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-chip--ok { left: -12px; }
  .hero-chip--skc { right: -12px; }
  .footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* Nav kollapseerub 1060px-st (põhjus ülal .nav-langs juures). Need reeglid
   olid varem 760px plokis, aga ülejäänud mobiilireeglid (hero, gridid,
   sektsioonid) jäävad ikkagi 760px peale — ainult nav liikus üles. */
@media (max-width: 1060px) {
  .nav__links, .nav__cta .btn-nav {
    display: none;
  }
  .nav-menu-cta { display: inline-flex; }
  .nav__burger { display: inline-flex; }
  .nav__links.open {
    display: flex;
    position: absolute;
    top: 70px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: rgba(6, 8, 13, 0.98);
    padding: 14px 5%;
    border-bottom: 1px solid var(--line);
  }
  .nav__links.open a { padding: 10px 0; width: 100%; }
}

@media (max-width: 760px) {
  .section { padding: 72px 0; }
  .shots-grid { grid-template-columns: minmax(0, 1fr); }
  .shot--tall { grid-row: auto; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .features-grid { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .pricing-card { padding: 34px 22px 30px; }
  .hero { padding-top: 60px; }
  .hero-chip { display: none; }
  .hero-chip--fallback { display: flex; }
  .hero-chip--fallback { position: relative; inset: auto; margin-top: 14px; animation: none; }
  /* NB: hiljem failis olevad ".hero__visual .hero-chip--skc" reeglid (0,2,0)
     võitsid ülaloleva reegli (0,1,0) ja nihutasid märgise 150px üles telefoni
     TAHA. Seepärast on siin kõrgem spetsiifilisus – märgis peab olema
     voolus telefoni all, mitte selle taga kinni. */
  .hero__visual .hero-chip.hero-chip--fallback {
    position: relative;
    top: auto; right: auto; bottom: auto; left: auto;
    margin-top: 14px;
    animation: none;
  }
  .hero-chip--fallback .chip-ic { width: 28px; height: 28px; }
  .hero-chip--fallback .chip-ic svg { width: 15px; height: 15px; }
  .hero-chip--fallback b { font-size: 12px; }
  .hero-chip--fallback span { font-size: 10.5px; }
  .hero__cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
  .hero-chip { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .feature-card, .shot { transition: none; }
}

/* ============================================================
   Hero visual — phone first, Windows window behind
   ============================================================ */

.hero-stack { position: relative; padding: 6px 0 30px; }

.hero-stack__win {
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  transform: rotate(1.3deg);
  opacity: 0.94;
}

.hero-stack__phone {
  position: relative;
  width: min(52%, 262px);
  margin: 76px 0 0 1%;
  border-radius: 34px;
  border: 9px solid #1b2331;
  background: #05070c;
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.62), 0 0 0 1px rgba(255, 255, 255, 0.05);
  overflow: hidden;
  z-index: 2;
}
.hero-stack__phone::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(255, 122, 0, 0.10));
  pointer-events: none;
}
.hero-stack__phone img { width: 100%; height: auto; display: block; }

/* hero became Android-only: two phones instead of a desktop window */
.hero-stack__phone--back {
  position: absolute;
  top: 0;
  right: 0;
  width: min(46%, 230px);
  margin: 0;
  transform: rotate(3.4deg);
  opacity: 0.92;
  z-index: 1;
}
.hero-stack__phone--front {
  width: min(58%, 286px);
  margin: 96px 0 0 2%;
  z-index: 2;
}

/* chips repositioned for the stacked hero */
.hero__visual .hero-chip--ok { bottom: 44px; left: auto; right: -14px; top: auto; }
.hero__visual .hero-chip--skc { top: auto; bottom: 208px; right: 12px; }

/* ============================================================
   Platform cards (Android primary, Windows included)
   ============================================================ */

.plat-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 20px;
  align-items: start;
}

.plat-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px 26px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.plat-card--primary {
  border-color: rgba(255, 176, 32, 0.35);
  background:
    linear-gradient(180deg, rgba(255, 176, 32, 0.07), rgba(255, 176, 32, 0) 42%),
    var(--panel);
}
.plat-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 176, 32, 0.16);
  color: var(--amber);
  border: 1px solid rgba(255, 176, 32, 0.38);
}
.plat-badge--ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  border-color: var(--line-strong);
}
.plat-ic {
  width: 46px; height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: rgba(255, 176, 32, 0.12);
  color: var(--amber);
  border: 1px solid rgba(255, 176, 32, 0.28);
}
.plat-card--alt .plat-ic {
  background: rgba(55, 198, 255, 0.10);
  color: var(--cyan);
  border-color: rgba(55, 198, 255, 0.26);
}
.plat-ic svg { width: 24px; height: 24px; }
.plat-card h3 { font-size: 20px; margin-bottom: 9px; }
.plat-card > p { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }
.plat-card .check-list { margin-bottom: 24px; }
.plat-card .btn { width: 100%; justify-content: center; text-align: center; margin-top: auto; }
.plat-foot { margin-top: 11px; font-size: 12px; color: var(--dim); text-align: center; }
.plat-note { margin-top: 24px; text-align: center; color: var(--muted); font-size: 14px; }
.plat-note b { color: var(--text); }
.plat-fine {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  justify-content: center;
  max-width: 800px;
  margin: 14px auto 0;
  padding: 13px 18px;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--dim);
  font-size: 12.8px;
  line-height: 1.55;
  text-align: left;
}
.plat-fine svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--amber); }

@media (max-width: 880px) {
  .plat-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-stack__win { display: none; }
  .hero-stack__phone { width: min(62%, 270px); margin: 6px auto 0; }
  /* two-phone hero on small screens: the back phone peeks out behind */
  .hero-stack { padding: 6px 0 18px; }
  .hero-stack__phone--back {
    width: min(42%, 178px);
    top: 4px;
    right: 1%;
    transform: rotate(5.5deg);
    opacity: 0.72;
  }
  .hero-stack__phone--front {
    width: min(60%, 252px);
    margin: 38px auto 0 3%;
  }
  .hero__visual .hero-chip--ok { bottom: 0; right: 0; }
  .hero__visual .hero-chip--skc { bottom: 150px; right: -6px; }
}

/* ---------- download page: secondary (Windows) block ---------- */

.dl-alt {
  margin-top: 26px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  display: grid;
  gap: 14px;
  justify-items: stretch;
  text-align: center;
}
.dl-alt p { font-size: 13.5px; color: var(--muted); }
.dl-alt p b { color: var(--text); }

/* pikemad nupud ei tohi kaardist üle ulatuda */
.dl-ready .btn-lg,
.dl-alt .btn {
  width: 100%;
  white-space: normal;
  text-align: center;
  justify-content: center;
}

/* ---------- screens: phone screenshot ---------- */

.shot--wide { grid-column: 1 / -1; }
.shot-phone {
  display: flex;
  justify-content: center;
  padding: 26px 0 10px;
  background: radial-gradient(circle at 50% 0%, rgba(255, 176, 32, 0.08), transparent 68%);
}
.shot-phone img {
  width: min(262px, 58%);
  border-radius: 30px;
  border: 8px solid #1b2331;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55);
}

/* ---------- demo: mida demo teeb vs mida lisab täisversioon ----------
   Kitsal ekraanil hoiavad veerud kitsad ainult ikoonid (linnuke / lukk),
   seega tekst mahub murduma ega lähe kunagi ekraanist välja. */

.cmp {
  margin: 20px 0 2px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  text-align: left;
}
.cmp table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}
.cmp caption {
  padding: 13px 14px 11px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  text-align: left;
}
.cmp th,
.cmp td {
  padding: 9px 14px;
  font-size: 13.5px;
  overflow-wrap: break-word;
}
.cmp thead th {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
  text-align: center;
  vertical-align: bottom;
  border-bottom: 1px solid var(--line);
}
.cmp thead th:first-child { text-align: left; }
.cmp tbody th {
  font-weight: 500;
  line-height: 1.4;
  color: #cdd7e3;
  text-align: left;
  border-top: 1px solid var(--line);
}
.cmp tbody td {
  width: 56px;
  text-align: center;
  border-top: 1px solid var(--line);
}
.cmp tbody tr:first-child th,
.cmp tbody tr:first-child td { border-top: 0; }
.cmp svg { width: 17px; height: 17px; vertical-align: -3px; }
.cmp .y { color: var(--green); }
.cmp .n { color: var(--amber); }
.cmp-legend {
  margin: 0;
  padding: 11px 14px 13px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--dim);
}

/* ekraanilugeja jaoks peidetud tekst (ikoonide tähendus) */
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   Mudelipõhine otsing (index.html → #compatibility)
   Kasutab ainult muutujaid, seega töötab nii tumedas kui heledas
   teemas ilma eraldi ülekirjutuseta. Värvitoonid on color-mix-iga
   teema värvi pealt, rgba() on varuks vanematele brauseritele.
   ============================================================ */

.lookup {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 26px;
  margin-bottom: 26px;
  box-shadow: var(--shadow-card);
}
.lookup-head { margin-bottom: 18px; }
.lookup-head h3 { font-size: 21px; margin-bottom: 6px; }
.lookup-head p { color: var(--muted); font-size: 14.5px; }

.lookup-form { display: flex; gap: 12px; }
.lookup-input {
  flex: 1;
  min-width: 0;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15.5px;
  padding: 14px 20px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.lookup-input::placeholder { color: var(--dim); }
.lookup-input:focus {
  border-color: rgba(47, 208, 141, 0.6);
  border-color: color-mix(in srgb, var(--green) 65%, transparent);
  box-shadow: 0 0 0 3px rgba(47, 208, 141, 0.14);
}

.lookup-try { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; }
.lookup-try-lbl { font-size: 12.5px; color: var(--dim); font-weight: 600; }
.lookup-ex {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 7px 12px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.lookup-ex:hover {
  color: var(--text);
  border-color: rgba(47, 208, 141, 0.5);
  border-color: color-mix(in srgb, var(--green) 50%, transparent);
}

.lookup-out { margin-top: 20px; }
.lookup-idle { color: var(--muted); font-size: 14.5px; }

.lookup-card {
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--bg-soft);
  padding: 20px 22px;
}
.lookup-card--ok {
  border-color: rgba(47, 208, 141, 0.45);
  border-color: color-mix(in srgb, var(--green) 45%, transparent);
}
.lookup-card--partial {
  border-color: rgba(224, 138, 0, 0.5);
  border-color: color-mix(in srgb, var(--amber) 50%, transparent);
}
.lookup-card--no {
  border-color: rgba(217, 45, 60, 0.42);
  border-color: color-mix(in srgb, var(--red) 42%, transparent);
}

.lookup-verdict { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.lookup-ic { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; }
.lookup-ic svg { width: 19px; height: 19px; }
.lookup-card--ok .lookup-ic { background: rgba(47, 208, 141, 0.15); background: color-mix(in srgb, var(--green) 15%, transparent); color: var(--green); }
.lookup-card--partial .lookup-ic { background: rgba(224, 138, 0, 0.16); background: color-mix(in srgb, var(--amber) 16%, transparent); color: var(--amber); }
.lookup-card--no .lookup-ic { background: rgba(217, 45, 60, 0.14); background: color-mix(in srgb, var(--red) 14%, transparent); color: var(--red); }
.lookup-card--info .lookup-ic { background: var(--card); border: 1px solid var(--line); color: var(--muted); }
.lookup-verdict b { display: block; font-family: var(--font-display); font-size: 17px; line-height: 1.3; }
.lookup-car { color: var(--muted); font-size: 14px; }

.lookup-facts { margin: 0 0 14px; display: grid; gap: 11px; }
.lookup-row { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.lookup-row dt {
  color: var(--dim);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.lookup-row dd { margin: 0; font-size: 14.5px; }
.lookup-dim { display: block; color: var(--dim); font-size: 13px; margin-top: 2px; }

.lookup-notes { border-top: 1px solid var(--line); padding-top: 12px; margin-bottom: 10px; }
.lookup-notes b {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 8px;
}
.lookup-notes ul { margin: 0; padding-left: 18px; display: grid; gap: 7px; color: var(--muted); font-size: 14px; }
.lookup-notes li::marker { color: var(--amber); }

.lookup-hint { color: var(--muted); font-size: 13.5px; }
.lookup-hint + .lookup-hint { margin-top: 8px; }
.lookup-warn { color: var(--muted); font-size: 14px; }
.lookup-warn + .lookup-warn { margin-top: 8px; }
.lookup-warn:first-of-type { color: var(--text); font-weight: 600; }
.lookup-demo {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--dim);
}

.lookup-options { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 10px; }
.lookup-opt {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
}
.lookup-opt-ic { width: 26px; height: 26px; flex: none; border-radius: 8px; display: grid; place-items: center; }
.lookup-opt-ic svg { width: 15px; height: 15px; }
.lookup-opt--ok .lookup-opt-ic { background: rgba(47, 208, 141, 0.15); background: color-mix(in srgb, var(--green) 15%, transparent); color: var(--green); }
.lookup-opt--partial .lookup-opt-ic { background: rgba(224, 138, 0, 0.16); background: color-mix(in srgb, var(--amber) 16%, transparent); color: var(--amber); }
.lookup-opt--no .lookup-opt-ic { background: rgba(217, 45, 60, 0.14); background: color-mix(in srgb, var(--red) 14%, transparent); color: var(--red); }
.lookup-opt-txt { min-width: 0; }
.lookup-opt-txt b { font-family: var(--font-display); font-size: 15px; }
.lookup-opt-txt small { color: var(--dim); font-size: 12.5px; }
.lookup-opt-txt span { display: block; color: var(--muted); font-size: 13px; margin-top: 3px; }

@media (max-width: 760px) {
  .lookup { padding: 22px 18px 20px; }
  .lookup-form { flex-direction: column; }
  .lookup-form .btn { width: 100%; }
  .lookup-row { grid-template-columns: minmax(0, 1fr); gap: 3px; }
  .lookup-card { padding: 18px 16px; }
}

@media (max-width: 460px) {
  .cmp { margin: 18px 0 2px; }
  .cmp caption { padding: 12px 12px 10px; font-size: 13px; }
  .cmp th,
  .cmp td { padding: 8px 10px; font-size: 12.5px; }
  .cmp tbody td { width: 42px; }
  .cmp svg { width: 16px; height: 16px; }
  .cmp-legend { padding: 10px 12px 12px; font-size: 11px; }
}
