/* =========================================================
   DOCTIVA — brand tokens
   dirt orange #C05A21 · dark sky blue #1C3F5C · Sora
   ========================================================= */
@font-face { font-family: "Sora"; src: url("fonts/sora.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("fonts/dm-mono.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("fonts/dm-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-serif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --bg: #050b12;
  --bg-2: #0a1724;
  --navy: #1c3f5c;
  --orange: #c05a21;
  --orange-2: #ef7f3f;
  --peach: #ffb07a;
  --text: #eaf1f8;
  --muted: #8fa3b8;
  --line: rgba(255, 255, 255, .09);
  --glass: rgba(16, 36, 56, .45);
  --radius: 22px;
  --sans: "Sora", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "DM Mono", ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { font-family: var(--sans); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body.is-loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
video { display: block; }
::selection { background: var(--orange); color: #fff; }
main, .footer { position: relative; z-index: 1; }
.container { width: min(1240px, 100% - 48px); margin-inline: auto; }

/* ===== 3D canvas, grain, cursor ===== */
#scene { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; }
.grain { position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(4) infinite; }
@keyframes grain { 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } }
.cursor { position: fixed; top: 0; left: 0; z-index: 95; width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 1.5px solid rgba(255,255,255,.45); border-radius: 50%; pointer-events: none; mix-blend-mode: difference; transition: width .3s, height .3s, margin .3s, background .3s; }
.cursor.hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: #fff; }
@media (hover: none), (max-width: 900px) { .cursor { display: none; } }

/* ===== Type ===== */
.kicker { display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--peach); margin-bottom: 22px; }
.kicker::before { content: ""; width: 34px; height: 4px; border-radius: 2px; background: var(--orange-2); box-shadow: 0 0 12px rgba(239,127,63,.8); }
.title { font-size: clamp(38px, 5.6vw, 84px); line-height: 1.02; font-weight: 600; letter-spacing: -0.045em; margin-bottom: 26px; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em;
  background: linear-gradient(110deg, var(--orange-2), var(--peach) 45%, #ffe1c8 55%, var(--orange-2)); background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 7s linear infinite; padding-right: .06em; }
@keyframes shimmer { to { background-position: 250% 0; } }
.split .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.split .ln > span { display: inline-block; }
.lead { font-size: clamp(16px, 1.3vw, 19px); color: var(--muted); max-width: 540px; }
.num { font-family: var(--mono); font-size: 12px; color: var(--peach); letter-spacing: .1em; }
.glass { background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); }

/* ===== Buttons ===== */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; padding: 15px 28px; border-radius: 999px; font-weight: 600; font-size: 15px; overflow: hidden; isolation: isolate; transition: box-shadow .3s, background .3s; will-change: transform; }
.btn span { position: relative; z-index: 2; }
.btn-shine { background: linear-gradient(135deg, var(--orange), var(--orange-2)); color: #fff; box-shadow: 0 12px 40px -12px rgba(239,127,63,.8), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-shine::after { content: ""; position: absolute; top: 0; left: -120%; width: 55%; height: 100%; z-index: 1; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); animation: shine 3.4s ease-in-out infinite; }
@keyframes shine { 0%, 60% { left: -120%; } 100% { left: 160%; } }
.btn-shine:hover { box-shadow: 0 18px 60px -10px rgba(239,127,63,1), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-ghost { border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.04); backdrop-filter: blur(10px); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-block { width: 100%; }

/* ===== Loader ===== */
.loader { position: fixed; inset: 0; z-index: 200; background: var(--bg); display: grid; place-items: center; }
.loader-inner { display: grid; justify-items: center; gap: 22px; }
.loader-mark { width: 84px; height: 76px; color: #fff; }
.loader-bar { width: 180px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.1); overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 0; background: var(--orange-2); box-shadow: 0 0 10px var(--orange-2); }
.loader-count { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .2em; }

/* ===== Nav ===== */
.nav { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 100; width: min(1240px, 100% - 24px); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 9px 9px 9px 18px; border-radius: 999px; background: rgba(8,18,30,.55); border: 1px solid var(--line); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.brand-mark { width: 34px; height: 31px; }
.brand-word { display: flex; flex-direction: column; font-weight: 600; font-size: 16px; letter-spacing: .2em; line-height: 1; }
.brand-word b { color: var(--orange-2); font-weight: 600; }
.brand-word small { font-size: 7.5px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; margin-top: 5px; color: var(--muted); }
.nav-links { display: flex; gap: 2px; }
.nav-links a { padding: 8px 15px; border-radius: 999px; font-size: 14px; color: var(--muted); transition: color .25s, background .25s; }
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,.07); }
.nav-cta { padding: 11px 20px; font-size: 14px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.07); border: 1px solid var(--line); flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.menu-btn span { width: 18px; height: 1.5px; background: #fff; transition: transform .3s; }
.menu-open .menu-btn span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-open .menu-btn span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 99; background: rgba(5,11,18,.97); display: flex; flex-direction: column; justify-content: center; padding: 0 30px; gap: 6px; opacity: 0; pointer-events: none; transition: opacity .35s; }
.mobile-menu a:not(.btn) { font-size: 36px; font-weight: 600; letter-spacing: -0.04em; }
.mobile-menu .btn { align-self: flex-start; margin-top: 24px; }
.menu-open .mobile-menu { opacity: 1; pointer-events: auto; }

/* ===== Hero ===== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 130px 0 90px; }
.hero-glow { position: absolute; right: 5%; top: 50%; width: 55vw; height: 55vw; transform: translateY(-50%); background: radial-gradient(circle, rgba(28,63,92,.55), rgba(192,90,33,.12) 40%, transparent 65%); filter: blur(20px); pointer-events: none; }
.hero-inner { position: relative; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line); font-size: 13px; color: var(--muted); backdrop-filter: blur(10px); margin-bottom: 30px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange-2); box-shadow: 0 0 0 0 rgba(239,127,63,.7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(239,127,63,0); } 100% { box-shadow: 0 0 0 0 rgba(239,127,63,0); } }
.hero-title { font-size: clamp(40px, 5.4vw, 86px); line-height: 1; font-weight: 600; letter-spacing: -0.05em; max-width: 11.5em; }
.hero-title em { font-size: 1.12em; }
.hero-sub { max-width: 470px; margin: 28px 0 36px; font-size: clamp(16px, 1.35vw, 19px); color: var(--muted); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.scroll-hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.scroll-hint i { width: 1px; height: 44px; background: linear-gradient(var(--orange-2), transparent); animation: drop 2s ease-in-out infinite; transform-origin: top; }
@keyframes drop { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ===== Video reveal ===== */
.reveal-stage { position: relative; height: 100vh; overflow: hidden; display: grid; place-items: center; }
.reveal-top, .reveal-bottom { position: absolute; left: 0; right: 0; text-align: center; font-size: clamp(40px, 7vw, 110px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; z-index: 2; pointer-events: none; }
.reveal-top { top: 12vh; }
.reveal-bottom { bottom: 10vh; }
.reveal-media { position: relative; width: 100%; height: 100%; clip-path: inset(32% 34% 32% 34% round 28px); will-change: clip-path; background: var(--navy); }
.reveal-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s; }
.reveal-media video.on { opacity: 1; }
.reveal-shade { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(5,11,18,.2), rgba(5,11,18,.75)); }
.reveal-inside { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; font-size: clamp(30px, 5vw, 76px); font-weight: 600; letter-spacing: -0.045em; line-height: 1.05; opacity: 0; padding: 0 20px; }
.reveal-tags { position: absolute; left: 50%; bottom: 7vh; transform: translateX(-50%); display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; width: 92%; opacity: 0; }
.reveal-tags span { padding: 8px 16px; border-radius: 999px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; background: rgba(5,11,18,.5); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(8px); color: var(--muted); transition: all .4s; }
.reveal-tags span.on { background: var(--orange); border-color: var(--orange); color: #fff; }

/* ===== Marquee ===== */
.marquee { position: relative; z-index: 1; border-block: 1px solid var(--line); background: rgba(5,11,18,.6); backdrop-filter: blur(10px); padding: 26px 0; overflow: hidden; }
.marquee-track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 34s linear infinite; font-size: clamp(26px, 3.4vw, 48px); font-weight: 600; letter-spacing: -0.03em; white-space: nowrap; }
.marquee-track .serif { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--muted); }
.marquee-track i { font-style: normal; color: var(--orange-2); font-size: .5em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== Statement ===== */
.statement { padding: 22vh 0; }
.statement-text { font-size: clamp(30px, 4.6vw, 68px); line-height: 1.12; font-weight: 500; letter-spacing: -0.04em; max-width: 1150px; }
.statement-text .w { opacity: .15; transition: opacity .2s; }
.statement-text .w.on { opacity: 1; }

/* ===== Specialties (horizontal) ===== */
.spec-pin { min-height: 100vh; display: flex; align-items: center; overflow: hidden; padding: 100px 0 40px; }
.spec-track { display: flex; align-items: center; gap: 22px; width: max-content; padding-inline-start: max(24px, calc((100vw - 1240px) / 2)); padding-inline-end: 8vw; }
.spec-intro { width: min(430px, 86vw); flex-shrink: 0; padding-right: 30px; }
.spec-intro .title { font-size: clamp(38px, 4.8vw, 72px); }
.spec-hint { margin-top: 26px; font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--peach); animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(8px); } }
.spec-card { width: min(360px, 80vw); flex-shrink: 0; border-radius: var(--radius); overflow: hidden; background: rgba(12,26,42,.8); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.spec-video { position: relative; height: min(28vh, 240px); overflow: hidden; background: var(--navy); }
.spec-video video { position: absolute; inset: -6% -10%; width: 120%; height: 112%; object-fit: cover; will-change: transform; }
.spec-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(12,26,42,.95)); }
.spec-body { padding: 0 24px 24px; margin-top: -20px; position: relative; }
.spec-body h3 { font-size: 26px; font-weight: 600; letter-spacing: -0.04em; margin: 4px 0 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.chips span { padding: 4px 11px; border-radius: 999px; font-size: 12px; border: 1px solid rgba(239,127,63,.35); color: var(--peach); background: rgba(192,90,33,.1); }
.spec-body p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* ===== Spotlight + bento ===== */
.spotlight { position: relative; }
.spotlight::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(239,127,63,.14), transparent 45%); }
.spotlight::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 3; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255,176,122,.8), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.spotlight:hover::before, .spotlight:hover::after { opacity: 1; }
.services { padding: 18vh 0 12vh; }
.levers { display: grid; gap: clamp(70px, 12vh, 140px); margin-top: 80px; }
.lever { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.lever.flip .lever-text { order: 2; }
.lever-text h3 { font-size: clamp(30px, 3.2vw, 46px); font-weight: 600; letter-spacing: -0.045em; line-height: 1.05; margin: 10px 0 14px; }
.plain { font-size: clamp(17px, 1.4vw, 20px); color: var(--text); margin-bottom: 20px; max-width: 520px; }
.example { position: relative; padding: 18px 20px 18px 22px; border-radius: 16px; background: rgba(192,90,33,.08); border: 1px solid rgba(239,127,63,.22); max-width: 540px; }
.example::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; border-radius: 2px; background: var(--orange-2); }
.example small { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--peach); }
.example p { color: var(--muted); font-size: 15px; margin-top: 6px; }
.gets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.gets span { padding: 7px 14px; border-radius: 999px; font-size: 13px; border: 1px solid var(--line); background: rgba(255,255,255,.04); }
.lever-visual { position: relative; min-height: 360px; display: grid; place-items: center; }
.mock { width: 100%; max-width: 480px; border-radius: 22px; padding: 22px; }
.mock-head { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 18px; }
.mock-head span { color: var(--muted); font-family: var(--mono); font-size: 12px; }
/* 01 audit */
.audit-body { display: grid; grid-template-columns: 130px 1fr; gap: 22px; align-items: center; }
.gauge { position: relative; width: 130px; height: 130px; display: grid; place-items: center; text-align: center; }
.gauge svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 10; }
.gauge .g-val { stroke: var(--orange-2); stroke-linecap: round; stroke-dasharray: 314; stroke-dashoffset: 314; filter: drop-shadow(0 0 6px rgba(239,127,63,.8)); }
.gauge strong { display: block; font-size: 34px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.gauge small { font-size: 10px; color: var(--muted); font-family: var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.checks { list-style: none; display: grid; gap: 9px; }
.checks li { display: grid; grid-template-columns: 18px 1fr auto; gap: 10px; align-items: center; font-size: 13.5px; padding: 9px 12px; border-radius: 12px; background: rgba(255,255,255,.04); opacity: 0; transform: translateX(16px); transition: opacity .5s, transform .5s; }
.checks li b { font-weight: 600; font-size: 12px; }
.checks li i { width: 16px; height: 16px; border-radius: 50%; }
.checks .bad i { background: #e5484d; box-shadow: 0 0 10px rgba(229,72,77,.6); } .checks .bad b { color: #ff8d8f; }
.checks .warn i { background: #f5b83d; } .checks .warn b { color: #f5c96a; }
.checks .ok i { background: #3ddc97; } .checks .ok b { color: #7ff0bd; }
.play .checks li { opacity: 1; transform: none; }
.play .checks li:nth-child(2) { transition-delay: .15s; } .play .checks li:nth-child(3) { transition-delay: .3s; } .play .checks li:nth-child(4) { transition-delay: .45s; } .play .checks li:nth-child(5) { transition-delay: .6s; }
/* 02 acquisition */
.acq-visual { min-height: 460px; }
.phone { position: relative; z-index: 2; width: 250px; justify-self: start; margin-left: 12%; border-radius: 34px; padding: 12px; background: #0d1826; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), inset 0 0 0 5px #05090f; transform: rotate(-4deg); }
.phone-top { display: flex; align-items: center; gap: 10px; padding: 12px 8px 10px; font-size: 13px; line-height: 1.2; }
.phone-top small { display: block; color: var(--muted); font-size: 11px; }
.av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--orange), var(--orange-2)); font-weight: 700; font-size: 13px; color: #fff; flex-shrink: 0; }
.phone-media { height: 230px; border-radius: 6px; overflow: hidden; background: var(--navy); }
.phone-media video { width: 100%; height: 100%; object-fit: cover; }
.phone-cta { display: flex; justify-content: space-between; padding: 10px 12px; margin-top: 8px; border-radius: 8px; background: var(--orange); font-size: 12.5px; font-weight: 600; }
.phone-cap { font-size: 11.5px; color: var(--muted); padding: 10px 6px 8px; line-height: 1.45; }
.phone-cap b { color: #fff; }
.gad { position: absolute; right: 0; top: 52%; z-index: 3; width: 260px; padding: 16px 18px; border-radius: 16px; font-size: 13px; transform: rotate(3deg); }
.gad small { color: var(--muted); font-size: 11px; }
.gad b { display: block; color: #8ab4ff; font-size: 14.5px; font-weight: 600; margin: 4px 0; line-height: 1.3; }
.gad p { color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.lead-pop { position: absolute; right: 4%; top: 14%; z-index: 3; display: inline-flex; align-items: center; gap: 9px; padding: 11px 16px; border-radius: 14px; background: rgba(61,220,151,.14); border: 1px solid rgba(61,220,151,.4); color: #9ff5cf; font-size: 13px; font-weight: 500; backdrop-filter: blur(10px); animation: pop 3s ease-in-out infinite; }
.lead-pop i { width: 8px; height: 8px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 10px #3ddc97; }
@keyframes pop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
/* 03 landing page */
.browser { width: 100%; max-width: 520px; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); background: #f4f1eb; color: #1c3f5c; transform: perspective(1200px) rotateY(-8deg) rotateX(3deg); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #e5e0d6; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #c9c2b5; }
.browser-bar span { margin-left: 10px; flex: 1; padding: 4px 12px; border-radius: 6px; background: #fff; font-family: var(--mono); font-size: 11px; color: #5f7386; }
.lp { padding: 16px 20px 22px; }
.lp-nav { display: flex; align-items: center; gap: 14px; font-size: 11px; color: #5f7386; margin-bottom: 20px; }
.lp-nav b { color: #1c3f5c; letter-spacing: .12em; margin-right: auto; font-size: 11.5px; }
.lp-btn-s { padding: 5px 12px; border-radius: 999px; background: #c05a21; color: #fff; font-weight: 600; }
.lp-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; align-items: center; }
.lp-hero small { font-family: var(--mono); font-size: 10px; color: #c05a21; letter-spacing: .1em; text-transform: uppercase; }
.lp-hero h4 { font-size: 21px; line-height: 1.12; font-weight: 600; letter-spacing: -0.035em; margin: 6px 0 12px; }
.lp-hero h4 em { font-size: 1.1em; background: none; -webkit-text-fill-color: #c05a21; color: #c05a21; animation: none; }
.lp-trust { display: grid; gap: 4px; font-size: 11px; color: #3b6a8c; }
.lp-form { display: grid; gap: 8px; padding: 12px; border-radius: 12px; background: #fff; box-shadow: 0 10px 30px -12px rgba(28,63,92,.35); }
.lp-form label { display: grid; gap: 3px; font-size: 9.5px; color: #5f7386; font-family: var(--mono); text-transform: uppercase; }
.lp-input { padding: 7px 9px; border-radius: 7px; border: 1px solid #dfd8cb; font-family: var(--sans); font-size: 11.5px; text-transform: none; color: #1c3f5c; }
.lp-btn { padding: 9px; border-radius: 8px; background: #c05a21; color: #fff; text-align: center; font-size: 11.5px; font-weight: 600; }
/* 04 chat */
.chat { width: 100%; max-width: 420px; border-radius: 24px; overflow: hidden; background: #0b141a; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: #1f2c34; font-size: 14px; line-height: 1.2; }
.chat-head small { display: block; font-size: 11px; color: #8fa3b8; }
.fast { margin-left: auto; padding: 5px 10px; border-radius: 999px; background: rgba(61,220,151,.15); color: #7ff0bd; font-size: 11px; font-weight: 600; }
.chat-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 14px 20px; min-height: 330px;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.03), transparent 40%), #0b141a; }
.msg { max-width: 80%; padding: 9px 12px; border-radius: 12px; font-size: 13.5px; line-height: 1.45; opacity: 0; transform: translateY(12px) scale(.96); transition: opacity .45s, transform .45s; }
.msg.in { align-self: flex-start; background: #1f2c34; border-top-left-radius: 4px; }
.msg.out { align-self: flex-end; background: #005c4b; border-top-right-radius: 4px; }
.booked { align-self: center; margin-top: 6px; padding: 10px 14px; border-radius: 12px; font-size: 12.5px; background: rgba(239,127,63,.15); border: 1px solid rgba(239,127,63,.4); color: var(--peach); opacity: 0; transform: scale(.9); transition: opacity .5s, transform .5s; }
.booked b { color: #fff; margin-right: 6px; }
.play .msg, .play .booked { opacity: 1; transform: none; }
.play .msg:nth-child(2) { transition-delay: .9s; } .play .msg:nth-child(3) { transition-delay: 1.9s; } .play .msg:nth-child(4) { transition-delay: 2.7s; } .play .booked { transition-delay: 3.5s; }
/* 05 maps + AI */
.lever-visual .maps { width: 100%; max-width: 440px; border-radius: 22px; padding: 18px; }
.maps-search { padding: 12px 16px; border-radius: 999px; background: #fff; color: #1c3f5c; font-size: 14px; margin-bottom: 14px; }
.maps-search .type::after { content: "|"; animation: blink 1s steps(2) infinite; margin-left: 1px; }
@keyframes blink { 50% { opacity: 0; } }
.maps-list { display: grid; gap: 8px; }
.place { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.04); font-size: 14px; line-height: 1.3; opacity: .55; }
.place small { display: block; font-size: 12px; color: var(--muted); }
.place.top { opacity: 1; background: rgba(192,90,33,.16); border: 1px solid rgba(239,127,63,.45); box-shadow: 0 0 30px -8px rgba(239,127,63,.6); }
.pin { width: 28px; height: 28px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); display: grid; place-items: center; background: #3a4d60; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.place.top .pin { background: var(--orange-2); }
.ai { position: absolute; right: -10px; bottom: 0; width: 280px; padding: 16px 18px; border-radius: 18px 18px 4px 18px; font-size: 13.5px; }
.ai small { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--peach); }
.ai p { margin-top: 4px; color: var(--muted); line-height: 1.5; }
.ai b { color: #fff; }

/* ===== Funnel ===== */
.funnel { min-height: 100vh; display: flex; align-items: center; padding: 16vh 0; }
.funnel-grid > div { max-width: 560px; }
.steps { list-style: none; margin-top: 40px; position: relative; border-left: 2px solid var(--line); }
.steps li { position: relative; display: flex; gap: 18px; align-items: baseline; padding: 12px 0 12px 26px; font-size: clamp(20px, 2vw, 28px); font-weight: 600; letter-spacing: -0.03em; color: rgba(234,241,248,.25); transition: color .5s; }
.steps li b { font-family: var(--mono); font-size: 12px; font-weight: 500; color: rgba(143,163,184,.5); transition: color .5s; }
.steps li::before { content: ""; position: absolute; left: -7px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--bg); border: 2px solid rgba(255,255,255,.2); transition: all .5s; }
.steps li.on { color: var(--text); }
.steps li.on b { color: var(--peach); }
.steps li.on::before { background: var(--orange-2); border-color: var(--orange-2); box-shadow: 0 0 14px var(--orange-2); }
.steps li.final.on { color: var(--orange-2); }

/* ===== Program ===== */
.program { padding: 16vh 0; }
.months { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 60px; padding-top: 34px; }
.months-line { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--line); }
.months-line i { position: absolute; inset: 0; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--orange), var(--orange-2)); box-shadow: 0 0 14px var(--orange-2); }
.month { position: relative; padding: 32px 28px; border-radius: var(--radius); }
.m-dot { position: absolute; top: -41px; left: 28px; width: 14px; height: 14px; border-radius: 50%; background: var(--orange-2); box-shadow: 0 0 0 6px rgba(239,127,63,.18), 0 0 18px var(--orange-2); }
.month small { font-family: var(--mono); font-size: 12px; letter-spacing: .15em; text-transform: uppercase; color: var(--peach); }
.month h3 { font-size: 27px; font-weight: 600; letter-spacing: -0.035em; margin: 14px 0 10px; }
.month p { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.month ul { list-style: none; border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 8px; }
.month li { display: flex; gap: 10px; align-items: center; font-size: 14px; font-weight: 500; }
.month li::before { content: ""; width: 12px; height: 3px; border-radius: 2px; background: var(--orange-2); }
.cadence { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.cadence span { padding: 9px 16px; border-radius: 999px; font-size: 13.5px; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--muted); }

/* ===== Forecast ===== */
.forecast { padding: 16vh 0; }
.fc { display: grid; grid-template-columns: 1fr 1.15fr; gap: 26px; padding: 26px; border-radius: 28px; margin-top: 30px; }
.fc-controls { display: grid; gap: 26px; align-content: start; padding: 8px; }
.fc-field label { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.fc-field output { font-family: var(--sans); font-size: 26px; font-weight: 600; letter-spacing: -0.03em; color: #fff; text-transform: none; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { padding: 9px 15px; border-radius: 999px; font-size: 14px; border: 1px solid var(--line); color: var(--muted); transition: all .25s; }
.seg button:hover { color: #fff; border-color: rgba(255,255,255,.3); }
.seg button.on { background: #fff; color: var(--navy); border-color: #fff; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--orange-2) var(--p, 10%), rgba(255,255,255,.12) var(--p, 10%)); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 6px solid var(--orange-2); cursor: grab; box-shadow: 0 0 20px rgba(239,127,63,.8); }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 6px solid var(--orange-2); cursor: grab; }
.range-scale { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 10px; }
.fc-field input[type="number"] { width: 100%; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.05); font-size: 20px; font-weight: 600; outline: none; }
.fc-field input[type="number"]:focus { border-color: var(--orange-2); }
.fc-results { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fc-card { padding: 22px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 16px; min-height: 128px; }
.fc-card small { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fc-card strong { font-size: clamp(26px, 2.8vw, 40px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.fc-rev { grid-column: 1 / -1; min-height: 160px; background: linear-gradient(135deg, var(--orange), var(--orange-2)); border: 0; box-shadow: 0 30px 70px -30px rgba(239,127,63,.9); }
.fc-rev small { color: rgba(255,255,255,.85); }
.fc-rev strong { font-size: clamp(36px, 4.6vw, 66px); }
.fc-rev span { font-size: 14px; color: rgba(255,255,255,.9); margin-top: -8px; }
.fc-note { margin-top: 22px; font-family: var(--mono); font-size: 12px; line-height: 1.6; color: var(--muted); max-width: 820px; }

/* ===== Trust ===== */
.trust { padding: 16vh 0; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 50px; }
.trust-card { padding: 32px 28px; border-radius: var(--radius); }
.trust-card svg { width: 50px; height: 50px; padding: 12px; border-radius: 15px; background: rgba(239,127,63,.12); border: 1px solid rgba(239,127,63,.3); fill: none; stroke: var(--peach); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.trust-card h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; margin: 24px 0 10px; }
.trust-card p { color: var(--muted); font-size: 15px; }

/* ===== Audit ===== */
.audit { position: relative; padding: 18vh 0; overflow: hidden; }
.aurora { position: absolute; inset: 0; filter: blur(90px); opacity: .5; pointer-events: none; }
.aurora span { position: absolute; width: 45vw; height: 45vw; border-radius: 50%; mix-blend-mode: screen; animation: drift 18s ease-in-out infinite alternate; }
.aurora span:nth-child(1) { background: var(--orange); left: -15%; top: 10%; opacity: .6; }
.aurora span:nth-child(2) { background: var(--navy); right: -5%; bottom: -10%; animation-duration: 24s; }
@keyframes drift { to { transform: translate(10vw, 6vh) scale(1.2); } }
.audit-grid { position: relative; }
.audit-copy { max-width: 580px; }
.audit-form { margin-top: 34px; padding: 26px; border-radius: 24px; display: grid; gap: 14px; }
.audit-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.audit-form label { display: grid; gap: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.audit-form input, .audit-form select { width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.06); font-family: var(--sans); font-size: 15px; letter-spacing: 0; text-transform: none; color: #fff; outline: none; }
.audit-form select option { color: #1c3f5c; }
.audit-form input:focus, .audit-form select:focus { border-color: var(--orange-2); box-shadow: 0 0 0 3px rgba(239,127,63,.25); }
.audit-form .btn { margin-top: 6px; padding: 17px; }
.form-note { font-family: var(--mono); font-size: 11px; color: var(--muted); text-align: center; }
.globe-label { position: absolute; right: max(24px, calc((100vw - 1240px) / 2)); bottom: 12vh; display: flex; gap: 8px; }
.globe-label span { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--line); background: rgba(5,11,18,.5); backdrop-filter: blur(8px); }
.globe-label i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange-2); box-shadow: 0 0 10px var(--orange-2); }

/* ===== FAQ ===== */
.faq { padding: 14vh 0; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: clamp(17px, 1.6vw, 22px); font-weight: 600; letter-spacing: -0.02em; transition: color .25s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--peach); }
.faq summary i { position: relative; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); transition: background .3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--orange-2); transform: translate(-50%, -50%); transition: transform .35s, background .3s; }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary i { background: var(--orange-2); border-color: var(--orange-2); }
.faq details[open] summary i::before, .faq details[open] summary i::after { background: #fff; }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq details p { color: var(--muted); padding: 0 50px 24px 0; }

/* ===== Footer ===== */
.footer { padding: 16vh 0 26px; border-top: 1px solid var(--line); overflow: hidden; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.footer-big { font-size: clamp(38px, 5.4vw, 80px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.footer-cols { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 60px; margin-top: 60px; }
.footer-cols div { display: grid; gap: 4px; align-content: start; font-size: 15px; }
.footer-cols small { font-family: var(--mono); font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.footer-cols a:hover { color: var(--peach); }
.footer-word { margin: 80px 0 10px; text-align: center; font-size: 17vw; font-weight: 600; letter-spacing: .02em; line-height: .8; white-space: nowrap; user-select: none;
  background: linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,0) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer-word b { font-weight: 600; background: linear-gradient(180deg, rgba(239,127,63,.7), rgba(239,127,63,0) 90%); -webkit-background-clip: text; background-clip: text; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 20px; }

/* ===== Tablet & mobile ===== */
@media (max-width: 1000px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: flex; }
  .lever { grid-template-columns: 1fr; }
  .lever.flip .lever-text { order: 0; }
  .fc { grid-template-columns: 1fr; }
  .months, .trust-grid { grid-template-columns: 1fr; }
  .m-dot { display: none; }
  .faq-grid { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 700px) {
  .container { width: calc(100% - 36px); }
  .hero { align-items: flex-end; padding-bottom: 70px; }
  .hero-actions .btn { flex: 1; }
  .scroll-hint { display: none; }
  .reveal-media { clip-path: inset(30% 12% 30% 12% round 22px); }
  .spec-pin { min-height: 0; }
  .spec-track { flex-direction: column; align-items: stretch; width: auto; padding: 0 18px; }
  .spec-intro, .spec-card { width: 100%; }
  .spec-hint { display: none; }
  .spec-video { height: 200px; }
  .audit-body { grid-template-columns: 1fr; justify-items: center; }
  .checks { width: 100%; }
  .acq-visual { min-height: 520px; }
  .phone { margin-left: 0; justify-self: center; }
  .gad { top: auto; bottom: 0; right: 0; width: 220px; }
  .lead-pop { top: -10px; right: 0; }
  .lp-hero { grid-template-columns: 1fr; }
  .browser { transform: none; }
  .ai { position: relative; right: auto; margin-top: -20px; width: 90%; justify-self: end; }
  .lever-visual { min-height: 0; }
  .fc { padding: 16px; }
  .fc-card { padding: 16px; min-height: 104px; }
  .audit-form .row2 { grid-template-columns: 1fr; }
  .globe-label { display: none; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* =========================================================
   TYPE SCALE — one consistent set of sizes across the site
   ========================================================= */
@font-face { font-family: "Plex Arabic"; src: url("fonts/plex-arabic-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url("fonts/plex-arabic-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url("fonts/plex-arabic-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url("fonts/plex-arabic-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
:root {
  --fs-hero: clamp(40px, 5.2vw, 80px);   /* hero headline */
  --fs-h2: clamp(34px, 4.2vw, 60px);     /* section titles */
  --fs-big: clamp(28px, 3.6vw, 52px);    /* big statements */
  --fs-h3: clamp(21px, 1.8vw, 26px);     /* card titles */
  --fs-h3l: clamp(26px, 2.5vw, 36px);    /* lever titles */
  --fs-lead: clamp(16px, 1.25vw, 18px);  /* intro paragraphs */
  --fs-body: 15.5px;                     /* body text */
  --fs-small: 13.5px;                    /* chips, notes */
  --fs-label: 12px;                      /* mono labels */
  --ar: "Plex Arabic", "Sora", system-ui, sans-serif;
}
.hero-title { font-size: var(--fs-hero); }
.hero-title em { font-size: 1.08em; }
.title, .spec-intro .title, .footer-big { font-size: var(--fs-h2); }
.statement-text { font-size: var(--fs-big); }
.reveal-top, .reveal-bottom { font-size: var(--fs-hero); }
.reveal-inside { font-size: var(--fs-big); }
.marquee-track { font-size: clamp(22px, 2.6vw, 36px); }
.lever-text h3 { font-size: var(--fs-h3l); }
.spec-body h3, .month h3, .trust-card h3, .j-start h3 { font-size: var(--fs-h3); }
.lead, .plain, .hero-sub { font-size: var(--fs-lead); }
.example p, .spec-body p, .month p, .trust-card p, .faq details p, .m-rows p { font-size: var(--fs-body); }
.chips span, .gets span, .cadence span, .j-end span, .form-note { font-size: var(--fs-small); }
.kicker, .num, .fc-field label, .fc-card small, .example small, .audit-form label, .footer-cols small, .j-tag { font-size: var(--fs-label); }
.faq summary { font-size: clamp(17px, 1.4vw, 20px); }
.steps li { font-size: clamp(18px, 1.6vw, 22px); }

/* ===== Language button ===== */
.nav-right { display: flex; align-items: center; gap: 8px; }
.lang-btn { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; }
.lang-btn span { padding: 6px 11px; border-radius: 999px; color: var(--muted); transition: all .25s; }
.lang-btn .l-ar { font-family: var(--ar); }
html[lang="en"] .lang-btn .l-en, html[lang="ar"] .lang-btn .l-ar { background: #fff; color: var(--navy); }

/* ===== Proof (30+ clinics) ===== */
.proof { min-height: 100vh; display: flex; align-items: center; padding: 16vh 0; }
.proof-grid > div { max-width: 620px; }
.big-num { display: flex; align-items: flex-start; font-size: clamp(100px, 13vw, 200px); font-weight: 600; letter-spacing: -0.06em; line-height: .9;
  background: linear-gradient(180deg, #fff 30%, rgba(255,255,255,.35)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.big-num .plus { color: var(--orange-2); -webkit-text-fill-color: var(--orange-2); font-size: .5em; margin-top: .12em; margin-inline-start: .04em; }
.big-label { font-size: var(--fs-big); font-weight: 500; letter-spacing: -0.035em; line-height: 1.12; margin-top: 14px; max-width: 13em; }
.stats { display: flex; flex-wrap: wrap; gap: 36px; margin-top: 44px; }
.stats strong { display: block; font-size: var(--fs-h2); font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: var(--peach); }
.stats span { font-size: var(--fs-small); color: var(--muted); }
.markets { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 40px; max-width: 620px; }
.markets li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 16px; background: rgba(12,26,42,.7); border: 1px solid var(--line); backdrop-filter: blur(12px); font-weight: 500; }
.markets li span { flex: 1; font-size: var(--fs-body); }
.markets li b { font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.markets i { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.markets .live i { background: #3ddc97; box-shadow: 0 0 0 0 rgba(61,220,151,.6); animation: pingG 2s infinite; }
.markets .live b { background: rgba(61,220,151,.14); color: #86f0c2; }
.markets .soon { border-style: dashed; }
.markets .soon i { background: #f5b83d; }
.markets .soon b { background: rgba(245,184,61,.14); color: #f5c96a; }
@keyframes pingG { 70% { box-shadow: 0 0 0 9px rgba(61,220,151,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,151,0); } }

/* ===== 90-day journey ===== */
.journey { margin-top: 50px; }
.j-start { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 20px; padding: 18px 24px; border-radius: 18px; margin-bottom: 44px; }
.j-start h3 { margin: 0; }
.j-start p { color: var(--muted); font-size: var(--fs-body); }
.j-tag { font-family: var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--peach); white-space: nowrap; }
.months { margin-top: 0; }
.m-top { display: flex; justify-content: space-between; align-items: center; }
.m-badge { font-size: 12px; font-weight: 600; padding: 4px 11px; border-radius: 999px; background: rgba(239,127,63,.14); color: var(--peach); }
.month h3 { margin: 14px 0 16px; }
.m-rows { display: grid; gap: 14px; border-top: 1px solid var(--line); padding-top: 16px; }
.m-rows b { display: block; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.m-rows p { color: var(--text); opacity: .85; margin: 0; }
.m-goal { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 11px 14px; border-radius: 12px; background: rgba(192,90,33,.12); border: 1px solid rgba(239,127,63,.3); font-size: var(--fs-small); font-weight: 600; color: var(--peach); }
.m-goal i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange-2); box-shadow: 0 0 10px var(--orange-2); flex-shrink: 0; }
.j-end { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.j-end span { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--muted); }
.j-end .j-after { background: rgba(239,127,63,.14); border-color: rgba(239,127,63,.4); color: #fff; }

/* ===== Forecast & form extras ===== */
.cur-code { font-family: var(--mono); color: var(--peach); }
.muted-s { color: var(--muted); font-size: var(--fs-small); }
.globe-label .soon i { background: #f5b83d; box-shadow: 0 0 10px #f5b83d; }
.audit-form > label { display: grid; gap: 6px; }
input[type="range"] { direction: ltr; }

/* ===== Arabic / right-to-left ===== */
html[lang="ar"] body, html[lang="ar"] button, html[lang="ar"] input, html[lang="ar"] select { font-family: var(--ar); }
html[lang="ar"] [data-i18n], html[lang="ar"] [data-i18n] *, html[lang="ar"] .kicker, html[lang="ar"] .fc-field label, html[lang="ar"] .audit-form label, html[lang="ar"] .j-tag, html[lang="ar"] .m-rows b, html[lang="ar"] .fc-card small, html[lang="ar"] .example small, html[lang="ar"] .footer-cols small { font-family: var(--ar); letter-spacing: 0 !important; text-transform: none; }
html[lang="ar"] em { font-family: var(--ar); font-style: normal; font-weight: 600; }
html[lang="ar"] .hero-title, html[lang="ar"] .title, html[lang="ar"] .big-label, html[lang="ar"] .statement-text { line-height: 1.3; letter-spacing: 0; }
html[lang="ar"] .hero-title em { font-size: 1em; }
html[lang="ar"] .split .ln { padding-bottom: .12em; }
html[dir="rtl"] .example::before { left: auto; right: 0; }
html[dir="rtl"] .example { padding: 18px 22px 18px 20px; }
html[dir="rtl"] .steps { border-left: 0; border-right: 2px solid var(--line); }
html[dir="rtl"] .steps li { padding: 12px 26px 12px 0; }
html[dir="rtl"] .steps li::before { left: auto; right: -7px; }
html[dir="rtl"] .months-line i { transform-origin: right; }
html[dir="rtl"] .m-dot { left: auto; right: 28px; }
html[dir="rtl"] .globe-label { right: auto; left: max(24px, calc((100vw - 1240px) / 2)); }
html[dir="rtl"] .hero-glow { right: auto; left: 5%; }
html[dir="rtl"] .lever-visual, html[dir="rtl"] .fc-results strong, html[dir="rtl"] .phone-media { direction: ltr; }
html[dir="rtl"] .lever-visual [data-i18n] { direction: rtl; }
html[dir="rtl"] .spec-hint { animation-direction: reverse; }

@media (max-width: 1000px) {
  .lang-btn span { padding: 6px 9px; }
  .j-start { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 700px) {
  .markets { grid-template-columns: 1fr; }
  .stats { gap: 22px; }
  .big-label { font-size: 26px; }
}
/* keep the page from scrolling sideways (important for right-to-left layout on phones) */
html { overflow-x: hidden; }
main, .footer, .marquee { overflow-x: clip; }
