/* Corvant website
   Layout concept: the logo's concentric rings. Corvant sits at the centre,
   what ships today is on the inner (teal) ring, what is coming is on the outer ring. */
:root {
  --navy: #081D3C;
  --teal: #00A9A4;
  --teal-ink: #007F7A;
  --teal-soft: #DDF4F2;
  --char: #212C2E;
  --bg: #F3F6FA;
  --surface: #FFFFFF;
  --fg: #0B1B33;
  --muted: #55657C;
  --line: #D6DFEA;
  --band: #081D3C;
  --band-fg: #E8EEF8;
  --band-muted: #9AACC4;
  --mark-o: #081D3C;
  --mark-i: #2A3438;
  /* brand accents (Phase 1): Saffron for offers only, Brick for a loss number only */
  --saffron: #F5A623;
  --brick: #D9473A;
  --shadow: 0 1px 2px rgba(8, 29, 60, .06), 0 8px 24px rgba(8, 29, 60, .08);

  --f-ar-display: "Reem Kufi", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --f-en-display: "Poppins", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --f-body: "IBM Plex Sans Arabic", "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1160px;
  --r: 14px;
  /* solid fills that carry text: deep teal in light mode keeps white text at 4.9:1 */
  --accent-fill: #007F7A; --on-accent: #FFFFFF; --accent-hover: #081D3C;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --teal: #22CFC8; --teal-ink: #4FE0DA; --teal-soft: #0F3A4A;
    --accent-fill: #22CFC8; --on-accent: #041A2E; --accent-hover: #4FE0DA;
    --bg: #061224; --surface: #0B1D38; --fg: #E8EEF8; --muted: #9AACC4; --line: #1C365C;
    --band: #0B1D38; --band-fg: #E8EEF8; --band-muted: #9AACC4;
    --mark-o: #E8EEF8; --mark-i: #9AACC4;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --teal: #22CFC8; --teal-ink: #4FE0DA; --teal-soft: #0F3A4A;
  --accent-fill: #22CFC8; --on-accent: #041A2E; --accent-hover: #4FE0DA;
  --bg: #061224; --surface: #0B1D38; --fg: #E8EEF8; --muted: #9AACC4; --line: #1C365C;
  --band: #0B1D38; --band-fg: #E8EEF8; --band-muted: #9AACC4;
  --mark-o: #E8EEF8; --mark-i: #9AACC4;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--surface); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-ink); }
h1, h2, h3 { line-height: 1.25; text-wrap: balance; margin: 0; font-weight: 600; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] .display { font-family: var(--f-ar-display); font-weight: 600; }
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] .display { font-family: var(--f-en-display); letter-spacing: -.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 6px; }

/* language switching: both languages live in the markup */
html[lang="ar"] [data-l="en"], html[lang="en"] [data-l="ar"] { display: none !important; }

.wrap {
  width: 100%; max-width: var(--wrap); margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.section { padding-block: clamp(56px, 8vw, 104px); }
.section + .section { padding-top: 0; }
.h-sec { font-size: clamp(28px, 3.6vw, 42px); margin-top: 0; max-width: 22ch; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 62ch; margin-top: 14px; }
.sec-head { display: grid; gap: 4px; margin-bottom: clamp(28px, 4vw, 48px); }

/* ---------- buttons ---------- */
.btn {
  white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 10px 22px; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent-fill); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { border-color: var(--line); color: var(--fg); background: var(--surface); }
.btn-ghost:hover { border-color: var(--teal); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand b { font-family: var(--f-en-display); font-weight: 700; font-size: 22px; letter-spacing: .06em; color: var(--mark-o); }
.brand small { display: block; font-size: 11px; color: var(--muted); letter-spacing: .02em; line-height: 1.2; }
.nav-links { display: flex; gap: 4px; margin-inline-start: auto; list-style: none; padding: 0; margin-block: 0; }
.nav-links a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--fg); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--teal-soft); color: var(--teal-ink); }
.nav-tools { display: flex; align-items: center; gap: 8px; }
.lang-btn {
  min-width: 48px; min-height: 40px; padding: 6px 12px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--surface); color: var(--fg);
  font: inherit; font-weight: 600; font-size: 14px; cursor: pointer;
}
.lang-btn:hover { border-color: var(--teal); }
.nav .btn { min-height: 40px; padding: 6px 16px; font-size: 15px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); color: var(--fg); cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
@media (max-width: 980px) {
  .menu-btn { display: inline-grid; place-items: center; }
  .nav-links {
    display: none; position: absolute; inset: 100% 0 auto 0; flex-direction: column; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 8px max(20px, env(safe-area-inset-right, 0px)) 16px max(20px, env(safe-area-inset-left, 0px));
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; }
  .nav-tools { margin-inline-start: auto; }
}
@media (max-width: 520px) { .brand small { display: none; } .nav { gap: 10px; } .nav .btn { padding: 6px 12px; font-size: 14px; } .lang-btn { min-width: 40px; padding: 6px 8px; } }

/* ---------- hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 80px) clamp(48px, 7vw, 96px); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-grid > * { min-width: 0; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.acronym { display: flex; flex-wrap: wrap; gap: 4px 14px; font-family: var(--f-en-display); font-size: 14px; color: var(--muted); letter-spacing: .02em; direction: ltr; justify-content: flex-start; }
html[lang="ar"] .acronym { justify-content: flex-end; }
.acronym b { color: var(--teal-ink); font-weight: 700; }
.hero h1 { font-size: clamp(36px, 5.4vw, 64px); margin-top: 18px; }
.hero h1 em { font-style: normal; color: var(--teal-ink); }
.hero .lead { margin-top: 18px; }
.hero .btn-row { margin-top: 28px; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }

/* the ring map */
.orbit {
  --size: min(100%, 520px);
  position: relative; width: var(--size); aspect-ratio: 1; max-width: 100%; margin-inline: auto;
  container-type: inline-size;
}
.orbit .ring { position: absolute; inset: 0; margin: auto; border-radius: 50%; }
.orbit .ring-outer { width: 86%; height: 86%; border: 1.5px dashed var(--line); }
.orbit .ring-inner { width: 50%; height: 50%; border: 2px solid var(--teal); opacity: .55; }
.orbit .core {
  position: absolute; inset: 0; margin: auto; width: 24%; height: 24%; border-radius: 50%;
  background: var(--surface); box-shadow: var(--shadow); display: grid; place-items: center;
  border: 1px solid var(--line);
}
.orbit .core svg { width: 62%; height: 62%; }
.orbit ul { list-style: none; margin: 0; padding: 0; }
.orbit li {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%) rotate(var(--a)) translateY(calc(-1 * var(--r))) rotate(calc(-1 * var(--a)));
  white-space: nowrap; font-size: clamp(10px, 2.9cqw, 14px); font-weight: 600; line-height: 1.2;
  padding: .55em .9em; border-radius: 999px; text-align: center;
}
.orbit .in li { --r: 25cqw; background: var(--teal-soft); color: var(--teal-ink); border: 1.5px solid color-mix(in srgb, var(--teal) 45%, transparent); }
.orbit .in li.live { background: var(--accent-fill); color: var(--on-accent); border-color: var(--accent-fill); box-shadow: 0 6px 18px color-mix(in srgb, var(--teal) 35%, transparent); }
.orbit .out li { --r: 43cqw; background: var(--surface); color: var(--muted); border: 1.5px dashed var(--line); }
.orbit-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 18px; font-size: 13px; color: var(--muted); }
.orbit-legend span { display: inline-flex; align-items: center; gap: 8px; }
.orbit-legend i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.orbit-legend .k-live { background: var(--teal); }
.orbit-legend .k-in { background: var(--teal-soft); border: 1.5px solid var(--teal); }
.orbit-legend .k-soon { border: 1.5px dashed var(--muted); }
@keyframes spin-in { from { opacity: .35; transform: rotate(-8deg) scale(.97); } to { opacity: 1; transform: none; } }
.orbit .out { animation: spin-in 1.1s cubic-bezier(.2, .7, .2, 1) both; transform-origin: 50% 50%; position: absolute; inset: 0; }
.orbit .in { position: absolute; inset: 0; }

/* ---------- fact strip ---------- */
.strip { background: var(--band); color: var(--band-fg); }
.strip ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.strip li { padding: 22px 18px; display: grid; gap: 2px; border-inline-start: 1px solid color-mix(in srgb, var(--band-fg) 14%, transparent); }
.strip li:first-child { border-inline-start: 0; }
.strip b { font-size: 16px; }
.strip span { font-size: 14px; color: var(--band-muted); }
@media (max-width: 820px) { .strip ul { grid-template-columns: 1fr 1fr; } .strip li:nth-child(3) { border-inline-start: 0; } }
@media (max-width: 440px) { .strip ul { grid-template-columns: 1fr; } .strip li { border-inline-start: 0; border-top: 1px solid color-mix(in srgb, var(--band-fg) 14%, transparent); } .strip li:first-child { border-top: 0; } }

/* ---------- modules ---------- */
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.modules > * { min-width: 0; }
@media (max-width: 960px) { .modules { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .modules { grid-template-columns: 1fr; } }
.mod {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px; display: grid; gap: 10px; align-content: start;
}
.mod h3 { font-size: 19px; }
.mod p { color: var(--muted); font-size: 15px; }
.mod ul { margin: 2px 0 0; padding-inline-start: 18px; color: var(--muted); font-size: 14px; display: grid; gap: 2px; }
.mod-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal-ink); }
.mod-ico svg { width: 24px; height: 24px; }
.mod-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pill-live { background: var(--accent-fill); color: var(--on-accent); }
.pill-in { background: var(--teal-soft); color: var(--teal-ink); }
.pill-soon { border: 1.5px dashed var(--line); color: var(--muted); }
.mod.is-soon { background: transparent; border-style: dashed; }
.mod.is-soon .mod-ico { background: transparent; border: 1.5px dashed var(--line); color: var(--muted); }
.mod-feature {
  grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; align-items: center;
  background: var(--surface); border: 1.5px solid var(--teal); border-radius: calc(var(--r) + 4px); padding: clamp(22px, 3vw, 36px);
  box-shadow: var(--shadow);
}
.mod-feature > * { min-width: 0; }
.mod-feature h3 { font-size: clamp(24px, 2.6vw, 32px); }
.mod-feature .shot { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
@media (max-width: 860px) { .mod-feature { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%2300A9A4' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }

/* ---------- one record ---------- */
.flow { display: grid; grid-template-columns: 1fr auto 1.4fr; gap: 20px; align-items: center; }
.flow > * { min-width: 0; }
@media (max-width: 820px) { .flow { grid-template-columns: 1fr; } .flow .arrow { transform: rotate(90deg); justify-self: center; } }
.flow .src { background: var(--band); color: var(--band-fg); border-radius: var(--r); padding: 24px; }
.flow .src small { color: var(--band-muted); display: block; font-size: 13px; }
.flow .src b { font-size: 20px; display: block; margin-top: 4px; }
.flow .src code { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 13px; color: var(--band-muted); display: block; margin-top: 10px; direction: ltr; text-align: start; }
.flow .arrow { color: var(--teal); width: 48px; height: 48px; }
html[lang="ar"] .flow .arrow { transform: scaleX(-1); }
@media (max-width: 820px) { html[lang="ar"] .flow .arrow { transform: rotate(90deg); } }
.readers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.readers div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.readers b { display: block; font-size: 15px; }
.readers span { font-size: 14px; color: var(--muted); }
@media (max-width: 440px) { .readers { grid-template-columns: 1fr; } }

/* ---------- industries ---------- */
.inds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.inds > * { min-width: 0; }
@media (max-width: 860px) { .inds { grid-template-columns: 1fr; } }
.ind { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: grid; gap: 8px; align-content: start; }
.ind h3 { font-size: 20px; }
.ind p { color: var(--muted); font-size: 15px; }
.later { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--muted); font-size: 15px; }

/* ---------- principles ---------- */
.prin { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px; }
.prin > * { min-width: 0; }
@media (max-width: 860px) { .prin { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .prin { grid-template-columns: 1fr; } }
.prin div { display: grid; gap: 6px; padding-top: 16px; border-top: 2px solid var(--line); }
.prin div:hover { border-top-color: var(--teal); }
.prin h3 { font-size: 18px; }
.prin p { color: var(--muted); font-size: 15px; }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps > * { min-width: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: s; display: grid; gap: 6px; align-content: start; padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.steps li::before { content: counter(s); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: var(--teal-ink); border: 2px solid var(--teal); font-family: var(--f-en-display); margin-bottom: 6px; }
.steps b { font-size: 17px; }
.steps span { color: var(--muted); font-size: 15px; }

/* ---------- roadmap ---------- */
.band { background: var(--band); color: var(--band-fg); }
.band .lead, .band .muted { color: var(--band-muted); }
.road { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.road > * { min-width: 0; }
.road li { padding: 0 14px 0 0; display: grid; gap: 6px; align-content: start; position: relative; padding-top: 34px; }
html[lang="ar"] .road li { padding: 34px 0 0 14px; }
.road li::before { content: ""; position: absolute; top: 8px; inset-inline-start: 0; width: 18px; height: 18px; border-radius: 50%; border: 2px dashed var(--band-muted); background: var(--band); z-index: 1; }
.road li::after { content: ""; position: absolute; top: 16px; inset-inline: 0; height: 2px; background: color-mix(in srgb, var(--band-fg) 18%, transparent); }
.road li.now::before { border: 0; background: var(--teal); box-shadow: 0 0 0 6px color-mix(in srgb, var(--teal) 25%, transparent); }
.road .tag { font-size: 13px; font-weight: 600; color: var(--band-muted); }
.road li.now .tag { color: var(--teal); }
.road b { font-size: 17px; }
.road span { font-size: 14px; color: var(--band-muted); }
@media (max-width: 900px) {
  .road { grid-template-columns: 1fr; gap: 22px; }
  .road li, html[lang="ar"] .road li { padding: 0; padding-inline-start: 34px; }
  .road li::before { top: 4px; }
  .road li::after { top: 24px; bottom: -22px; inset-inline-start: 8px; inset-inline-end: auto; width: 2px; height: auto; }
  .road li:last-child::after { display: none; }
}

/* ---------- faq ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--teal-ink); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 18px; color: var(--muted); }

/* ---------- contact ---------- */
.cta {
  background: var(--band); color: var(--band-fg); border-radius: calc(var(--r) + 8px);
  padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center;
  position: relative; overflow: hidden;
}
.cta > * { min-width: 0; position: relative; }
.cta::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; border: 56px solid color-mix(in srgb, var(--teal) 14%, transparent); inset-inline-end: -140px; top: -160px; }
@media (max-width: 820px) { .cta { grid-template-columns: 1fr; } }
.cta h2 { font-size: clamp(26px, 3.4vw, 38px); }
.cta p { color: var(--band-muted); margin-top: 12px; }
.contact-box { background: color-mix(in srgb, var(--band-fg) 6%, transparent); border: 1px solid color-mix(in srgb, var(--band-fg) 16%, transparent); border-radius: var(--r); padding: 20px; display: grid; gap: 14px; }
.phone-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.phone-line .num { font-family: var(--f-en-display); font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; direction: ltr; unicode-bidi: isolate; user-select: all; letter-spacing: .02em; }
.copy-btn { font: inherit; font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 1.5px solid color-mix(in srgb, var(--band-fg) 30%, transparent); background: transparent; color: var(--band-fg); cursor: pointer; min-height: 40px; }
.copy-btn:hover { border-color: var(--teal); }
.contact-box .btn { width: 100%; }
.contact-box small { color: var(--band-muted); font-size: 13px; }
.btn-light { background: transparent; color: var(--band-fg); border-color: color-mix(in srgb, var(--band-fg) 30%, transparent); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 36px; }
.foot { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-start; }
.foot p { color: var(--muted); font-size: 14px; max-width: 46ch; margin-top: 10px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 15px; }
.foot nav a { color: var(--fg); text-decoration: none; }
.foot nav a:hover { color: var(--teal-ink); }
.foot .copy { width: 100%; font-size: 13px; color: var(--muted); padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ltr { direction: ltr; unicode-bidi: isolate; }

/* ---------- POS page ---------- */
.pos-hero .shot-wrap { position: relative; }
.pos-hero .shot-main { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.pos-hero .shot-phone { position: absolute; width: 26%; inset-inline-start: -4%; bottom: -10%; border-radius: 18px; overflow: hidden; border: 4px solid var(--navy); box-shadow: var(--shadow); background: var(--navy); }
@media (max-width: 900px) { .pos-hero .shot-phone { inset-inline-start: auto; inset-inline-end: 2%; } }
.crumbs { font-size: 14px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.crumbs a { color: var(--muted); }
.probs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.probs > * { min-width: 0; }
@media (max-width: 960px) { .probs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .probs { grid-template-columns: 1fr; } }
.prob { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: grid; align-content: start; }
.prob .pain { padding: 14px 20px; font-size: 14px; font-weight: 600; color: var(--muted); border-bottom: 1px dashed var(--line); display: flex; justify-content: space-between; gap: 10px; }
.prob .pain s { text-decoration-color: var(--teal); text-decoration-thickness: 2px; }
.prob .fix { padding: 18px 20px 22px; display: grid; gap: 6px; }
.prob .fix h3 { font-size: 18px; }
.prob .fix p { color: var(--muted); font-size: 15px; }
.advisor { display: grid; grid-template-columns: 1fr 1.2fr; gap: 36px; align-items: center; }
.advisor > * { min-width: 0; }
@media (max-width: 900px) { .advisor { grid-template-columns: 1fr; } }
.recs { display: grid; gap: 10px; margin-top: 22px; }
.rec { display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 12px; background: color-mix(in srgb, var(--band-fg) 6%, transparent); border: 1px solid color-mix(in srgb, var(--band-fg) 14%, transparent); }
.rec b { display: block; font-size: 15px; }
.rec span { font-size: 13px; color: var(--band-muted); }
.rec .egp { font-family: var(--f-en-display); font-weight: 600; color: var(--teal); white-space: nowrap; font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
.advisor .shot { border-radius: 12px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--band-fg) 16%, transparent); }
.fine { font-size: 13px; color: var(--band-muted); margin-top: 14px; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.gallery > * { min-width: 0; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; } }
.gallery figure { margin: 0; display: grid; gap: 10px; align-content: start; }
.gallery figure.wide { grid-column: 1 / -1; }
.gallery .frame { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.gallery figcaption b { display: block; }
.gallery figcaption span { color: var(--muted); font-size: 15px; }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feats > * { min-width: 0; }
@media (max-width: 960px) { .feats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .feats { grid-template-columns: 1fr; } }
.feat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: grid; gap: 10px; align-content: start; }
.feat h3 { font-size: 18px; }
.feat .ticks { font-size: 15px; color: var(--muted); gap: 6px; }
.pkgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.pkgs > * { min-width: 0; }
@media (max-width: 900px) { .pkgs { grid-template-columns: 1fr; } }
.pkg { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: grid; gap: 12px; grid-template-rows: auto auto auto 1fr auto; }
.pkg.pop { border: 2px solid var(--teal); box-shadow: var(--shadow); }
.pkg .tag { font-size: 13px; font-weight: 600; color: var(--teal-ink); }
.pkg h3 { font-size: 22px; }
.pkg p { color: var(--muted); font-size: 15px; }
.pkg .ticks { font-size: 15px; }
.note { margin-top: 16px; color: var(--muted); font-size: 14px; }

/* ---------- header extras ---------- */
.only-mobile { display: none; }
@media (max-width: 980px) { .only-mobile { display: block; } .nav-login { display: none; } }

/* ---------- account pages ---------- */
.account { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.account > * { min-width: 0; }
@media (max-width: 900px) { .account { grid-template-columns: 1fr; } }
.steps-v { grid-template-columns: 1fr; margin-top: 28px; gap: 10px; }
.steps-v li { grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 0; padding: 14px 16px; }
.steps-v li::before { grid-row: span 2; margin: 0; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--r) + 4px); padding: clamp(20px, 3vw, 32px); display: grid; gap: 16px; box-shadow: var(--shadow); }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 600; font-size: 14px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--fg); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 14px; min-height: 48px;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 25%, transparent); }
html[lang="ar"] .field input[dir="ltr"] { text-align: right; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }
.form-card .btn { width: 100%; }
.form-hint { font-size: 13px; color: var(--muted); }
.form-error { color: #B3261E; font-size: 14px; font-weight: 600; }
.form-done { display: grid; gap: 4px; padding: 14px 16px; border-radius: 12px; background: var(--teal-soft); color: var(--fg); font-size: 15px; }
.form-done[hidden] { display: none; }
.login-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.login-grid > * { min-width: 0; }
.login-grid .mod { padding: clamp(22px, 3vw, 32px); gap: 14px; }
.login-grid .mod h3 { font-size: 22px; }
@media (max-width: 760px) { .login-grid { grid-template-columns: 1fr; } }

/* Corvant Cloud live switch: set by site.js when CONFIG.appUrl is filled */
.cloud-on [data-cloud="off"], :root:not(.cloud-on) [data-cloud="on"] { display: none !important; }
.cloud-on .mod.cloud-card { background: var(--surface); border-style: solid; border-color: var(--teal); }
.cloud-on .mod.cloud-card .mod-ico { background: var(--teal-soft); border: 0; color: var(--teal-ink); }

/* ---------- brand lines (Phase 1, 2026-10-17) ---------- */
.co-line { margin-top: 14px; font-size: 15px; font-weight: 600; color: var(--muted); }
html[lang="ar"] .co-line { font-family: var(--f-ar-display); }
html[lang="en"] .co-line { font-family: var(--f-en-display); }
.foot-tag { width: 100%; margin: 0; color: var(--muted); font-size: 14px; }
.foot-tag b { color: var(--teal-ink); font-weight: 600; }
html[lang="ar"] .foot-tag b { font-family: var(--f-ar-display); }
html[lang="en"] .foot-tag b { font-family: var(--f-en-display); }
/* use only on a direct offer (price tag, "عرض" badge, deadline) */
.badge-offer { display: inline-block; background: var(--saffron); color: #081D3C; font-weight: 700; border-radius: 999px; padding: 2px 12px; font-size: 13px; }
.num-loss { color: var(--brick); font-family: var(--f-en-display); font-weight: 700; }

html[lang="ar"] .brand b { letter-spacing: 0; font-family: var(--f-ar-display, "Readex Pro", sans-serif); }
