/* Saudi riyal sign (U+20C1, SAMA). Only this character uses the font. Saudi Riyal Font by Emran Alhaddad, SIL OFL 1.1. */
@font-face { font-family: "CP Riyal"; font-style: normal; font-weight: 100 500; font-display: swap; src: url("../fonts/cp-riyal-400.woff2") format("woff2"); unicode-range: U+20C1; }
@font-face { font-family: "CP Riyal"; font-style: normal; font-weight: 600 900; font-display: swap; src: url("../fonts/cp-riyal-700.woff2") format("woff2"); unicode-range: U+20C1; }
/* Cloud Pick v7: the visible design.
   site.css, v6.css, experience.css, gpu.css, account.css and admin.css are wrapped in @layer legacy,
   so every rule here wins without specificity tricks. Change the look here; leave the legacy files alone.

   Idea: a published price list. White page, black type, one blue for links, flat ruled rows.
   Rust stays in the logo and marks the lowest price; green marks in-Kingdom regions. Nothing else is coloured. */

/* ---------- tokens ---------- */
:root, :root[data-scheme="light"] {
  --paper: #FFFFFF;
  --band: #F5F6F7;
  --ink-1: #0E1116;
  --ink-2: #4A5462;
  --ink-3: #66707D;
  --rule: #DFE3E8;
  --rule-2: #C2C8D0;
  --link: #0B57C2;
  --link-soft: #EEF4FD;
  --btn-bg: #0E1116;
  --btn-fg: #FFFFFF;
  --btn-hover: #2A313B;
  --brand-rust: #8F3A14;
  --low: #8F3A14;            /* lowest-price figure */
  --ok: #17603F;
  --ok-soft: #E6F1EA;
  --tag-bg: #EEF0F3;
  --tag-fg: #3B4552;
  --ctl: #8A93A0;            /* border of buttons, segments and chips: 3:1 on the page */

  /* old token names, so legacy rules follow the new palette */
  --navy: #0E1116; --navy-2: #1B2027; --navy-line: #2F3742; --on-navy: #FFFFFF; --on-navy-muted: #C9CFD6;
  --rust: #0E1116; --rust-hover: #2A313B; --rust-light: #FFFFFF; --rust-tint: #F5F6F7;
  --bg: #FFFFFF; --surface: #FFFFFF; --surface-2: #F5F6F7; --wash: #F5F6F7;
  --ink: #0E1116; --muted: #4A5462; --faint: #66707D;
  --line: #DFE3E8; --line2: #E7EAEE; --line-strong: #C2C8D0; --field-line: #8A93A0; --knob-off: #8A93A0;
  --accent-text: #0B57C2; --accent-soft: #EEF4FD;
  --ksa: #17603F; --ksa-soft: #E6F1EA; --ref: #4A5462; --ref-soft: #EEF0F3;
  --intel: #3B4552; --intel-soft: #EEF0F3; --amd: #3B4552; --amd-soft: #EEF0F3;
  --arm: #3B4552; --arm-soft: #EEF0F3; --ssd: #3B4552; --ssd-soft: #EEF0F3;
  --focus: #0B57C2; --shadow: none; --card-ring: transparent;
  --medal-bg: #0E1116; --medal-fg: #FFFFFF; --medal-ring: #0E1116;
  --icon-soft: #EEF0F3; --icon-ink: #0E1116; --icon-ring: #DFE3E8;
  --pbtn-bg: #0E1116; --pbtn-hover: #2A313B;
  --radius: 6px; --wrap: 1200px;
  color-scheme: light;
}
:root[data-scheme="dark"] {
  --paper: #0F1215; --band: #151A1E; --ink-1: #ECEEF1; --ink-2: #AEB6C0; --ink-3: #8C96A2;
  --rule: #2A3138; --rule-2: #3D464F; --link: #8AB4F8; --link-soft: #17243A;
  --btn-bg: #ECEEF1; --btn-fg: #0F1215; --btn-hover: #FFFFFF;
  --ctl: #66707D; --low: #F0A47C; --ok: #7AD0A2; --ok-soft: #14291F; --tag-bg: #222930; --tag-fg: #C5CCD5;
  --navy: #1B2126; --navy-2: #222930; --navy-line: #3D464F; --on-navy: #ECEEF1; --on-navy-muted: #AEB6C0;
  --rust: #ECEEF1; --rust-hover: #FFFFFF; --rust-light: #ECEEF1; --rust-tint: #151A1E;
  --bg: #0F1215; --surface: #0F1215; --surface-2: #151A1E; --wash: #151A1E;
  --ink: #ECEEF1; --muted: #AEB6C0; --faint: #8C96A2;
  --line: #2A3138; --line2: #222930; --line-strong: #3D464F; --field-line: #66707D; --knob-off: #66707D;
  --accent-text: #8AB4F8; --accent-soft: #17243A;
  --ksa: #7AD0A2; --ksa-soft: #14291F; --ref: #AEB6C0; --ref-soft: #222930;
  --intel: #C5CCD5; --intel-soft: #222930; --amd: #C5CCD5; --amd-soft: #222930;
  --arm: #C5CCD5; --arm-soft: #222930; --ssd: #C5CCD5; --ssd-soft: #222930;
  --focus: #8AB4F8;
  --medal-bg: #ECEEF1; --medal-fg: #0F1215; --medal-ring: #ECEEF1;
  --icon-soft: #222930; --icon-ink: #ECEEF1; --icon-ring: #2A3138;
  --pbtn-bg: #ECEEF1; --pbtn-hover: #FFFFFF;
  color-scheme: dark;
}

/* ---------- scales (same in both themes) ----------
   Type: eight text sizes and three display sizes. Space: multiples of 4px. Corners: three radii.
   Use these; do not add one-off sizes. */
:root {
  --t-xs: 12px; --t-sm: 13px; --t-md: 14px; --t-base: 15px; --t-body: 16px; --t-lg: 18px; --t-xl: 20px; --t-2xl: 24px;
  --t-h2: clamp(26px, 2.6vw, 34px); --t-h2-ar: clamp(24px, 2.4vw, 30px);
  --t-page: clamp(30px, 3.3vw, 44px);
  --t-h1: clamp(30px, 3vw, 40px); --t-h1-ar: clamp(28px, 2.8vw, 36px);
  --r-sm: 4px; --r: 6px; --r-lg: 8px;
  --tap: 44px;               /* smallest tap target on touch screens */
}

/* ---------- type ---------- */
:root { --font: "CP Riyal", "CP Almarai", "CP Almarai Fallback", system-ui, sans-serif; --font-head: "CP Riyal", "CP Kufi", "CP Almarai", system-ui, sans-serif; }
:root:lang(en) {
  --font: "CP Riyal", "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "CP Riyal", "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
html { background: var(--paper); }
body { background: var(--paper); color: var(--ink-1); font-family: var(--font); font-size: var(--t-body); line-height: 1.6; font-weight: 400; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink-1); word-spacing: normal; text-wrap: balance; }
:lang(en) :is(h1, h2, h3, h4) { font-weight: 600; letter-spacing: -0.015em; }
:lang(ar) :is(h1, h2) { font-weight: 700; letter-spacing: 0; }
:lang(ar) :is(h3, h4) { font-family: var(--font); font-weight: 700; }
p { text-wrap: pretty; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; box-shadow: none; }
.money, :root .money, :root .hero-calc .offer .total { font-family: var(--font); font-variant-numeric: tabular-nums; font-weight: 600; letter-spacing: 0; }

/* headline accents and scroll reveals are gone: one colour of type, content always visible */
h1 em, h2 em, .stack em, .hero h1 em { color: inherit; font-style: normal; background: none; -webkit-text-fill-color: currentColor; }
.js-reveal [data-reveal], .js-reveal [data-reveal] > *, [data-reveal] { opacity: 1; transform: none; clip-path: none; transition: none; }
.stack .tl, .stack .tl em, h2.stack .tl:nth-child(n) { display: inline; opacity: 1; transform: none; font-size: inherit; line-height: inherit; font-weight: inherit; white-space: normal; }
.stack .tl + .tl::before { content: " "; }

/* ---------- buttons ---------- */
.btn {
  font-family: var(--font); font-weight: 600; font-size: var(--t-base); line-height: 1.2; letter-spacing: 0;
  min-height: 44px; padding: 12px 20px; border-radius: var(--r); border: 1px solid transparent;
  box-shadow: none; background-image: none; text-decoration: none; transform: none; transition: background-color .12s, border-color .12s, color .12s, transform .12s ease-out;
}
.btn:hover { transform: none; box-shadow: none; }
.btn-primary, .btn-light, :root[data-theme="light"] .btn-light {
  background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg);
}
.btn-primary:hover, .btn-light:hover { background: var(--btn-hover); border-color: var(--btn-hover); color: var(--btn-fg); }
.btn-ghost { background: transparent; color: var(--ink-1); border-color: var(--ctl); }
.btn-ghost:hover { background: var(--band); border-color: var(--ink-1); color: var(--ink-1); }
.btn-small { min-height: 36px; padding: 8px 16px; font-size: var(--t-md); }

.linkish, .md-link { color: var(--link); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; border: 0; background: none; }
.linkish:hover, .md-link:hover { color: var(--ink-1); }

/* ---------- header ---------- */
.util-bar, :root[data-theme="light"] .util-bar { background: var(--band); border-bottom: 1px solid var(--rule); color: var(--ink-2); font-size: var(--t-sm); }
.util-row { min-height: 36px; }
.util-date i { display: none; }
.util-date span { color: var(--ink-1); }
.util-links a, :root[data-theme="light"] .util-links a { color: var(--ink-2); text-decoration: none; font-weight: 400; }
.util-links a:hover { color: var(--ink-1); text-decoration: underline; }
.site-header, :root[data-theme="light"] .site-header { background: var(--paper); border-bottom: 1px solid var(--rule); box-shadow: none; backdrop-filter: none; }
.header-row { min-height: 68px; }
.main-nav { gap: 4px; }
.main-nav .account-link { display: none; }
.main-nav a, :root[data-theme="light"] .main-nav a {
  color: var(--ink-1); font-size: var(--t-base); font-weight: 400; padding: 8px 12px; border: 0; border-radius: var(--r-sm); text-decoration: none; white-space: nowrap;
}
.main-nav a:hover, :root[data-theme="light"] .main-nav a:hover { background: var(--band); color: var(--ink-1); border: 0; }
.main-nav a[aria-current="page"], :root[data-theme="light"] .main-nav a[aria-current="page"] {
  font-weight: 600; box-shadow: inset 0 -2px 0 var(--ink-1); border-radius: 0;
}
.theme-toggle, :root[data-theme="light"] .theme-toggle { border: 0; background: transparent; color: var(--ink-2); border-radius: var(--r); width: 44px; height: 44px; box-shadow: none; }
.theme-toggle:hover, :root[data-theme="light"] .theme-toggle:hover { background: var(--band); color: var(--ink-1); }
.header-cta { min-height: 40px; padding: 8px 16px; }
.brand .logo-on-light, .footer-brand .logo-on-light { display: block; }
.brand .logo-on-dark, .footer-brand .logo-on-dark { display: none; }
:root[data-scheme="dark"] :is(.brand, .footer-brand) .logo-on-light { display: none; }
:root[data-scheme="dark"] :is(.brand, .footer-brand) .logo-on-dark { display: block; }
.nav-menu summary, :root[data-theme="light"] .nav-menu summary { border: 1px solid var(--ctl); color: var(--ink-1); border-radius: var(--r); background: transparent; }
.burger, .burger::before, .burger::after { background: var(--ink-1); }
.nav-menu[open] .burger { background: transparent; }
.menu-panel, :root[data-theme="light"] .menu-panel { background: var(--paper); border-bottom: 1px solid var(--rule); box-shadow: none; }
.menu-panel a, :root[data-theme="light"] .menu-panel a { color: var(--ink-1); border-radius: 0; border-bottom: 1px solid var(--rule); }
.menu-panel a:hover, :root[data-theme="light"] .menu-panel a:hover { background: var(--band); }

/* ---------- hero: headline, two routes, and the calculator itself ---------- */
.hero, :root[data-theme="light"] .hero {
  background: var(--paper); background-image: none; color: var(--ink-1); border-bottom: 1px solid var(--rule);
}
.hero .atlas { display: none; }

/* The page title is a plain statement of what the page holds, set in the body face at a modest size:
   a title, not a slogan. In Arabic that means Almarai, not the Kufi display face. */
:lang(ar) .hero h1 { font-family: var(--font); font-weight: 800; }
.hero h1 {
  color: var(--ink-1); font-size: var(--t-h1); line-height: 1.08; margin: 0 0 12px; max-width: 24ch; text-shadow: none;
}
:lang(en) .hero h1 { letter-spacing: -0.02em; font-weight: 600; }
:lang(ar) .hero h1 { line-height: 1.5; font-size: var(--t-h1-ar); max-width: none; }

/* the two comparison routes: ruled rows, not cards */

/* covered providers and counts: a plain line each */
.coverage .cov-prov { margin: 40px 0 0; padding: 0; background: none; border: 0; max-width: 560px; }
.coverage .hp-label { color: var(--ink-3); font-size: var(--t-sm); font-weight: 400; letter-spacing: 0; text-transform: none; margin: 0 0 8px; }
.coverage .prov-names { display: flex; flex-wrap: wrap; flex-wrap: balance; gap: 4px 8px; margin: 0; padding: 0; list-style: none; }
.coverage .prov-names li {
  display: inline-flex; flex-wrap: nowrap; flex-shrink: 0; align-items: baseline; gap: 0;
  background: none; border: 0; border-radius: 0; padding: 0; box-shadow: none;
  color: var(--ink-1); font-size: var(--t-base); font-weight: 500; white-space: nowrap; max-width: 100%;
  direction: ltr; unicode-bidi: isolate;
}
.coverage .prov-names li:not(:last-child)::after { content: ","; color: var(--ink-3); font-weight: 400; }
:lang(ar) .coverage .prov-names li:not(:last-child)::after { content: "،"; }
.coverage .prov-names li span { color: var(--ink-1); font-weight: 500; }
.coverage .prov-names li small { color: var(--ink-3); font-size: var(--t-sm); font-weight: 400; margin-inline-start: 8px; white-space: nowrap; }
.coverage .prov-names li small::before { content: "("; } .coverage .prov-names li small::after { content: ")"; }
.coverage .facts, .coverage .facts.stats {
  display: flex; flex-wrap: wrap; gap: 0; margin: 24px 0 0; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; max-width: 560px; min-height: 0;
}
.coverage .facts > div { display: flex; flex-direction: row-reverse; align-items: baseline; gap: 8px; padding: 0; margin: 0; border: 0; background: none; min-height: 0; }
.coverage .facts > div:not(:last-child) { padding-inline-end: 16px; margin-inline-end: 16px; border-inline-end: 1px solid var(--rule); }
.coverage .facts dt { color: var(--ink-2); font-size: var(--t-md); font-weight: 400; margin: 0; }
.coverage .facts dd { color: var(--ink-1); font-family: var(--font); font-size: var(--t-md); font-weight: 600; margin: 0; font-variant-numeric: tabular-nums; }

/* migration help: a ruled note, not a banner */

/* ---------- calculator ---------- */
/* The calculator is drawn as one panel from four stacked pieces (head, form, helper, results link);
   the results and the migration note sit below it at full width. */
.finder, .hero .finder, .finder.hero-calc { background: none; color: var(--ink-1); border: 0; border-radius: 0; box-shadow: none; padding: 0; margin: 0; overflow: visible; }
.finder > .finder-form, .finder > .sizer-wrap {
  background: var(--paper); border: 0 solid var(--rule-2); border-inline-width: 1px; border-radius: 0; margin: 0; box-shadow: none; max-width: none; width: auto;
}

.finder > .finder-form { padding: 20px 24px 24px; }
.finder > .sizer-wrap { padding: 16px 24px; border-top: 1px solid var(--rule); }

@media (min-width: 1101px) {

  .finder > .finder-form { grid-area: 2 / 2; }
  .finder > .sizer-wrap { grid-area: 3 / 2; }

  .finder > .finder-out { grid-area: 6 / 1 / auto / -1; }

}
@media (max-width: 1100px) {

  .hero .finder { display: flex; flex-direction: column; margin-top: 40px; }
 .finder > .finder-form { order: 2; } .finder > .sizer-wrap { order: 3; }
 .finder > .finder-out { order: 5; }
}

.field-label, legend.field-label { color: var(--ink-1); font-size: var(--t-md); font-weight: 600; letter-spacing: 0; text-transform: none; margin-bottom: 8px; }

/* segmented choices: one joined control */
.mode-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 0; background: none; border: 1px solid var(--ctl); border-radius: var(--r); overflow: hidden; }
.mode-tabs button { background: var(--paper); color: var(--ink-2); border: 0; border-radius: 0; box-shadow: none; font-family: var(--font); font-size: var(--t-base); font-weight: 500; min-height: 42px; padding: 8px 12px; }
.mode-tabs button + button { border-inline-start: 1px solid var(--ctl); }
.mode-tabs button[aria-selected="true"] { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); box-shadow: none; }
.seg { gap: 0; border: 1px solid var(--ctl); border-radius: var(--r); overflow: hidden; background: var(--paper); }
.seg label { background: var(--paper); color: var(--ink-1); border: 0; border-radius: 0; box-shadow: none; padding: 8px 8px; }
.seg label + input + label { border-inline-start: 1px solid var(--ctl); }
.seg label b { font-family: var(--font); font-weight: 600; font-size: var(--t-base); color: inherit; }
.seg label span { color: var(--ink-2); font-size: var(--t-sm); }
.seg input:checked + label { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); box-shadow: none; }
.seg input:checked + label span { color: var(--btn-fg); opacity: .8; }
.seg input:focus-visible + label { outline: 2px solid var(--focus); outline-offset: -2px; }

select, input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="url"], input[type="search"], input[type="password"], textarea {
  background-color: var(--paper); color: var(--ink-1); border: 1px solid var(--field-line); border-radius: var(--r); box-shadow: none; font-family: var(--font); font-size: var(--t-base);
}
select:hover, input:hover, textarea:hover { border-color: var(--ink-1); }
select:focus, input:focus, textarea:focus { border-color: var(--focus); box-shadow: none; outline: 2px solid var(--focus); outline-offset: 0; }
.stepper { border: 1px solid var(--field-line); border-radius: var(--r); overflow: hidden; background: var(--paper); box-shadow: none; }
.stepper button { background: var(--band); color: var(--ink-1); border: 0; border-radius: 0; box-shadow: none; }
.stepper button:hover { background: var(--rule); }
.stepper input { border: 0; border-radius: 0; background: var(--paper); outline-offset: -2px; }
.switch { color: var(--ink-1); font-size: var(--t-md); font-weight: 400; }
.switch .track { background: var(--knob-off); border: 0; box-shadow: none; }
.switch input:checked + .track { background: var(--btn-bg); }
.switch .track::after, .switch .track::before { background: var(--paper); box-shadow: none; }
input[type="range"] { accent-color: var(--btn-bg); }
.slider-val, .slider-num { color: var(--ink-1); }
.pool-note, .form-note, .calc-stamp, .unit-note, .svc-outside-note { color: var(--ink-2); font-size: var(--t-md); }

/* "not sure what you need" helper */
.sizer-toggle { background: none; border: 0; padding: 0; color: var(--ink-1); border-radius: 0; box-shadow: none; }
.sizer-toggle .sz-ic { display: none; }
.sizer-toggle .sz-ask b { font-family: var(--font); font-size: var(--t-base); font-weight: 600; color: var(--ink-1); }
.sizer-toggle .sz-ask small { color: var(--ink-2); font-size: var(--t-md); }
.sizer-toggle .sz-act { color: var(--link); font-weight: 500; font-size: var(--t-md); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; background: none; border: 0; padding: 0; }
.sizer-toggle .sz-act::after, .sizer-toggle .sz-act::before { color: var(--link); }
.sz-chips label span, .chips button, .sz-check span {
  background: var(--paper); color: var(--ink-1); border: 1px solid var(--ctl); border-radius: var(--r); box-shadow: none; font-size: var(--t-md); font-weight: 400;
}
.sz-check span { border: 0; background: none; }
.sz-chips input:checked + span, .chips button[aria-pressed="true"], .chips button[aria-selected="true"] {
  background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg);
}
.sz-chips input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }

/* ---------- calculator results ---------- */
.finder-out, .hero .finder-out, #calc-results { background: none; border: 0; border-top: 1px solid var(--ink-1); border-radius: 0; box-shadow: none; padding: 24px 0 0; margin-top: 40px; color: var(--ink-1); }
.results-head h3 { font-size: var(--t-2xl); line-height: 1.3; color: var(--ink-1); margin: 0; }
.results-head .basis { color: var(--ink-2); font-size: var(--t-md); background: none; border: 0; padding: 0; }
.offer-list { gap: 0; border: 1px solid var(--rule-2); border-radius: var(--r-lg); overflow: hidden; }
.offer, .offer.best, .hero-calc .offer, .hero-calc .offer.best {
  background: var(--paper); border: 0; border-radius: 0; box-shadow: none; padding: 20px; color: var(--ink-1); outline: 0;
}
.offer-list > .offer + .offer { border-inline-start: 1px solid var(--rule); }
.offer .rank, .offer.best .rank { background: none; color: var(--ink-3); border: 0; box-shadow: none; font-family: var(--font); font-size: var(--t-md); font-weight: 400; width: auto; height: auto; min-width: 0; border-radius: 0; }
.offer .who strong { font-family: var(--font); font-size: var(--t-lg); font-weight: 600; color: var(--ink-1); }
.offer .who > span:not(.tag):not(.best-flag) { color: var(--ink-2); font-size: var(--t-md); }
.offer .total, .hero-calc .offer .total { color: var(--ink-1); font-size: var(--t-2xl); font-weight: 600; }
.offer.best .total, .hero-calc .offer.best .total { color: var(--low); }
.offer .total small { color: var(--ink-2); font-size: var(--t-sm); font-weight: 400; }
.best-flag, .offer .best-flag { background: none; color: var(--low); border: 0; border-radius: 0; padding: 0; font-size: var(--t-sm); font-weight: 600; letter-spacing: 0; text-transform: none; }
.offer .detail { border-top: 1px solid var(--rule); background: none; }
.offer .spec small, .offer .split span { color: var(--ink-3); font-size: var(--t-sm); }
.offer .spec b { color: var(--ink-1); font-weight: 500; font-size: var(--t-md); }
.offer .spec-sku b { font-family: var(--font-mono); font-size: var(--t-sm); }
.offer .split { gap: 0; border-top: 1px solid var(--rule); padding-top: 12px; }
.offer .split > div { background: none; border: 0; border-radius: 0; padding: 0; box-shadow: none; }
.offer .split > div + div { padding-inline-start: 12px; border-inline-start: 1px solid var(--rule); }
.offer .split b { color: var(--ink-1); font-size: var(--t-md); }

.results-actions .btn { min-height: 36px; }

/* ---------- tags: small flat labels ---------- */
.tag, .tags .tag {
  background: var(--tag-bg); color: var(--tag-fg); border: 0; border-radius: var(--r-sm); box-shadow: none;
  font-family: var(--font); font-size: var(--t-xs); font-weight: 500; line-height: 1.7; padding: 0 8px; letter-spacing: 0; text-transform: none;
}
.tag-ksa { background: var(--ok-soft); color: var(--ok); }
.tag-cst { background: none; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--rule-2); }
.sku-box { background: none; border: 0; border-radius: 0; padding: 0; color: var(--ink-1); font-family: var(--font-mono); font-size: var(--t-sm); box-shadow: none; }
.mini-specs {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 0;
  direction: ltr; unicode-bidi: isolate;
}
.mini-specs span {
  background: none; border: 0; border-radius: 0; padding: 0; color: var(--ink-2);
  font-size: var(--t-sm); box-shadow: none; direction: ltr; unicode-bidi: isolate; white-space: nowrap;
}
.mini-specs span + span::before { content: ", "; }
.mini-specs.gpu-spec-chips span + span::before, .gpu-spec-chips .gpu-spec-chip + .gpu-spec-chip::before { content: none; }

/* ---------- sections ---------- */
.section, .section.alt, .section.svc { background: var(--paper); border: 0; border-top: 1px solid var(--rule); padding-block: clamp(48px, 6vw, 80px); }
.section.alt { background: var(--band); }
.hero + .section { border-top: 0; }
.section-head, .section.svc .section-head { border: 0; padding: 0; margin: 0 0 32px; text-align: start; max-width: 720px; }
.section-head::before, .section-head::after { display: none; }
.section-head h2, .section h2.stack { font-size: var(--t-h2); line-height: 1.2; margin: 0 0 8px; color: var(--ink-1); }
:lang(ar) .section-head h2 { line-height: 1.5; font-size: var(--t-h2-ar); }
.section-head p { color: var(--ink-2); font-size: var(--t-lg); line-height: 1.6; margin: 0; max-width: 62ch; }

/* ---------- price tables ---------- */
.toolbar { gap: 12px 24px; margin-bottom: 12px; }
.tabs, .svc-tabs { background: none; border: 0; border-bottom: 1px solid var(--rule-2); border-radius: 0; padding: 0; gap: 0; box-shadow: none; }
.tabs button, .svc-tabs button, .tabs [role="tab"], .svc-tabs [role="tab"] {
  background: none; color: var(--ink-2); border: 0; border-bottom: 2px solid transparent; border-radius: 0; box-shadow: none; margin-bottom: -1px;
  font-family: var(--font); font-size: var(--t-base); font-weight: 500; padding: 12px 16px; min-height: 44px;
}
.tabs button:hover, .svc-tabs button:hover { color: var(--ink-1); background: none; }
.tabs button[aria-selected="true"], .svc-tabs button[aria-selected="true"], .svc-tabs [role="tab"][aria-selected="true"], html[data-theme="dark"] .tabs button[aria-selected="true"] { background: none; color: var(--ink-1); border-bottom-color: var(--ink-1); font-weight: 600; }
.tabs button::after, .svc-tabs button::after, .svc-tabs [role="tab"][aria-selected="true"]::after { display: none; }
.chips { gap: 8px; }
.chips button { padding: 8px 12px; min-height: 34px; }
.chips button:hover { border-color: var(--ink-1); }
.table-wrap, .gpu-table-wrap { background: none; border: 0; border-top: 1px solid var(--ink-1); border-radius: 0; box-shadow: none; }
table.prices { background: none; border: 0; }
table.prices thead th { background: none; color: var(--ink-2); font-family: var(--font); font-size: var(--t-sm); font-weight: 500; letter-spacing: 0; text-transform: none; border-bottom: 1px solid var(--rule-2); padding-block: 12px; }
table.prices tbody td { border-bottom: 1px solid var(--rule); background: none; color: var(--ink-1); padding-block: 16px; font-size: var(--t-base); }
table.prices tbody tr:hover td { background: var(--band); }
table.prices tbody tr.cheapest td { background: none; }
table.prices tbody tr.cheapest:hover td { background: var(--band); }
table.prices td.c-prov strong, table.prices .c-prov strong { font-family: var(--font); font-weight: 600; color: var(--ink-1); }
table.prices td.c-price, table.prices .c-price.money { color: var(--ink-1); font-size: var(--t-base); font-weight: 600; }
table.prices tr.cheapest td.c-price { color: var(--low); }
table.prices .city { color: var(--ink-1); }
.table-foot { color: var(--ink-2); font-size: var(--t-md); border: 0; padding-top: 16px; }

.soon { border-top: 1px solid var(--rule); margin-top: 48px; padding-top: 32px; }
.soon-intro h3 { font-size: var(--t-xl); margin: 0 0 8px; }
.soon-intro p { color: var(--ink-2); font-size: var(--t-base); }
.soon-card { background: none; border: 0; border-inline-start: 1px solid var(--rule); border-radius: 0; box-shadow: none; padding: 0 0 0 24px; }
[dir="rtl"] .soon-card { padding: 0 24px 0 0; }
.soon-card strong { font-family: var(--font); font-weight: 600; color: var(--ink-1); font-size: var(--t-body); }
.soon-card .when { color: var(--ink-1); font-weight: 400; font-size: var(--t-base); }
.soon-card .now { color: var(--ink-2); font-size: var(--t-md); }

/* ---------- how it works, services, why, FAQ ---------- */

.services, .why { gap: 0; border-top: 1px solid var(--ink-1); }
.services li, .why > div { background: none; border: 0; border-radius: 0; box-shadow: none; padding: 24px 32px 0 0; }
[dir="rtl"] :is(.services li, .why > div) { padding: 24px 0 0 32px; }
.services li + li, .why > div + div { border-inline-start: 1px solid var(--rule); padding-inline-start: 32px; }
.services li::before, .why > div::before { display: none; }
.services h3, .why h3 { font-size: var(--t-lg); margin: 0 0 8px; }
.services p, .why p { color: var(--ink-2); font-size: var(--t-base); margin: 0; }

.faq { border-top: 1px solid var(--ink-1); max-width: 820px; gap: 0; }
.faq details { background: none; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; box-shadow: none; padding: 0; margin: 0; }
.faq summary { font-family: var(--font); font-size: var(--t-lg); font-weight: 600; color: var(--ink-1); padding: 16px 0; background: none; }
.faq summary:hover { color: var(--link); }
.faq details p { color: var(--ink-2); font-size: var(--t-body); padding: 0 0 20px; margin: 0; max-width: 68ch; }

/* ---------- footer ---------- */
.site-footer { background: var(--band); color: var(--ink-2); border-top: 1px solid var(--rule); }
.site-footer a, .footer-links a { color: var(--ink-1); text-decoration: none; font-size: var(--t-md); }
.site-footer a:hover { text-decoration: underline; }
.footer-brand p { color: var(--ink-2); font-size: var(--t-md); }
.footer-legal { border-top: 1px solid var(--rule); }
.est-line { background: none; border: 0; border-radius: 0; padding: 0; box-shadow: none; color: var(--ink-2); font-size: var(--t-sm); }
.est-line :is(svg, i) { display: none; }
.disclaimer { color: var(--ink-3); font-size: var(--t-sm); border-top: 1px solid var(--rule); }

/* ---------- inner pages: forms, legal text, GPU ---------- */
.gpu-hero { background: var(--paper); background-image: none; color: var(--ink-1); border-bottom: 1px solid var(--rule); }

.gpu-page { background: var(--paper); }
.card, .panel { box-shadow: none; border-radius: var(--r-lg); border-color: var(--rule-2); }

/* GPU page */
.kicker { display: none; }
.gpu-hero { padding-block: clamp(32px, 5vw, 64px) clamp(40px, 5vw, 72px); }
:lang(ar) .gpu-hero h1, html[lang="ar"] .gpu-hero h1 { font-family: var(--font); font-weight: 800; font-size: var(--t-h1-ar); line-height: 1.5; letter-spacing: 0; }
:lang(en) .gpu-hero h1, html[lang="en"] .gpu-hero h1 { font-family: var(--font); font-weight: 600; font-size: var(--t-h1); line-height: 1.08; letter-spacing: -0.02em; }
.gpu-hero h1 { margin: 0 0 12px; max-width: 24ch; }
:lang(ar) .gpu-hero h1 { max-width: none; }
.gpu-hero p { font-size: var(--t-lg); line-height: 1.6; max-width: 52ch; margin: 0 0 20px; }

.gpu-comparison { padding-block: clamp(32px, 4vw, 56px) clamp(48px, 6vw, 80px); background: var(--paper); }
.gpu-comparison h2 { font-size: var(--t-2xl); margin: 0 0 16px; }
.gpu-filters { background: none; border: 0; border-block: 1px solid var(--rule); border-radius: 0; box-shadow: none; padding: 16px 0; }
.gpu-filters label { color: var(--ink-1); font-size: var(--t-md); font-weight: 600; }
.gpu-ksa-toggle, .gpu-vat { background: none; border: 0; border-radius: 0; padding: 0; box-shadow: none; }
.gpu-ksa-toggle small { color: var(--ink-2); font-weight: 400; }
.gpu-filters input[type="checkbox"] { accent-color: var(--btn-bg); }
.gpu-data-note { background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0; margin-block: 12px; color: var(--ink-2); font-size: var(--t-md); line-height: 1.6; max-width: 90ch; }
.gpu-data-note strong { color: var(--ink-1); }
.gpu-status { color: var(--ink-1); font-weight: 600; font-size: var(--t-base); }
.gpu-model-pill, .tag.gpu-model-pill { background: none; color: var(--ink-1); padding: 0; font-size: var(--t-base); font-weight: 600; box-shadow: none; }
.gpu-sku { font-family: var(--font-mono); font-size: var(--t-sm); color: var(--ink-2); background: none; border: 0; padding: 0; }
.mini-specs.gpu-spec-chips, .gpu-spec-chips {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px;
  direction: ltr; unicode-bidi: isolate;
}
.gpu-spec-chip {
  background: none; border: 0; padding: 4px 8px; color: var(--ink-2);
  direction: ltr; unicode-bidi: isolate; white-space: nowrap;
}
.gpu-location-status::before { display: none; }
.gpu-region-code { font-family: var(--font-mono); font-size: var(--t-sm); }
.gpu-hourly-price { color: var(--ink-1); font-family: var(--font); font-weight: 600; font-size: var(--t-base); }
.gpu-quote-link, a.gpu-quote-link { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); text-decoration: none; }
.gpu-quote-link:hover { background: var(--btn-hover); border-color: var(--btn-hover); color: var(--btn-fg); }
.gpu-hourly-unit, .gpu-monthly-price, .gpu-muted-detail { color: var(--ink-2); font-weight: 400; font-size: var(--t-sm); }

/* quote, partner and contact forms; legal text */
.quote-form, .join-form { background: var(--paper); border: 1px solid var(--rule-2); border-radius: var(--r-lg); box-shadow: none; }
.cp-quote-guide { background: none; border: 0; border-top: 1px solid var(--ink-1); border-radius: 0; box-shadow: none; padding: 20px 0 0; margin-top: 32px; }
.cp-quote-guide h2 { font-size: var(--t-lg); margin: 0 0 12px; }
.cp-quote-guide ul { margin: 0; padding: 0; list-style: none; }
.cp-quote-guide li { display: block; padding: 12px 0; margin: 0; border-bottom: 1px solid var(--rule); color: var(--ink-1); font-size: var(--t-base); line-height: 1.5; }
.cp-quote-guide li::before, .cp-quote-guide li::marker { content: none; display: none; }
.cp-quote-guide p { color: var(--ink-2); font-size: var(--t-md); }
.check, label.check { background: var(--paper); border: 1px solid var(--ctl); border-radius: var(--r); box-shadow: none; color: var(--ink-1); font-weight: 500; }
.check:has(input:checked) { border-color: var(--ink-1); box-shadow: inset 0 0 0 1px var(--ink-1); background: var(--paper); }
.check input, input[type="radio"], input[type="checkbox"] { accent-color: var(--btn-bg); }
.req, .field-label .req, label abbr { color: var(--low); }
.quote-page .section, .page { background: var(--paper); border-top: 0; }
.quote-aside h1 { font-size: var(--t-page); line-height: 1.15; margin: 0 0 12px; }
:lang(ar) .quote-aside h1 { line-height: 1.5; }
.prose h1 { font-size: var(--t-page); line-height: 1.15; }
:lang(ar) .prose h1 { line-height: 1.5; }
.prose .updated { background: none; border: 0; border-radius: 0; padding: 0; color: var(--ink-2); font-size: var(--t-md); }
.prose h2 { font-size: var(--t-xl); border-top: 1px solid var(--rule); }
.prose p, .prose li { color: var(--ink-2); font-size: var(--t-body); line-height: 1.75; }
.prose a { color: var(--link); }

/* contact page: two ruled entries and a plain follow-up, no cards */
.contact-cards { gap: 0; border-top: 1px solid var(--ink-1); }
.contact-card { background: none; border: 0; border-radius: 0; box-shadow: none; padding: 24px 32px 24px 0; color: var(--ink-1); text-decoration: none; }
[dir="rtl"] .contact-card { padding: 24px 0 24px 32px; }
.contact-card + .contact-card { border-inline-start: 1px solid var(--rule); padding-inline-start: 32px; }
.contact-card:hover { background: none; border-color: var(--rule); transform: none; box-shadow: none; }
.contact-card .cc-label { color: var(--ink-2); font-size: var(--t-md); font-weight: 400; letter-spacing: 0; text-transform: none; }
.contact-card .cc-value { color: var(--link); font-family: var(--font); font-size: var(--t-2xl); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.contact-card .cc-note { color: var(--ink-2); font-size: var(--t-base); }
.contact-next > div, .contact-next { background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0; }
.contact-next { border-top: 1px solid var(--rule); margin-top: 16px; padding-top: 32px; }
.contact-next h2 { font-size: var(--t-xl); margin: 0 0 8px; }
.contact-next p { color: var(--ink-2); font-size: var(--t-body); margin: 0 0 16px; }

main.page > .section:first-child { border-top: 0; padding-top: 0; }
/* one size for every inner-page title; legacy leftovers pulled onto the scale */
.page h1, .contact-page h1, .join-aside h1, .account-shell h1, .quote-aside h1, .prose h1 { font-size: var(--t-page); line-height: 1.15; }
:lang(ar) :is(.page h1, .contact-page h1, .join-aside h1, .account-shell h1) { line-height: 1.5; }
.calc-stamp .md-link { font-size: inherit; }
.en-term, small.en-term { font-size: var(--t-xs); }
.coverage .facts, .coverage .prov-names li, .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
@media (max-width: 900px) {
  .contact-card, [dir="rtl"] .contact-card { padding: 20px 0; }
  .contact-card + .contact-card { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid var(--rule); }
}

/* =====================================================================
   Page structure (home and GPU)
   1. page header: title, one sentence, switch between the two price lists
   2. calculator: the form and its results side by side
   3. price lists: full-width tables
   4. everything else: section name on one side, ruled rows on the other
   ===================================================================== */
.page-head, .gpu-hero { background: var(--paper); border-bottom: 1px solid var(--rule); padding-block: clamp(32px, 4vw, 48px) 0; }
.page-head h1, .gpu-hero h1 { font-family: var(--font); font-size: var(--t-h1); line-height: 1.15; margin: 0 0 8px; max-width: none; color: var(--ink-1); }
:lang(en) :is(.page-head, .gpu-hero) h1 { font-weight: 600; letter-spacing: -0.02em; }
:lang(ar) :is(.page-head, .gpu-hero) h1 { font-weight: 800; font-size: var(--t-h1-ar); line-height: 1.5; letter-spacing: 0; }
.page-sub, .gpu-hero p { color: var(--ink-2); font-size: var(--t-lg); line-height: 1.6; max-width: 70ch; margin: 0; }
.gpu-hero .wrap { max-width: var(--wrap); }
.page-tabs { display: flex; gap: 32px; margin: 24px 0 -1px; }
.page-tabs a { padding: 12px 0; border-bottom: 2px solid transparent; color: var(--ink-2); font-size: var(--t-body); font-weight: 500; text-decoration: none; white-space: nowrap; }
.page-tabs a:hover { color: var(--ink-1); border-bottom-color: var(--rule-2); }
.page-tabs a[aria-current="page"] { color: var(--ink-1); font-weight: 600; border-bottom-color: var(--ink-1); }

.calc, .calc.finder { display: block; background: var(--paper); padding-block: clamp(32px, 4vw, 48px) clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--rule); }
.calc-grid { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); column-gap: clamp(32px, 4vw, 64px); row-gap: 32px; align-items: start; }
.calc-form { border: 1px solid var(--rule-2); border-radius: var(--r-lg); background: var(--paper); min-width: 0; }

.calc-form .finder-form { padding: 20px 24px 24px; margin: 0; border: 0; background: none; }
.calc-form .sizer-wrap { padding: 16px 24px; margin: 0; border: 0; border-top: 1px solid var(--rule); background: none; border-radius: 0; box-shadow: none; }
.calc-out, .calc-out.finder-out, .calc #calc-results { border: 0; margin: 0; padding: 0; background: none; min-width: 0; }
.calc .results-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin: 0 0 12px; padding: 0; }
.calc .results-head h3 { font-size: var(--t-xl); line-height: 1.4; margin: 0; }
/* each result is one ruled row: who, total, then the detail line and the action */
.calc .offer-list { display: block; margin: 0; padding: 0; list-style: none; border: 0; border-top: 1px solid var(--ink-1); border-radius: 0; overflow: visible; }
.calc .offer, .calc .offer.best, .calc.hero-calc .offer, .calc.hero-calc .offer.best {
  display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; grid-template-areas: "rank who total" ". detail act"; column-gap: 12px; row-gap: 8px; align-items: start;
  padding: 16px 0; margin: 0; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; background: none; box-shadow: none; min-height: 0;
}
.calc .offer-list > .offer + .offer { border-inline-start: 0; border-top: 0; }
.calc .offer .rank { grid-area: rank; position: static; margin: 0; padding: 0; line-height: 1.6; font-size: var(--t-base); color: var(--ink-3); text-align: start; }
.calc .offer .who { grid-area: who; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; padding: 0; min-width: 0; }
.calc .offer .who strong { font-size: var(--t-body); line-height: 1.6; }
.calc .offer .total { grid-area: total; margin: 0; padding: 0; text-align: end; font-size: var(--t-xl); line-height: 1.3; white-space: nowrap; }
.calc .offer .total small { display: inline; margin-inline-start: 4px; }
.calc .offer .detail { grid-area: detail; display: block; margin: 0; padding: 0; border: 0; min-width: 0; }
.calc .offer .specs { display: flex; flex-wrap: wrap; gap: 0 16px; margin: 0; padding: 0; border: 0; }
.calc .offer .spec { display: inline-flex; flex-direction: row; align-items: baseline; gap: 4px; margin: 0; padding: 0; border: 0; min-width: 0; }
.calc .offer .spec small { display: inline; font-size: var(--t-sm); color: var(--ink-3); }
.calc .offer .spec b { display: inline; }
.calc .offer .spec b { font-size: var(--t-sm); font-weight: 500; color: var(--ink-1); }
.calc .offer .split { display: flex; flex-wrap: wrap; gap: 0 16px; margin: 4px 0 0; padding: 0; border: 0; }
.calc .offer .split > div, .calc .offer .split > div + div { display: inline-flex; flex-direction: row; align-items: baseline; gap: 4px; padding: 0; margin: 0; border: 0; }
.calc .offer .split span { font-size: var(--t-sm); color: var(--ink-3); }
.calc .offer .split b { font-size: var(--t-sm); font-weight: 600; }
.calc .offer .act { grid-area: act; display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin: 0; padding: 0; border: 0; align-self: end; }
.calc .offer .det-toggle { display: none; }
.calc .results-actions { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 16px 0 0; padding: 0; border: 0; }
.calc .results-actions .btn { min-height: 0; padding: 0; border: 0; background: none; color: var(--link); font-size: var(--t-md); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; border-radius: 0; }
.calc .results-actions .btn:hover { color: var(--ink-1); background: none; }
.calc .results-foot { margin: 8px 0 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 4px 24px; font-size: var(--t-md); }
.calc .results-foot .linkish { font-size: var(--t-md); }
.calc .calc-stamp { margin: 16px 0 0; color: var(--ink-3); font-size: var(--t-sm); line-height: 1.6; }

/* price lists */
.coverage { display: block; margin: 0 0 24px; padding: 12px 0; border-block: 1px solid var(--rule); }
.coverage .facts, .coverage .facts.stats { margin: 0; max-width: none; }
.coverage .cov-prov { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 8px 0 0; padding: 0; max-width: none; }
.coverage .hp-label { margin: 0; font-size: var(--t-md); color: var(--ink-2); }
.coverage .prov-names li { font-size: var(--t-md); }
.section.svc { border-top: 0; padding-top: 0; }
.section.svc .section-head h2 { font-size: var(--t-2xl); }
:lang(ar) .section.svc .section-head h2 { font-size: var(--t-xl); line-height: 1.6; }
.section.svc .section-head p { font-size: var(--t-body); }

/* section name beside ruled rows */
:lang(ar) .section h2, :lang(ar) .calc h2, :lang(ar) .gpu-comparison h2 { font-family: var(--font); font-weight: 800; }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: clamp(32px, 5vw, 80px); row-gap: 24px; align-items: start; }
.pair-head h2 { font-size: var(--t-h2); line-height: 1.25; margin: 0 0 8px; }
:lang(ar) .pair-head h2 { font-size: var(--t-h2-ar); line-height: 1.5; }
.pair-head p { color: var(--ink-2); font-size: var(--t-body); line-height: 1.7; margin: 0 0 20px; max-width: 40ch; }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink-1); counter-reset: row; }
.rows + .rows { margin-top: 32px; }
.rows > li, .rows > div { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); column-gap: 24px; row-gap: 4px; align-items: baseline; padding: 16px 0; margin: 0; border-bottom: 1px solid var(--rule); }
.rows h3, .rows dt { font-family: var(--font); font-size: var(--t-body); font-weight: 600; line-height: 1.6; margin: 0; color: var(--ink-1); letter-spacing: 0; }
:lang(ar) .rows h3, :lang(ar) .rows dt { font-weight: 700; }
.rows p, .rows dd { font-size: var(--t-base); line-height: 1.7; color: var(--ink-2); margin: 0; }

.rows-note { margin: 16px 0 0; font-size: var(--t-base); line-height: 1.7; color: var(--ink-2); }
.rows-note strong { color: var(--ink-1); font-weight: 600; }
.pair .faq { max-width: none; }

@media (max-width: 960px) {
  .calc-grid { grid-template-columns: minmax(0, 1fr); }
  .pair { grid-template-columns: minmax(0, 1fr); }
  .pair-head p { max-width: 60ch; }
}
@media (max-width: 560px) {
  .page-tabs { gap: 24px; }
  .calc .offer, .calc .offer.best, .calc.hero-calc .offer, .calc.hero-calc .offer.best { grid-template-columns: 20px minmax(0, 1fr); grid-template-areas: "rank who" ". total" ". detail" ". act"; }
  .calc .offer .total { text-align: start; }
  .calc .offer .act { justify-content: flex-start; }
  .rows > li, .rows > div { grid-template-columns: minmax(0, 1fr); }
  .coverage .facts { flex-direction: row; flex-wrap: wrap; gap: 4px 16px; }
}

/* =====================================================================
   AWS product-page grammar, in Cloud Pick's colours.
   Dark utility bar and footer; white navigation; a rounded sub-navigation bar for the page's sections;
   a light header with breadcrumb, title and two pill buttons; question-style section titles with
   whitespace between sections instead of rules; rounded media and grey cards; numbered steps.
   ===================================================================== */
:root, :root[data-scheme="light"] { --ink-1: #0F141A; --ink: #0F141A; --band: #F3F3F7; --surface-2: #F3F3F7; --wash: #F3F3F7; --link: #006CE0; --accent-text: #006CE0; --focus: #006CE0;
  --shadow-bar: 0 1px 2px rgba(15, 20, 26, .08), 0 4px 12px rgba(15, 20, 26, .06);
  --deep: #161D26; --deep-fg: #FFFFFF; --deep-fg-2: #C6CDD6; --deep-rule: #333F4D; --hero-a: #FCEBDF; --btn-bg: #0F141A; --btn-hover: #2B3440; --card-r: 16px; }
:root[data-scheme="dark"] { --band: #1A2027; --surface-2: #1A2027; --wash: #1A2027; --deep: #0A0E12; --deep-fg: #ECEEF1; --deep-fg-2: #AEB6C0; --deep-rule: #2A3138; --hero-a: #1F1A17; --card-r: 16px; }
section[id], [id="finder"] { scroll-margin-top: 150px; }

.util-bar, :root[data-theme="light"] .util-bar { background: var(--deep); border-bottom: 0; color: var(--deep-fg-2); }
.util-date span { color: var(--deep-fg); }
.util-links a, :root[data-theme="light"] .util-links a { color: var(--deep-fg); }
.util-links a:hover { color: var(--deep-fg); }
.util-bar :focus-visible { outline-color: var(--deep-fg); }

.btn { border-radius: 999px; border-width: 2px; min-height: 40px; padding: 8px 20px; }
:lang(ar) .btn { font-weight: 700; }
:lang(en) .btn { font-weight: 500; }
.btn-primary, .btn-light, .header-cta, :root[data-theme="light"] .btn-light, a.gpu-quote-link, .gpu-quote-link { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
.btn-primary:hover, .btn-light:hover, .header-cta:hover, .gpu-quote-link:hover { background: var(--btn-hover); border-color: var(--btn-hover); color: var(--btn-fg); }
.btn-ghost { background: var(--paper); color: var(--ink-1); border: 2px solid var(--ink-1); }
.btn-ghost:hover { background: var(--band); border-color: var(--ink-1); }
.btn-small { min-height: 32px; padding: 4px 14px; border-width: 1px; }
.chips button, .sz-chips label > span { border-radius: 999px; }
select, input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="url"], textarea, .stepper, .seg, .mode-tabs { border-radius: 8px; }

.subnav { position: sticky; top: 77px; z-index: 30; background: transparent; padding: 8px 0 0; pointer-events: none; }
.subnav .wrap { pointer-events: auto; }
.subnav + .page-head { margin-top: -57px; padding-top: 85px; }
.subnav-bar { display: flex; align-items: center; gap: 0 28px; min-height: 48px; padding: 0 20px; overflow-x: auto; white-space: nowrap; background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; scrollbar-width: none; box-shadow: var(--shadow-bar); }
.subnav-bar::-webkit-scrollbar { display: none; }
.subnav-bar strong { font-family: var(--font); font-weight: 700; font-size: var(--t-base); color: var(--ink-1); margin-inline-end: 8px; }
.subnav-bar a { padding: 12px 0; border-bottom: 2px solid transparent; color: var(--ink-1); font-size: var(--t-md); text-decoration: none; }
.subnav-bar a:hover { border-bottom-color: var(--ink-1); }

.page-head, .gpu-hero { background: linear-gradient(180deg, var(--hero-a) 0%, var(--paper) 100%); border: 0; padding-block: 28px clamp(32px, 4vw, 56px); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 28px; font-size: var(--t-md); color: var(--ink-2); }
.crumbs a { color: var(--ink-1); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--ink-1); font-weight: 600; }
.page-head h1, .gpu-hero h1, :lang(ar) :is(.page-head, .gpu-hero) h1, :lang(en) :is(.page-head, .gpu-hero) h1, html[lang="ar"] .gpu-hero h1, html[lang="en"] .gpu-hero h1 {
  font-family: var(--font); font-size: clamp(28px, 3vw, 38px); line-height: 1.3; margin: 0 0 8px; max-width: none; color: var(--ink-1); letter-spacing: 0; }
:lang(ar) :is(.page-head, .gpu-hero) h1 { font-weight: 700; }
:lang(en) :is(.page-head, .gpu-hero) h1 { font-weight: 500; letter-spacing: -0.01em; }
.page-sub, .gpu-hero p { color: var(--ink-1); font-size: var(--t-lg); line-height: 1.6; max-width: 70ch; margin: 0 0 24px; }
.page-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.gpu-hero .wrap { display: block; }
.gpu-table .gpu-quote-link { display: flex; width: fit-content; align-items: center; min-height: 32px; margin: 10px 0 0; margin-inline-start: auto; padding: 4px 14px; border-radius: 999px; font-size: var(--t-sm); line-height: 1.4; }

.section, .section.alt, .section.svc, .calc, .calc.finder { background: var(--paper); border: 0; padding-block: clamp(32px, 4vw, 56px); }
.section.svc { padding-top: 0; }
.section-head { max-width: 760px; margin: 0 0 24px; }
.section-head h2, .pair-head h2, .section h2, .calc h2, :lang(ar) .section h2, :lang(ar) .calc h2 { font-family: var(--font); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.35; margin: 0 0 12px; color: var(--ink-1); letter-spacing: 0; }
:lang(ar) :is(.section, .calc) h2 { font-weight: 700; }
:lang(en) :is(.section, .calc) h2 { font-weight: 500; letter-spacing: -0.01em; }
.section-head p { font-size: var(--t-body); line-height: 1.7; color: var(--ink-2); margin: 0; }

.intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(32px, 7vw, 112px); row-gap: 24px; align-items: center; }

.calc-grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); column-gap: 24px; row-gap: 24px; align-items: start; padding: clamp(16px, 2.4vw, 32px); background: var(--band); border-radius: var(--card-r); }
.calc-form { border: 1px solid var(--rule); border-radius: 12px; background: var(--paper); }
.calc-form .finder-form { padding: 24px; }
.calc-form .sizer-wrap { border-radius: 0 0 12px 12px; }
.calc-out, .calc-out.finder-out, .calc #calc-results { padding: 24px; background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; }
.calc .offer-list { border-top-color: var(--rule-2); }

.coverage { padding: 20px 24px; border: 0; border-radius: var(--card-r); background: var(--band); }
.table-wrap, .gpu-table-wrap { border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; }
table.prices thead th { background: var(--band); border-bottom: 1px solid var(--rule); padding-inline: 16px; }
table.prices tbody td { padding-inline: 16px; }
table.prices tbody tr:last-child td { border-bottom: 0; }

.nsteps { list-style: none; margin: 0; padding: 0; }
.nsteps li { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 16px; align-items: start; margin: 0; padding: 0 0 40px; }
.nsteps li:last-child { padding-bottom: 0; }
.nsteps .num { font-family: var(--font); font-size: 36px; line-height: 1.1; font-weight: 500; color: var(--link); font-variant-numeric: tabular-nums; }
.nsteps h3 { font-family: var(--font); font-size: var(--t-2xl); line-height: 1.3; margin: 0 0 12px; color: var(--ink-1); }
:lang(ar) .nsteps h3 { font-weight: 700; font-size: var(--t-xl); line-height: 1.6; }
:lang(en) .nsteps h3 { font-weight: 500; }
.nsteps p { font-size: var(--t-body); line-height: 1.7; color: var(--ink-1); margin: 0; max-width: 60ch; }

.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 32px; row-gap: 32px; }
.tiles li { margin: 0; }
.tiles h3 { font-family: var(--font); font-size: var(--t-lg); line-height: 1.4; margin: 0 0 8px; color: var(--ink-1); }
:lang(ar) .tiles h3 { font-weight: 700; }
:lang(en) .tiles h3 { font-weight: 600; }
.tiles p { font-size: var(--t-md); line-height: 1.7; color: var(--ink-1); margin: 0; }

.ucards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ucards li { margin: 0; padding: 28px; background: var(--band); border-radius: var(--card-r); }
.ucards h3 { font-family: var(--font); font-size: var(--t-xl); line-height: 1.4; margin: 0 0 8px; color: var(--ink-1); }
:lang(ar) .ucards h3 { font-weight: 700; }
:lang(en) .ucards h3 { font-weight: 500; }
.ucards p { font-size: var(--t-md); line-height: 1.7; color: var(--ink-1); margin: 0; }
.ms-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin: 24px 0 0; }
.ms-foot .rows-note { margin: 0; }
.faq { border-top: 1px solid var(--rule); }

.site-footer { background: var(--deep); color: var(--deep-fg-2); border-top: 0; }
.site-footer a, .footer-links a { color: var(--deep-fg); }
.footer-brand p, .est-line, .disclaimer { color: var(--deep-fg-2); }
.footer-legal, .disclaimer { border-top-color: var(--deep-rule); }
.site-footer .footer-brand .logo-on-light { display: none; }
.site-footer .footer-brand .logo-on-dark { display: block; }
.site-footer :focus-visible { outline-color: var(--deep-fg); }

@media (max-width: 960px) {
  .intro-grid, .calc-grid { grid-template-columns: minmax(0, 1fr); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ucards { grid-template-columns: minmax(0, 1fr); }
  .subnav { top: 69px; }
}
@media (max-width: 560px) {
  .tiles { gap: 24px 12px; }
  .calc-out, .calc-out.finder-out, .calc #calc-results, .calc-form .finder-form { padding: 16px; }
  .nsteps li { grid-template-columns: 40px minmax(0, 1fr); }
  .header-cta, .btn.header-cta { padding: 8px 14px; font-size: var(--t-md); }
  .header-row { gap: 8px; }
  .page-actions .btn { flex: 1 1 auto; justify-content: center; text-align: center; }
}

/* ---------- small screens ---------- */
@media (max-width: 1100px) {
  .main-nav a { padding: 8px 8px; font-size: var(--t-md); }
}
@media (max-width: 900px) {

  .services li, .why > div { padding: 20px 0; }

  .offer-list > .offer + .offer { border-inline-start: 0; border-top: 1px solid var(--rule); }
  .soon-card, [dir="rtl"] .soon-card { border-inline-start: 0; padding: 16px 0 0; border-top: 1px solid var(--rule); }
}
@media (max-width: 640px) {

  table.prices tbody td { border-bottom: 0; padding-block: 4px; }
  table.prices tbody tr { background: none; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; box-shadow: none; padding-inline: 0; margin: 0; }
}
/* touch screens: every control is at least 44px tall */
@media (pointer: coarse), (max-width: 720px) {
  .btn, .btn-small, .chips button, .theme-toggle, .mode-tabs button { min-height: var(--tap); }
  select, input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="url"] { min-height: var(--tap); }
  .switch, .gpu-ksa-toggle, .gpu-vat, .sz-check, .check { min-height: var(--tap); display: inline-flex; align-items: center; }
  .footer-links a, .table-links > *, .results-foot .linkish {
    display: inline-flex; align-items: center; min-height: var(--tap);
  }
  /* links inside a line of text: grow the tap area without moving the line */
  .util-links a, .calc-stamp .md-link { padding-block: 12px; }

}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* ---------- Tighter rhythm, service index, helper strip (second pass on the product-page layout) ---------- */
.section, .section.alt, .section.svc, .calc, .calc.finder { padding-block: clamp(24px, 2.8vw, 36px); }
.section.svc { padding-top: clamp(24px, 2.8vw, 36px); }
.page-head, .gpu-hero { padding-block: 28px clamp(24px, 3vw, 36px); }
.subnav + .page-head { padding-top: 96px; }
.section-head { max-width: 860px; margin: 0 0 20px; }
.section-head p, .section.svc .section-head p { max-width: none; font-size: var(--t-body); }
.section.svc .section-head h2, :lang(ar) .section.svc .section-head h2 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.35; }
.intro-grid { column-gap: clamp(32px, 5vw, 72px); }
.intro-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }

.idx { margin-top: clamp(24px, 3vw, 40px); }
.idx h3 { font-family: var(--font); font-size: var(--t-lg); line-height: 1.5; margin: 0 0 12px; color: var(--ink-1); }
:lang(ar) .idx h3 { font-weight: 700; }
:lang(en) .idx h3 { font-weight: 600; }
.svc-index { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.svc-index li { margin: 0; }
.svc-index a { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 64px; height: 100%; padding: 10px 16px; border: 1px solid var(--rule); border-radius: 12px; background: var(--paper); color: var(--ink-1); text-decoration: none; }
.svc-index a { background: var(--paper); border-color: var(--ctl); transition: border-color .12s ease, color .12s ease; }
.svc-index a:hover, .svc-index a:focus-visible { background: var(--paper); border-color: var(--low); box-shadow: inset 0 0 0 1px var(--low); color: var(--low); }
@media (prefers-reduced-motion: reduce) { .svc-index a { transition: none; } }
.svc-index b { font-size: var(--t-base); line-height: 1.5; }
:lang(ar) .svc-index b { font-weight: 700; }
:lang(en) .svc-index b { font-weight: 500; }
:lang(en) .svc-index a { min-height: 52px; }
.svc-index .en-term { display: block; margin: 0; font-size: var(--t-sm); color: var(--ink-2); text-align: start; }

.calc-grid { align-items: stretch; }
.calc-grid > .sizer-wrap { grid-column: 1 / -1; margin: 0; padding: 14px 24px; border: 1px solid var(--rule); border-radius: 12px; background: var(--paper); box-shadow: none; }
.calc-grid > .sizer-wrap .sizer-toggle { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; width: 100%; min-height: var(--tap); text-align: start; cursor: pointer; }
.calc-grid > .sizer-wrap .sz-ask { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
.calc-grid > .sizer-wrap .sizer { margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--rule); }
.calc-form .row-3 { align-items: end; }

.nsteps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 56px); row-gap: 24px; }
.nsteps li { grid-template-columns: 44px minmax(0, 1fr); column-gap: 12px; padding: 0; }
.nsteps p { max-width: none; }
.pair-head p { font-size: var(--t-body); color: var(--ink-2); margin: 0; max-width: none; }
.pair-head p a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.tiles { row-gap: 24px; }
.soon { margin-top: 24px; }

@media (max-width: 960px) {
  .intro-grid { grid-template-columns: minmax(0, 1fr); }
  .svc-index { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nsteps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .svc-index { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .svc-index a { padding: 8px 12px; }
  .calc-grid > .sizer-wrap { padding: 12px 16px; }
  .subnav + .page-head { padding-top: 88px; }
}

/* Specs helper: each choice is one pill; the native box is kept for keyboard and screen readers but not drawn. */
.sz-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sz-chips label { position: relative; display: inline-flex; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; cursor: pointer; }
.sz-chips label:has(input:checked) { border: 0; background: none; }
.sz-chips input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.sz-chips label > span { display: inline-block; padding: 6px 14px; line-height: 1.6; border: 1px solid var(--ctl); border-radius: 999px; background: var(--paper); color: var(--ink-1); }
.sz-chips label > span span { display: inline; padding: 0; border: 0; border-radius: 0; background: none; color: inherit; }
.sz-chips input:hover + span { border-color: var(--ink-1); }
.sz-chips input:checked + span { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
.sz-chips input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.calc-grid > .sizer-wrap .sizer { display: grid; gap: 16px; border-bottom: 0; padding-bottom: 0; }
.calc-grid > .sizer-wrap .sizer .field-label { margin-bottom: 8px; }
.calc-grid > .sizer-wrap .sz-msg { margin: 0; }
@media (pointer: coarse) { .sz-chips label > span { padding-block: 10px; } }

/* Specs helper header: icon, question with its explanation, and a real button in place of the small text link. */
.calc-grid > .sizer-wrap { padding: 16px 24px; }
.calc-grid > .sizer-wrap .sizer-toggle { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 16px; row-gap: 12px; }
.calc-grid > .sizer-wrap .sz-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--band); color: var(--ink-1); }
.calc-grid > .sizer-wrap .sz-ic svg { width: 22px; height: 22px; }
.calc-grid > .sizer-wrap .sz-ask { display: grid; gap: 2px; }
.calc-grid > .sizer-wrap .sz-ask b { font-size: var(--t-lg); line-height: 1.5; }
:lang(ar) .calc-grid > .sizer-wrap .sz-ask b { font-weight: 700; }
.calc-grid > .sizer-wrap .sz-ask small { font-size: var(--t-md); line-height: 1.6; color: var(--ink-2); }
.calc-grid > .sizer-wrap .sz-act { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 40px; padding: 0 20px; border: 2px solid var(--ink-1); border-radius: 999px; background: var(--paper); color: var(--ink-1); font-size: var(--t-base); line-height: 1.2; text-decoration: none; white-space: nowrap; transition: background-color .12s ease; }
:lang(ar) .calc-grid > .sizer-wrap .sz-act { font-weight: 700; }
:lang(en) .calc-grid > .sizer-wrap .sz-act { font-weight: 500; }
.calc-grid > .sizer-wrap .sizer-toggle:hover .sz-act { background: var(--band); text-decoration: none; }
.calc-grid > .sizer-wrap .sz-act::before { content: none; }
.calc-grid > .sizer-wrap .sz-act::after { content: ""; display: block; width: 8px; height: 8px; margin-top: -4px; border: solid var(--ink-1); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .12s ease; }
.calc-grid > .sizer-wrap .sizer-toggle[aria-expanded="true"] .sz-act::after { content: ""; margin-top: 4px; transform: rotate(-135deg); }
@media (prefers-reduced-motion: reduce) { .calc-grid > .sizer-wrap .sz-act, .calc-grid > .sizer-wrap .sz-act::after { transition: none; } }
@media (max-width: 720px) {
  .calc-grid > .sizer-wrap .sizer-toggle { grid-template-columns: auto minmax(0, 1fr); }
  .calc-grid > .sizer-wrap .sz-act { grid-column: 1 / -1; min-height: var(--tap); }
}

/* Calculator: the two ways to estimate, drawn as one question that forks into two options. */
.calc-grid > .mode-pick { grid-column: 1 / -1; min-width: 0; }
.mode-pick-label { margin: 0 0 6px; text-align: center; font-size: var(--t-base); line-height: 1.6; color: var(--ink-1); }
:lang(ar) .mode-pick-label { font-weight: 700; }
:lang(en) .mode-pick-label { font-weight: 600; }
.mode-fork { position: relative; display: block; height: 34px; margin: 0 0 6px; }
.mode-fork::before { content: ""; position: absolute; top: 0; left: 50%; width: 2px; height: 12px; margin-left: -1px; background: var(--ctl); }
.mode-fork::after { content: ""; position: absolute; top: 10px; bottom: 2px; left: calc(25% - 4px); right: calc(25% - 4px); border: 2px solid var(--ctl); border-bottom: 0; border-radius: 12px 12px 0 0; }
.mode-fork i { position: absolute; bottom: 1px; width: 9px; height: 9px; border: solid var(--ctl); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.mode-fork i:first-child { left: calc(25% - 4px - 3.5px); }
.mode-fork i:last-child { right: calc(25% - 4px - 3.5px); }
.mode-pick .mode-tabs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding: 0; border: 0; border-radius: 0; background: none; overflow: visible; }
.mode-pick .mode-tabs button, .mode-pick .mode-tabs button + button { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 16px; min-height: 80px; padding: 14px 20px; text-align: start; background: var(--paper); color: var(--ink-1); border: 1px solid var(--rule); border-radius: 12px; cursor: pointer; transition: border-color .12s ease; }
.mode-pick .mode-tabs button:hover { border-color: var(--ink-1); }
.mode-pick .mode-tabs button[aria-selected="true"] { background: var(--paper); color: var(--ink-1); border-color: var(--ink-1); box-shadow: inset 0 0 0 1px var(--ink-1); }
.mt-art { display: grid; place-items: center; width: 64px; height: 48px; border-radius: 10px; background: var(--band); color: var(--ink-1); }
.mt-text { display: grid; gap: 2px; min-width: 0; }
.mt-text b { font-family: var(--font); font-size: var(--t-lg); line-height: 1.5; }
:lang(ar) .mt-text b { font-weight: 700; }
:lang(en) .mt-text b { font-weight: 600; }
.mt-text small { font-size: var(--t-md); line-height: 1.6; font-weight: 400; color: var(--ink-2); }
.mt-dot { width: 20px; height: 20px; border: 2px solid var(--ctl); border-radius: 50%; background: var(--paper); }
.mode-tabs button[aria-selected="true"] .mt-dot { border-color: var(--ink-1); background: var(--ink-1); box-shadow: inset 0 0 0 3px var(--paper); }
@media (prefers-reduced-motion: reduce) { .mode-pick .mode-tabs button { transition: none; } }
@media (max-width: 720px) {
  .mode-pick .mode-tabs { gap: 8px; }
  .mode-fork::after { left: calc(25% - 2px); right: calc(25% - 2px); }
  .mode-fork i:first-child { left: calc(25% - 2px - 3.5px); }
  .mode-fork i:last-child { right: calc(25% - 2px - 3.5px); }
  .mode-pick .mode-tabs button, .mode-pick .mode-tabs button + button { grid-template-columns: minmax(0, 1fr) auto; align-items: start; row-gap: 8px; padding: 12px; }
  .mt-art { grid-column: 1; width: 56px; height: 40px; }
  .mt-dot { grid-column: 2; grid-row: 1; }
  .mt-text { grid-column: 1 / -1; }
  .mt-text b { font-size: var(--t-base); }
}

/* Even line lengths: short blocks are balanced so no line is left with one or two words. */
h1, h2, h3, .page-sub, .section-head p, .pair-head p, .tiles p, .ucards p, .nsteps p, .mt-text small, .sz-ask b, .sz-ask small, .mode-pick-label, .soon p, .ms-foot p, .unit-note, .pool-note, .sz-msg, .svc-outside-note, .site-footer p { text-wrap: balance; }
.faq details p, .prose p { text-wrap: pretty; }

/* ---------- Alignment pass ---------- */
/* Specs line under the processor sits on the same edge as the processor name in Arabic. */
html[dir="rtl"] .mini-specs { justify-content: flex-end; }
/* Calculator results: the cost breakdown is a fixed three-column grid, so figures line up from one offer to the next. */
.calc .offer .specs { gap: 2px 16px; }
.calc .offer .split { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 16px; margin: 10px 0 0; padding: 10px 0 0; border-top: 1px solid var(--rule); }
.calc .offer .split > div, .calc .offer .split > div + div { display: grid; gap: 0; align-content: start; }
.calc .offer .split span { line-height: 1.5; }
.calc .offer .split b { font-size: var(--t-md); line-height: 1.5; }
.calc .offer .act { align-self: end; }
/* Toolbars: label and control share one centre line. */
.cpu-filter { display: flex; align-items: center; gap: 8px; }
.cpu-filter .field-label { margin: 0; }
.toolbar { align-items: center; }
/* Service names keep a steady column instead of breaking mid-code. */
.svc-table th:nth-child(3) { width: 210px; }
.calc .results-actions, .calc .results-foot { margin: 16px 0 0; align-items: baseline; line-height: 1.6; }
.calc .results-actions .btn, .calc .results-foot .linkish { line-height: 1.6; }
@media (min-width: 561px) {
  .calc .offer, .calc .offer.best, .calc.hero-calc .offer, .calc.hero-calc .offer.best { grid-template-columns: 20px minmax(0, 1fr) 176px; }
  .calc .offer .act .btn { width: 100%; justify-content: center; }
}
/* GPU table: the price heading sits over the prices. */
.gpu-table thead th:last-child { text-align: end; }

/* Actions under tables and results are small outlined buttons, not small blue text; reference links are ink-coloured at the size of the text around them. */
#show-all, .results-foot .linkish, .calc .results-actions .btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 4px 16px; border: 1px solid var(--ink-1); border-radius: 999px;
  background: var(--paper); color: var(--ink-1); font-family: var(--font); font-size: var(--t-md); line-height: 1.4; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .12s ease;
}
:lang(ar) #show-all, :lang(ar) .results-foot .linkish, :lang(ar) .calc .results-actions .btn { font-weight: 700; }
:lang(en) #show-all, :lang(en) .results-foot .linkish, :lang(en) .calc .results-actions .btn { font-weight: 500; }
#show-all:hover, .results-foot .linkish:hover, .calc .results-actions .btn:hover { background: var(--band); color: var(--ink-1); }
.calc .results-actions { gap: 8px 12px; align-items: center; }
.calc .results-foot { align-items: center; gap: 8px 16px; }
.md-link, .table-foot .md-link, .calc-stamp .md-link { color: var(--ink-1); font-size: inherit; font-weight: 600; }
.md-link:hover { color: var(--link); }
.table-foot { font-size: var(--t-base); align-items: center; }
.table-links { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
@media (prefers-reduced-motion: reduce) { #show-all, .results-foot .linkish, .calc .results-actions .btn { transition: none; } }
@media (pointer: coarse) { #show-all, .results-foot .linkish, .calc .results-actions .btn { min-height: var(--tap); } }
@media (max-width: 560px) { .calc .results-actions { gap: 8px; } .calc .results-actions .btn { padding-inline: 12px; } }

/* ---------- Intro map: the Kingdom, the cities with a compared region, and who is in each ---------- */
:root { --map-land: var(--band); --map-edge: #C9A28E; --map-line: #8F3A14; --map-nb: #C9CED6; }
:root[data-scheme="dark"] { --map-land: var(--band); --map-edge: #8A6A5A; --map-line: #F0A47C; --map-nb: #4A5460; }
.kmap { margin: 0; width: 100%; max-width: 540px; justify-self: center; min-width: 0; }
.kmap-stage { position: relative; aspect-ratio: 5 / 4; }
.kmap-stage svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.kmap-land { fill: var(--map-land); stroke: var(--map-edge); stroke-width: 2.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.kmap-land { stroke-width: 1.25px; }
.kmap-nb { fill: none; stroke: var(--map-nb); stroke-width: 1px; vector-effect: non-scaling-stroke; }
.klink { fill: none; stroke: var(--map-line); stroke-opacity: .35; stroke-width: 1px; vector-effect: non-scaling-stroke; }
.klink.ref { stroke: var(--ink-3); stroke-opacity: .6; stroke-dasharray: .02 .02; }
.kflow { fill: none; stroke: var(--map-line); stroke-width: 2px; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: .12 .88; stroke-dashoffset: 1; animation: kflow 4.5s linear infinite; }
.kflow:nth-of-type(odd) { animation-delay: -1.5s; }
@keyframes kflow { to { stroke-dashoffset: 0; } }
.kpins { list-style: none; margin: 0; padding: 0; }
.kpin { position: absolute; width: 0; height: 0; margin: 0; }
.kpin[data-city="riyadh"] { left: 55.30%; top: 46.94%; }
.kpin[data-city="jeddah"] { left: 22.57%; top: 66.10%; }
.kpin[data-city="dammam"] { left: 70.00%; top: 36.70%; }
.kpin[data-city="bahrain"] { left: 72.13%; top: 37.90%; }
.kpin[data-city="dubai"] { left: 92.48%; top: 44.02%; }
.kdot { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--map-line); box-shadow: 0 0 0 3px var(--map-land); }
.kpin:not(.ref) .kdot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--map-line); animation: kpulse 2.6s ease-out infinite; }
.kpin[data-city="jeddah"] .kdot::after { animation-delay: -.9s; }
.kpin[data-city="dammam"] .kdot::after { animation-delay: -1.7s; }
@keyframes kpulse { from { transform: scale(1); opacity: .7; } to { transform: scale(3.2); opacity: 0; } }
.kpin.ref .kdot { left: -5px; top: -5px; width: 10px; height: 10px; background: var(--paper); border: 2px solid var(--ink-3); box-shadow: none; }
.klabel { position: absolute; display: grid; justify-items: center; gap: 0; padding: 4px 10px; border: 1px solid var(--rule-2); border-radius: 8px; background: var(--paper); white-space: nowrap; text-align: center; line-height: 1.45; }
.klabel b { font-size: var(--t-md); font-weight: 700; color: var(--ink-1); }
.klabel small { font-family: var(--font-en, var(--font)); font-size: var(--t-xs); color: var(--ink-2); }
.kpin.ref .klabel { border-style: dashed; }
.kpin.ref .klabel b { font-weight: 500; color: var(--ink-2); }
/* where each label sits relative to its marker, chosen so the eastern cities do not collide */
.kpin[data-city="riyadh"] .klabel { bottom: 14px; left: 0; transform: translateX(-72%); }
.kpin[data-city="jeddah"] .klabel { bottom: 14px; left: 0; transform: translateX(-50%); }
.kpin[data-city="dammam"] .klabel { bottom: 14px; left: 0; transform: translateX(-50%); }
.kpin[data-city="bahrain"] .klabel { top: 0; left: 14px; transform: translateY(-50%); grid-auto-flow: column; gap: 6px; align-items: baseline; }
.kpin[data-city="dubai"] .klabel { top: 14px; right: -24px; }
.kmap figcaption { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; margin-top: 12px; font-size: var(--t-sm); color: var(--ink-2); }
.kkey { display: inline-flex; align-items: center; gap: 8px; }
.kkey .kdot { position: static; flex: none; box-shadow: none; width: 10px; height: 10px; }
.kkey.ref .kdot { background: var(--paper); border: 2px solid var(--ink-3); }
@media (prefers-reduced-motion: reduce) { .kflow { animation: none; stroke-dasharray: none; stroke-opacity: 0; } .kpin:not(.ref) .kdot::after { animation: none; opacity: 0; } }
@media (max-width: 560px) {
  .klabel { padding: 2px 8px; }
  .klabel b { font-size: var(--t-sm); }
  .klabel small { display: none; }
  .kpin[data-city="dubai"] .klabel { right: -16px; }
}

/* ---------- Each fact in its own labelled place ---------- */
/* Calculator results: specifications read as a short sheet, one labelled row per fact, above the cost grid. */
.calc .offer .specs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; margin: 4px 0 0; }
.calc .offer .spec { display: grid; grid-template-columns: 76px minmax(0, 1fr); column-gap: 12px; align-items: baseline; min-width: 0; }
:lang(en) .calc .offer .spec { grid-template-columns: 84px minmax(0, 1fr); }
.calc .offer .spec small { font-size: var(--t-sm); line-height: 1.7; color: var(--ink-3); }
.calc .offer .spec b { font-size: var(--t-md); line-height: 1.7; font-weight: 500; color: var(--ink-1); overflow-wrap: anywhere; }
html[dir="rtl"] .calc .offer .spec b.ltr { text-align: right; }
.calc .offer .spec-sku b { font-family: var(--font-mono); font-size: var(--t-sm); }
.calc .offer .spec-cpu b { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; }
.calc .offer .spec-cpu, .calc .offer .spec-disk, .calc .offer .spec-sku { grid-column: auto; }
/* Price list: processor and size are separate columns. */
.size-pair { display: inline-flex; flex-wrap: wrap; gap: 0 6px; direction: ltr; }
.size-pair b { font-size: var(--t-md); font-weight: 500; color: var(--ink-1); white-space: nowrap; }
.size-pair b + b::before { content: "·"; margin-inline-end: 6px; color: var(--ink-3); }
#price-table[data-cat]:not([data-cat="compute"]) .c-size { display: none; }
table.prices td.c-cpu { font-size: var(--t-md); }
/* Phone cards: service, processor and size each get a visible label, like the columns on a wide screen. */
@media (max-width: 720px) {
  table.prices:not(.gpu-table) td.c-sku, table.prices:not(.gpu-table) td.c-cpu, table.prices:not(.gpu-table) td.c-size {
    grid-column: 1 / -1; display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 12px; align-items: baseline; padding-block: 2px; min-width: 0; }
  table.prices:not(.gpu-table) td.c-sku[data-label]::before, table.prices:not(.gpu-table) td.c-cpu[data-label]::before, table.prices:not(.gpu-table) td.c-size[data-label]::before {
    content: attr(data-label); position: static; inline-size: auto; block-size: auto; overflow: visible; clip-path: none; white-space: normal;
    font-size: var(--t-sm); font-weight: 400; color: var(--ink-3); line-height: 1.6; }
  table.prices:not(.gpu-table) td.c-sku:empty, table.prices:not(.gpu-table) td.c-cpu:empty, table.prices:not(.gpu-table) td.c-size:empty { display: none; }
  table.prices:not(.gpu-table) td.c-cpu > *, table.prices:not(.gpu-table) td.c-sku > *, table.prices:not(.gpu-table) td.c-size > * { grid-column: 2; justify-self: start; min-width: 0; }
  table.prices:not(.gpu-table) td .cell-v { text-align: start; }
  html[dir="rtl"] table.prices:not(.gpu-table) td .cell-v .mini-specs { justify-content: flex-end; }
}

/* Arabic headings (page title and section titles) use the Kufi face; everything else stays in Almarai. */
html[lang="ar"][dir="rtl"] body :is(h1, h2) { font-family: var(--font-head); font-weight: 700; }
html[lang="ar"][dir="rtl"] body h1 { line-height: 1.35; }
html[lang="ar"][dir="rtl"] body h2 { line-height: 1.45; }

/* The description of Cloud Pick now sits under the page title; the section below pairs the service index with the map. */
.page-sub { max-width: 64ch; }
.intro-grid .idx { margin: 0; min-width: 0; }
.intro-grid .idx h2 { margin: 0 0 16px; }
.intro-grid .svc-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 960px) { .intro-grid .svc-index { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .intro-grid .svc-index { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Phones: the page header is centred, so a two-line title and its description read as one balanced block instead of a short line over a long one. */
@media (max-width: 720px) {
  .page-head .wrap, .gpu-hero .wrap { text-align: center; }
  .page-head h1, .gpu-hero h1, .page-sub, .gpu-hero p { margin-inline: auto; }
  .page-actions, .crumbs { justify-content: center; }
}
/* Three header actions: one row on wide screens; on phones the calculator spans the top row, the other two share the second. */
@media (max-width: 720px) {
  .page-head .page-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .page-head .page-actions .btn-primary { grid-column: 1 / -1; }
  .page-head .page-actions .btn { padding-inline: 10px; white-space: normal; line-height: 1.3; }
}

/* Result cards: cost figures share one baseline even when a label wraps. */
.calc .offer .split { align-items: stretch; }
.calc .offer .split > div, .calc .offer .split > div + div { grid-template-rows: 1fr auto; align-content: stretch; }
/* Phones: name and city on the first line, tags on the second, then the price; details use the card's full width. */
@media (max-width: 560px) {
  .calc .offer, .calc .offer.best, .calc.hero-calc .offer, .calc.hero-calc .offer.best {
    grid-template-columns: auto minmax(0, 1fr); column-gap: 8px; grid-template-areas: "rank who" "total total" "detail detail" "act act"; }
  .calc .offer .who::before { content: ""; order: 2; flex: 0 0 100%; height: 0; }
  .calc .offer .who strong, .calc .offer .who > span:not(.tag):not(.best-flag) { order: 1; }
  .calc .offer .who .tag, .calc .offer .who .best-flag { order: 3; }
  .calc .offer .total { margin-top: 6px; font-size: var(--t-2xl); }
  .calc .offer .detail { margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--rule); }
  .calc .offer .act .btn { width: 100%; justify-content: center; }
}

/* Audit pass (Hallmark floor, interface polish, web interface guidelines) */
html, body { overflow-x: clip; }
/* Press feedback on buttons */
.btn:active, .sz-act:active { transform: scale(.96); }
@media (prefers-reduced-motion: reduce) { .btn:active, .sz-act:active { transform: none; } }
/* Price basis and legal line: facts side by side with hairline dividers, none at the start of a wrapped line */
.meta-line { display: block; flex: 1 1 auto; min-width: 0; overflow-x: clip; overflow-y: visible; padding-inline: 4px; margin-inline: -4px; }
.meta-items { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 12px; row-gap: 2px; margin-inline-start: -13px; }
.meta-items > * { position: relative; padding-inline-start: 12px; }
.meta-items > *::before { content: ""; position: absolute; inset-inline-start: 0; top: 50%; width: 1px; height: 1.1em; margin-top: -.55em; background: var(--rule); }
.site-footer .meta-items > *::before { background: var(--deep-rule); }
/* Phone header: logo, theme, quote and menu all fit from 320px */
@media (max-width: 400px) {
  .header-row { gap: 6px; padding-inline: 12px; }
  .header-cta, .btn.header-cta { padding: 8px 12px; font-size: var(--t-sm); }
  .theme-toggle, :root[data-theme="light"] .theme-toggle { width: 36px; }
}
@media (max-width: 359px) {
  .brand img { height: 22px; }
  .theme-toggle, :root[data-theme="light"] .theme-toggle { width: 32px; }
  .nav-menu summary { width: 40px; }
}
/* Advantages: text set on a hairline, no drawn illustrations */
.tiles li { padding-top: 16px; border-top: 1px solid var(--rule); }
/* Steps: the numbers are part of the sequence, set in ink rather than a separate accent */
.nsteps .num { color: var(--ink-1); font-size: var(--t-2xl); font-weight: 600; line-height: 1.4; }
/* Advantages: three items */
.tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 560px) { .tiles { grid-template-columns: minmax(0, 1fr); } }
/* Lowest and highest price for the same specs: two labelled values */
.calc .spread { margin: 0 0 16px; border: 1px solid var(--rule); border-radius: var(--r-md, 12px); padding: 12px 16px; }
.calc .spread-title { margin: 0 0 8px; font-size: var(--t-sm); color: var(--ink-2); }
.calc .spread dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.calc .spread dl > div { padding-inline: 12px; border-inline-start: 1px solid var(--rule); }
.calc .spread dl > div:first-child { padding-inline-start: 0; border-inline-start: 0; }
.calc .spread dt { font-size: var(--t-sm); color: var(--ink-2); margin: 0 0 2px; }
.calc .spread dd { margin: 0; line-height: 1.5; }
.calc .spread dd strong { font-size: var(--t-lg); font-weight: 700; color: var(--ink-1); font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc .spread dd small { font-size: var(--t-sm); color: var(--ink-2); }
.calc .spread-note { display: block; font-size: var(--t-sm); color: var(--ink-2); }
@media (max-width: 560px) {
  .calc .spread { padding: 12px; }
  .calc .spread dl { grid-template-columns: minmax(0, 1fr); }
  .calc .spread dl > div { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 0 12px;
    padding: 8px 0; border-inline-start: 0; border-top: 1px solid var(--rule); }
  .calc .spread dl > div:first-child { padding-top: 0; border-top: 0; }
  .calc .spread dt { white-space: nowrap; margin: 0; }
  .calc .spread dd { text-align: end; }
}
/* In-Saudi tag stays green inside the price list too (.tags .tag was overriding it) */
.tag-ksa, .tags .tag-ksa { background: var(--ok-soft); color: var(--ok); }
/* Providers above the price list, in two groups: inside and outside Saudi Arabia.
   The rows share one grid so both tags sit in a column as wide as the longer one. */
.coverage .cov-groups { display: grid; grid-template-columns: max-content minmax(0, 1fr); align-items: start; gap: 12px 20px;
  margin: 16px 0 0; padding: 16px 0 0; border-top: 1px solid var(--rule); }
.coverage .cov-groups > div { display: contents; }
.coverage .cov-groups dt { margin: 0; padding-top: 7px; }
.coverage .cov-groups dt .tag { white-space: nowrap; }
.coverage .cov-groups .tag-ref { background: var(--paper); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--rule-2); }
.coverage .cov-groups dd { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.coverage .cov-groups dd span { color: var(--ink-1); font-size: var(--t-md); font-weight: 500; white-space: nowrap;
  padding: 6px 14px; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-sm); line-height: 1.4; }
@media (max-width: 560px) {
  .coverage .cov-groups { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .coverage .cov-groups dd { gap: 8px; margin-bottom: 8px; }
  .coverage .cov-groups dt { padding-top: 0; }
  /* Counts: three equal columns, number above its label */
  .coverage .facts, .coverage .facts.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .coverage .facts > div { flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 0; }
  .coverage .facts dd { order: -1; }
  .coverage .facts > div:not(:last-child) { padding-inline-end: 12px; margin-inline-end: 12px; }
  .coverage .facts dd { font-size: var(--t-lg); }
  .coverage .facts dt { font-size: var(--t-sm); }
}
/* Summary band in the footer's dark colour so the provider boxes stand out (owner's choice) */
.coverage { background: var(--deep); color: var(--deep-fg); }
:root[data-scheme="dark"] .coverage { box-shadow: inset 0 0 0 1px var(--deep-rule); }
.coverage .facts dd { color: var(--deep-fg); }
.coverage .facts dt { color: var(--deep-fg-2); }
.coverage .facts > div:not(:last-child) { border-inline-end-color: var(--deep-rule); }
.coverage .cov-groups { border-top-color: var(--deep-rule); }
.coverage .cov-groups dd span { background: rgba(255, 255, 255, .06); border-color: var(--deep-rule); color: var(--deep-fg); }
.coverage .cov-groups .tag-ksa { background: #1E3B2C; color: #8FD9AE; }
.coverage .cov-groups .tag-ref { background: transparent; color: var(--deep-fg-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
/* Lowest price in green, highest in red */
:root { --bad: #B42318; }
:root[data-scheme="dark"] { --bad: #F97066; }
.calc .spread .is-lo dd strong { color: var(--ok); }
.calc .spread .is-hi dd strong { color: var(--bad); }
/* ---------- Colour meanings, one per colour, site-wide ----------
   green  = good for the customer: lowest price, cheapest row, "الأقل تكلفة", in Saudi Arabia (tags, map)
   red    = highest price only
   blue   = interactive (links, hover)
   black  = main buttons
   rust   = the logo only */
:root, :root[data-scheme="light"] { --low: var(--ok); --ksa: var(--ok); --ksa-soft: var(--ok-soft); --map-line: var(--ok); --map-edge: #A9BAAF; }
:root[data-scheme="dark"] { --low: var(--ok); --ksa: var(--ok); --ksa-soft: var(--ok-soft); --map-line: var(--ok); --map-edge: #4C6155; }
.req, .field-label .req, label abbr { color: var(--bad); }
.svc-index a:hover, .svc-index a:focus-visible { border-color: var(--link); box-shadow: inset 0 0 0 1px var(--link); color: var(--link); }
