/* SB Arabia — layout: full-bleed alternating bands (paper / mist / night), centred 1120px column, product mock-ups as the imagery */
:root {
  --paper: #fbfcfd;
  --mist: #edf2f6;
  --ink: #0f1620;
  --ink-2: #4f5b66;
  --line: #dbe3ea;
  --night: #070b10;
  --night-2: #10161d;
  --night-line: #222c37;
  --on-night: #f3f5f3;
  --on-night-2: #9aa6b2;
  --green: #1f6fb8;
  --green-ink: #1f5c96;
  --mint: #4fb2ee;
  --amber: #e7a321;
  --red: #e0533d;
  --display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --arabic: "IBM Plex Sans Arabic", "Geeza Pro", Tahoma, sans-serif;
  --col: 1120px;
  --radius: 22px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.55 var(--text); letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.035em; line-height: 1.04; text-wrap: balance; margin: 0; color: inherit; }
h1 { font-size: clamp(2.6rem, 7.2vw, 5.6rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4.8vw, 3.6rem); font-weight: 700; }
h3 { font-size: 1.32rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0; }
.ar { font-family: var(--arabic); direction: rtl; unicode-bidi: isolate; }

.wrap { width: 100%; max-width: calc(var(--col) + 2 * 24px); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: rgba(251,252,253,.86); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(251,252,253,.82); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); border-bottom: 1px solid rgba(17,21,19,.07); }
.nav { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font: 700 1.05rem var(--display); letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-size: .78rem; letter-spacing: 0; }
.nav-links { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--ink-2); font-size: .9rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); text-decoration: none; }
.nav-group { position: relative; }
.nav-group > button { background: none; border: 0; font: inherit; font-size: .9rem; color: var(--ink-2); cursor: pointer; padding: 0; }
.nav-menu { position: absolute; top: 34px; left: -18px; min-width: 280px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 10px; box-shadow: 0 24px 60px -20px rgba(10,14,12,.25); display: none; }
.nav-group:hover .nav-menu, .nav-group:focus-within .nav-menu { display: grid; }
.nav-menu a { padding: 10px 12px; border-radius: 10px; color: var(--ink); }
.nav-menu a small { display: block; color: var(--ink-2); font-size: .78rem; }
.nav-menu a:hover { background: var(--mist); text-decoration: none; }
.nav-menu .label { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); padding: 8px 12px 2px; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); margin: 6px 10px; border-radius: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; font: 600 1rem var(--text); border: 1px solid transparent; cursor: pointer; transition: transform .2s ease, background .2s ease; white-space: nowrap; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-sm { min-height: 36px; padding: 0 16px; font-size: .88rem; }
.on-night .btn-ghost { color: var(--on-night); border-color: var(--night-line); }
.on-night .btn-primary { background: var(--mint); color: var(--night); }
.link-arrow { font-weight: 600; }
.link-arrow::after { content: " \2192"; }

/* Bands */
.band { padding-block: clamp(72px, 11vw, 140px); }
.band.mist { background: var(--mist); }
.band.night, .on-night { background: var(--night); color: var(--on-night); }
.band.night .muted, .on-night .muted { color: var(--on-night-2); }
.muted { color: var(--ink-2); }
.eyebrow { font: 600 .8rem var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.night .eyebrow, .on-night .eyebrow { color: var(--mint); }
.lead { font-size: clamp(1.12rem, 1.9vw, 1.4rem); line-height: 1.45; color: var(--ink-2); max-width: 40em; }
.night .lead { color: var(--on-night-2); }
.section-head { display: grid; gap: 18px; max-width: 820px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { text-align: center; margin-inline: auto; justify-items: center; }

/* Hero */
.hero { padding-block: clamp(56px, 9vw, 120px) clamp(56px, 8vw, 100px); text-align: center; overflow: hidden; }
.hero .wrap { display: grid; justify-items: center; gap: 22px; }
.hero .lead { margin-inline: auto; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.hero-visual { margin-top: clamp(40px, 6vw, 72px); width: 100%; display: flex; justify-content: center; }
.crumbs { font-size: .82rem; color: var(--ink-2); }
.crumbs a { color: var(--ink-2); }

/* Tiles and features */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tile { background: var(--paper); border-radius: var(--radius); padding: 32px; display: grid; gap: 12px; align-content: start; color: var(--ink); border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease; }
a.tile:hover { text-decoration: none; transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(10,14,12,.3); }
.mist .tile { border-color: transparent; }
.night .tile { background: var(--night-2); border-color: var(--night-line); color: var(--on-night); }
.tile .kicker { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.night .tile .kicker { color: var(--on-night-2); }
.tile p { color: var(--ink-2); }
.night .tile p { color: var(--on-night-2); }
.tile .glyph { width: 44px; height: 44px; border-radius: 12px; background: var(--mist); display: grid; place-items: center; color: var(--green); }
.night .tile .glyph { background: #1a2530; color: var(--mint); }
.mist .tile .glyph { background: var(--mist); }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 36px; }
.feature { display: grid; gap: 10px; align-content: start; border-top: 1px solid var(--line); padding-top: 22px; }
.night .feature { border-color: var(--night-line); }
.feature p { color: var(--ink-2); font-size: .98rem; }
.night .feature p { color: var(--on-night-2); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split.flip > :first-child { order: 2; }
.split .copy { display: grid; gap: 20px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { padding-left: 30px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.night .checks li::before { background-color: #2079c4; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step { counter-increment: step; display: grid; gap: 10px; align-content: start; }
.step::before { content: counter(step); font: 700 2.6rem var(--display); color: var(--green); letter-spacing: -0.04em; }
.night .step::before { color: var(--mint); }
.step p { color: var(--ink-2); font-size: .97rem; }
.night .step p { color: var(--on-night-2); }

.statement { font: 700 clamp(1.9rem, 4.4vw, 3.4rem)/1.1 var(--display); letter-spacing: -0.035em; max-width: 22ch; text-wrap: balance; }
.statement em { font-style: normal; color: var(--green); }
.night .statement em { color: var(--mint); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: .92rem; background: var(--paper); }
.night .chip { border-color: var(--night-line); background: transparent; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font: 600 1.15rem/1.35 var(--display); letter-spacing: -0.015em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font: 300 1.8rem var(--text); color: var(--green); transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--ink-2); max-width: 70ch; }

/* Lead form */
.lead-band { background: var(--night); color: var(--on-night); }
.lead-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.lead-copy { display: grid; gap: 20px; }
.lead-copy .lead { color: var(--on-night-2); }
.contact-lines { display: grid; gap: 10px; margin-top: 8px; font-size: .98rem; }
.contact-lines a { color: var(--on-night); }
.contact-lines span { color: var(--on-night-2); display: inline-block; min-width: 92px; }
form.lead-form { background: var(--night-2); border: 1px solid var(--night-line); border-radius: 26px; padding: clamp(22px, 4vw, 36px); display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .82rem; color: var(--on-night-2); }
.field input, .field select, .field textarea { width: 100%; font: 400 1rem var(--text); color: var(--on-night); background: #0a1016; border: 1px solid var(--night-line); border-radius: 12px; padding: 13px 14px; color-scheme: dark; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 3px rgba(79,178,238,.22); }
.form-foot { grid-column: 1 / -1; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; justify-content: space-between; margin-top: 6px; }
.form-foot small { color: var(--on-night-2); font-size: .8rem; max-width: 34ch; }
.form-done { grid-column: 1 / -1; background: #0f1f38; border: 1px solid #23457a; border-radius: 14px; padding: 18px; display: grid; gap: 10px; }
.form-done strong { color: var(--mint); }
.form-error { grid-column: 1 / -1; color: #ffb4a6; font-size: .9rem; }

/* Footer */
.site-footer { background: var(--night); color: var(--on-night-2); border-top: 1px solid var(--night-line); padding-block: 64px 40px; font-size: .9rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot-grid h4 { color: var(--on-night); font: 600 .85rem var(--text); margin: 0 0 14px; letter-spacing: .02em; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot-grid a { color: var(--on-night-2); }
.foot-grid a:hover { color: var(--on-night); }
.site-footer .brand { color: var(--on-night); margin-bottom: 14px; }
.site-footer .brand-mark { background: var(--on-night); color: var(--night); }
.foot-base { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--night-line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .8rem; }

/* WhatsApp float */
.wa-float { position: fixed; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 70; display: flex; align-items: center; gap: 10px; background: #1faa59; color: #fff; padding: 0 20px 0 14px; height: 54px; border-radius: 999px; font-weight: 600; box-shadow: 0 16px 40px -12px rgba(10,60,35,.55); }
.wa-float:hover { text-decoration: none; background: #178c49; }
.wa-float svg { width: 26px; height: 26px; }

/* ---------- Mock-ups (all original, drawn in CSS/SVG) ---------- */
.device { background: #1a1f1c; border-radius: 34px; padding: 14px; box-shadow: 0 60px 120px -50px rgba(10,14,12,.55), inset 0 0 0 1px #2c332f; width: min(640px, 100%); }
.screen { background: var(--paper); border-radius: 22px; overflow: hidden; color: var(--ink); text-align: left; }
.screen.dark { background: #0b1118; color: var(--on-night); }
.scr-bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; font-size: .78rem; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.screen.dark .scr-bar { border-color: var(--night-line); color: var(--on-night-2); }
.scr-body { padding: 24px; display: grid; gap: 16px; }
.kiosk-title { font: 700 1.6rem/1.1 var(--display); letter-spacing: -0.03em; }
.kiosk-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kf { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: .86rem; display: grid; gap: 2px; }
.kf small { color: var(--ink-2); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.kiosk-actions { display: flex; gap: 10px; }
.kbtn { flex: 1; text-align: center; border-radius: 12px; padding: 12px; font-weight: 600; font-size: .9rem; background: var(--green); color: #fff; }
.kbtn.alt { background: var(--mist); color: var(--ink); }
.mock-stage { position: relative; width: min(760px, 100%); }
.badge-card { position: absolute; right: -10px; bottom: -36px; width: 210px; background: #fff; border-radius: 18px; padding: 16px; box-shadow: 0 30px 60px -24px rgba(10,14,12,.45); display: grid; gap: 8px; text-align: left; color: var(--ink); font-size: .8rem; border: 1px solid var(--line); }
.badge-card .tag { background: var(--green); color: #fff; font-weight: 700; letter-spacing: .14em; font-size: .66rem; padding: 4px 8px; border-radius: 6px; justify-self: start; }
.badge-card b { font: 700 1.05rem var(--display); }
.qr { display: grid; grid-template-columns: repeat(21, 1fr); width: 100%; aspect-ratio: 1; gap: 0; }
.qr i { background: transparent; }
.qr i.on { background: var(--ink); }

.invoice { width: min(560px, 100%); background: #fff; color: var(--ink); border-radius: 18px; box-shadow: 0 60px 120px -50px rgba(10,14,12,.5); padding: 28px; text-align: left; font-size: .84rem; display: grid; gap: 16px; border: 1px solid var(--line); }
.inv-head { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.inv-head b { font: 700 1.25rem var(--display); letter-spacing: -0.02em; display: block; }
.inv-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.inv-meta div { background: var(--mist); border-radius: 10px; padding: 8px 10px; display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.inv-meta small { color: var(--ink-2); font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; }
.inv-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.inv-table th { text-align: left; font-weight: 600; color: var(--ink-2); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; border-bottom: 1px solid var(--line); padding: 6px 0; }
.inv-table td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.inv-table td:last-child, .inv-table th:last-child { text-align: right; }
.inv-foot { display: grid; grid-template-columns: 112px 1fr; gap: 18px; align-items: end; }
.inv-tot { display: grid; gap: 4px; font-variant-numeric: tabular-nums; }
.inv-tot div { display: flex; justify-content: space-between; }
.inv-tot .grand { font: 700 1.15rem var(--display); border-top: 2px solid var(--ink); padding-top: 6px; margin-top: 4px; }
.pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 4px 10px; font-size: .72rem; font-weight: 600; }
.pill.ok { background: #e4f1fb; color: var(--green-ink); }
.pill.ok::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.pill.warn { background: #3a2c0e; color: #ffd27a; }
.pill.down { background: #3b1611; color: #ffb4a6; }
.pill.up { background: #10251b; color: var(--mint); }

.dash { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; }
.dpanel { background: #111821; border: 1px solid var(--night-line); border-radius: 14px; padding: 14px; display: grid; gap: 10px; min-width: 0; }
.dpanel h5 { margin: 0; font: 600 .74rem var(--text); color: var(--on-night-2); text-transform: uppercase; letter-spacing: .1em; }
.big-num { font: 700 2.1rem var(--display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.uptime { display: flex; gap: 3px; height: 34px; align-items: stretch; }
.uptime i { flex: 1; border-radius: 2px; background: #2fbf7c; }
.uptime i.w { background: var(--amber); }
.uptime i.d { background: var(--red); }
.mon-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .8rem; padding: 6px 0; border-bottom: 1px solid var(--night-line); }
.mon-row:last-child { border: 0; }
.mon-row span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.watch { position: absolute; left: -26px; bottom: -40px; width: 168px; height: 200px; border-radius: 44px; background: #050706; border: 6px solid #2a302d; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); padding: 20px 16px; display: grid; align-content: center; gap: 6px; color: var(--on-night); text-align: left; font-size: .74rem; }
.watch b { font: 700 .98rem/1.15 var(--display); }
.watch .wtime { color: var(--on-night-2); font-size: .7rem; }
.watch .wdot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(224,83,61,.25); }

.serp { width: min(620px, 100%); background: #fff; border-radius: 20px; border: 1px solid var(--line); box-shadow: 0 60px 120px -50px rgba(10,14,12,.45); padding: 22px; text-align: left; display: grid; gap: 14px; color: var(--ink); }
.serp-q { border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-size: .9rem; display: flex; justify-content: space-between; }
.serp-r { display: grid; gap: 3px; padding: 10px 12px; border-radius: 12px; }
.serp-r.you { background: #ecf5fc; outline: 2px solid var(--green); }
.serp-r small { color: var(--ink-2); font-size: .74rem; }
.serp-r b { color: #1a4fd0; font-weight: 600; font-size: .98rem; }
.serp-r p { font-size: .82rem; color: var(--ink-2); }
.serp-r.faded { opacity: .55; }

.pipeline { width: min(820px, 100%); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; text-align: left; }
.pcol { background: var(--night-2); border: 1px solid var(--night-line); border-radius: 16px; padding: 12px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.pcol h5 { margin: 0; font: 600 .74rem var(--text); text-transform: uppercase; letter-spacing: .1em; color: var(--on-night-2); display: flex; justify-content: space-between; }
.pcard { background: #18212b; border-radius: 12px; padding: 10px; display: grid; gap: 4px; font-size: .8rem; color: var(--on-night); }
.pcard small { color: var(--on-night-2); font-variant-numeric: tabular-nums; }
.pcard.won { background: #13305e; }

.roadmap { width: min(820px, 100%); display: grid; gap: 12px; text-align: left; }
.rm-row { display: grid; grid-template-columns: 150px 1fr; gap: 14px; align-items: center; font-size: .86rem; }
.rm-track { position: relative; height: 38px; background: var(--mist); border-radius: 10px; }
.rm-bar { position: absolute; top: 5px; bottom: 5px; border-radius: 7px; background: var(--ink); color: #fff; font-size: .74rem; display: flex; align-items: center; padding: 0 10px; white-space: nowrap; overflow: hidden; }
.rm-bar.g { background: var(--green); }
.rm-scale { display: grid; grid-template-columns: 150px repeat(12, 1fr); gap: 0 0; font-size: .7rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }

.hero-trio { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 20px; width: min(1040px, 100%); align-items: end; }
.trio-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 20px; text-align: left; display: grid; gap: 10px; box-shadow: 0 40px 80px -46px rgba(10,14,12,.45); color: var(--ink); min-width: 0; }
.trio-card.dark { background: var(--night); color: var(--on-night); border-color: var(--night); }
.trio-card .tl { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2); font-weight: 600; }
.trio-card.dark .tl { color: var(--on-night-2); }
.trio-card b { font: 700 1.3rem/1.15 var(--display); letter-spacing: -0.02em; }
.spark { width: 100%; height: 70px; }

.note { font-size: .74rem; color: var(--ink-2); text-align: center; margin-top: 18px; }
.night .note { color: var(--on-night-2); }

/* Scroll-linked motion: content is fully visible at rest; motion only refines it where supported */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
    .hero-visual > * { animation: settle linear both; animation-timeline: view(); animation-range: exit 0% exit 80%; }
  }
}
@keyframes rise { from { transform: translateY(56px) scale(.97); opacity: .55; } to { transform: none; opacity: 1; } }
@keyframes settle { from { transform: none; } to { transform: scale(.92) translateY(-30px); opacity: .5; } }
@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero .lead, .hero-ctas { animation: fadeup .9s cubic-bezier(.2,.7,.2,1) both; }
  .hero .lead { animation-delay: .08s; }
  .hero-ctas { animation-delay: .16s; }
}
@keyframes fadeup { from { transform: translateY(18px); } to { transform: none; } }

/* Responsive */
@media (max-width: 980px) {
  .tiles, .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .pipeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .nav-links { display: none; position: absolute; top: 60px; left: 0; right: 0; background: var(--paper); flex-direction: column; align-items: stretch; gap: 0; padding: 8px max(20px, env(safe-area-inset-right, 0px)) 20px max(20px, env(safe-area-inset-left, 0px)); border-bottom: 1px solid var(--line); max-height: calc(100vh - 60px); overflow: auto; }
  .nav-links.open { display: flex; }
  .nav-links > a, .nav-group > button { padding: 14px 0; font-size: 1.05rem; text-align: left; border-bottom: 1px solid var(--line); width: 100%; }
  .nav-menu { position: static; display: grid; box-shadow: none; border: 0; padding: 0 0 8px; min-width: 0; }
  .nav-links .btn { margin-top: 14px; }
  .menu-toggle { display: block; }
  .split, .lead-grid { grid-template-columns: minmax(0, 1fr); }
  .split.flip > :first-child { order: 0; }
  .hero-trio { grid-template-columns: minmax(0, 1fr); max-width: 440px; }
  .dash { grid-template-columns: minmax(0, 1fr); }
  .watch, .badge-card { position: static; margin: 16px auto 0; }
  .mock-stage { display: grid; justify-items: center; }
  .rm-row, .rm-scale { grid-template-columns: 96px 1fr; }
  .rm-scale span:not(:first-child) { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .tiles, .features, .steps, .foot-grid { grid-template-columns: minmax(0, 1fr); }
  form.lead-form { grid-template-columns: minmax(0, 1fr); }
  .kiosk-fields, .inv-meta { grid-template-columns: minmax(0, 1fr); }
  .pipeline { grid-template-columns: minmax(0, 1fr); }
  .wa-float span { display: none; }
  .wa-float { padding: 0; width: 56px; justify-content: center; }
  .inv-foot { grid-template-columns: 90px 1fr; }
}

/* Mega menu with images */
.nav-menu.mega { grid-template-columns: repeat(3, 220px); gap: 8px; left: 50%; transform: translateX(-50%); padding: 14px; }
.nav-group:hover .nav-menu.mega, .nav-group:focus-within .nav-menu.mega { display: grid; }
.mega a { display: grid; gap: 8px; padding: 8px; }
.mega a img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 10px; display: block; background: var(--mist); }
.mega a b { font-weight: 600; font-size: .92rem; }
.mega .label { grid-column: 1 / -1; }
.tile-img { width: calc(100% + 64px); margin: -32px -32px 8px; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; display: block; }
.hero-video { position: relative; width: min(1120px, 100%); aspect-ratio: 16/8; border-radius: 28px; overflow: hidden; background: linear-gradient(180deg, #c9d7e3 0%, #9fb4c6 45%, #6f8597 70%, #4b5f70 100%); box-shadow: 0 60px 120px -60px rgba(10,14,12,.55); }
.hero-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video .vcap { position: absolute; left: 24px; bottom: 22px; right: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-video .vcap span { background: rgba(255,255,255,.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--ink); border-radius: 999px; padding: 8px 14px; font-size: .85rem; font-weight: 600; }
.brand img { height: 30px; width: auto; display: block; }
@media (max-width: 860px) {
  .nav-menu.mega { grid-template-columns: repeat(2, minmax(0, 1fr)); transform: none; left: 0; }
  .hero-video { aspect-ratio: 4/3; border-radius: 20px; }
}
.tile-img { max-width: none; }
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: #fff; }
.nav-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -26px; height: 26px; }
@media (max-width: 860px) { .nav-menu::before { display: none; } }
.tile { overflow: hidden; }
.tile-img { width: calc(100% + 64px); max-width: none; height: auto; aspect-ratio: auto; object-fit: fill; justify-self: start; }
/* SBA brand: logo gradient #2694D8 -> #1F5C96 */
.btn-primary { background: linear-gradient(180deg, #2694d8 0%, #1f5c96 100%); }
.btn-primary:hover { background: linear-gradient(180deg, #2a9de3 0%, #1d5389 100%); }
.on-night .btn-primary, .lead-band .btn-primary { background: linear-gradient(180deg, #4fb2ee 0%, #2486cf 100%); color: #fff; }
.statement em, h1 .grad { background: linear-gradient(180deg, #2694d8, #1f5c96); -webkit-background-clip: text; background-clip: text; color: transparent; }
.night .statement em { background: linear-gradient(180deg, #6cc4f5, #2694d8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand img.logo { height: 40px; width: auto; display: block; }
.site-footer .brand img.logo { height: 40px; }
.step::before { background: linear-gradient(180deg, #2694d8, #1f5c96); -webkit-background-clip: text; background-clip: text; color: transparent; }
.night .step::before { background: linear-gradient(180deg, #6cc4f5, #2694d8); -webkit-background-clip: text; background-clip: text; }
.wa-float { background: #1faa59; }
.tiles.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tiles.one { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 600px) { .tiles.two { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 860px) { .nav-menu.mega { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
.client-names { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; font: 700 clamp(1.1rem, 2.2vw, 1.5rem) var(--display); letter-spacing: -0.02em; color: var(--ink-2); opacity: .85; }
.night .client-names { color: var(--on-night-2); }
