/* Cloud Match | كلاود ماتش — site styles
   Brand: navy #0B1E33, rust #8F3A14, light rust #E09A73, ink #1F1A17 */

:root {
  --navy: #0B1E33;
  --navy-2: #12304F;
  --navy-line: #24405F;
  --on-navy: #FFFFFF;
  --on-navy-muted: #D8CFC8;
  --rust: #8F3A14;
  --rust-hover: #73300F;
  --rust-light: #E09A73;

  --bg: #F7F4F1;
  --surface: #FFFFFF;
  --surface-2: #FBF9F7;
  --ink: #1F1A17;
  --muted: #57504A;
  --faint: #8A8079;
  --line: #E7E0D9;
  --line-strong: #D5CBC1;
  --accent-text: #8F3A14;
  --accent-soft: #F5E7DE;
  --ksa: #1E6A48;
  --ksa-soft: #E3F0E8;
  --ref: #6B625B;
  --ref-soft: #EEEAE6;
  --intel: #0B4F8A;
  --intel-soft: #E2EDF8;
  --amd: #9F1239;
  --amd-soft: #FCE7EE;
  --arm: #5B3496;
  --arm-soft: #EFE7FA;
  --focus: #C2612F;
  --shadow: 0 1px 2px rgba(31, 26, 23, .06), 0 12px 32px -12px rgba(11, 30, 51, .22);

  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --radius: 10px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #08172A;
    --surface: #0F2238;
    --surface-2: #0C1D31;
    --ink: #EEE8E2;
    --muted: #B9AFA7;
    --faint: #8F867F;
    --line: #1F3651;
    --line-strong: #2C4867;
    --accent-text: #E09A73;
    --accent-soft: #2A2321;
    --ksa: #7FCFA3;
    --ksa-soft: #143A2C;
    --ref: #B9AFA7;
    --ref-soft: #1C3048;
    --intel: #93C5F4;
    --intel-soft: #13304D;
    --amd: #F7A1B8;
    --amd-soft: #3A1A27;
    --arm: #C9AEF3;
    --arm-soft: #2A2145;
    --focus: #E09A73;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -16px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #08172A;
  --surface: #0F2238;
  --surface-2: #0C1D31;
  --ink: #EEE8E2;
  --muted: #B9AFA7;
  --faint: #8F867F;
  --line: #1F3651;
  --line-strong: #2C4867;
  --accent-text: #E09A73;
  --accent-soft: #2A2321;
  --ksa: #7FCFA3;
  --ksa-soft: #143A2C;
  --ref: #B9AFA7;
  --ref-soft: #1C3048;
  --intel: #93C5F4;
  --intel-soft: #13304D;
  --amd: #F7A1B8;
  --amd-soft: #3A1A27;
  --arm: #C9AEF3;
  --arm-soft: #2A2145;
  --focus: #E09A73;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -16px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

html[lang="ar"] {
  --font: "IBM Plex Sans Arabic", "IBM Plex Sans", system-ui, "Segoe UI", Tahoma, sans-serif;
  --font-head: "Noto Kufi Arabic", "IBM Plex Sans Arabic", system-ui, Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
html[lang="ar"] body { line-height: 1.8; }
img, svg { max-width: 100%; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.25; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; line-height: 1.5; }
p { margin: 0; }
.num, .money { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--font-mono); font-size: .88em; letter-spacing: 0; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: var(--navy);
  border-bottom: 1px solid var(--navy-line);
}
.header-row { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 38px; width: auto; display: block; }
.main-nav { display: flex; gap: 4px; margin-inline-start: auto; }
.main-nav a, .lang-link {
  color: var(--on-navy-muted);
  text-decoration: none;
  font-size: 15px;
  padding: 8px 12px;
  border-radius: 8px;
}
.main-nav a:hover, .lang-link:hover { color: var(--on-navy); background: rgba(255, 255, 255, .06); }
.lang-link { border: 1px solid var(--navy-line); font-size: 14px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px/1.2 var(--font);
  padding: 11px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--rust); color: #fff; }
.btn-primary:hover { background: var(--rust-hover); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--accent-text); color: var(--accent-text); }
.btn-small { padding: 8px 12px; font-size: 14px; }
.header-cta { flex: none; }

@media (max-width: 900px) {
  .main-nav { display: none; }
  .lang-link { margin-inline-start: auto; }
}
@media (max-width: 460px) {
  .brand img { height: 30px; }
  .header-row { gap: 10px; min-height: 60px; }
  .header-cta { padding: 9px 12px; font-size: 14px; }
  .lang-link { padding: 7px 9px; font-size: 13px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--on-navy);
  overflow: hidden;
  padding-block: clamp(36px, 6vw, 72px) clamp(44px, 7vw, 88px);
}
.hero-art {
  position: absolute;
  inset-inline-start: -140px;
  bottom: -150px;
  width: 560px;
  height: auto;
  opacity: .45;
  pointer-events: none;
}
html[dir="rtl"] .hero-art { transform: scaleX(-1); }
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-areas: "copy finder" "extra finder";
  grid-template-rows: auto 1fr;
  column-gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.hero-copy { grid-area: copy; padding-top: 8px; min-width: 0; }
.hero-extra { grid-area: extra; min-width: 0; }
.hero-grid > .finder { grid-area: finder; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500;
  color: var(--rust-light);
  letter-spacing: .02em;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--rust); }
.hero h1 { font-size: clamp(30px, 3.6vw, 42px); margin-top: 18px; font-weight: 700; }
html[lang="ar"] .hero h1 { font-size: clamp(26px, 3vw, 36px); }
.hero-sub { margin-top: 18px; color: var(--on-navy-muted); font-size: 17px; max-width: 34em; }
.hero-points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.hero-points li { display: flex; gap: 10px; align-items: center; color: var(--on-navy); font-size: 15px; }
.hero-points li::before {
  content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%;
  background: var(--rust) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.3l2.6 2.6L13 6.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat;
}
.covered { margin-top: 30px; }
.covered-label { display: block; font-size: 12px; font-weight: 600; color: var(--on-navy-muted); letter-spacing: .04em; margin-bottom: 10px; }
html[lang="en"] .covered-label { text-transform: uppercase; letter-spacing: .08em; }
.covered-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.covered-list li {
  font-size: 13px; font-weight: 500; color: var(--on-navy);
  padding: 5px 11px; border-radius: 99px;
  border: 1px solid var(--navy-line); background: rgba(255, 255, 255, .03);
}
.covered-list li.is-ref { color: var(--on-navy-muted); border-style: dashed; }
.covered-list li span { font-weight: 400; font-size: 12px; }
.hero-stamp {
  margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--navy-line);
  font-size: 13px; color: var(--on-navy-muted);
}
@media (max-width: 600px) {
  .hero-sub { font-size: 16px; }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "finder" "extra"; grid-template-rows: auto; row-gap: 28px; }
  .hero-points { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 4px; }
}

/* ---------- Finder card ---------- */
.finder {
  background: var(--surface);
  color: var(--ink);
  border-radius: 14px;
  box-shadow: var(--shadow);
  min-width: 0;
  overflow: hidden;
}
.finder-head { padding: 20px 22px 4px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.finder-head h2 { font-size: 20px; }
.finder-head .hint { font-size: 13px; color: var(--muted); }
.finder-form { padding: 14px 22px 18px; display: grid; gap: 16px; }
.field-label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 9px 6px; border: 1px solid var(--line-strong); border-radius: 8px;
  cursor: pointer; text-align: center; line-height: 1.3;
  background: var(--surface);
}
.seg label b { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.seg label span { font-size: 12px; color: var(--muted); }
.seg input:checked + label { border-color: var(--rust); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--rust); }
.seg input:focus-visible + label { outline: 2px solid var(--focus); outline-offset: 2px; }
.row-3 { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: end; }
@media (max-width: 560px) { .row-3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .row-3 > :first-child { grid-column: 1 / -1; } }
.stepper { display: flex; align-items: stretch; border: 1px solid var(--line-strong); border-radius: 8px; overflow: hidden; height: 42px; }
.stepper button { width: 40px; border: 0; background: var(--surface-2); color: var(--ink); font-size: 18px; cursor: pointer; }
.stepper button:hover { color: var(--accent-text); }
.stepper input { flex: 1; min-width: 0; border: 0; text-align: center; font: 600 16px var(--font); background: var(--surface); color: var(--ink); font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
select, input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%;
  font: 15px/1.4 var(--font);
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 10px 12px;
  min-height: 42px;
}
select { appearance: none; -webkit-appearance: none; padding-inline-end: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%238A8079' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 12px 8px; background-position: right 12px center; }
html[dir="rtl"] select { background-position: left 12px center; }
textarea { min-height: 110px; resize: vertical; }

.toggles { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.switch { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch .track { width: 34px; height: 20px; border-radius: 10px; background: var(--line-strong); position: relative; flex: none; transition: background .15s; }
.switch .track::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: inset-inline-start .15s; box-shadow: 0 1px 2px rgba(0,0,0,.25); }
.switch input:checked + .track { background: var(--rust); }
.switch input:checked + .track::after { inset-inline-start: 17px; }
.switch input:focus-visible + .track { outline: 2px solid var(--focus); outline-offset: 2px; }

.results { border-top: 1px solid var(--line); background: var(--surface-2); padding: 16px 22px 20px; }
.results-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.results-head h3 { font-size: 15px; font-family: var(--font); font-weight: 600; }
.results-head .basis { font-size: 12px; color: var(--muted); }
.offer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.offer {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 4px 12px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
}
.offer.best { border-color: var(--rust); box-shadow: inset 0 0 0 1px var(--rust); }
.offer .rank {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  font: 600 13px var(--font); background: var(--ref-soft); color: var(--muted);
  grid-row: span 2;
}
.offer.best .rank { background: var(--rust); color: #fff; }
.offer .who { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-width: 0; }
.offer .who strong { font-size: 15px; }
.offer .total { text-align: end; font-weight: 700; font-size: 19px; white-space: nowrap; }
.offer .total small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); }
.offer .detail { grid-column: 2 / 3; font-size: 13px; color: var(--muted); min-width: 0; overflow-wrap: anywhere; }
.offer .part { white-space: nowrap; }
.offer .act { grid-column: 3 / 4; justify-self: end; }
.best-flag { font-size: 11px; font-weight: 600; color: var(--accent-text); background: var(--accent-soft); padding: 2px 8px; border-radius: 99px; }
.results-foot { margin-top: 12px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; font-size: 12px; color: var(--muted); }
.linkish { background: none; border: 0; padding: 0; font: 600 14px var(--font); color: var(--accent-text); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 520px) {
  .finder-head, .finder-form, .results { padding-inline: 16px; }
  .offer { grid-template-columns: 26px minmax(0, 1fr) auto; padding: 12px; gap: 6px 10px; align-items: start; }
  .offer .rank { grid-row: auto; width: 26px; height: 26px; }
  .offer .total { font-size: 17px; }
  .offer .detail { grid-column: 1 / -1; }
  .offer .act { grid-column: 1 / -1; justify-self: stretch; }
  .offer .act .btn { width: 100%; }
}

.tag { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; line-height: 1; padding: 4px 7px; border-radius: 99px; white-space: nowrap; }
.tag-ksa { color: var(--ksa); background: var(--ksa-soft); }
.tag-ref { color: var(--ref); background: var(--ref-soft); }
.tag-cst { color: var(--accent-text); background: var(--accent-soft); }
.tag-intel { color: var(--intel); background: var(--intel-soft); }
.tag-amd { color: var(--amd); background: var(--amd-soft); }
.tag-arm { color: var(--arm); background: var(--arm-soft); }
.tag-mixed, .tag-unknown { color: var(--ref); background: var(--ref-soft); }
.opts { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 12px 18px; align-items: end; }
.opts .toggles { padding-bottom: 10px; }
.cpu-filter { display: flex; align-items: center; gap: 10px; }
.cpu-filter .field-label { margin: 0; white-space: nowrap; }
.cpu-filter select { width: auto; min-width: 190px; min-height: 38px; padding-block: 7px; font-size: 14px; }
@media (max-width: 560px) {
  .opts { grid-template-columns: minmax(0, 1fr); }
  .opts .toggles { padding-bottom: 0; }
  .cpu-filter { width: 100%; }
  .cpu-filter select { flex: 1; min-width: 0; }
}

/* ---------- Stats strip ---------- */
.stats { background: var(--surface); border-bottom: 1px solid var(--line); }
.stats-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { padding: 22px 18px; border-inline-start: 1px solid var(--line); }
.stat:first-child { border-inline-start: 0; padding-inline-start: 0; }
.stat b { display: block; font: 700 26px/1.2 var(--font-head); font-variant-numeric: tabular-nums; }
.stat span { font-size: 14px; color: var(--muted); }
@media (max-width: 700px) {
  .stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 16px 12px; }
  .stat:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stat b { font-size: 21px; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(52px, 7vw, 88px); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { max-width: 46em; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(24px, 3vw, 32px); }
.section-head p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.kicker { display: block; font-size: 13px; font-weight: 600; color: var(--accent-text); letter-spacing: .06em; margin-bottom: 10px; }
html[lang="en"] .kicker { text-transform: uppercase; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); counter-reset: s; }
.steps li { border-top: 3px solid var(--ink); padding-top: 18px; }
.steps li:first-child { border-color: var(--rust); }
.steps .n { font: 500 13px var(--font-mono); color: var(--muted); }
.steps h3 { font-size: 24px; margin-top: 6px; }
.steps p { margin-top: 8px; color: var(--muted); }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Compare table ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.tabs { display: flex; gap: 4px; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow-x: auto; max-width: 100%; }
.tabs button {
  border: 0; background: none; color: var(--muted);
  font: 500 14px var(--font); padding: 8px 14px; border-radius: 7px; cursor: pointer; white-space: nowrap;
}
.tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }
html[data-theme="dark"] .tabs button[aria-selected="true"] { background: var(--rust); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tabs button[aria-selected="true"] { background: var(--rust); } }
.filters { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.filters select { width: auto; min-width: 150px; min-height: 38px; padding-block: 7px; font-size: 14px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips button { border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); border-radius: 99px; padding: 6px 12px; font: 500 13px var(--font); cursor: pointer; font-variant-numeric: tabular-nums; }
.chips button[aria-pressed="true"] { border-color: var(--rust); background: var(--accent-soft); color: var(--accent-text); }
.unit-note { font-size: 13px; color: var(--muted); margin-bottom: 10px; }

.table-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow-x: auto; }
table.prices { width: 100%; border-collapse: collapse; font-size: 14px; }
.prices th { text-align: start; font-weight: 600; font-size: 12px; color: var(--muted); padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--surface-2); }
.prices td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prices tr:last-child td { border-bottom: 0; }
.prices tbody tr:hover td { background: var(--surface-2); }
.prices .c-price { text-align: end; white-space: nowrap; font-weight: 700; font-size: 15px; }
.prices th.c-price { text-align: end; font-size: 12px; font-weight: 600; }
.prices .c-prov strong { display: block; white-space: nowrap; }
.prices .c-region { min-width: 140px; }
.prices .c-region .tag { margin-top: 4px; }
.prices .sku { font-family: var(--font-mono); font-size: 13px; overflow-wrap: anywhere; }
.prices .cpu { color: var(--muted); font-size: 13px; }
.prices details { margin-top: 4px; font-size: 12px; color: var(--muted); }
.prices summary { cursor: pointer; color: var(--accent-text); font-weight: 500; width: max-content; }
.prices details p { margin-top: 4px; font-family: var(--font-mono); font-size: 12px; direction: ltr; text-align: left; overflow-wrap: anywhere; }
.prices .c-src a { font-size: 13px; white-space: nowrap; }
.prices .cheapest td.c-price { color: var(--accent-text); }
.table-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; font-size: 13px; color: var(--muted); }

@media (max-width: 720px) {
  .table-wrap { background: transparent; border: 0; overflow: visible; }
  table.prices, .prices tbody, .prices tr, .prices td { display: block; }
  .prices thead { display: none; }
  .prices tr { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin-bottom: 8px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
  .prices td { padding: 0; border: 0; }
  .prices tbody tr:hover td { background: none; }
  .prices .c-prov { grid-column: 1; }
  .prices .c-price { grid-column: 2; grid-row: 1; font-size: 17px; }
  .prices .c-region, .prices .c-sku, .prices .c-cpu, .prices .c-src { grid-column: 1 / -1; min-width: 0; }
  .prices .c-region { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
  .prices .c-region .tag { margin-top: 0; }
}
@media (max-width: 520px) {
  .tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .tabs button { padding-inline: 8px; }
  .filters { width: 100%; }
  .filters select { flex: 1 1 100%; }
}

/* ---------- Coming soon ---------- */
.soon { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; margin-top: 36px; }
.soon-intro h3 { font-size: 20px; }
.soon-intro p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.soon-card { border: 1px dashed var(--line-strong); border-radius: 12px; padding: 18px 20px; background: var(--surface); }
.soon-card strong { display: block; font-size: 17px; }
.soon-card .when { margin-top: 6px; font-size: 14px; color: var(--accent-text); font-weight: 600; }
.soon-card .now { margin-top: 4px; font-size: 13px; color: var(--muted); }
@media (max-width: 760px) { .soon { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px clamp(24px, 5vw, 64px); }
.why div { padding-inline-start: 18px; border-inline-start: 3px solid var(--rust); }
.why h3 { font-size: 19px; }
.why p { margin-top: 6px; color: var(--muted); }
@media (max-width: 680px) { .why { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 24px/1 var(--font); color: var(--accent-text); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 20px; color: var(--muted); max-width: 62em; }

/* ---------- Quote ---------- */
.quote { background: var(--navy); color: var(--on-navy); }
.quote .section-head p { color: var(--on-navy-muted); }
.quote .kicker { color: var(--rust-light); }
.quote-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.quote-aside ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.quote-aside li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; color: var(--on-navy-muted); font-size: 15px; }
.quote-aside li b { color: var(--on-navy); font-weight: 600; display: block; }
.quote-aside li::before { content: ""; width: 10px; height: 10px; margin-top: 8px; border-radius: 50%; background: var(--rust-light); }
.quote-form { background: var(--surface); color: var(--ink); border-radius: 14px; padding: clamp(18px, 3vw, 28px); display: grid; gap: 14px; box-shadow: var(--shadow); }
.quote-form .two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.quote-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.quote-form .req { color: var(--accent-text); }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.form-note { font-size: 12px; color: var(--muted); }
.form-msg { font-size: 14px; padding: 12px 14px; border-radius: 8px; background: var(--accent-soft); color: var(--ink); }
.form-msg textarea { margin-top: 8px; min-height: 150px; font-size: 13px; white-space: pre-wrap; }
@media (max-width: 860px) { .quote-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .quote-form .two { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-navy-muted); border-top: 1px solid var(--navy-line); padding-block: 36px 40px; font-size: 14px; }
.footer-row { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: flex-start; }
.footer-brand img { height: 34px; width: auto; display: block; }
.footer-brand p { margin-top: 10px; color: var(--rust-light); font-weight: 500; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--on-navy); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.disclaimer { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--navy-line); font-size: 12px; line-height: 1.8; }

/* ---------- Plain pages (privacy, 404) ---------- */
.page { padding-block: clamp(40px, 6vw, 72px); }
.page .prose { max-width: 720px; }
.prose h1 { font-size: clamp(26px, 3.4vw, 34px); margin-bottom: 18px; }
.prose h2 { font-size: 19px; margin-top: 28px; margin-bottom: 8px; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-inline-start: 22px; }
.prose .updated { font-size: 13px; color: var(--faint); margin-bottom: 20px; }

.noscript { background: var(--accent-soft); padding: 12px 16px; border-radius: 8px; font-size: 14px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
.seg-wrap { border: 0; margin: 0; padding: 0; min-width: 0; }
.seg-wrap legend { padding: 0; }
