/* ============================================================
   RawaCOD — site.css (8.0.0 — "Deep Horizon" design system)
   Art direction: the page is framed by two immersive dark
   blueprint canvases (hero + footer + CTA panel) around a
   bright, airy, card-based body. Depth through layered
   surfaces; one saturated navy moment per screen; red #D71932
   scoped to the COD wordmark / store CTA / plan flag / pain
   marks. Blueprint grid + soft blue glow = signature motif.

   Brand palette (product decision, unchanged):
     brand blue  #004E99   brand red #D71932
     white       #FFFFFF   light gray #F5F5F7
   Derived tints stay inside the two brand hues.

   Class contract kept for every consumer page:
   pricing / features / faq / contact / guides / legal all
   reuse this vocabulary (btn, section, prose, faq-page,
   hub-grid, price-card, plan-*, page-hero, toc, callout…).
   ============================================================ */

/* ---------- Fonts (self-hosted, zero external requests) ---------- */
@font-face {
  font-family: "Noto Sans Arabic";
  src: url("/assets/fonts/noto-sans-arabic-var-arabic.woff2") format("woff2-variations");
  font-weight: 100 900; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/bricolage-grotesque-var-latin.woff2") format("woff2-variations");
  font-weight: 200 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans-var-latin.woff2") format("woff2-variations");
  font-weight: 400 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2074, U+20AC, U+2122;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/jetbrains-mono-var-latin.woff2") format("woff2-variations");
  font-weight: 400 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F;
}

/* ---------- Tokens — light (default) ---------- */
:root, [data-theme="light"] {
  /* surfaces */
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --bg-3: #eef0f4;
  --card: #ffffff;
  --card-2: #f6f8fb;
  --ink: #071c33;
  --text: #243a52;
  --text-2: #51657a;
  --text-3: #7d8ea1;
  /* brand — official blue #004E99 + derived ramp */
  --brand: #004e99;
  --brand-strong: #003c77;
  --brand-bright: #0a63bd;
  --brand-brighter: #2e82d9;
  --brand-soft: #e9f1fa;
  --brand-line: #c3d7ec;
  --on-brand: #ffffff;
  /* dark blueprint canvas (derived from the brand blue) */
  --navy: #05224250;
  --canvas: #04264a;
  --canvas-2: #031a34;
  --canvas-ink: #f2f7fd;
  --canvas-text: #c6d7ea;
  --canvas-mute: #8fa9c4;
  --canvas-line: rgba(141, 180, 224, 0.16);
  --canvas-grid: rgba(125, 180, 234, 0.075);
  /* COD — official red #D71932 + ramp */
  --cod: #d71932;
  --cod-deep: #bc1429;
  --cod-soft: #fcebee;
  --rc-red: #d71932;
  --rc-red-strong: #bc1429;
  --rc-red-deep: #9e1122;
  --rc-red-soft: #fcebee;
  --rc-red-line: rgba(215, 25, 50, 0.35);
  /* status */
  --green: #178a64;
  --green-soft: #e7f6f0;
  --amber: #a86e10;
  --amber-soft: #fdf4e3;
  --red: #c21f35;
  --red-soft: #fdeeee;
  /* lines & elevation — layered, soft, believable */
  --line: rgba(11, 42, 71, 0.10);
  --line-2: rgba(11, 42, 71, 0.17);
  --shadow-1: 0 1px 2px rgba(9, 30, 54, 0.05), 0 10px 24px -14px rgba(9, 30, 54, 0.14);
  --shadow-2: 0 2px 4px rgba(9, 30, 54, 0.05), 0 30px 60px -30px rgba(9, 30, 54, 0.24);
  --shadow-brand: 0 12px 30px -12px rgba(0, 78, 153, 0.45);
  --glow-brand: 0 0 0 1px rgba(125, 180, 234, 0.22), 0 24px 80px -24px rgba(2, 26, 52, 0.55), 0 0 120px -30px rgba(10, 99, 189, 0.5);
  /* gradients (restrained — depth on brand hues only) */
  --grad-brand: linear-gradient(135deg, #003c77 0%, #004e99 55%, #0a63bd 100%);
  --grad-text: linear-gradient(100deg, #003c77 0%, #004e99 55%, #0a63bd 100%);
  --grad-canvas: radial-gradient(1100px 560px at 82% -8%, rgba(10, 99, 189, 0.5) 0%, rgba(10, 99, 189, 0) 60%),
                 radial-gradient(900px 520px at 8% 108%, rgba(0, 78, 153, 0.55) 0%, rgba(0, 78, 153, 0) 62%);
  /* shape */
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --pill: 999px;
  /* layout */
  --container: 1180px;
  --gutter: clamp(18px, 4vw, 28px);
  --header-h: 72px;
  --section-pad: clamp(68px, 9vw, 122px);
  /* decorative */
  --grid-line: rgba(0, 78, 153, 0.055);
  /* type */
  --font-body: "Noto Sans Arabic", "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-latin: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  /* type scale (fluid, Arabic-first line-heights) */
  --fs-h1: clamp(2.15rem, 1.3rem + 3.2vw, 3.7rem);
  --fs-h2: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
  --fs-h3: clamp(1.1rem, 1.02rem + 0.35vw, 1.3rem);
  --fs-lead: clamp(1.03rem, 0.97rem + 0.35vw, 1.18rem);
  --fs-sm: 0.9rem;
  --fs-xs: 0.78rem;
  /* motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --t-fast: 150ms;
  --t-med: 260ms;
  /* focus */
  --focus-ring: 0 0 0 2px var(--bg), 0 0 0 4px rgba(10, 99, 189, 0.55);
}

/* ---------- Tokens — dark ---------- */
[data-theme="dark"] {
  --bg: #081a2e;
  --bg-2: #0a2138;
  --bg-3: #0d2740;
  --card: #0b2138;
  --card-2: #0e2843;
  --ink: #f0f6fc;
  --text: #d3e1ee;
  --text-2: #9db3c7;
  --text-3: #7b91a7;
  --brand: #2e82d9;
  --brand-strong: #5d9fe0;
  --brand-bright: #7db4ea;
  --brand-brighter: #a5cff5;
  --brand-soft: rgba(46, 130, 217, 0.14);
  --brand-line: rgba(125, 180, 234, 0.38);
  --on-brand: #ffffff;
  --canvas: #03172c;
  --canvas-2: #021021;
  --canvas-ink: #f2f7fd;
  --canvas-text: #c6d7ea;
  --canvas-mute: #8fa9c4;
  --canvas-line: rgba(141, 180, 224, 0.17);
  --canvas-grid: rgba(125, 180, 234, 0.08);
  --cod: #f25868;
  --cod-deep: #e84456;
  --cod-soft: rgba(242, 88, 104, 0.13);
  --rc-red: #f25868;
  --rc-red-strong: #ff7583;
  --rc-red-deep: #d71932;
  --rc-red-soft: rgba(242, 88, 104, 0.14);
  --rc-red-line: rgba(242, 88, 104, 0.42);
  --green: #43c59a;
  --green-soft: rgba(67, 197, 154, 0.12);
  --amber: #e0a83f;
  --amber-soft: rgba(224, 168, 63, 0.13);
  --red: #e8757c;
  --red-soft: rgba(232, 117, 124, 0.12);
  --line: rgba(142, 178, 210, 0.15);
  --line-2: rgba(142, 178, 210, 0.28);
  --grad-brand: linear-gradient(135deg, #003c77 0%, #004e99 55%, #0a63bd 100%);
  --grad-text: linear-gradient(100deg, #a9d2f1 0%, #7db4ea 55%, #5d9fe0 100%);
  --grad-canvas: radial-gradient(1100px 560px at 82% -8%, rgba(10, 99, 189, 0.38) 0%, rgba(10, 99, 189, 0) 60%),
                 radial-gradient(900px 520px at 8% 108%, rgba(0, 78, 153, 0.4) 0%, rgba(0, 78, 153, 0) 62%);
  --shadow-1: 0 1px 2px rgba(2, 10, 20, 0.4), 0 10px 28px -14px rgba(2, 10, 20, 0.5);
  --shadow-2: 0 2px 8px rgba(2, 10, 20, 0.45), 0 32px 64px -28px rgba(2, 10, 20, 0.6);
  --shadow-brand: 0 8px 22px -8px rgba(0, 78, 153, 0.55);
  --glow-brand: 0 0 0 1px rgba(125, 180, 234, 0.2), 0 24px 80px -24px rgba(2, 10, 20, 0.6), 0 0 120px -30px rgba(10, 99, 189, 0.4);
  --focus-ring: 0 0 0 2px var(--bg), 0 0 0 4px rgba(125, 180, 234, 0.6);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-block-start: calc(var(--header-h) + 18px);
  -webkit-text-size-adjust: 100%;
}
html, body { overflow-x: clip; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.9;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; }
img, svg, video { display: block; max-width: 100%; height: auto; }
img { border: 0; }
a { color: var(--brand); text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--brand-strong); }
h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 800;
  line-height: 1.3;
  /* Arabic script is connected — keep tracking at 0 */
  letter-spacing: 0;
  overflow-wrap: break-word;
}
h1 { font-size: var(--fs-h1); line-height: 1.22; }
h2 { font-size: var(--fs-h2); line-height: 1.28; }
h3 { font-size: var(--fs-h3); line-height: 1.45; }
p { overflow-wrap: break-word; }
ul, ol { padding-inline-start: 1.25em; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
::selection { background: rgba(10, 99, 189, 0.24); }
:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: 8px; }
[dir="ltr"] { letter-spacing: 0; }

/* Latin display for numerals / product words */
.brand-word, .plan-price, .sec-num, .em-row em, .st-num, .price-val {
  font-variant-numeric: lining-nums tabular-nums;
}

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-pad); }
/* 8.0.0 — alternating band: quiet brand-gray with hairlines */
.section-alt {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}
.section-pad { padding-block: var(--section-pad); }
.section-head { max-width: 780px; margin-inline: auto; }
.section-head.center { text-align: center; }
.section-head h2 { margin-block: 14px 12px; }
.section-sub {
  color: var(--text-2);
  font-size: var(--fs-lead);
  line-height: 1.85;
  max-width: 62ch;
}
.section-head.center .section-sub { margin-inline: auto; }
.sec-num {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  border-radius: var(--pill);
  padding: 3px 12px;
  line-height: 1.6;
}
.section-head .sec-num { margin-bottom: 14px; }

/* ---------- Text helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--brand);
  margin: 0;
}
.eyebrow svg { width: 17px; height: 17px; flex: none; }
.text-grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.text-muted { color: var(--text-2); font-weight: 700; }
.lead {
  color: var(--text-2);
  font-size: var(--fs-lead);
  line-height: 1.9;
}
.dot-sep { color: var(--text-3); margin-inline: 6px; }

/* ---------- Reveal on scroll (progressive enhancement) ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: var(--rd, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------- Utilities: skip link, progress, to-top ---------- */
.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -48px;
  z-index: 100;
  background: var(--brand);
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }
.progress-bar {
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 2px;
  pointer-events: none;
}
.progress-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--grad-brand);
  transition: width 80ms linear;
}
.to-top {
  position: fixed;
  inset-inline-end: 18px;
  bottom: 18px;
  z-index: 70;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--card);
  color: var(--brand);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  transition: transform var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.to-top svg { width: 20px; height: 20px; }
.to-top[hidden] { display: none; }
.to-top:hover { transform: translateY(-3px); color: var(--brand-strong); }

/* ============================================================
   HEADER + NAV + MOBILE DRAWER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(12px) saturate(1.5);
  backdrop-filter: blur(12px) saturate(1.5);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--t-med) var(--ease), background var(--t-med) var(--ease);
}
@supports not (background: color-mix(in srgb, red 50%, blue)) {
  .site-header { background: var(--bg); }
}
.site-header.is-scrolled { box-shadow: var(--shadow-1); }
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  color: var(--ink);
  font-weight: 800;
}
.brand:hover { color: var(--ink); }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--line), 0 6px 16px -8px rgba(9, 30, 54, 0.35);
}
.brand-mark img { width: 38px; height: 38px; }
.brand-word {
  font-family: var(--font-latin);
  font-size: 1.24rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--ink);
}
.brand-word b { color: var(--rc-red); font-weight: 700; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline: auto;
}
.main-nav a {
  position: relative;
  color: var(--text-2);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 11px;
  border-radius: 10px;
  white-space: nowrap;
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.main-nav a:hover { color: var(--ink); background: var(--brand-soft); }
.main-nav a.is-active { color: var(--brand); }
.main-nav a.is-active::after {
  content: "";
  position: absolute;
  inset-inline: 13px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: none;
  margin-inline-start: auto;
}
.main-nav + .header-actions { margin-inline-start: 0; }
.icon-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--text-2);
  border: 1px solid transparent;
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.icon-btn:hover { color: var(--ink); background: var(--brand-soft); }
.icon-btn svg { width: 20px; height: 20px; }
.theme-toggle .ic-moon, [data-theme="dark"] .theme-toggle .ic-sun { display: none; }
[data-theme="dark"] .theme-toggle .ic-moon { display: block; }
.burger { display: none; }

/* mobile drawer */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(4, 18, 34, 0.5);
  opacity: 0;
  transition: opacity var(--t-med) var(--ease);
}
.scrim.is-open { opacity: 1; }
.mobile-menu {
  position: fixed;
  z-index: 80;
  top: 0;
  inset-inline-end: 0;
  bottom: 0;
  width: min(370px, 90vw);
  background: var(--bg);
  border-inline-start: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  padding: 14px 18px 26px;
  overflow-y: auto;
  transform: translateX(-24px);
  opacity: 0;
  transition: transform var(--t-med) var(--ease), opacity var(--t-med) var(--ease);
}
[dir="ltr"] .mobile-menu { transform: translateX(24px); }
.mobile-menu.is-open { transform: none; opacity: 1; }
.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.mobile-nav { display: grid; }
.mobile-nav a {
  padding: 13px 10px;
  border-radius: 12px;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.04rem;
  border-bottom: 1px solid var(--line);
}
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav a:hover { background: var(--brand-soft); }
.mobile-sep { height: 1px; background: var(--line); margin-block: 12px; }
.mobile-auth { display: grid; gap: 10px; }
.mobile-auth .btn-store { justify-content: center; }
.mobile-menu .icon-btn { color: var(--text-2); }
.mobile-menu .icon-btn:hover { color: var(--ink); }

/* ============================================================
   BUTTONS — 5 variants × 3 sizes
   ============================================================ */
.btn {
  --btn-h: 47px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: var(--btn-h);
  padding-inline: 22px;
  border-radius: 13px;
  font-weight: 700;
  font-size: 0.97rem;
  line-height: 1.4;
  border: 1px solid transparent;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(0.5px) scale(0.99); }
.btn-primary svg { transition: transform var(--t-fast) var(--ease); }
.btn-primary:hover svg { transform: translateX(-3px); }
[dir="ltr"] .btn-primary:hover svg { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) {
  .btn-primary:hover svg { transform: none; }
}
.btn[disabled], .btn.is-disabled, .btn:disabled {
  opacity: 0.55;
  pointer-events: none;
}
.btn-primary {
  background: linear-gradient(180deg, var(--brand-bright) 0%, var(--brand) 90%);
  color: var(--on-brand);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), var(--shadow-brand);
}
.btn-primary:hover {
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-strong) 100%);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 16px 34px -14px rgba(0, 78, 153, 0.55);
}
.btn-ghost {
  background: transparent;
  border-color: var(--line-2);
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--brand-soft);
  border-color: var(--brand-line);
  color: var(--brand-strong);
}
.btn-soft {
  background: var(--brand-soft);
  color: var(--brand-strong);
}
.btn-soft:hover { background: var(--brand-line); color: var(--brand-strong); }
/* ghost on navy surfaces (cta-box / hero) */
.btn-ghost2 {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}
.btn-ghost2:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
/* store CTA — the scoped red */
.btn-store {
  background: linear-gradient(180deg, #e0243c 0%, var(--cod) 80%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 10px 24px -10px rgba(215, 25, 50, 0.5);
}
.btn-store:hover {
  background: linear-gradient(180deg, var(--cod) 0%, var(--cod-deep) 100%);
  color: #fff;
  transform: translateY(-1px);
}
@media (hover: none) {
  .btn-primary:hover, .btn-store:hover { transform: none; }
}
.btn-sm { --btn-h: 39px; padding-inline: 15px; font-size: 0.9rem; border-radius: 10px; }
.btn-sm svg { width: 16px; height: 16px; }
.btn-lg { --btn-h: 55px; padding-inline: 28px; font-size: 1.04rem; border-radius: 15px; }
.btn-lg svg { width: 20px; height: 20px; }
.btn-block { width: 100%; }

/* ============================================================
   SMALL SHARED PIECES — chips, ticks, trust
   ============================================================ */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text-2);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.6;
}
.chip.is-brand {
  border-color: var(--brand-line);
  background: var(--brand-soft);
  color: var(--brand-strong);
}
.chip-row { display: flex; flex-wrap: wrap; gap: 9px; }
.tick-list { list-style: none; padding: 0; display: grid; gap: 9px; }
.tick-list li { display: flex; gap: 9px; align-items: flex-start; color: var(--text); }
.tick-list li svg { width: 18px; height: 18px; color: var(--green); flex: none; margin-top: 5px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.trust-row span { display: inline-flex; align-items: center; gap: 7px; color: var(--text-2); font-size: 0.92rem; font-weight: 600; }
.trust-row svg { width: 17px; height: 17px; color: var(--green); flex: none; }

/* ============================================================
   CONTENT PAGE PIECES — page-hero, prose, toc, tbl, callout
   ============================================================ */
.page-hero { padding-block: clamp(44px, 7vw, 78px) 18px; }
.page-hero h1 { margin-block: 12px 14px; }
.page-hero .lead { max-width: 68ch; }
.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--text-3);
  font-size: var(--fs-sm);
  margin-top: 14px;
}
.prose { max-width: 780px; }
.prose h2 {
  margin-block: 2.1em 0.7em;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-block: 1.7em 0.55em; }
.prose p { margin-block: 0.9em; color: var(--text); }
.prose ul, .prose ol { margin-block: 0.9em; padding-inline-start: 1.4em; }
.prose li { margin-block: 0.45em; }
.prose a { text-decoration: underline; text-decoration-color: var(--brand-line); text-underline-offset: 3px; }
.prose img { border-radius: var(--radius-lg); border: 1px solid var(--line); margin-block: 1.4em; box-shadow: var(--shadow-1); }
.img-cap { color: var(--text-3); font-size: var(--fs-sm); margin-top: -0.8em; }
.prose strong { color: var(--ink); }

.toc {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  margin-block: 1.6em;
  box-shadow: var(--shadow-1);
}
.toc b { display: block; margin-bottom: 10px; color: var(--ink); }
.toc ol { margin: 0; padding-inline-start: 1.3em; }
.toc li { margin-block: 0.35em; }

.tbl-wrap { overflow-x: auto; margin-block: 1.4em; border: 1px solid var(--line); border-radius: var(--radius); }
.tbl { width: 100%; border-collapse: collapse; font-size: 0.94rem; min-width: 480px; }
.tbl th {
  text-align: start;
  background: var(--card-2);
  color: var(--ink);
  font-weight: 700;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.tbl td { padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--text); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover td { background: var(--card-2); }

.callout {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  border-radius: var(--radius);
  padding: 15px 18px;
  margin-block: 1.3em;
}
.callout svg { width: 19px; height: 19px; color: var(--brand); flex: none; margin-top: 5px; }
.callout p { color: var(--text); }
.callout.is-warn { background: var(--amber-soft); border-color: rgba(168, 110, 16, 0.3); }
.callout.is-warn svg { color: var(--amber); }
.callout.is-ok { background: var(--green-soft); border-color: rgba(23, 138, 100, 0.3); }
.callout.is-ok svg { color: var(--green); }

/* ============================================================
   FAQ (details rows — shared with faq.php + homepage)
   ============================================================ */
.faq-page { display: grid; gap: 12px; }
.faq-page details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.faq-page details[open] { border-color: var(--brand-line); box-shadow: var(--shadow-1); }
.faq-page summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 20px;
  font-weight: 700;
  color: var(--ink);
  min-height: 44px;
}
.faq-page summary:hover { color: var(--brand-strong); }
.faq-page .chev {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  flex: none;
  transition: transform var(--t-med) var(--ease);
}
.faq-page .chev svg { width: 15px; height: 15px; }
.faq-page details[open] .chev { transform: rotate(180deg); }
.faq-a { padding: 0 20px 18px; color: var(--text-2); line-height: 1.95; }
.faq-group-title { font-size: 1.15rem; }

/* ============================================================
   HUB CARDS (guides) + REL CARDS + FEATS + CONTACT TILES
   ============================================================ */
.hub-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); }
.hub-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  color: var(--ink);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.hub-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: var(--brand-line);
  color: var(--ink);
}
.hub-kind {
  align-self: flex-start;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--brand-strong);
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  padding: 2px 11px;
  border-radius: var(--pill);
}
.hub-card b { font-size: 1.06rem; line-height: 1.55; }
.hub-card > span:nth-of-type(1) { color: var(--text-2); font-size: 0.94rem; }
.hub-go {
  margin-top: auto;
  padding-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--brand);
  font-weight: 700;
  font-size: 0.92rem;
}
.hub-go svg { width: 16px; height: 16px; transition: transform var(--t-fast) var(--ease); }
.hub-card:hover .hub-go svg { transform: translateX(-4px); }
[dir="ltr"] .hub-card:hover .hub-go svg { transform: translateX(4px); }

.rel-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.rel-card {
  display: grid;
  gap: 6px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  color: var(--ink);
  transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.rel-card:hover { transform: translateY(-3px); border-color: var(--brand-line); box-shadow: var(--shadow-1); color: var(--ink); }
.rel-ic { color: var(--brand); }
.rel-ic svg { width: 19px; height: 19px; }
.rel-card b { font-size: 1rem; }
.rel-card > span:last-child { color: var(--text-2); font-size: 0.9rem; }

.feat-list { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.feat-item {
  display: flex;
  gap: 13px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 17px;
}
.fi-ic {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
}
.fi-ic svg { width: 20px; height: 20px; }
.feat-item b { color: var(--ink); display: block; margin-bottom: 2px; }
.feat-item span { color: var(--text-2); font-size: 0.93rem; }

.contact-tiles { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.contact-tile {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 19px;
  color: var(--ink);
  transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.contact-tile:hover { transform: translateY(-3px); border-color: var(--brand-line); box-shadow: var(--shadow-1); color: var(--ink); }
.ct-ic {
  width: 46px;
  height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
}
.ct-ic svg { width: 22px; height: 22px; }
.contact-tile b { display: block; color: var(--ink); }
.contact-tile span { color: var(--text-2); font-size: 0.93rem; }

/* ============================================================
   PRICING (9.0 — professional; shared with pricing.php — real
   plans from DB). Anatomy: canvas hero → anchor tabs → capped
   card grid → value strip → comparison matrix. Prices never
   hardcoded in markup; cards render what the licensing system
   returns. Red stays scoped to the plan flag; green carries
   offers/savings; navy canvas = the one saturated moment.
   ============================================================ */
.pricing-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(292px, 366px));
  justify-content: center;
  align-items: stretch;
  margin-block: 46px 10px;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 34px 30px 26px;
  box-shadow: var(--shadow-1);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--brand-line); }
/* the one saturated navy moment — blueprint canvas on the popular plan */
.price-card.is-pop {
  background:
    radial-gradient(560px 300px at 85% -10%, rgba(10, 99, 189, 0.35) 0%, rgba(10, 99, 189, 0) 62%),
    linear-gradient(168deg, #07315d 0%, var(--canvas) 55%, var(--canvas-2) 100%);
  border-color: rgba(125, 180, 224, 0.32);
  box-shadow: var(--glow-brand);
}
.price-card.is-pop::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  background-image:
    linear-gradient(var(--canvas-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--canvas-grid) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(460px 320px at 80% 0%, #000 20%, transparent 85%);
  -webkit-mask-image: radial-gradient(460px 320px at 80% 0%, #000 20%, transparent 85%);
  pointer-events: none;
  z-index: 0;
}
.price-card.is-pop > * { position: relative; z-index: 1; }
/* flags re-assert absolute — the `> *` rule above would flip them to relative */
.price-card.is-pop > .plan-flag,
.price-card.is-pop > .offer-flag,
.price-card.is-pop > .save-pill { position: absolute; z-index: 2; }
.price-card.is-pop:hover { transform: translateY(-4px); }
.plan-flag, .offer-flag, .save-pill {
  position: absolute;
  top: -15px;
  inset-inline-start: 26px;
  padding: 4px 15px;
  border-radius: var(--pill);
  font-size: var(--fs-xs);
  font-weight: 700;
  line-height: 1.7;
}
.plan-flag { background: var(--rc-red); color: #fff; box-shadow: 0 8px 18px -8px rgba(215, 25, 50, 0.55); }
.offer-flag { background: var(--green); color: #fff; box-shadow: 0 8px 18px -8px rgba(23, 138, 100, 0.5); }
.save-pill {
  inset-inline-start: auto;
  inset-inline-end: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-soft);
  border: 1px solid rgba(23, 138, 100, 0.35);
  color: var(--green);
}
.save-pill svg { width: 13px; height: 13px; }
.price-card.is-pop .save-pill { background: rgba(67, 197, 154, 0.14); border-color: rgba(67, 197, 154, 0.4); color: #43c59a; }
.plan-name {
  font-family: var(--font-latin);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
}
.price-card.is-pop .plan-name { color: #fff; }
.plan-desc { color: var(--text-2); font-size: 0.94rem; margin-top: 4px; min-height: 2.6em; }
.price-card.is-pop .plan-desc { color: var(--canvas-text); }
.plan-price {
  font-family: var(--font-latin);
  font-size: clamp(2.3rem, 1.7rem + 1.7vw, 2.9rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.1;
  margin-top: 18px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.plan-price .cur { font-size: 0.42em; font-weight: 700; color: var(--text-2); }
.price-card.is-pop .plan-price { color: #fff; }
.price-card.is-pop .plan-price .cur { color: var(--canvas-mute); }
.plan-price-old {
  font-size: 0.5em;
  font-weight: 600;
  color: var(--text-3);
}
.price-card.is-pop .plan-price-old { color: var(--canvas-mute); }
.plan-unit { color: var(--text-3); font-size: var(--fs-sm); margin-top: 4px; }
.price-card.is-pop .plan-unit { color: var(--canvas-mute); }
.offer-until {
  color: var(--green);
  font-size: var(--fs-sm);
  font-weight: 700;
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.offer-until svg { width: 15px; height: 15px; }
.price-card.is-pop .offer-until { color: #43c59a; }
.plan-feats {
  list-style: none;
  padding: 0;
  margin-block: 24px 26px;
  display: grid;
  gap: 12px;
}
.plan-feats li { display: flex; gap: 11px; align-items: flex-start; color: var(--text); font-size: 0.95rem; line-height: 1.65; }
.plan-feats li svg {
  width: 19px;
  height: 19px;
  flex: none;
  margin-top: 3px;
  color: var(--green);
  background: var(--green-soft);
  border-radius: 50%;
  padding: 3.5px;
}
.price-card.is-pop .plan-feats li { color: var(--canvas-text); }
.price-card.is-pop .plan-feats li svg { color: #43c59a; background: rgba(67, 197, 154, 0.14); }
.price-card .btn { margin-top: auto; }
.price-card.is-pop .btn-ghost { border-color: rgba(255, 255, 255, 0.3); color: #fff; background: rgba(255, 255, 255, 0.06); }
.price-card.is-pop .btn-ghost:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.plan-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 13px;
  color: var(--text-3);
  font-size: var(--fs-xs);
  font-weight: 600;
}
.plan-foot svg { width: 14px; height: 14px; color: var(--green); }
.price-card.is-pop .plan-foot { color: var(--canvas-mute); }
.plans-note { color: var(--text-3); font-size: var(--fs-sm); text-align: center; margin-top: 18px; }
.plans-note a { color: var(--brand); }

/* ---------- pricing page: blueprint canvas hero ---------- */
.p-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    var(--grad-canvas),
    linear-gradient(168deg, #07315d 0%, var(--canvas) 52%, var(--canvas-2) 100%);
  color: var(--canvas-text);
  padding-block: clamp(40px, 6vw, 72px) clamp(58px, 7vw, 90px);
  scroll-margin-top: var(--header-h);
}
.p-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--canvas-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--canvas-grid) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(1000px 560px at 24% -6%, #000 22%, transparent 76%);
  -webkit-mask-image: radial-gradient(1000px 560px at 24% -6%, #000 22%, transparent 76%);
  pointer-events: none;
  z-index: -1;
}
.p-hero-crumbs { display: flex; align-items: center; gap: 9px; font-size: var(--fs-sm); }
.p-hero-crumbs a { color: var(--canvas-mute); }
.p-hero-crumbs a:hover { color: #fff; }
.p-hero-crumbs .sep { color: var(--canvas-mute); opacity: 0.6; }
.p-hero-crumbs [aria-current="page"] { color: #fff; font-weight: 700; }
.p-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 30px;
  padding: 6px 15px;
  border-radius: var(--pill);
  border: 1px solid rgba(141, 180, 224, 0.32);
  background: rgba(125, 180, 234, 0.1);
  color: #a9cdf1;
  font-size: var(--fs-sm);
  font-weight: 700;
}
.p-hero-eyebrow svg { width: 16px; height: 16px; }
.p-hero h1 { color: #fff; margin-block: 20px 16px; max-width: 24ch; text-wrap: balance; }
.p-hero h1 em { font-style: normal; color: #6fb0e8; }
.p-hero .lead { color: var(--canvas-text); max-width: 62ch; }
.p-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 30px;
}
.p-hero-facts span { display: inline-flex; align-items: center; gap: 9px; color: var(--canvas-text); font-size: 0.94rem; font-weight: 600; }
.p-hero-facts svg { width: 18px; height: 18px; color: #43c59a; flex: none; }

/* ---------- anchor tabs — annual / lifetime (real anchors, no-JS safe) ---------- */
.term-tabs {
  position: relative;
  z-index: 2;
  display: flex;
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
  margin-top: -27px; /* rides the hero canvas edge */
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 5px;
  gap: 4px;
  box-shadow: var(--shadow-2);
}
.term-tabs a {
  display: grid;
  gap: 1px;
  text-align: center;
  padding: 9px 26px;
  border-radius: var(--pill);
  color: var(--text-2);
  font-size: 0.92rem;
  line-height: 1.55;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.term-tabs a b { color: inherit; font-size: 0.98rem; }
.term-tabs a span { font-size: var(--fs-xs); color: var(--text-3); }
.term-tabs a:hover { color: var(--ink); background: var(--bg-2); }
.term-tabs a.is-active { background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.term-tabs a.is-active b { color: #fff; }
.term-tabs a.is-active span { color: rgba(255, 255, 255, 0.75); }
.term-tabs a:focus-visible { outline: none; box-shadow: var(--focus-ring); }

/* ---------- page rhythm ---------- */
.p-plans { padding-top: clamp(40px, 6vw, 64px); }
.p-plans .btn-store { display: table; margin-inline: auto; margin-top: 34px; }
.p-life .pricing-grid { margin-top: 42px; }
.p-cmp { padding-top: 0; }
#lifetime { scroll-margin-top: calc(var(--header-h) + 14px); }

/* ---------- value strip — fixed facts under the grid ---------- */
.value-strip {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
  padding-block: 26px;
  gap: 22px;
}
.value-cell { display: flex; gap: 13px; align-items: flex-start; }
.value-cell svg { width: 22px; height: 22px; color: var(--brand); flex: none; margin-top: 2px; }
.value-cell b { display: block; color: var(--ink); font-size: 0.97rem; }
.value-cell span { display: block; margin-top: 3px; color: var(--text-2); font-size: 0.88rem; line-height: 1.7; }

/* ---------- comparison matrix — desktop enhancement ---------- */
.p-cmp .cmp-wrap {
  margin-top: 44px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  overflow-x: auto;
}
.cmp-table { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
.cmp-table th, .cmp-table td { padding: 15px 22px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: middle; }
.cmp-table thead th { background: var(--card-2); border-bottom: 1px solid var(--line-2); padding-block: 22px; }
.cmp-table tbody tr:last-child th, .cmp-table tbody tr:last-child td { border-bottom: 0; }
.cmp-feature-h { width: 42%; color: var(--text-3); font-size: var(--fs-sm); font-weight: 700; }
.cmp-table tbody th { color: var(--text); font-weight: 600; font-size: 0.93rem; }
.cmp-table tbody th svg { width: 17px; height: 17px; color: var(--brand); vertical-align: -4px; margin-inline-end: 9px; }
.cmp-plan { display: block; font-family: var(--font-latin); font-weight: 800; font-size: 1.06rem; color: var(--ink); }
.cmp-price { display: block; font-family: var(--font-latin); color: var(--text-2); font-weight: 700; margin-block: 3px 11px; }
.cmp-price small { font-weight: 600; color: var(--text-3); }
.cmp-yes { display: inline-flex; color: var(--green); }
.cmp-yes svg { width: 19px; height: 19px; background: var(--green-soft); border-radius: 50%; padding: 3.5px; }
.cmp-no { color: var(--text-3); opacity: 0.7; }
.cmp-table .is-pop-col { background: var(--brand-soft); }
.cmp-note { text-align: center; color: var(--text-3); font-size: var(--fs-sm); margin-top: 16px; }
.cmp-note a { color: var(--brand); }

/* ---------- a11y helper ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .value-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .p-cmp .cmp-wrap { display: none; } /* cards carry the story on small screens */
}
@media (max-width: 680px) {
  .pricing-grid { gap: 26px; margin-top: 42px; }
  .price-card { padding: 30px 22px 22px; }
  .term-tabs { width: 100%; }
  .term-tabs a { flex: 1; padding: 9px 10px; }
  .value-strip { grid-template-columns: 1fr; gap: 16px; padding-block: 20px; margin-top: 42px; }
  .p-hero-facts { flex-direction: column; gap: 11px; }
}
/* ============================================================
   CTA BOX + OFFER BANNER
   ============================================================ */
.cta-box {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    var(--grad-canvas),
    linear-gradient(160deg, #06294e 0%, var(--canvas-2) 100%);
  color: var(--canvas-text);
  padding: clamp(42px, 6.5vw, 74px) clamp(24px, 5vw, 64px);
  text-align: center;
  box-shadow: var(--glow-brand);
  isolation: isolate;
}
.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--canvas-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--canvas-grid) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(720px 380px at 50% 0%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(720px 380px at 50% 0%, #000 30%, transparent 100%);
  pointer-events: none;
  z-index: -1;
}
.cta-box h2 { color: #fff; position: relative; }
.cta-box p { position: relative; max-width: 58ch; margin: 14px auto 0; color: var(--canvas-text); }
.cta-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}
.cta-actions > .btn-store { margin-inline-start: 4px; }

.offer-banner-wrap { padding-block: 6px 0; }
.offer-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  background: var(--card);
  border: 1px solid var(--brand-line);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  box-shadow: var(--shadow-1);
}
.offer-banner-ic {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--brand-soft);
  color: var(--brand);
}
.offer-banner-ic svg { width: 21px; height: 21px; }
.offer-banner-copy { display: grid; gap: 1px; min-width: 200px; flex: 1; }
.offer-banner-copy b { color: var(--ink); font-size: 1rem; }
.offer-banner-copy span { color: var(--text-2); font-size: 0.9rem; }
.offer-banner-copy em { color: var(--amber); font-size: 0.85rem; font-style: normal; font-weight: 700; }

/* ============================================================
   FOOTER — deep blueprint bookend
   ============================================================ */
.site-footer {
  position: relative;
  background:
    radial-gradient(800px 300px at 88% 0%, rgba(10, 99, 189, 0.28) 0%, rgba(10, 99, 189, 0) 60%),
    linear-gradient(180deg, #06223f 0%, var(--canvas-2) 100%);
  color: var(--canvas-text);
  border-top: 1px solid rgba(125, 180, 234, 0.2);
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 220px;
  background-image:
    linear-gradient(var(--canvas-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--canvas-grid) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(#000, transparent);
  -webkit-mask-image: linear-gradient(#000, transparent);
  pointer-events: none;
}
.footer-grid {
  position: relative;
  display: grid;
  gap: 34px;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  padding-block: clamp(46px, 6vw, 66px) 38px;
}
.footer-brand p { color: var(--canvas-mute); font-size: 0.94rem; margin-top: 14px; max-width: 34ch; }
.site-footer .brand-word { color: #fff; }
.site-footer .brand-word b { color: #ff5f73; }
.footer-phone {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
}
.footer-phone svg { width: 17px; height: 17px; color: #7db4ea; }
.footer-phone a { color: #dbe7f3; font-weight: 700; font-family: var(--font-latin); }
.footer-phone a:hover { color: #fff; }
.footer-col { display: grid; gap: 11px; align-content: start; }
.footer-col h3 {
  color: #9fc3e8;
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 5px;
}
.footer-col a {
  color: var(--canvas-text);
  font-size: 0.93rem;
  transition: color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
  width: fit-content;
}
.footer-col a:hover { color: #fff; transform: translateX(-3px); }
[dir="ltr"] .footer-col a:hover { transform: translateX(3px); }
.footer-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  border-top: 1px solid var(--canvas-line);
  padding-block: 20px 26px;
  color: var(--canvas-mute);
  font-size: var(--fs-sm);
}
.footer-legal { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-legal a { color: var(--canvas-text); }
.footer-legal a:hover { color: #fff; }
.footer-made {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-inline-start: auto;
  color: var(--canvas-mute);
  font-size: var(--fs-xs);
}
.footer-made svg { width: 14px; height: 14px; color: #7db4ea; }

/* ============================================================
   CRUMBS
   ============================================================ */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 18px 4px;
  color: var(--text-3);
  font-size: var(--fs-sm);
}
.crumbs a { color: var(--text-2); }
.crumbs a:hover { color: var(--brand); }
.crumbs .sep { color: var(--text-3); }
.crumbs [aria-current="page"] { color: var(--ink); font-weight: 700; }

/* ============================================================
   GLOBAL RESPONSIVE GUARDS
   ============================================================ */
@media (max-width: 1320px) {
  .header-actions .btn-ghost { display: none; } /* login lives in the drawer */
}
@media (max-width: 1150px) {
  .header-actions .btn-store { display: none; }
}
@media (max-width: 1020px) {
  .main-nav { display: none; }
  .burger { display: grid; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  :root { --header-h: 64px; }
  .header-inner { gap: 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-made { margin-inline-start: 0; }
  .brand-word { font-size: 1.12rem; }
  .brand-mark, .brand-mark img { width: 34px; height: 34px; }
}
@media (max-width: 400px) {
  .header-actions .btn-primary { padding-inline: 13px; font-size: 0.88rem; }
  .header-actions .btn-store { padding-inline: 13px; font-size: 0.85rem; }
}
