/* En3kas Readiness — redyos.com. Arabic RTL first; logical properties throughout. */

:root {
  color-scheme: light;
  --bg: #F4F7F6;
  --surface: #FFFFFF;
  --surface-2: #EAF1EF;
  --ink: #0B1A22;
  --muted: #475A62;
  --line: rgba(11, 26, 34, 0.1);
  --brand: #0B7A72;
  --brand-strong: #075C56;
  --brand-soft: rgba(11, 122, 114, 0.1);
  --accent: #E07024;
  --accent-text: #A84A0E;
  --night: #08151C;
  --night-2: #0E2029;
  --on-night: #E9F2F0;
  --on-night-muted: #A9BDC0;
  --glow: #2CC4B4;
  --ember: #F59A55;
  --shadow: 0 1.25rem 2.5rem rgba(11, 26, 34, 0.08);
  --radius: 1.25rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --font: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #071116;
    --surface: #0E1C23;
    --surface-2: #12252E;
    --ink: #E6EFED;
    --muted: #9FB3B6;
    --line: rgba(230, 239, 237, 0.1);
    --brand: #35C9B9;
    --brand-strong: #6EDCD0;
    --brand-soft: rgba(53, 201, 185, 0.12);
    --accent: #F59A55;
    --accent-text: #F7B07A;
    --shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.35);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #071116;
  --surface: #0E1C23;
  --surface-2: #12252E;
  --ink: #E6EFED;
  --muted: #9FB3B6;
  --line: rgba(230, 239, 237, 0.1);
  --brand: #35C9B9;
  --brand-strong: #6EDCD0;
  --brand-soft: rgba(53, 201, 185, 0.12);
  --accent: #F59A55;
  --accent-text: #F7B07A;
  --shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.35);
}

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.35s; }
.rx-header { view-transition-name: rx-header; }
.rx-seal-wrap { view-transition-name: rx-seal; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.75;
  overflow-x: clip;
}
html[lang="en"] body { line-height: 1.65; }
img, svg { max-width: 100%; display: block; }
a { color: var(--brand); text-underline-offset: 0.2em; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 0.75rem; font-weight: 700; text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 0.4rem; }
.rx-skip { position: absolute; inset-inline-start: 1rem; top: -4rem; z-index: 2000; padding: 0.6rem 1rem;
  background: var(--ink); color: var(--bg); border-radius: 0.6rem; }
.rx-skip:focus { top: 1rem; }
.rx-container { width: min(1180px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.rx-section { padding-block: clamp(4rem, 9vw, 7rem); }
.rx-eyebrow { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.9rem; font-weight: 700;
  color: var(--brand); margin-bottom: 0.75rem; }
.rx-eyebrow::before { content: ""; width: 1.6rem; height: 2px; background: currentColor; border-radius: 2px; }
.rx-lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 44rem; }
.rx-head { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.rx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Buttons */
.rx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 3rem;
  padding: 0.7rem 1.4rem; border-radius: 0.85rem; font: inherit; font-weight: 700; font-size: 1rem; white-space: nowrap;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.rx-btn:hover { transform: translateY(-2px); }
.rx-btn-primary { background: var(--accent); color: #1A0D04; box-shadow: 0 0.6rem 1.5rem rgba(224, 112, 36, 0.3); }
.rx-btn-primary:hover { background: #F08436; }
.rx-btn-ghost { border-color: rgba(233, 242, 240, 0.35); color: var(--on-night); background: rgba(255, 255, 255, 0.04); }
.rx-btn-ghost:hover { border-color: var(--on-night); }
.rx-btn-brand { background: var(--brand); color: #FFFFFF; }
:root[data-theme="dark"] .rx-btn-brand { color: #04110F; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .rx-btn-brand { color: #04110F; } }
.rx-btn svg { width: 1.15rem; height: 1.15rem; flex: none; }
[dir="rtl"] .rx-flip { transform: scaleX(-1); }

/* Progress line and header */
.rx-progress { position: fixed; inset-inline: 0; top: 0; height: 3px; z-index: 1100; pointer-events: none;
  background: linear-gradient(90deg, var(--glow), var(--ember)); transform: scaleX(var(--read, 0));
  transform-origin: 0 50%; }
[dir="rtl"] .rx-progress { transform-origin: 100% 50%; }
.rx-header { position: sticky; top: 0; z-index: 1000; background: color-mix(in srgb, var(--night) 88%, transparent);
  backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  color: var(--on-night); border-bottom: 1px solid rgba(233, 242, 240, 0.08); transition: box-shadow 0.3s ease; }
.rx-header.is-scrolled { box-shadow: 0 0.6rem 1.6rem rgba(0, 0, 0, 0.25); }
.rx-nav { display: flex; align-items: center; gap: 1rem; min-height: 4.25rem; }
.rx-brand { display: inline-flex; align-items: center; gap: 0.7rem; color: inherit; text-decoration: none; margin-inline-end: auto; }
.rx-brand img { width: 2.5rem; height: 2.5rem; border-radius: 0.7rem; }
.rx-brand-name { display: grid; line-height: 1.2; }
.rx-brand-name b { font-size: 1.08rem; }
.rx-brand-name small { font-size: 0.72rem; letter-spacing: 0.08em; color: var(--on-night-muted); font-weight: 500; }
.rx-links { display: flex; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.rx-links a { white-space: nowrap; color: var(--on-night-muted); text-decoration: none; font-weight: 500; font-size: 0.95rem;
  padding: 0.5rem 0.7rem; border-radius: 0.6rem; }
.rx-links a:hover { color: var(--on-night); background: rgba(255, 255, 255, 0.06); }
.rx-tools { display: flex; align-items: center; gap: 0.4rem; }
.rx-icon-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; height: 2.75rem;
  padding: 0 0.6rem; border-radius: 0.7rem; border: 1px solid rgba(233, 242, 240, 0.16); background: transparent;
  color: var(--on-night); font: inherit; font-weight: 700; font-size: 0.9rem; text-decoration: none; cursor: pointer; }
.rx-icon-btn:hover { background: rgba(255, 255, 255, 0.07); }
.rx-icon-btn svg { width: 1.2rem; height: 1.2rem; }
.rx-icon-btn .rx-moon { display: none; }
:root[data-theme="dark"] .rx-icon-btn .rx-moon { display: block; }
:root[data-theme="dark"] .rx-icon-btn .rx-sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .rx-icon-btn .rx-moon { display: block; }
  :root:not([data-theme]) .rx-icon-btn .rx-sun { display: none; }
}
.rx-header .rx-btn { min-height: 2.75rem; padding: 0.45rem 1rem; font-size: 0.95rem; }

/* Hero */
.rx-hero { position: relative; overflow: hidden; background: var(--night); color: var(--on-night);
  padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(4rem, 8vw, 6rem); isolation: isolate; }
.rx-hero::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(40rem 28rem at 78% 30%, rgba(44, 196, 180, 0.2), transparent 70%),
    radial-gradient(30rem 22rem at 12% 85%, rgba(245, 154, 85, 0.14), transparent 70%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%); }
[dir="rtl"] .rx-hero::before { transform: scaleX(-1); }
.rx-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.5;
  background-image: linear-gradient(rgba(233, 242, 240, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233, 242, 240, 0.05) 1px, transparent 1px);
  background-size: 3.5rem 3.5rem;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%); }
.rx-hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.rx-hero .rx-eyebrow { color: var(--glow); }
.rx-headline { font-size: clamp(2.3rem, 5.6vw, 4.1rem); line-height: 1.18; margin-bottom: 1.25rem; }
html[lang="en"] .rx-headline { letter-spacing: -0.02em; }
.rx-headline span { display: block; }
.rx-headline span:nth-child(2) { background: linear-gradient(90deg, var(--glow), #9AF0E4); -webkit-background-clip: text;
  background-clip: text; color: transparent; }
[dir="rtl"] .rx-headline span:nth-child(2) { background: linear-gradient(270deg, var(--glow), #9AF0E4);
  -webkit-background-clip: text; background-clip: text; }
.rx-hero .rx-lead { color: var(--on-night-muted); }
.rx-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-block: 1.75rem 1.5rem; }
.rx-live { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.9rem; padding: 0.55rem 1rem;
  border-radius: 2rem; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(233, 242, 240, 0.1);
  font-size: 0.92rem; color: var(--on-night-muted); }
.rx-live b { color: var(--on-night); font-variant-numeric: tabular-nums; }
.rx-dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); flex: none; }

.rx-visual { position: relative; display: grid; justify-items: center; }
.rx-seal-wrap { position: relative; width: min(23rem, 74vw); }
.rx-seal { width: 100%; height: auto; filter: drop-shadow(0 1.5rem 3rem rgba(0, 0, 0, 0.5)); }
.rx-seal-ring { transform-origin: 160px 160px; }
.rx-reflection { width: 100%; height: auto; transform: scaleY(-1); margin-top: -0.5rem; opacity: 0.22;
  mask-image: linear-gradient(to top, #000 0%, transparent 45%); -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 45%);
  filter: blur(1.5px); pointer-events: none; height: 9rem; object-fit: cover; object-position: bottom; }
.rx-board { position: relative; z-index: 1; margin-top: -6.5rem; justify-self: end; width: min(19rem, 100%);
  background: rgba(14, 32, 41, 0.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(233, 242, 240, 0.12); border-radius: 1rem; padding: 1rem 1.1rem;
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.45); font-size: 0.85rem; }
.rx-board-top { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.6rem; }
.rx-gauge { width: 3.6rem; height: 3.6rem; flex: none; }
.rx-gauge circle { fill: none; stroke-width: 6; }
.rx-gauge .rx-gauge-track { stroke: rgba(233, 242, 240, 0.12); }
.rx-gauge .rx-gauge-fill { stroke: var(--glow); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 4;
  transform: rotate(-90deg); transform-origin: 50% 50%; }
.rx-gauge text { fill: var(--on-night); font-size: 11px; font-weight: 700; font-family: var(--font); }
.rx-board-title b { display: block; color: var(--on-night); font-size: 0.95rem; }
.rx-board-title small { color: var(--on-night-muted); }
.rx-board ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.rx-board li { display: flex; justify-content: space-between; gap: 0.75rem; padding-top: 0.35rem;
  border-top: 1px solid rgba(233, 242, 240, 0.08); color: var(--on-night-muted); }
.rx-board li b { color: var(--on-night); font-variant-numeric: tabular-nums; }
.rx-board li b.is-warn { color: var(--ember); }
.rx-board-note { display: block; margin-top: 0.5rem; font-size: 0.72rem; color: var(--on-night-muted); opacity: 0.8; }

/* Moving strip */
.rx-strip { overflow: hidden; background: var(--night-2); color: var(--on-night-muted); padding-block: 1rem;
  border-block: 1px solid rgba(233, 242, 240, 0.06); }
.rx-strip-track { display: flex; width: max-content; direction: ltr; }
.rx-strip-item { padding-inline: 1.75rem; white-space: nowrap; font-weight: 500; display: inline-flex; align-items: center; gap: 0.7rem; }
[dir="rtl"] .rx-strip-item { direction: rtl; }
.rx-strip-item::before { content: ""; width: 0.45rem; height: 0.45rem; transform: rotate(45deg); background: var(--glow); flex: none; }

/* Platforms */
.rx-platforms { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.rx-platform { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 3.5vw, 2.4rem); box-shadow: var(--shadow); overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease; }
.rx-platform::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 4px; background: var(--tone); }
.rx-platform:hover { transform: translateY(-6px); box-shadow: var(--shadow), 0 0 0 1.5px var(--tone); }
.rx-platform--erp { --tone: var(--brand); }
.rx-platform--safety { --tone: var(--accent); }
.rx-platform-icon { width: 3.25rem; height: 3.25rem; border-radius: 0.9rem; display: grid; place-items: center;
  background: color-mix(in srgb, var(--tone) 14%, transparent); color: var(--tone); margin-bottom: 1.1rem; }
.rx-platform-icon svg { width: 1.7rem; height: 1.7rem; }
.rx-tag { display: inline-block; font-size: 0.78rem; font-weight: 700; padding: 0.15rem 0.6rem; border-radius: 1rem;
  background: color-mix(in srgb, var(--tone) 14%, transparent); color: var(--ink); margin-inline-start: 0.4rem; vertical-align: middle; }
.rx-platform h3 { font-size: clamp(1.3rem, 2.2vw, 1.55rem); }
.rx-platform > p { color: var(--muted); }
.rx-modules { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1.25rem; }
.rx-modules li { display: flex; gap: 0.55rem; align-items: flex-start; font-size: 0.97rem; line-height: 1.55; }
.rx-modules svg { width: 1.15rem; height: 1.15rem; flex: none; margin-top: 0.2rem; color: var(--tone); }

/* Planner */
.rx-planner-band { background: var(--surface-2); }
.rx-planner { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface); border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.rx-planner-choose { background: var(--night); color: var(--on-night); padding: clamp(1.5rem, 3.5vw, 2.5rem); }
.rx-planner-result { padding: clamp(1.5rem, 3.5vw, 2.5rem); display: flex; flex-direction: column; }
.rx-step { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; color: var(--glow); margin: 0 0 0.6rem; }
.rx-planner-result .rx-step { color: var(--brand); }
.rx-planner fieldset { border: 0; padding: 0; margin: 0 0 1.5rem; min-width: 0; }
.rx-planner legend { padding: 0; }
.rx-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem; }
.rx-chip { display: flex; align-items: center; gap: 0.6rem; text-align: start; min-height: 3.1rem; padding: 0.55rem 0.85rem;
  border-radius: 0.8rem; border: 1px solid rgba(233, 242, 240, 0.18); background: rgba(255, 255, 255, 0.04);
  color: var(--on-night); font: inherit; font-size: 0.93rem; line-height: 1.35; cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease; }
.rx-chip svg { width: 1.2rem; height: 1.2rem; flex: none; color: var(--glow); }
.rx-chip:hover { transform: translateY(-2px); border-color: rgba(233, 242, 240, 0.45); }
.rx-chip[aria-pressed="true"] { background: var(--glow); border-color: var(--glow); color: #04110F; font-weight: 700;
  box-shadow: 0 0.5rem 1.25rem rgba(44, 196, 180, 0.3); }
.rx-chip[aria-pressed="true"] svg { color: #04110F; }
.rx-meter { height: 0.6rem; border-radius: 1rem; background: var(--line); overflow: hidden; margin-block: 0.4rem 1rem; }
.rx-meter span { display: block; height: 100%; width: var(--fit, 20%); border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--accent)); transition: width 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
[dir="rtl"] .rx-meter span { background: linear-gradient(270deg, var(--brand), var(--accent)); }
.rx-pick { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.rx-pill { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.3rem 0.9rem; border-radius: 2rem; font-weight: 700;
  font-size: 0.92rem; background: var(--brand-soft); color: var(--brand-strong); }
.rx-pill--safety { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent-text); }
.rx-result-list { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: 0.5rem; }
.rx-result-list li { display: flex; gap: 0.55rem; align-items: flex-start; line-height: 1.55; }
.rx-result-list svg { width: 1.15rem; height: 1.15rem; flex: none; margin-top: 0.2rem; color: var(--brand); }
.rx-result-empty { color: var(--muted); }
.rx-planner-result .rx-btn { margin-top: auto; align-self: flex-start; }

/* How we work: chain drawn while scrolling */
.rx-how { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.rx-sticky { position: sticky; top: 7rem; }
.rx-chain { position: relative; padding-inline-start: 4.5rem; }
.rx-stages { list-style: none; margin: 0; padding: 0; }
.rx-chain-line { position: absolute; inset-inline-start: 1.6rem; top: 1.75rem; bottom: 1.75rem; width: 3px;
  background: var(--line); border-radius: 3px; }
.rx-chain-fill { position: absolute; inset: 0; border-radius: 3px; background: linear-gradient(var(--brand), var(--accent));
  transform-origin: 50% 0; }
.rx-stage { position: relative; padding-block: 0.9rem 1.9rem; }
.rx-stage-mark { position: absolute; inset-inline-start: -4.5rem; top: 0.8rem; width: 3.3rem; height: 3.3rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--bg); border: 2px solid var(--brand); color: var(--brand);
  font-weight: 700; font-size: 1.15rem; box-shadow: 0 0 0 6px var(--bg); }
.rx-stage h3 { margin-top: 0.6rem; }
.rx-stage p { color: var(--muted); margin: 0; }
.rx-stage small { display: inline-block; margin-top: 0.5rem; font-weight: 700; color: var(--accent-text); font-size: 0.88rem; }

/* Sectors */
.rx-sectors-band { background: var(--surface); border-block: 1px solid var(--line); }
.rx-sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; list-style: none; margin: 0; padding: 0; }
.rx-sector { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem; border-radius: 1rem; background: var(--bg);
  border: 1px solid var(--line); transition: transform 0.3s ease, border-color 0.3s ease; }
.rx-sector:hover { transform: translateY(-4px); border-color: var(--brand); }
.rx-sector-icon { width: 2.75rem; height: 2.75rem; flex: none; border-radius: 0.75rem; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); }
.rx-sector-icon svg { width: 1.4rem; height: 1.4rem; }
.rx-sector h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.rx-sector p { font-size: 0.93rem; color: var(--muted); margin: 0; line-height: 1.6; }
.rx-clients { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.rx-clients-label { font-weight: 700; color: var(--muted); margin-inline-end: 0.5rem; }
.rx-client { padding: 0.5rem 1rem; border-radius: 0.75rem; border: 1px solid var(--line); background: var(--bg); font-weight: 700; }

/* Why us */
.rx-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.rx-reason { position: relative; padding: 1.6rem; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line); overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.rx-reason:hover { transform: translateY(-6px); box-shadow: var(--shadow), 0 0 0 1.5px var(--brand); }
.rx-reason-num { position: absolute; inset-inline-end: 1.1rem; top: 0.6rem; font-size: 3.2rem; font-weight: 700;
  color: var(--brand); opacity: 0.1; line-height: 1; font-variant-numeric: tabular-nums; }
.rx-reason svg { width: 1.8rem; height: 1.8rem; color: var(--accent); margin-bottom: 0.9rem; }
.rx-reason p { color: var(--muted); margin: 0; font-size: 0.98rem; }

/* Standards band */
.rx-standards { background: var(--night); color: var(--on-night); }
.rx-standards h2 { color: var(--on-night); }
.rx-standards .rx-lead { color: var(--on-night-muted); }
.rx-std-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; list-style: none; margin: 0; padding: 0; }
.rx-std { padding: 1.25rem; border-radius: 1rem; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(233, 242, 240, 0.1); }
.rx-std b { display: block; font-size: 1.05rem; color: var(--glow); margin-bottom: 0.3rem; }
.rx-std span { font-size: 0.92rem; color: var(--on-night-muted); line-height: 1.6; display: block; }
.rx-std-note { margin-top: 1.25rem; font-size: 0.85rem; color: var(--on-night-muted); }

/* Contact */
.rx-contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.rx-contact-points { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.9rem; }
.rx-contact-points li { display: flex; gap: 0.75rem; align-items: center; }
.rx-contact-points svg { width: 1.3rem; height: 1.3rem; color: var(--brand); flex: none; }
.rx-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(1.4rem, 3.5vw, 2.25rem); display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; }
.rx-field { display: grid; gap: 0.35rem; }
.rx-field--wide { grid-column: 1 / -1; }
.rx-field label { font-weight: 700; font-size: 0.95rem; }
.rx-field label span { color: var(--muted); font-weight: 400; }
.rx-field input, .rx-field select, .rx-field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: 0.75rem; padding: 0.65rem 0.85rem; min-height: 3rem; }
.rx-field textarea { min-height: 8rem; resize: vertical; line-height: 1.6; }
.rx-field input:focus, .rx-field select:focus, .rx-field textarea:focus { outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft); }
.rx-field input[type="tel"], .rx-field input[type="email"] { direction: ltr; }
[dir="rtl"] .rx-field input[type="tel"], [dir="rtl"] .rx-field input[type="email"] { text-align: right; }
.rx-form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; }
.rx-form-foot p { margin: 0; font-size: 0.88rem; color: var(--muted); flex: 1 1 14rem; }
.rx-form-status { grid-column: 1 / -1; margin: 0; padding: 0.75rem 1rem; border-radius: 0.75rem; background: var(--brand-soft);
  color: var(--brand-strong); font-weight: 700; }
.rx-form-status[hidden] { display: none; }

/* Footer */
.rx-footer { background: var(--night); color: var(--on-night-muted); padding-block: 3rem 2rem; font-size: 0.93rem; }
.rx-footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; align-items: center; }
.rx-footer a { color: var(--on-night); }
.rx-footer .rx-brand { color: var(--on-night); margin: 0; }
.rx-footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; list-style: none; margin: 0; padding: 0; }
.rx-footer-links a { text-decoration: none; color: var(--on-night-muted); }
.rx-footer-links a:hover { color: var(--on-night); }
.rx-copy { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(233, 242, 240, 0.08); }

/* Phone action bar */
.rx-mobile-bar { display: none; }

@media (max-width: 1199.98px) {
  .rx-links { display: none; }
}
@media (max-width: 1023.98px) {
  .rx-hero-grid, .rx-how, .rx-contact { grid-template-columns: 1fr; }
  .rx-sticky { position: static; }
  .rx-platforms, .rx-planner { grid-template-columns: 1fr; }
  .rx-sectors, .rx-why { grid-template-columns: 1fr 1fr; }
  .rx-std-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 639.98px) {
  body { font-size: 1rem; }
  .rx-header .rx-cta { display: none; }
  .rx-brand-name small { display: none; }
  .rx-seal-wrap { width: min(15rem, 62vw); }
  .rx-reflection { height: 4.5rem; }
  .rx-board { justify-self: center; width: 100%; max-width: 22rem; margin-top: -3rem; }
  .rx-modules, .rx-chips, .rx-sectors, .rx-why, .rx-std-list, .rx-form { grid-template-columns: 1fr; }
  .rx-actions .rx-btn { flex: 1 1 100%; }
  .rx-chain { padding-inline-start: 3.75rem; }
  .rx-stage-mark { inset-inline-start: -3.75rem; width: 2.8rem; height: 2.8rem; font-size: 1rem; }
  .rx-chain-line { inset-inline-start: 1.35rem; }
  .rx-mobile-bar { display: flex; position: fixed; inset-inline: 0; bottom: 0; z-index: 1030; gap: 0.5rem;
    padding: 0.6rem 1rem calc(0.6rem + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--night) 94%, transparent);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid rgba(233, 242, 240, 0.1); }
  .rx-mobile-bar .rx-btn { flex: 1 1 0; min-width: 0; min-height: 2.9rem; padding-inline: 0.75rem; white-space: normal; text-align: center; line-height: 1.25; }
  body { padding-bottom: 4.6rem; }
}

/* Motion: only once the page script has confirmed it is wanted (no reduced-motion request). */
html.rx-motion .rx-rise { opacity: 0; transform: translateY(1.4rem);
  animation: rx-rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; animation-delay: calc(0.12s + var(--i, 0) * 0.12s); }
@keyframes rx-rise { to { opacity: 1; transform: none; } }
html.rx-motion .rx-seal { animation: rx-seal-in 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.3s both, rx-float 7s ease-in-out 1.5s infinite; }
@keyframes rx-seal-in { from { opacity: 0; transform: scale(0.84) rotate(-10deg); } to { opacity: 1; transform: none; } }
@keyframes rx-float { 50% { transform: translateY(-0.6rem); } }
html.rx-motion .rx-seal-ring { animation: rx-spin 60s linear infinite; }
@keyframes rx-spin { to { transform: rotate(360deg); } }
html.rx-motion .rx-gauge-fill { animation: rx-gauge 1.8s cubic-bezier(0.6, 0, 0.2, 1) 0.9s both; }
@keyframes rx-gauge { from { stroke-dashoffset: 100; } }
html.rx-motion .rx-board { animation: rx-rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.8s both; }
html.rx-motion .rx-dot { animation: rx-pulse 2s ease-out infinite; }
@keyframes rx-pulse { 70% { box-shadow: 0 0 0 0.55rem rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
html.rx-motion .rx-strip-track { animation: rx-strip 50s linear infinite; }
.rx-strip:hover .rx-strip-track { animation-play-state: paused; }
@keyframes rx-strip { to { transform: translateX(-50%); } }
html.rx-motion .rx-shine { position: relative; overflow: hidden; }
html.rx-motion .rx-shine::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.5), transparent); animation: rx-shine 3.6s ease-in-out 1.8s infinite; }
@keyframes rx-shine { 0% { left: -60%; } 40%, 100% { left: 130%; } }
html.rx-motion .rx-result-list li { animation: rx-item 0.45s ease both; animation-delay: calc(var(--i, 0) * 0.05s); }
@keyframes rx-item { from { opacity: 0; transform: translateY(0.5rem); } }
@keyframes rx-reveal { from { opacity: 0; transform: translateY(2.25rem) scale(0.985); } to { opacity: 1; transform: none; } }
@keyframes rx-fill { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes rx-light { to { background: var(--brand); color: var(--bg); } }
@keyframes rx-read { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Newer browsers: reveals, the chain and the reading line follow the scroll position in CSS itself. */
@supports (animation-timeline: view()) and (animation-range: entry 0% entry 100%) {
  html.rx-motion .rx-reveal { animation: rx-reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 25%; }
  html.rx-motion .rx-chain { view-timeline-name: --rx-chain; }
  html.rx-motion .rx-chain-fill { animation: rx-fill linear both; animation-timeline: --rx-chain; animation-range: cover 10% cover 70%; }
  html.rx-motion .rx-stage-mark { animation: rx-light linear both; animation-timeline: view(); animation-range: cover 35% cover 45%; }
  html.rx-motion .rx-progress { animation: rx-read linear both; animation-timeline: scroll(root); }
}
/* Other browsers: the page script reveals blocks and fills the chain while scrolling. */
html.rx-motion.rx-fallback .rx-reveal { opacity: 0; transform: translateY(2rem);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--d, 0s); }
html.rx-motion.rx-fallback .rx-reveal.is-in { opacity: 1; transform: none; }
html.rx-fallback .rx-chain-fill { transform: scaleY(var(--chain, 0)); }
html:not(.rx-motion) .rx-chain-fill { transform: none; }
html.rx-fallback .rx-stage.is-lit .rx-stage-mark { background: var(--brand); color: var(--bg); transition: background 0.4s ease, color 0.4s ease; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  .rx-progress { display: none; }
}
@media (forced-colors: active) {
  .rx-chip[aria-pressed="true"] { outline: 3px solid CanvasText; }
}

/* Small helpers (no inline styles: the security policy blocks them) */
.rx-eyebrow--glow { color: var(--glow); }
.rx-notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.rx-notfound img { margin: 0 auto 1.5rem; border-radius: 1rem; }
.rx-notfound .rx-headline { font-size: 2.2rem; }
.rx-notfound .rx-lead { margin-inline: auto; }
.rx-notfound .rx-actions { justify-content: center; }
