@layer legacy {
/* Cloud Pick v6 design layer (round-3 v6, approved by Bandar 26 Oct 2026).
   Loaded after site.css on every page. Layout rules apply always; colour rules are scoped to
   :root[data-scheme="light"|"dark"], which theme.js sets to the theme in effect (saved choice in
   localStorage "cp-theme", else the OS). Without JS the site.css colours apply.
   Data, calculator logic, forms and the footer seal are untouched; this file only restyles. */

/* ---------- Type: Noto Kufi Arabic (headings) + Almarai (body/UI), SIL OFL 1.1, self-hosted ---------- */
@font-face { font-family: "CP Kufi"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/cp-kufi-600.woff2") format("woff2"); }
@font-face { font-family: "CP Kufi"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/cp-kufi-700.woff2") format("woff2"); }
/* Body/UI: Almarai (Boutros Fonts), SIL OFL 1.1, self-hosted from Google Fonts (fonts.googleapis.com css2, gstatic v19), Arabic + Latin subsets.
   Almarai has no 500/600: the 400 face also answers 500 and the 700 face answers 600, so weight 500 renders 400 and 600 renders 700. */
@font-face { font-family: "CP Almarai"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/cp-almarai-arabic-300.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: "CP Almarai"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/cp-almarai-latin-300.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "CP Almarai"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("../fonts/cp-almarai-arabic-400.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: "CP Almarai"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("../fonts/cp-almarai-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "CP Almarai"; font-style: normal; font-weight: 600 700; font-display: swap; src: url("../fonts/cp-almarai-arabic-700.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: "CP Almarai"; font-style: normal; font-weight: 600 700; font-display: swap; src: url("../fonts/cp-almarai-latin-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "CP Almarai"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/cp-almarai-arabic-800.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: "CP Almarai"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/cp-almarai-latin-800.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Metric-matched fallback while Almarai loads (Latin advance widths vs Arial), to keep the swap from shifting layout. */
@font-face { font-family: "CP Almarai Fallback"; src: local("Arial"), local("ArialMT"), local("Liberation Sans"); size-adjust: 93%; ascent-override: 97.4%; descent-override: 22.7%; line-gap-override: 0%; }
html, html[lang="ar"], html[lang="en"] {
  --wrap: 1216px;
  --font: "CP Almarai", "CP Almarai Fallback", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --font-head: "CP Kufi", "CP Almarai", "CP Almarai Fallback", system-ui, Tahoma, sans-serif;
}
body, html[lang="ar"] body { line-height: 1.7; }
b, strong { font-weight: 600; }
h1, h2, h3, html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; }
.pin-l small, .rk, .row > b, .pr { font-family: var(--font); }

/* ---------- v6 tokens ---------- */
:root[data-scheme="light"] { --rust-tint: #FBF4EF; --line2: #E9EDF2; --knob-off: #C9D1DB; }
:root[data-scheme="dark"]  { --rust-tint: #1A2232; --line2: #1A3049; --knob-off: #2C4867; }

/* ---------- Hero: still scene (no scroll pin, no tilt), copy + map beside the calculator ---------- */
:root .hero, :root .hero { height: auto; --tilt: 0deg; }
.hero-stage { position: relative; top: auto; height: auto; display: block; padding-block: 48px; }
/* overflow: clip, not hidden: a hidden box is still a scroll container, so the #calc-results jump scrolled the
   stage itself (by the height of an overflowing decorative layer) and the top of the hero could not be scrolled back into view.
   clip paints the same edge but can never scroll; flow-root keeps the block formatting context hidden used to give. */
.hero-stage { overflow: hidden; overflow: clip; display: flow-root; }
:root .hero :is(.hero-copy, .facts, .finder), .hero .atlas { transform: none; translate: none; scale: none; opacity: 1; }
:root .hero .beam { height: 0; }
:root .hero .pin.ref .pin-l { opacity: 1; }
:root .hero .d4 { position: relative; z-index: 4; }
.hero-grid {
  grid-template-columns: minmax(0, 1fr) 460px; grid-template-areas: none; grid-template-rows: none;
  column-gap: 32px; row-gap: 0; align-items: start;
}
.hero-grid > .hero-copy { grid-area: auto; min-width: 0; }
.hero-grid > .finder { grid-area: auto; }

:root .hero .eyebrow {
  display: inline-block; font-size: 14px; font-weight: 600; line-height: 1.7; padding: 4px 14px; margin: 0 0 20px;
  border: 1px solid #F5E7DE; border-radius: 999px; background: var(--surface); color: var(--accent-text);
}
:root .hero .eyebrow::before { display: none; }
:root .hero h1, html[lang="ar"] .hero h1 { margin: 0; font-size: 31px; line-height: 1.5; font-weight: 700; text-wrap: balance; }
html[lang="en"] .hero h1 { font-size: 35px; line-height: 1.3; letter-spacing: -.01em; }
:root .hero .hero-sub { margin-top: 16px; max-width: 34em; font-size: 20px; line-height: 1.7; text-wrap: pretty; }
:root .hero .hero-points { margin: 24px 0 0; gap: 12px 24px; }
:root .hero .hero-points li { gap: 8px; font-size: 16px; font-weight: 600; }
:root .hero .hero-points li::before {
  width: 20px; height: 20px; border: 0; border-radius: 50%;
  background: var(--rust) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat;
}
/* the map sits under the copy, inside the copy column (no price board: the calculator is beside it) */
:is(.hero-copy, .hero-lead) > .atlas { margin: 16px 0 0; align-self: auto; }
:root .hero .atlas-stage { width: 100%; min-width: 0; max-width: 560px; margin-inline: auto; }
.pin-l b { font-weight: 600; }
.pin-l em { font-size: 11px; }

/* providers covered: name chips */
.hero-prov { margin-top: 32px; }
.hp-label { margin: 0 0 12px; font-size: 14px; color: var(--faint); }
.prov-names { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.prov-names li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font-size: 14px; font-weight: 600; line-height: 1.5; color: var(--ink); }
.prov-names li small { font-size: 13px; font-weight: 400; color: var(--faint); }

/* partner line: one quiet card, the whole card is the link */
:root .hero .ms-card {
  margin: 16px 0 0; padding: 12px 16px; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: nowrap; line-height: 1.5;
  border: 1px solid var(--line); border-radius: 12px; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none;
}
:root .hero .ms-card .hm-ic { display: none; }
:root .hero .ms-card::after { display: none; }
:root .hero .ms-tx { gap: 2px; }
:root .hero .ms-tx strong { font-size: 14px; font-weight: 600; }
:root .hero .ms-tx > span { font-size: 13px; }
:root .hero .ms-card .ms-btn { display: inline; flex: none; padding: 0; border: 0; border-radius: 0; background: none; font-size: 14px; font-weight: 600; line-height: 1.5; color: var(--accent-text); text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
:root .hero .ms-card:hover .ms-btn { background: none; text-decoration-thickness: 2px; }

/* key figures: four cells in one strip, inside the stage */
:root .hero .facts.stats {
  grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: auto; margin: 24px 0 0;
  border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: none;
}
:root .hero .facts.stats > div { padding: 16px 20px; gap: 2px; border: 0; border-inline-start: 1px solid var(--line2, var(--line)); }
:root .hero .facts.stats > div:first-child { border-inline-start: 0; }
:root .hero .facts.stats dt { font-size: 14px; }
:root .hero .facts.stats dd { font: 600 31px/1.2 var(--font-head); }
:root .hero .facts.stats dd.d { font: 600 20px/1.9 var(--font-head); }

/* ---------- The calculator card beside the hero copy ---------- */
:root .hero-calc { padding: 24px; border-radius: 16px; box-shadow: none; overflow: visible; border: 1px solid var(--line); }
:root .hero-calc .finder-head { display: block; padding: 0; background: none; box-shadow: none; }
:root .hero-calc .finder-head h2 { display: block; font-size: 20px; font-weight: 600; line-height: 1.5; }
:root .hero-calc .finder-head .hint { display: block; font-size: 14px; color: var(--muted); }
:root .hero-calc .finder-form { padding: 0; margin-top: 16px; gap: 16px; }
:root .hero-calc .mode-tabs { padding: 4px; gap: 0; border: 0; border-radius: 10px; background: var(--wash); }
:root .hero-calc .mode-tabs button { min-height: 44px; border-radius: 8px; font: 400 14px var(--font); color: var(--muted); }
:root .hero-calc .mode-tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: none; }
:root .hero-calc .mode-panel { gap: 16px; }
:root .hero-calc .field-label { font-size: 14px; font-weight: 600; color: var(--ink); }
:root .hero-calc .seg { gap: 8px; }
:root .hero-calc .seg label { justify-content: center; min-height: 60px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; }
:root .hero-calc .seg label b { font-size: 16px; }
:root .hero-calc .seg label span { font-size: 13px; color: var(--faint); }
:root .hero-calc .seg input:checked + label { border: 2px solid var(--rust); background: var(--rust-tint); box-shadow: none; padding: 7px 11px; }
:root .hero-calc .row-3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
:root .hero-calc .row-3 > :first-child { grid-column: 1 / -1; }
:root .hero-calc .stepper { height: 48px; border: 1px solid var(--line-strong); border-radius: 10px; }
:root .hero-calc .stepper button { width: 44px; background: var(--wash); font-size: 20px; font-weight: 600; }
:root .hero-calc select { height: 48px; min-height: 48px; border-radius: 10px; border-color: var(--line-strong); font-size: 16px; padding-block: 0; }
:root .hero-calc .opts { grid-template-columns: minmax(0, 1fr); gap: 12px; }
:root .hero-calc .opts .toggles { padding: 0; flex-direction: column; align-items: flex-start; gap: 4px; }
:root .hero-calc .switch { min-height: 36px; gap: 10px; }
:root .hero-calc .switch .track { width: 36px; height: 20px; background: var(--knob-off, var(--field-line)); }
:root .hero-calc .switch .track::after { top: 2px; inset-inline-start: 2px; width: 16px; height: 16px; }
:root .hero-calc .switch input:checked + .track { background: var(--rust); }
:root .hero-calc .switch input:checked + .track::after { inset-inline-start: 18px; }
:root .hero-calc .finder-out { padding: 16px 0 0; margin-top: 20px; border-top: 1px solid var(--line2, var(--line)); }
:root .hero-calc .results.is-loading { min-height: 360px; }
:root .hero-calc .results-head h3 { font-size: 16px; }
:root .hero-calc .offer { border-color: var(--line2, var(--line)); border-radius: 10px; padding: 10px 12px; }
:root .hero-calc .offer.best { border-color: var(--accent-text); box-shadow: none; background: var(--rust-tint); }
:root .hero-calc .offer.best .rank { background: var(--rust); color: #fff; box-shadow: none; }
:root .hero-calc .offer .total { font-size: 20px; font-weight: 600; }
.calc-cta { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 12px; margin-top: 16px; }
.calc-cta .btn { min-height: 52px; border-radius: 10px; font-size: 16px; padding-inline: 16px; }
.calc-cta .btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.calc-cta .btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
:root .hero-calc .calc-stamp { margin-top: 12px; }
/* sizing helper: a quiet wash box at the foot of the card */
:root .hero-calc .sizer-wrap { padding: 0; margin-top: 16px; }
:root .hero-calc .sizer-toggle, html[dir="rtl"] .hero-calc .sizer-toggle {
  grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 12px 16px; border: 0; border-radius: 10px; background: var(--wash); box-shadow: none;
}
:root .hero-calc .sz-ic { display: none; }
:root .hero-calc .sz-ask b { font-size: 14px; font-weight: 600; }
:root .hero-calc .sz-ask small { font-size: 13px; }
:root .hero-calc .sz-act { grid-column: auto; padding: 0; background: none; color: var(--accent-text); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
:root .hero-calc .sizer-toggle:hover .sz-act { background: none; text-decoration-thickness: 2px; }
:root .hero-calc .sz-act::after { text-decoration: none; display: inline-block; }
:root .hero-calc .sizer { padding: 16px 0 4px; }

/* offers inside the narrower card: details and the quote button take the full card width */
:root .hero-calc .offer { grid-template-columns: 28px minmax(0, 1fr) auto; gap: 6px 12px; align-items: start; }
:root .hero-calc .offer .rank { grid-row: auto; }
:root .hero-calc .offer .detail { grid-column: 1 / -1; margin-top: 4px; }
:root .hero-calc .offer .act { grid-column: 1 / -1; justify-self: stretch; }
:root .hero-calc .offer .act .btn { width: 100%; min-height: 40px; }
:root .hero-calc .split { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- Hero, tablets and phones: one column. Title, calculator, map, points, providers, partner ---------- */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { display: contents; }
  .hero-copy > *, .hero-lead > * { order: 1; }
  .hero-lead { display: contents; }
  .hero-lead > .hero-panel { order: 0; }
  .hero-grid > .finder { order: 0; margin-top: 24px; }
  .hero-lead > .atlas { order: 1; margin-top: 24px; }
  .hero-prov, .hero .ms-card { order: 3; }
  :root .hero .facts.stats { order: 4; }
  .hero-prov { margin-top: 24px; }
  :root .hero h1, html[lang="ar"] .hero h1, html[lang="en"] .hero h1 { font-size: 28px; line-height: 1.5; }
  :root .hero-calc { max-width: 640px; width: 100%; justify-self: center; }
}
@media (max-width: 720px) {
  .hero-stage { padding-block: 28px 32px; }
  :root .hero .eyebrow { font-size: 13px; margin-bottom: 14px; }
  /* Two-part GPU H1: keep it from dominating the phone card (was 28px → 4 visual lines). */
  :root .hero .hero-panel h1, html[lang="ar"] .hero .hero-panel h1 { font-size: 23px; line-height: 1.45; }
  html[lang="en"] .hero .hero-panel h1 { font-size: 24px; line-height: 1.35; }
  html[lang="en"] .hero h1 { line-height: 1.3; }
  :root .hero .hero-sub { font-size: 16px; margin-top: 12px; }
  :root .hero-calc { padding: 16px; border-radius: 14px; }
  :root .hero-calc .sizer-toggle, html[dir="rtl"] .hero-calc .sizer-toggle { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  :root .hero-calc .sz-act { justify-self: start; }
  .calc-cta { grid-template-columns: minmax(0, 1fr); }
  :root .hero .facts.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 24px; }
  :root .hero .facts.stats > div { padding: 14px 16px; border-inline-start: 0; }
  :root .hero .facts.stats > div:nth-child(even) { border-inline-start: 1px solid var(--line2, var(--line)); }
  :root .hero .facts.stats > div:nth-child(n+3) { border-top: 1px solid var(--line2, var(--line)); }
  :root .hero .facts.stats dd { font-size: 25px; }
  :root .hero .facts.stats dd.d { font-size: 16px; }
  :root .hero .ms-card { padding: 12px 14px; gap: 12px; }
  /* the CTA words collapse to a chevron; the card stays the link and keeps its aria-label */
  :root .hero .ms-card .ms-btn { display: none; }
  :root .hero .ms-card::after { display: block; content: ""; flex: none; width: 9px; height: 9px; margin-inline-end: 6px; border: solid var(--accent-text); border-width: 2px 2px 0 0; transform: rotate(45deg); }
  html[dir="rtl"] .hero .ms-card::after { transform: rotate(-135deg); }
  .pin-l { padding: 3px 8px; } .pin-l small { display: none; } .pin-l b { font-size: 12px; }
  .pin[data-city="riyadh"]::before { width: 70vw; }
}

/* ---------- Lower sections: lighter rhythm, no resting shadows ---------- */
.steps, .table-wrap, .join-card, .finder { box-shadow: none; }
.tag { font-size: 12px; }
@media (min-width: 721px) { .section { padding-block: 112px 96px; } }
@media (max-width: 720px) { .tabs { flex-wrap: wrap; overflow-x: visible; } .tabs button { flex: 1 1 auto; } }

/* ===== Colours: light in effect ===== */
:root[data-scheme="light"] .hero .eyebrow { background: var(--surface); border-color: #F5E7DE; color: var(--accent-text); }
:root[data-scheme="light"] .hero h1 { color: var(--ink); }
:root[data-scheme="light"] .hero .hero-sub { color: var(--muted); }
:root[data-scheme="light"] .hero .hero-points li { color: var(--ink); }
:root[data-scheme="light"] .hero .hero-points li::before { border: 0; background-color: var(--rust); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
:root[data-scheme="light"] .hero .ms-card { background: var(--surface); border-color: var(--line); box-shadow: none; color: var(--ink); }
:root[data-scheme="light"] .hero .ms-card:hover { background: var(--surface); border-color: var(--accent-text); }
:root[data-scheme="light"] .hero .ms-tx strong { color: var(--ink); }
:root[data-scheme="light"] .hero .ms-tx > span { color: var(--muted); }
:root[data-scheme="light"] .hero .ms-card::after { border-color: var(--accent-text); }
:root[data-scheme="light"] .hero .facts.stats { background: var(--surface); border-color: var(--line); box-shadow: none; }
:root[data-scheme="light"] .hero .facts.stats > div { border-color: var(--line2); }
:root[data-scheme="light"] .hero-calc { background: var(--surface); border-color: var(--line); }

/* ===== Colours: dark in effect (copy reads on the night sky; glass chips like the live stats) ===== */
:root[data-scheme="dark"] .hero .eyebrow { background: rgba(11, 30, 51, .55); border-color: rgba(224, 154, 115, .4); color: var(--rust-light); }
:root[data-scheme="dark"] .hero h1, :root[data-scheme="dark"] .hero .hero-points li { color: #FFFFFF; }
:root[data-scheme="dark"] .hero .hero-sub { color: var(--on-navy-muted); }
:root[data-scheme="dark"] .hero .hp-label { color: var(--on-navy-muted); }
:root[data-scheme="dark"] .hero .prov-names li, :root[data-scheme="dark"] .hero .ms-card {
  background: rgba(11, 30, 51, .55); border-color: rgba(255, 255, 255, .16); color: #FFFFFF;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
:root[data-scheme="dark"] .hero .prov-names li small { color: var(--on-navy-muted); }
:root[data-scheme="dark"] .hero .ms-card:hover { background: rgba(11, 30, 51, .75); border-color: rgba(224, 154, 115, .6); }
:root[data-scheme="dark"] .hero .ms-tx strong { color: #FFFFFF; }
:root[data-scheme="dark"] .hero .ms-tx > span { color: var(--on-navy-muted); }
:root[data-scheme="dark"] .hero .ms-card .ms-btn { color: var(--rust-light); }
:root[data-scheme="dark"] .hero .ms-card::after { border-color: var(--rust-light); }
:root[data-scheme="dark"] .hero .facts.stats { background: rgba(11, 30, 51, .45); border-color: rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
:root[data-scheme="dark"] .hero .facts.stats > div { border-color: rgba(255, 255, 255, .12); }
:root[data-scheme="dark"] .hero .facts.stats dd { color: #FFFFFF; }
:root[data-scheme="dark"] .hero .facts.stats dt { color: var(--on-navy-muted); }
:root[data-scheme="dark"] .hero-calc { background: var(--surface); border-color: #2C4867; }
:root[data-scheme="dark"] .hero-calc .finder-head h2 { color: var(--ink); }
:root[data-scheme="dark"] .hero-calc .offer.best .rank { background: var(--rust); color: #fff; }

/* ===== Shared components, all pages (inner pages: quote, contact, join, method, privacy, terms, 404) ===== */
.btn { min-height: 44px; border-radius: 10px; font-weight: 600; }
.btn-lg { min-height: 52px; }
.btn-small { min-height: 36px; border-radius: 8px; }
.btn-ghost { background: var(--surface); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
select, input[type="text"], input[type="email"], input[type="tel"] { min-height: 48px; border-radius: 10px; border-color: var(--line-strong); font-size: 16px; }
textarea { border-radius: 10px; border-color: var(--line-strong); font-size: 16px; }
:is(select, input, textarea):focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--rust); }

/* page heads and legal text: same type scale as the home hero */
.page, .section.quote { padding-block: 64px 96px; }
.section-head h1, html[lang="ar"] .section-head h1 { line-height: 1.5; }
.prose h1, html[lang="ar"] .prose h1 { font-size: 31px; line-height: 1.5; margin-bottom: 12px; }
html[lang="en"] .prose h1 { font-size: 35px; line-height: 1.3; letter-spacing: -.01em; }
.prose .updated { display: inline-block; margin-bottom: 32px; padding: 4px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 13px; color: var(--muted); }
.prose h2, html[lang="ar"] .prose h2 { font-size: 20px; font-weight: 600; line-height: 1.6; margin-top: 40px; margin-bottom: 8px; padding-top: 24px; border-top: 1px solid var(--line); }
.prose p, .prose li { font-size: 16px; line-height: 1.8; }
.prose a { color: var(--accent-text); text-underline-offset: 4px; }
@media (max-width: 720px) {
  .page, .section.quote { padding-block: 40px 64px; }
  .prose h1, html[lang="ar"] .prose h1, html[lang="en"] .prose h1 { font-size: 28px; }
  .prose h2, html[lang="ar"] .prose h2 { margin-top: 32px; padding-top: 20px; }
}

/* quote and join forms: one flat card */
.quote-form { border-radius: 16px; padding: 32px; gap: 16px; border: 1px solid var(--line); box-shadow: none; }
.quote-form .two { gap: 16px; }
.quote-form label, .quote-form .checks legend { gap: 8px; font-size: 14px; color: var(--ink); }
.quote-form label.check { min-height: 44px; padding: 8px 14px; border-color: var(--line-strong); border-radius: 10px; font-weight: 600; }
.quote-form label.check:has(input:checked) { border-color: var(--rust); background: var(--rust-tint, var(--accent-soft)); box-shadow: inset 0 0 0 1px var(--rust); }
.form-msg { border-radius: 10px; }
.form-note { font-size: 13px; }
.quote-aside li, .join-points li { font-size: 16px; }
@media (max-width: 720px) { .quote-form { padding: 20px 16px; border-radius: 14px; } }

/* contact cards */
.contact-card { border-radius: 16px; padding: 24px; border: 1px solid var(--line); box-shadow: none; }
.contact-card:hover { box-shadow: none; border-color: var(--accent-text); }
.cc-value { font: 600 24px/1.4 var(--font-head); }
.contact-next > div { border-radius: 16px; padding: 24px; border: 1px solid #F5E7DE; background: var(--rust-tint, var(--accent-soft)); }
.contact-next h2 { font-size: 20px; font-weight: 600; }

/* colour, light */
:root[data-scheme="light"] .quote { background: var(--wash); }
:root[data-scheme="light"] .quote-form { background: var(--surface); border-color: var(--line); box-shadow: none; }
:root[data-scheme="light"] .contact-card { background: var(--surface); }
/* colour, dark */
:root[data-scheme="dark"] .quote-form { border-color: #2C4867; }
:root[data-scheme="dark"] .contact-card { border-color: #24405F; }
:root[data-scheme="dark"] .contact-next > div { border-color: #2C3A4A; }
:root[data-scheme="dark"] .prose .updated { border-color: var(--line); }

/* ---------- Hero key figures: three cells, number over label, one line each ---------- */
:root .hero .facts.stats {
  grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 16px 0 0;
  border: 1px solid var(--line); border-radius: 12px;
}
:root .hero .facts.stats > div {
  display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 4px;
  padding: 24px 20px; text-align: start; border: 0; border-inline-start: 1px solid var(--line2, var(--line));
}
:root .hero .facts.stats > div:first-child { border-inline-start: 0; }
:root .hero .facts.stats dd {
  order: -1; margin: 0; font: 700 31px/1.2 var(--font-head); font-variant-numeric: tabular-nums; white-space: nowrap;
}
:root .hero .facts.stats dt { margin: 0; font: 500 15px/1.5 var(--font); color: var(--muted); white-space: nowrap; }
@media (min-width: 1101px) and (max-width: 1240px) {
  :root .hero .facts.stats > div { padding-inline: 16px; }
  :root .hero .facts.stats dd { font-size: 28px; }
  :root .hero .facts.stats dt { font-size: 14px; }
}
@media (max-width: 720px) {
  /* phones: one row per figure, number beside its label */
  :root .hero .facts.stats { grid-template-columns: minmax(0, 1fr); margin-top: 16px; }
  :root .hero .facts.stats > div,
  :root .hero .facts.stats > div:nth-child(even) {
    flex-direction: row; align-items: baseline; gap: 12px; padding: 12px 16px; border-inline-start: 0;
  }
  :root .hero .facts.stats > div + div { border-top: 1px solid var(--line2, var(--line)); }
  :root .hero .facts.stats dd { min-width: 2.4em; font-size: 24px; }
  :root .hero .facts.stats dt { font-size: 14px; }
}


/* ---------- Offer details fold behind a "Details" button on wide screens ---------- */
.det-toggle { display: none; }
@media screen and (min-width: 1024px) {
  :root .hero-calc .offer { align-items: center; gap: 8px 12px; }
  :root .hero-calc .offer .rank { grid-row: 1; }
  :root .hero-calc .offer .who { grid-row: 1; }
  :root .hero-calc .offer .total { grid-row: 1; }
  :root .hero-calc .offer .act {
    grid-row: 2; grid-column: 2 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  }
  :root .hero-calc .offer .act .btn { width: auto; min-height: 36px; padding-inline: 16px; }
  :root .hero-calc .offer .detail { grid-row: 3; grid-column: 1 / -1; margin-top: 0; }
  :root .hero-calc .offer:not(.is-open) .detail { display: none; }
  .det-toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; font-size: 14px; }
  .det-toggle::after {
    content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0;
    transform: translateY(-2px) rotate(45deg); transition: transform .15s ease;
  }
  .det-toggle[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }
  .det-toggle:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 4px; }
  /* the two switches sit side by side */
  :root .hero-calc .opts .toggles { flex-direction: row; flex-wrap: wrap; gap: 4px 12px; }
  /* tighter rhythm inside the card on wide screens */
  :root .hero-calc .finder-form, :root .hero-calc .mode-panel { gap: 14px; }
  :root .hero-calc .seg label { min-height: 54px; padding-block: 6px; }
  :root .hero-calc .seg input:checked + label { padding-block: 5px; }
  :root .hero-calc .stepper, :root .hero-calc select { height: 44px; min-height: 44px; }
  :root .hero-calc .finder-out { margin-top: 16px; }
  :root .hero-calc .offer { padding: 8px 12px; row-gap: 4px; }
  :root .hero-calc .offer .act .btn { min-height: 32px; }
  .det-toggle { min-height: 32px; }
}
@media screen and (min-width: 1024px) {
  /* share, print and "show more" share one line under the offers */
  :root .hero-calc .results { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 12px; }
  :root .hero-calc .results > .results-actions:not(:has(.share-url)) { flex-wrap: nowrap; }
  :root .hero-calc .results > .results-actions:has(.share-url) { grid-column: 1 / -1; }
  :root .hero-calc .results > .results-foot { justify-content: flex-end; }
  :root .hero-calc .results > .results-head,
  :root .hero-calc .results > .offer-list { grid-column: 1 / -1; }
  :root .hero-calc .results > .results-foot { margin-top: 12px; }
}
/* large desktops: a slightly wider calculator card, so each offer fits on fewer lines */
@media (min-width: 1280px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 480px; }
}

/* ---------- Headline panel: H1, sub-line and the two points in one quiet card ---------- */
.hero-eyebrow { position: relative; }
:root .hero .hero-eyebrow .eyebrow { margin: 0 0 16px; }
.hero-panel {
  padding: 28px 32px; border: 1px solid var(--line); border-radius: 16px;
  background: rgba(255, 255, 255, .92); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6);
}
:root[data-scheme="dark"] .hero-panel { background: rgba(15, 34, 56, .92); border-color: rgba(255, 255, 255, .16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .hero-panel { background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  :root[data-scheme="dark"] .hero-panel { background: rgba(15, 34, 56, .72); }
}
:root .hero .hero-panel .hero-points { margin-top: 20px; }
@media (max-width: 1100px) {
  .hero-panel { width: 100%; }
}
@media (max-width: 720px) {
  .hero-panel { padding: 24px 20px; border-radius: 14px; }
  :root .hero .hero-eyebrow .eyebrow { margin-bottom: 14px; }
}

/* Headline beside the calculator: two intentional lines.
   Plain typographic emphasis only (no capsule/fill/border/radius/shadow): the phrase
   «من الخوادم إلى GPU» / "from servers to GPUs" is coloured navy #0B1E33 (light) and
   rust-light #E09A73 (dark, ~7:1 on the dark card). Same font, size and weight as the rest. */
@media (min-width: 1101px) {
  .hero-panel { padding: 28px 24px; }
  html[lang="ar"] .hero .hero-panel h1, :root .hero .hero-panel h1 {
    font-size: 24px; line-height: 1.45; white-space: normal; text-wrap: balance;
  }
  html[lang="en"] .hero .hero-panel h1 { font-size: 24px; line-height: 1.35; letter-spacing: -.01em; }
}
/* No forced nowrap: the <br> sets the intended split; each line wraps gracefully if the panel is narrower. */
:root .hero .hero-panel h1 { max-width: 100%; overflow-wrap: normal; word-break: normal; }
:root .hero .hero-panel h1 .h1-a,
:root .hero .hero-panel h1 .h1-b { display: inline; }
:root .hero .hero-panel h1 .h1-em {
  font: inherit; font-style: normal; color: var(--accent-text);
  background: none; border: 0; padding: 0; border-radius: 0; box-shadow: none;
}
:root[data-scheme="dark"] .hero .hero-panel h1 .h1-em { color: var(--rust-light); } /* #E09A73 */
@media (prefers-color-scheme: dark) {
  :root:not([data-scheme]) .hero .hero-panel h1 .h1-em { color: var(--rust-light); }
}
/* Both headline lines fill the panel width exactly, so they are the same length at every screen size.
   shortcut: --w is each line's width in em measured in Chromium; re-measure (scratch emw.py) if the headline text or font changes. */
:root .hero .hero-panel h1 { container-type: inline-size; max-width: min(100%, 620px); }   /* about 36px lines on wide panels */
:root .hero .hero-panel h1 .h1-a,
:root .hero .hero-panel h1 .h1-b { display: block; white-space: nowrap; font-size: calc(99.5cqi / var(--w)); }
:root .hero .hero-panel h1 .hero-h1-br { display: none; }
html[lang="ar"] .hero .hero-panel h1 .h1-a { --w: 16.447; }
html[lang="ar"] .hero .hero-panel h1 .h1-b { --w: 17.521; }
html[lang="en"] .hero .hero-panel h1 .h1-a { --w: 18.217; }
html[lang="en"] .hero .hero-panel h1 .h1-b { --w: 21.881; }

/* ---------- Desktop L-layout: inputs beside the copy, results across the full width beneath ---------- */
.to-results { display: none; }
@supports (grid-template-rows: subgrid) {
@media (min-width: 1101px) {
  .hero-grid { grid-template-rows: auto auto auto auto minmax(0, 1fr) auto auto auto; }
  /* the copy column keeps the headline panel and the map; coverage, stats and the migration card move under the results */
  .hero-grid > .hero-copy { display: contents; }
  .hero-copy > .hero-lead { grid-column: 1; grid-row: 1 / 6; position: relative; z-index: 1; min-width: 0; }
  :root .hero .hero-copy > .facts.stats { grid-column: 1; grid-row: 7; margin: 32px 0 0; align-self: stretch; }
  :root .hero .hero-copy > .ms-card { grid-column: 2; grid-row: 7; margin: 32px 0 0; align-self: stretch; }
  :root .hero .hero-copy > .facts.stats > div { justify-content: center; }
  :root .hero .hero-copy > .ms-card { flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; padding: 16px 20px; }
  .hero-copy > .hero-prov { grid-column: 1 / -1; grid-row: 8; margin: 24px 0 0; }
  /* the calculator spans the grid; its own background goes to a card drawn behind the inputs only */
  :root .hero-grid > .hero-calc {
    grid-column: 1 / -1; grid-row: 1 / 7; display: grid; grid-template-columns: subgrid; grid-template-rows: subgrid;
    padding: 0; border: 0; border-radius: 0; background: transparent; scroll-margin-top: 100px;
  }
  .hero-grid > .hero-calc::before {
    content: ""; grid-column: 2; grid-row: 1 / 6; border: 1px solid var(--line); border-radius: 16px; background: var(--surface);
  }
  :root[data-scheme="dark"] .hero-grid > .hero-calc::before { border-color: #2C4867; }
  :root .hero-grid .hero-calc > .finder-head { grid-column: 2; grid-row: 1; padding: 24px 24px 0; }
  :root .hero-grid .hero-calc > .finder-form { grid-column: 2; grid-row: 2; padding: 0 24px; }
  :root .hero-grid .hero-calc > .sizer-wrap { grid-column: 2; grid-row: 3; margin: 16px 24px 0; }
  :root .hero-grid .hero-calc > .to-results {
    grid-column: 2; grid-row: 4; justify-self: start; display: inline-flex; align-items: center; min-height: 32px;
    margin: 12px 24px 24px; font-size: 14px; font-weight: 600; color: var(--accent-text); text-decoration: underline; text-underline-offset: 4px;
  }
  :root .hero-grid .hero-calc > .to-results svg { margin-inline-start: 6px; flex: none; }
  :root .hero-grid .hero-calc > .to-results:hover { text-decoration-thickness: 2px; }
  :root .hero-grid .hero-calc > .to-results:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 4px; }

  /* row 2: the results card, full width */
  :root .hero-grid .hero-calc > .finder-out {
    grid-column: 1 / -1; grid-row: 6; margin-top: 32px; padding: 24px; scroll-margin-top: 100px;
    border: 1px solid var(--line); border-radius: 16px; background: var(--surface);
  }
  :root[data-scheme="dark"] .hero-grid .hero-calc > .finder-out { border-color: #2C4867; }
  :root .hero-calc .results-head h3 { font-size: 18px; }
  :root .hero-calc .results > .offer-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
  :root .hero-calc .offer-list > .offer { margin: 0; height: 100%; grid-template-rows: auto minmax(0, 1fr) auto; padding: 16px; row-gap: 8px; }
  :root .hero-calc .offer .detail { grid-row: 2; align-self: start; }
  :root .hero-calc .offer .act { grid-row: 3; grid-column: 1 / -1; align-self: end; }
  :root .hero-calc .offer .act .btn { min-height: 36px; }
  /* the two calls to action sit at their natural width, start-aligned */
  :root .hero-calc .calc-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
  :root .hero-calc .calc-cta .btn { min-width: 220px; }
}
@media (min-width: 1280px) {
  /* the map takes up the copy column's spare height, so both columns end level */
  :root .hero .hero-lead .atlas-stage { max-width: 600px; }
}
/* tall screens already show the results: no need for the jump link */
@media (min-width: 1101px) and (min-height: 1100px) {
  :root .hero-grid .hero-calc > .to-results { display: none; }
}
@media (min-width: 1101px) and (max-width: 1279px) {
  :root .hero-calc .results > .offer-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
}

/* ---------- Almarai rhythm: Almarai's line box is shorter than Readex's, so "normal" UI text is pinned to 1.4,
   labels to 1.45 and long-form/footnote paragraphs to 1.7. Font sizes are unchanged. ---------- */
:root .chips button, :root .tabs button, :root .hero-calc .mode-tabs button, :root .linkish, :root .pin-l small, :root .en-term { line-height: 1.4; }
:root .field-label, :root .quote-form label > span, :root .quote-form .checks legend, :root .check > span, :root .contact-card .cc-label { line-height: 1.45; }
:root .prose .updated { line-height: 1.5; }
:root .prose p, :root .prose li, :root .disclaimer { line-height: 1.7; }

/* ---------- Price figures in Noto Kufi Arabic 700 (same as the stats numbers), tabular digits; "per month" stays in the body font ---------- */
:root .money, :root .hero-calc .offer .total { font-family: var(--font-head); font-weight: 700; font-variant-numeric: tabular-nums; }
:root .offer .total small { font-family: var(--font); }

/* ---------- Calculator mode tabs: two outlined buttons; the selected one matches the selected size button ---------- */
:root .hero-calc .mode-tabs { --line-strong: #838FA0; gap: 6px; padding: 0; border: 0; border-radius: 0; background: none; }
:root[data-scheme="dark"] .hero-calc .mode-tabs { --line-strong: #5B7593; }
:root .hero-calc .mode-tabs button {
  /* 1.5px outline: a 1px border plus a 0.5px inset ring (Chrome rounds a 1.5px border down to 1px) */
  min-height: 48px; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: 10px;
  background: var(--surface); color: var(--ink); font: 400 14px/1.4 var(--font); box-shadow: inset 0 0 0 .5px var(--line-strong);
  transition: border-color .15s ease, box-shadow .15s ease;
}
:root .hero-calc .mode-tabs button:hover { --line-strong: color-mix(in srgb, var(--accent-text) 50%, var(--surface)); }
:root .hero-calc .mode-tabs button[aria-selected="true"] {
  padding: 7px 11px; border: 2px solid var(--rust); background: var(--rust-tint); color: var(--accent-text); font-weight: 700; box-shadow: none;
}
:root .hero-calc .mode-tabs button:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; }
/* dark: the deep rust border reads at only 2.1:1 on the navy card, so selected tabs and selected sizes both use the light accent */
:root[data-scheme="dark"] .hero-calc .mode-tabs button[aria-selected="true"],
:root[data-scheme="dark"] .hero-calc .seg input:checked + label { border-color: var(--accent-text); }

/* ---------- Light mode: map and background at the same perceived contrast as dark (dark is untouched) ---------- */
:root[data-scheme="light"] .sa-line { stroke: var(--rust); }
:root[data-scheme="light"] #sa-glow stop:first-child { stop-color: #F2E7E3; } /* 12% accent on white */
:root[data-scheme="light"] #sa-glow stop:last-child { stop-color: #ECE7E7; }  /* 8% accent on the wash */
:root[data-scheme="light"] #lat path { stroke-opacity: .44; }
:root[data-scheme="light"] .grat path { stroke: rgba(11, 30, 51, .14); }
:root[data-scheme="light"] .nb { fill: rgba(11, 30, 51, .06); stroke: rgba(11, 30, 51, .42); }
:root[data-scheme="light"] .link { stroke: var(--rust); }
:root[data-scheme="light"] .pin[data-city="riyadh"]::before { background: conic-gradient(from 0deg, rgba(194, 97, 47, 0), rgba(194, 97, 47, .24) 5%, rgba(194, 97, 47, 0) 18%), repeating-radial-gradient(circle, transparent 0 calc(16.6% - 1px), rgba(11, 30, 51, .14) calc(16.6% - 1px) 16.6%); }
:root[data-scheme="light"] .pin:not(.ref) .dot { background: var(--rust); box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 4px rgba(143, 58, 20, .22), 0 0 calc(10px + var(--on) * 10px) 2px rgba(194, 97, 47, .35); }
:root[data-scheme="light"] .pin:not(.ref) .dot::before, :root[data-scheme="light"] .pin:not(.ref) .dot::after { border-color: rgba(143, 58, 20, .5); }
:root[data-scheme="light"] .pin.ref .dot { box-shadow: 0 0 0 2px #FFFFFF; }
:root[data-scheme="light"] .pin-l { border-color: rgba(143, 58, 20, calc(.5 + var(--on) * .5)); }
:root[data-scheme="light"] .pin.ref .pin-l { border-color: rgba(90, 102, 118, .75); }
:root[data-scheme="light"] .d0::before, :root[data-scheme="light"] .d0::after { opacity: .24; }
:root[data-scheme="light"] .d1 i { opacity: .32; }
:root[data-scheme="light"] .d1 i:nth-child(3) { opacity: calc(.24 + var(--p) * .4); }
:root[data-scheme="light"] .drift svg { opacity: .16; }
:root[data-scheme="light"] .drift svg:nth-child(2) { opacity: .12; }
:root[data-scheme="light"] .drift svg:nth-child(3) { opacity: .1; }
:root[data-scheme="light"] .d5 i { opacity: .5; }

/* ---------- Hero eyebrow pill: a little larger, still at the start side above the headline panel ---------- */
:root .hero .hero-eyebrow .eyebrow { font-size: 16px; padding: 8px 16px; margin-bottom: 16px; }
@media (max-width: 720px) {
  :root .hero .hero-eyebrow .eyebrow { font-size: 14px; padding: 6px 14px; margin-bottom: 14px; }
}

/* ---------- Footer: our own caption beside the official SBC seal (the seal embed and its iframe are untouched) ---------- */
:root .footer-legal .sbc-seal-group { display: flex; flex-direction: row-reverse; align-items: center; gap: 12px; flex: none; align-self: center; }
:root .site-footer .sbc-seal-caption { font-family: inherit; font-size: 13px; font-weight: 400; line-height: 1.6; color: inherit; }
@media (max-width: 800px) { :root .footer-legal .sbc-seal-group { align-self: flex-start; } }
/* phones: the caption stacks under the seal. The group stays at the reading-start edge so the seal's card still opens inside the screen. */
@media (max-width: 520px) { :root .footer-legal .sbc-seal-group { flex-direction: column; align-items: flex-start; gap: 8px; } }
/* cache refresh 2026-10-26b */

/* ---------- Price-table category tabs: larger, clearer labels (colours and selected state unchanged) ---------- */
:root .tabs button { font: 600 16px var(--font); line-height: 1.4; padding: 10px 18px; min-height: 44px; }
:root .tabs .en-term { font-size: 12.5px; font-weight: 500; line-height: 1.35; margin-top: 3px; }
/* 521-600px: the larger labels no longer fit in one row, so the two-column grid starts here instead of at 520px */
@media (max-width: 600px) {
  :root .tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  :root .tabs button { padding-inline: 8px; }
}
@media (max-width: 520px) {
  :root .tabs button { font-size: 15px; }
  :root .tabs .en-term { font-size: 12px; }
}

/* ---------- Desktop text size: the 14px tier is raised to 16px on screens above 720px (phones keep 14px).
   Only rules that rendered at 14px change; weights, colours and line-heights stay as they were.
   The SBC seal is an iframe and the seal caption has its own size (raised in the 15px block below), so neither is affected here. ---------- */
@media (min-width: 721px) {
  /* hero: providers list, managed-services card, map pins */
  :root .hp-label, :root .prov-names li { font-size: 16px; }
  :root .hero .ms-tx strong, :root .hero .ms-card .ms-btn { font-size: 16px; }
  :root .pin-l b { font-size: 16px; }
  /* calculator */
  :root .hero-calc .finder-head .hint, :root .hero-calc .field-label { font-size: 16px; }
  :root .hero-calc .mode-tabs button { font-size: 16px; }
  :root .hero-calc .sz-ask b, :root .hero-calc .sz-act { font-size: 16px; }
  :root .slider-val { font-size: 16px; }
  :root .btn-small, :root .linkish { font-size: 16px; }
  /* price table: filters, toggles, table text, links */
  :root .filters select, :root .cpu-filter select { font-size: 16px; }
  :root .switch { font-size: 16px; }
  :root table.prices { font-size: 16px; }
  :root .md-link { font-size: 16px; }
  :root .calc-stamp .md-link { font-size: 12.5px; }  /* the calculator stamp link stays at its own 12.5px */
  /* coming-soon cards, forms, contact, footer */
  :root .soon-card .when { font-size: 16px; }
  :root .quote-form label, :root .quote-form .checks legend, :root .quote-form label.check { font-size: 16px; }
  :root .cc-note { font-size: 16px; }
  :root .site-footer { font-size: 16px; }
  /* layout fixes for the larger text */
  :root .hero-calc .sz-ask b, :root .soon-card .when { text-wrap: balance; }  /* two even lines, no lone word, when the title wraps */
  :root .quote-form .two label { grid-template-rows: 1fr auto; }  /* a label that wraps to two lines keeps both fields in the row aligned */

  /* ---------- Desktop secondary text: the 13px tier is raised to 15px (one step below the 16px body, so the hierarchy stays).
     Phones keep 13px. Small badges and tags, the mini-spec chips inside table rows, the 12.5px calculator stamp link,
     the English .en-term in the tabs and anything 12px or smaller are not touched. Only our caption text under the
     SBC seal changes; the seal embed itself is untouched. ---------- */
  /* top bar: price date and language link */
  :root .util-bar, :root .util-links .lang-link { font-size: 15px; }
  /* calculator: sub-line under "Not sure which specs you need?" */
  :root .hero-calc .sz-ask small { font-size: 15px; text-wrap: pretty; }  /* no single word left on the last line */
  /* price table: spec chips, processor label, price note, lowest-price line, soon-card reference line */
  :root .chips button { font-size: 15px; }
  :root .cpu-filter .field-label { font-size: 15px; }
  :root .unit-note, :root .table-foot { font-size: 15px; }
  :root .soon-card .now { font-size: 15px; }
  /* contact card labels, form privacy note */
  :root .cc-label { font-size: 15px; }
  :root .form-note { font-size: 15px; }
  /* footer: registration line and the caption under the SBC seal */
  :root .footer-legal .est-line { font-size: 15px; }
  :root .site-footer .sbc-seal-caption { font-size: 15px; }

  /* ---------- Desktop small print: price-table column headings and the footer disclaimer/copyright go from 12px to 14px.
     Weights and colours are unchanged; phones keep 12px. Other 12px items, the seal embed and the logo are not touched. ---------- */
  :root .prices th, :root .prices th.c-price { font-size: 14px; }
  :root .site-footer .disclaimer { font-size: 14px; text-wrap: pretty; } /* pretty: no one-word last line in the EN disclaimer between ~721 and ~1000px */
}
@media (min-width: 1024px) { :root .det-toggle { font-size: 16px; } }
@media (min-width: 1101px) { :root .hero-grid .hero-calc > .to-results { font-size: 16px; } }

/* ---------- Header row between 461 and 540px: the full-size row (logo, theme toggle, quote button, menu button, 24px gaps)
   is ~483px wide plus the gutters, but the compact rules only start at 460px, so the menu button was pushed 20–22px past the
   screen edge (horizontal scroll on every page). Here the row uses the phone gap and quote-button size; the logo, toggle and
   menu keep their size and look. ---------- */
@media (min-width: 461px) and (max-width: 540px) {
  .header-row { gap: 10px; }
  .header-cta { padding: 9px 12px; font-size: 14px; }
}

/* ---------- EN section titles at the narrowest phones: the stacked-line sizing left 32px of slack, but the section head
   also has an 18px start padding, so at 320px the longest line ended 1–2px past the screen. 40px keeps it inside; it only
   binds below ~378px, so 390 and up are unchanged. AR titles have their own rule and are not touched. ---------- */
html[lang="en"] .section-head h2.stack { font-size: min(clamp(24px, 3vw, 32px), calc((100vw - 2 * var(--gutter) - 40px) / var(--t))); }

/* ---------- Hero partner card: a clear secondary call to action ---------- */
:root .hero .ms-card {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "ic tx bt";
  align-items: center; gap: 12px 16px; padding: 20px 24px; border-radius: 16px;
  border: 1px solid transparent; text-decoration: none; cursor: pointer;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
:root .hero .ms-card::after { display: none; }
:root .hero .ms-card .hm-ic {
  grid-area: ic; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; flex: none;
}
:root .hero .ms-card .hm-ic svg, html[dir="rtl"] .hero .ms-card .hm-ic svg { width: 26px; height: 26px; transform: none; }
:root .hero .ms-card .ms-tx { grid-area: tx; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
:root .hero .ms-card .ms-tx strong { font: 700 17px/1.6 var(--font-head); text-wrap: balance; }
:root .hero .ms-card .ms-tx > span { font-size: 14px; line-height: 1.7; text-wrap: pretty; }
:root .hero .ms-card .ms-btn {
  grid-area: bt; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border-radius: 10px; border: 0;
  font: 700 15px/1.2 var(--font); text-decoration: none; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}
:root .hero .ms-card .ms-arr { width: 18px; height: 18px; flex: none; transition: translate .2s ease; }
html[dir="rtl"] .hero .ms-card .ms-arr { transform: scaleX(-1); }
:root .hero .ms-card:hover .ms-arr { translate: calc(var(--side, -1) * -3px) 0; }
:root .hero .ms-card:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 16px; }
@media (min-width: 1101px) {
  :root .hero .hero-copy > .ms-card {
    display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "ic tx" ". bt";
    align-items: start; align-content: center; gap: 14px 16px; padding: 22px 24px;
  }
  :root .hero .hero-copy > .ms-card .ms-btn { justify-self: start; }
  :root .hero .hero-copy > .ms-card .ms-tx strong { font-size: 18px; }
}
@media (max-width: 560px) {
  :root .hero .ms-card { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "ic tx" "bt bt"; align-items: start; gap: 14px 14px; padding: 18px 16px 16px; }
  :root .hero .ms-card .hm-ic { width: 44px; height: 44px; }
  :root .hero .ms-card .hm-ic svg, html[dir="rtl"] .hero .ms-card .hm-ic svg { width: 24px; height: 24px; }
  :root .hero .ms-card .ms-tx strong { font-size: 16px; }
  :root .hero .ms-card .ms-btn { display: flex; width: 100%; min-height: 48px; white-space: normal; text-align: center; }
}
@media (min-width: 561px) and (max-width: 720px) {
  :root .hero .ms-card .ms-btn { display: inline-flex; }
}
@media (prefers-reduced-motion: reduce) {
  :root .hero .ms-card, :root .hero .ms-card .ms-btn, :root .hero .ms-card .ms-arr { transition: none; }
  :root .hero .ms-card:hover .ms-arr { translate: none; }
}
/* Option B: deep navy band with a quiet cloud motif */
:root:root .hero .ms-card {
  background: linear-gradient(135deg, #14385C 0%, #0B1E33 72%); border-color: #1F3D5E; color: #fff;
  box-shadow: 0 1px 2px rgba(11,30,51,.2), 0 22px 44px -26px rgba(11,30,51,.6);
}
:root:root .hero .ms-card::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none; inset-block-start: -34px; inset-inline-end: -46px; width: 240px; height: 170px; opacity: .09;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 17'%3E%3Cpath d='M6.75 15.5a4.75 4.75 0 1 1 1.2-9.35A6 6 0 0 1 19.5 8a3.75 3.75 0 0 1-1 7.5z' fill='none' stroke='%23fff' stroke-width='.45'/%3E%3Cpath d='M7.6 13.3a2.9 2.9 0 1 1 .9-5.65A4.2 4.2 0 0 1 16.7 9a2.2 2.2 0 0 1 .3 4.3z' fill='none' stroke='%23fff' stroke-width='.3'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* Hover, keyboard focus and press keep the navy band in both themes. The older card hover rules
   (`:root[data-scheme="light"] .hero .ms-card:hover { background: var(--surface) }` above, and the light/dark
   .ms-card:hover rules in site.css) are more specific than the Option B rules and painted the card white;
   a third :root outranks them without !important. */
:root:root:root .hero .ms-card { -webkit-tap-highlight-color: rgba(224,154,115,.2); }
:root:root:root .hero .ms-card:is(:hover, :focus-visible) {
  background: linear-gradient(135deg, #1A4572 0%, #0E2540 72%); border-color: rgba(224,154,115,.6); color: #fff;
  box-shadow: 0 1px 2px rgba(11,30,51,.24), 0 26px 50px -24px rgba(11,30,51,.72);
}
:root:root:root .hero .ms-card:active {
  background: linear-gradient(135deg, #14385C 0%, #0B1E33 72%); border-color: rgba(224,154,115,.6); color: #fff;
  box-shadow: 0 1px 2px rgba(11,30,51,.2), 0 14px 30px -20px rgba(11,30,51,.6);
}
:root:root:root[data-scheme="dark"] .hero .ms-card:is(:hover, :focus-visible) { background: linear-gradient(135deg, #1D4C7E 0%, #123256 72%); border-color: rgba(224,154,115,.6); box-shadow: 0 28px 52px -28px rgba(0,0,0,.75); }
:root:root:root[data-scheme="dark"] .hero .ms-card:active { background: linear-gradient(135deg, #17406A 0%, #0F2A47 72%); border-color: rgba(224,154,115,.6); box-shadow: 0 16px 32px -22px rgba(0,0,0,.7); }
:root:root:root .hero .ms-card:focus-visible .ms-btn { background: #EAB08F; }
:root:root:root .hero .ms-card:focus-visible .ms-arr { translate: calc(var(--side, -1) * -3px) 0; }
@media (prefers-reduced-motion: reduce) { :root:root:root .hero .ms-card:focus-visible .ms-arr { translate: none; } }
:root:root .hero .ms-card .hm-ic { background: rgba(224,154,115,.14); color: var(--rust-light); box-shadow: inset 0 0 0 1px rgba(224,154,115,.34); }
:root:root .hero .ms-card .ms-tx strong { color: #fff; }
:root:root .hero .ms-card .ms-tx > span { color: #C3CEDA; }
:root:root .hero .ms-card .ms-btn { background: var(--rust-light); color: var(--navy); }
:root:root .hero .ms-card:hover .ms-btn { background: #EAB08F; }
:root:root[data-scheme="dark"] .hero .ms-card { background: linear-gradient(135deg, #17406A 0%, #0F2A47 72%); border-color: rgba(224,154,115,.34); box-shadow: 0 24px 48px -30px rgba(0,0,0,.7); }

/* ---------- Results «أقل الخيارات تكلفةً»: details always visible, laid out as a compact spec sheet ---------- */
:root .hero-calc .det-toggle { display: none; }
:root .hero-calc .offer .detail, :root .hero-calc .offer:not(.is-open) .detail { display: block; grid-column: 1 / -1; margin-top: 0; }
:root .hero-calc .offer { row-gap: 10px; }
:root .hero-calc .offer .act { grid-column: 1 / -1; justify-self: stretch; display: flex; }
:root .hero-calc .offer .act .btn { width: 100%; min-height: 44px; }
/* specs: one even grid of label-over-value cells (no boxes); the model, processor and disk take half a row, vCPU and memory a quarter each */
:root .hero-calc .offer .specs {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 12px;
  padding-top: 10px; border-top: 1px solid var(--line2, var(--line));
}
:root .hero-calc .offer .spec {
  grid-column: span 1; display: flex; flex-direction: column; gap: 2px; min-width: 0;
  padding: 0; border: 0; border-radius: 0; background: none; line-height: 1.35;
}
:root .hero-calc .offer .spec small { font-size: 11.5px; font-weight: 500; color: var(--muted); }
:root .hero-calc .offer .spec b { font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
:root .hero-calc .offer .spec-sku b { font-size: 12px; }
:root .hero-calc .offer .spec-disk b { text-wrap: balance; }
:root .hero-calc .offer .spec-sku, :root .hero-calc .offer .spec-cpu, :root .hero-calc .offer .spec-disk { grid-column: span 2; }
:root .hero-calc .offer .billed-note { margin: 6px 0 0; font-size: 12px; line-height: 1.6; }
/* what the monthly total is made of: one even row of cells */
:root .hero-calc .offer .split { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; margin-top: 10px; }
:root .hero-calc .offer .split div { justify-content: space-between; gap: 2px; padding: 7px 10px; border: 0; border-radius: 8px; background: var(--surface-2); }
:root .hero-calc .offer .split span { font-size: 11.5px; line-height: 1.45; }
:root .hero-calc .offer .split b { font-size: 13.5px; }
:root[data-scheme="light"] .hero-calc .offer.best .split div { background: rgba(255, 255, 255, .75); }
:root[data-scheme="light"] .hero-calc .offer.best .specs { border-color: rgba(143, 58, 20, .14); }
:root[data-scheme="dark"] .hero-calc .offer.best .split div { background: rgba(255, 255, 255, .05); }
:root[data-scheme="dark"] .hero-calc .offer.best .specs { border-color: rgba(224, 154, 115, .2); }
@media screen and (min-width: 1024px) {
  :root .hero-calc .offer { align-items: start; padding: 14px 16px; row-gap: 10px; }
  :root .hero-calc .offer .detail { grid-row: 2; }
  :root .hero-calc .offer .act { grid-row: 3; }
  :root .hero-calc .offer .act .btn { min-height: 40px; }
  :root .hero-calc .results > .results-foot { margin-top: 12px; }
}
@media (min-width: 1101px) {
  :root .hero-calc .results > .offer-list { gap: 16px; }
  :root .hero-calc .offer-list > .offer { padding: 16px; row-gap: 12px; border-radius: 12px; }
  /* cards side by side share their rows, so the spec sheets, cost cells and buttons line up across all three */
  @supports (grid-template-rows: subgrid) {
    :root .hero-calc .offer-list > .offer { grid-row: span 3; grid-template-rows: subgrid; height: auto; }
  }
  :root .hero-grid .hero-calc > .finder-out { padding: 20px 24px 24px; }
  :root .hero-calc .calc-cta { margin-top: 16px; }
}
@media (max-width: 720px) {
  :root .hero-calc .offer { padding: 12px; row-gap: 8px; }
}

/* ---------- Migration-partner card sits right after the results (it lives inside the calculator now) ---------- */
:root .hero-calc > .ms-card { margin: 16px 0 0; }
@supports (grid-template-rows: subgrid) {
@media (min-width: 1101px) {
  :root .hero-grid > .hero-calc { grid-row: 1 / 8; }
  :root .hero .hero-calc > .ms-card {
    grid-column: 2; grid-row: 7; margin: 32px 0 0; align-self: stretch;
    display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "ic tx" ". bt";
    align-items: start; align-content: center; gap: 14px 16px; padding: 22px 24px;
  }
  :root .hero .hero-calc > .ms-card .ms-btn { justify-self: start; }
  :root .hero .hero-calc > .ms-card .ms-tx strong { font-size: 18px; }
}
}

/* ---------- Extra service prices (#services): databases, snapshots, IPs, load balancers, Kubernetes, GPU ----------
   .svc-tabs mirrors .tabs (same look) but is a separate class, because app.js drives every .tabs button. */
.svc-tabs { display: flex; gap: 4px; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; overflow-x: auto; max-width: 100%; }
.svc-tabs button { border: 0; background: none; color: var(--muted); font: 600 16px var(--font); line-height: 1.4; padding: 10px 18px; min-height: 44px; border-radius: 7px; cursor: pointer; white-space: nowrap; }
.svc-tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }
html[data-theme="dark"] .svc-tabs button[aria-selected="true"] { background: var(--rust); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .svc-tabs button[aria-selected="true"] { background: var(--rust); } }
.svc-tabs .en-term { display: block; font-size: 12.5px; font-weight: 500; line-height: 1.35; margin-top: 3px; }
@media (max-width: 900px) {
  .svc-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; overflow-x: visible; }
  .svc-tabs button { padding-inline: 8px; white-space: normal; }
}
@media (max-width: 460px) { .svc-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .svc-tabs button { font-size: 15px; } .svc-tabs .en-term { font-size: 12px; } }
#services .toolbar[hidden] { display: none; }
#services .table-foot { gap: 6px 16px; }
#services .table-links { flex-wrap: wrap; }
#svc-date { color: var(--muted); }
.svc-table .c-cpu { min-width: 0; }
.svc-table .c-cpu .perf-note { overflow-wrap: anywhere; font-size: 13px; line-height: 1.55; }
.svc-table .c-cpu .perf-note + .perf-note { margin-top: 3px; }
.svc-table .svc-badges { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.tag-out { color: var(--accent-text); background: var(--accent-soft); }
.svc-outside-note { margin: 0 0 12px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line-strong); border-inline-start: 4px solid var(--accent-text); background: var(--accent-soft); color: var(--ink); font-size: 14px; line-height: 1.7; }
.svc-outside-note[hidden] { display: none; }
.svc-table .svc-src a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 2px; }
.svc-table .svc-name { font-weight: 600; }
.svc-table .svc-quote .c-price { white-space: normal; }
.svc-table .svc-quote .btn { white-space: nowrap; }
@media (max-width: 720px) {
  .svc-table .svc-quote .c-cpu { display: none; }
  .svc-table .c-sku .svc-name { font-size: 15px; }
}

.filters .switch[hidden]{display:none}


/* ---------- Hero GPU price pill (variant A): opens #gpu tab in Other services ---------- */
:root .hero .hero-gpu-pill {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 14px; padding: 7px 14px; border-radius: 999px;
  font: 600 14px var(--font); line-height: 1.4; text-decoration: none;
  color: var(--on-navy);
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .22);
  transition: background-color .15s ease, border-color .15s ease;
}
:root .hero .hero-gpu-pill:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .4); }
:root[data-scheme="light"] .hero .hero-gpu-pill {
  color: var(--ink);
  background: var(--rust-tint);
  border-color: color-mix(in srgb, var(--rust) 35%, transparent);
}
:root[data-scheme="light"] .hero .hero-gpu-pill:hover {
  border-color: var(--rust);
}
@media (max-width: 720px) {
  :root .hero .hero-gpu-pill { font-size: 13px; padding: 6px 12px; margin-top: 12px; }
}

/* ---------- Header: extra GPU nav link — slightly tighter gaps so 8 items still fit above 1160px ---------- */
@media (min-width: 1161px) and (max-width: 1360px) {
  .main-nav { gap: 16px; }
}
@media (min-width: 1361px) {
  .main-nav { gap: 20px; }
}

} /* end @layer legacy: v7.css is unlayered and always wins */
