/*
DIRECTION  one lit screen in a dark room: the site's green liquid pours in behind the hero, everything else is black and calm
PALETTE    bg #000 · surface #070D09 · line #1B241E · text-1 #EDF5EF · text-2 #C3C7C3 · accent #1EFF62 (step rail, one highlight per heading, never a button fill) · warn #ffb547 (thank-you alert only)
TYPE       Funnel Display 400, -0.035em, 1.04 leading for display · Instrument Sans 16-17 px body · Arabic Alexandria + Readex Pro
LAYOUT     centred funnel column (the genre's convention): 760 px reading column, 980 px wide; loud hero, dense form, quiet cards, dense FAQ
SIGNATURE  the liquid pool under the headline (a still frame of opsync.agency's shader, brand/kit/liquid.js) and the numbered step rail
MOTION     hero lines rise once on load; the sticky CTA slides up. Nothing else moves.
BRAND      opsync-marketing/brand/README.md (rebrand 2026-11-09). Buttons are the site's iOS Clear glass.
DIALS      VAR 5 · MOT 3 · DEN 4

Mockup V1: placeholder slots are drawn as dashed boxes with a "MOCKUP" tag. They are for review only.
*/
:root {
  --bg: #000;
  --surface: #070D09;
  --surface-2: #0C130E;
  --line: #1B241E;
  --text-1: #EDF5EF;
  --text-2: #C3C7C3;
  --text-3: #8C908C;
  --accent: #1EFF62;
  --accent-ink: #00190A;
  --warn: #ffb547;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1); /* opsync.agency's reveal curve */
  --display: 'Funnel Display', Arial, sans-serif;
  --body: 'Instrument Sans', system-ui, sans-serif;
  --col: 760px;
  --wide: 980px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-1);
  font: 400 16px/1.6 var(--body);
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--col); margin-inline: auto; padding-inline: 16px; }
.wrap-wide { max-width: var(--wide); }

/* Logo: the site's wordmark, nothing else in the header */
.top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 18px 16px 0; max-width: var(--wide); margin-inline: auto; }
.top > .wordmark { grid-column: 2; }
.wordmark { font: 600 1.6rem/1 var(--display); letter-spacing: -0.045em; text-decoration: none; color: var(--text-1); }

/* Hero */
.hero { text-align: center; padding-top: 28px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; }
.h1 {
  font-size: clamp(2.1rem, 7vw, 4rem);
  line-height: 1.04; letter-spacing: -0.035em; max-width: 19em; margin-inline: auto;
}
.h1 .line { display: block; }
.hl { color: var(--accent); }
.rule { display: none; }
.sub { color: var(--text-2); font-size: clamp(1rem, 2.6vw, 1.15rem); max-width: 34em; margin: 18px auto 0; }
.sub strong { color: var(--text-1); font-weight: 600; }

/* Mockup slot (VSL, testimonial videos, calendar) */
.slot {
  position: relative; border: 1.5px dashed rgba(30, 255, 98, 0.4); border-radius: 14px;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.015) 0 12px, transparent 12px 24px), var(--surface);
  display: grid; place-items: center; text-align: center; color: var(--text-2); padding: 20px;
}
.slot .tag {
  position: absolute; top: 10px; inset-inline-start: 10px; font: 600 10.5px/1 var(--body); letter-spacing: .08em;
  color: var(--accent-ink); background: var(--accent); padding: 5px 7px; border-radius: 5px;
}
.slot b { display: block; color: var(--text-1); font: 500 1.05rem/1.3 var(--display); margin-bottom: 4px; }
.slot small { font-size: .85rem; color: var(--text-3); }
.slot > div { direction: ltr; } /* internal English notes stay left-to-right in Arabic */
.vsl { aspect-ratio: 16 / 9; max-width: 640px; margin: 26px auto 0; }
/* The real VSL: a dark frame with the site's hairline, the poster under a soft shade and the glass play button.
   Wider than the old slot: it is the page's centrepiece. The shade lifts once it plays (native controls then). */
.vsl-player { position: relative; max-width: 860px; width: 100%; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line), 0 30px 80px rgba(0, 0, 0, .55); }
.vsl-player video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
/* Full screen shows the WHOLE frame: black bars above and below (or at the sides) instead of cropping it */
.vsl-player video:fullscreen, .vsl-player video:-webkit-full-screen { object-fit: contain; background: #000; width: 100%; height: 100%; }
.vsl-player:fullscreen, .vsl-player:-webkit-full-screen { max-width: none; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; box-shadow: none; background: #000; }
/* A phone turned sideways while the video plays: the player fills the screen (black bars, nothing cut), and turning
   the phone back returns it to the page. Pure CSS on a class, so it needs no tap and works on iPhone too */
.vsl-player.vsl-full { position: fixed; inset: 0; z-index: 1000; width: 100vw; height: 100vh; height: 100dvh; max-width: none; margin: 0; aspect-ratio: auto; border-radius: 0; box-shadow: none; background: #000; }
html.vsl-lock, html.vsl-lock body { overflow: hidden; }
/* Muted autoplay: a tap anywhere on the video restarts it with sound */
.vsl-sound { position: absolute; inset: 0; display: none; align-items: flex-end; justify-content: center; padding: 0 0 18px; border: 0; background: transparent; cursor: pointer; color: var(--text-1); }
.vsl-player.auto .vsl-sound { display: flex; }
.vsl-pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; font: 500 .9rem/1 var(--body); background: rgba(0, 0, 0, .62); box-shadow: 0 0 0 1px rgba(255, 255, 255, .22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.vsl-sound:hover .vsl-pill, .vsl-sound:focus-visible .vsl-pill { background: rgba(0, 0, 0, .8); }
.vsl-start { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 4px; border: 0; padding: 0; cursor: pointer; color: var(--text-1); background: linear-gradient(180deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .45)); transition: opacity .35s var(--ease-out); }
.vsl-start .play { width: 84px; height: 84px; margin: 0; transition: transform .35s var(--ease-out); }
.vsl-start .play::before { border-width: 13px 0 13px 22px; margin-left: 6px; }
.vsl-start:hover .play, .vsl-start:focus-visible .play { transform: scale(1.06); }
.vsl-label { font: 500 1rem/1.3 var(--body); color: var(--text-1); text-shadow: 0 1px 12px rgba(0, 0, 0, .6); margin-top: 10px; }
.vsl-player.playing .vsl-start { opacity: 0; pointer-events: none; }
/* Our own controls, YouTube-style, once the video plays with sound (2026-11-15). The chapter bar is display only:
   one segment per chapter, a small gap between them, loaded in light grey, watched in the brand green. The bar and
   the buttons fade 2.5 s after the pointer stops while it plays, and stay while it is paused. */
.vsl-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: none; padding: 34px 12px 4px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .38) 40%, rgba(0, 0, 0, .78)); transition: opacity .3s var(--ease-out); }
.vsl-player.ctl .vsl-bar { display: block; }
.vsl-player.ctl.idle .vsl-bar { opacity: 0; }
.vsl-player.ctl.idle { cursor: none; }
/* the bar's hover zone is 20px tall (8px above and below the 4px line), so a chapter name is easy to bring up */
.vsl-chapters { display: flex; align-items: center; gap: 3px; height: 20px; margin: -8px 4px; }
.vsl-seg { position: relative; flex: 1 1 0; min-width: 2px; height: 4px; overflow: hidden; border-radius: 2px; background: rgba(255, 255, 255, .24); transition: transform .12s var(--ease-out); }
.vsl-seg.hover { transform: scaleY(1.75); }
.vsl-chapters.seek { cursor: pointer; touch-action: none; }
.vsl-tip { position: absolute; bottom: 58px; left: 0; z-index: 3; transform: translateX(-50%); padding: 6px 10px; border-radius: 8px; background: rgba(0, 0, 0, .82); color: #fff; font: 500 .8rem/1.2 var(--body); white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .12s; }
.vsl-tip.on { opacity: 1; }
.vsl-seg i { position: absolute; inset: 0; transform: scaleX(0); transform-origin: left center; }
.vsl-seg .buf { background: rgba(255, 255, 255, .42); }
.vsl-seg .fill { background: var(--accent); }
.vsl-row { display: flex; align-items: center; gap: 2px; height: 42px; margin-top: 4px; color: var(--text-1); font: 500 .86rem/1 var(--body); font-variant-numeric: tabular-nums; }
.vsl-btn { display: grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; color: inherit; background: transparent; }
.vsl-btn:hover, .vsl-btn:focus-visible { background: rgba(255, 255, 255, .12); outline: none; }
.vsl-btn svg { width: 22px; height: 22px; }
.vsl-time { flex: none; padding: 0 6px; white-space: nowrap; }
.vsl-chap { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--text-2); }
.vsl-chap:not(:empty)::before { content: "·"; margin-right: 8px; color: var(--text-3); }
.vsl-grow { flex: 1; }
.vsl-player .i-play, .vsl-player .i-muted, .vsl-player .i-exit { display: none; }
.vsl-player.is-paused .i-pause, .vsl-player.is-muted .i-sound, .vsl-player.is-fs .i-enter { display: none; }
.vsl-player.is-paused .i-play, .vsl-player.is-muted .i-muted, .vsl-player.is-fs .i-exit { display: block; }
@media (max-width: 559px) {
  .vsl-player { border-radius: 12px; }
  .vsl-start .play { width: 58px; height: 58px; }
  .vsl-start .play::before { border-width: 9px 0 9px 15px; margin-left: 4px; }
  .vsl-label { font-size: .9rem; margin-top: 6px; }
  .vsl-bar { padding: 26px 6px 0; }
  .vsl-row { height: 36px; margin-top: 2px; font-size: .78rem; }
  .vsl-btn { width: 34px; height: 34px; }
  .vsl-btn svg { width: 19px; height: 19px; }
  .vsl-time { padding: 0 4px; }
}
.play { position: relative; isolation: isolate; width: 62px; height: 62px; border-radius: 50%; background: rgba(255,255,255,.06); display: grid; place-items: center; margin: 0 auto 12px; box-shadow: inset 0 0 14px rgba(255,255,255,.06); }
.play::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, rgba(255,255,255,.8), rgba(255,255,255,.14) 36%, rgba(255,255,255,.08) 64%, rgba(255,255,255,.58)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.play::before { content: ''; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; margin-left: 4px; }

/* Buttons: the site's iOS Clear glass (opsync.agency styles.css "iOS Clear buttons"). Almost no fill, white
   text, a hairline rim that catches light on opposite corners, barely any blur. Never a green fill. */
.btn, .lang-toggle {
  position: relative; isolation: isolate; border: 0; cursor: pointer; text-decoration: none; color: #fff;
  background: rgba(255, 255, 255, .06); text-shadow: 0 1px 8px rgba(0, 0, 0, .4);
  -webkit-backdrop-filter: blur(3px) saturate(170%) brightness(1.12); backdrop-filter: blur(3px) saturate(170%) brightness(1.12);
  box-shadow: inset 0 0 14px rgba(255, 255, 255, .06), 0 8px 22px rgba(0, 0, 0, .18);
  transition: background-color .22s ease, transform .22s var(--ease), box-shadow .22s ease;
}
.btn::before, .lang-toggle::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, .8), rgba(255, 255, 255, .14) 36%, rgba(255, 255, 255, .08) 64%, rgba(255, 255, 255, .58));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.btn:hover, .lang-toggle:hover { background: rgba(255, 255, 255, .13); box-shadow: inset 0 0 14px rgba(255, 255, 255, .09), 0 8px 22px rgba(0, 0, 0, .2); }
.btn:active, .lang-toggle:active { transform: scale(.98); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .btn, .lang-toggle { background: rgba(255, 255, 255, .14); } }
.btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 54px;
  padding: 14px 26px; border-radius: 999px; font: 500 clamp(1rem, 3.4vw, 1.1rem)/1.2 var(--body);
}
.btn-ghost { background: transparent; box-shadow: none; }
.btn-ghost::before { opacity: .5; }
.cta-row { margin: 22px auto 0; max-width: 420px; }
.cta-note { color: var(--text-3); font-size: .85rem; margin-top: 10px; text-align: center; }

/* Proof: brand logo slider, white on black, loops forever (two identical groups, track moves -50%) */
.marquee {
  margin-top: 34px; overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 56px; padding-inline-end: 56px; }
.marquee .logo { display: flex; align-items: center; gap: 10px; color: #fff; opacity: .72; white-space: nowrap; font: 500 1.15rem/1 var(--display); letter-spacing: -0.02em; }
.marquee .logo img { height: 30px; width: auto; }
.marquee .logo img.tall { height: 38px; }
.marquee .logo .poppins { font-family: 'Poppins', var(--body); font-weight: 600; letter-spacing: -0.01em; }
@keyframes marquee { to { transform: translateX(-50%); } }
.works { margin-top: 14px; color: var(--text-3); font-size: .8rem; letter-spacing: .02em; text-align: center; }

/* Step heading (the signature) */
.step-head { text-align: center; margin: 68px auto 0; max-width: 30em; }
.step-head .count { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font: 600 .8rem/1 var(--body); letter-spacing: .06em; }
.step-head .bar { width: 120px; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.step-head .bar i { display: block; height: 100%; background: var(--accent); }
.step-head h2 { margin-top: 12px; font-size: clamp(1.7rem, 5vw, 2.6rem); line-height: 1.08; letter-spacing: -0.035em; }
.step-head p { color: var(--text-2); margin: 10px 0 0; }
.arrow { display: block; color: var(--accent); font-size: 1.4rem; margin-top: 6px; }

/* Booking mock (calendar + questions) */
.booking { margin-top: 22px; padding: 0; overflow: hidden; display: block; text-align: start; border: 1px solid var(--line); background: var(--surface); }
.booking .tag { z-index: 2; }
.cal { display: grid; gap: 0; background: var(--surface); }
.cal-pane { padding: 28px 18px 20px; }
.cal-pane + .cal-pane { border-top: 1px solid var(--line); }
.cal h3 { font-size: 1.05rem; letter-spacing: -0.01em; }
.cal .meta { color: var(--text-3); font-size: .85rem; margin-top: 4px; }
.month { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; font-weight: 600; font-size: .95rem; }
.month span { color: var(--text-3); font-weight: 400; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 12px; text-align: center; }
.days .dow { color: var(--text-3); font-size: .72rem; padding-bottom: 2px; }
.days button { aspect-ratio: 1; min-height: 38px; border-radius: 50%; border: 0; font: 500 .9rem var(--body); background: transparent; color: var(--text-3); cursor: default; }
.days button.open { background: rgba(30,255,98,.10); color: var(--accent); cursor: pointer; }
.days button.on { background: var(--accent); color: var(--accent-ink); }
.slots { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.slots button { min-height: 44px; border-radius: 10px; border: 1px solid rgba(30,255,98,.35); background: transparent; color: var(--accent); font: 600 .9rem var(--body); cursor: pointer; }
.slots button.on { background: var(--accent); color: var(--accent-ink); }
.q { margin-top: 14px; }
.q label { display: block; font-size: .88rem; color: var(--text-1); margin-bottom: 6px; font-weight: 500; }
.q input, .q select, .q textarea {
  width: 100%; min-height: 44px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface-2); color: var(--text-1); font: 400 .95rem var(--body);
}
.q textarea { min-height: 70px; resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; font-size: .85rem; color: var(--text-2); }
.booking .btn { margin-top: 18px; }
.fine { color: var(--text-3); font-size: .78rem; margin-top: 10px; }
.form-error { color: #ff6b6b; font-size: .88rem; margin-top: 10px; }
.q input.bad { border-color: #ff6b6b; }
/* One-answer choice (the shipping question, 2026-11-15): real radio buttons drawn as chips. The picked chip lights up
   white with a filled dot, not green (green stays under 10% of the page and is never a fill). */
.q-multi { border: 0; padding: 0; margin: 14px 0 0; min-width: 0; }
.q-multi legend { padding: 0; font-size: .88rem; font-weight: 500; color: var(--text-1); }
.q-hint { margin: 2px 0 8px; font-size: .8rem; color: var(--text-3); }
.pick { display: flex; flex-wrap: wrap; gap: 8px; }
.q .pick label { position: relative; display: inline-flex; align-items: center; gap: 9px; min-height: 42px; margin: 0; padding: 8px 15px 8px 12px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: .88rem; font-weight: 500; color: var(--text-2); background: var(--surface-2); transition: border-color .2s var(--ease-out), background .2s var(--ease-out), color .2s var(--ease-out); }
.q .pick label:hover { border-color: rgba(255, 255, 255, .3); }
.q .pick input { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; margin: 0; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.pick .box { display: grid; place-items: center; flex: none; width: 16px; height: 16px; border: 1.5px solid var(--text-3); border-radius: 50%; transition: border-color .2s var(--ease-out); }
.pick input:checked + .box { border-color: var(--text-1); }
.pick input:checked + .box::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--text-1); }
.q .pick label:has(input:checked) { color: var(--text-1); border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .07); }
.q .pick label:has(input:focus-visible) { outline: 2px solid var(--text-1); outline-offset: 2px; }
.q-multi.bad .pick label { border-color: #ff6b6b; }
.ship-name { margin-top: 10px; }
/* The WhatsApp code step (shown after the form is filled) */
.booking.coding .cal { display: none; }   /* the code panel replaces the whole form while open */
.booking .otp { max-width: 480px; margin: 0 auto; }
.otp h3 { font-size: 1.05rem; letter-spacing: -0.01em; }
.otp .otp-lead { margin-top: 6px; }
.otp-lead { color: var(--text-2); font-size: .92rem; margin: 0 0 10px; }
.otp-lead b { color: var(--text-1); font-weight: 600; white-space: nowrap; }
.otp-boxes { position: relative; margin-top: 4px; }
.otp-cells { display: flex; justify-content: center; align-items: center; gap: 8px; }
.otp-cell { position: relative; isolation: isolate; flex: 1 1 0; max-width: 52px; aspect-ratio: 6 / 7; display: grid; place-items: center;
  border-radius: 14px; color: #fff; font: 600 1.4rem/1 var(--body); text-shadow: 0 1px 8px rgba(0, 0, 0, .4);
  /* the buttons' iOS Clear glass: almost no fill, a light-catching hairline rim (::before), a soft inner glow */
  background: rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(6px) saturate(170%) brightness(1.12); backdrop-filter: blur(6px) saturate(170%) brightness(1.12);
  box-shadow: inset 0 0 14px rgba(255, 255, 255, .06), 0 8px 22px rgba(0, 0, 0, .18);
  transition: background-color .18s ease, box-shadow .18s ease; }
.otp-cell::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, .12) 36%, rgba(255, 255, 255, .06) 64%, rgba(255, 255, 255, .5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.otp-cell:not(.empty) { background: rgba(255, 255, 255, .1); }
.otp-cell.on { background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 14px rgba(255, 255, 255, .1), 0 0 0 1px var(--accent), 0 0 18px rgba(30, 255, 98, .28); }
.otp-cell.on.empty::after { content: ''; width: 2px; height: 40%; background: var(--accent); animation: otp-caret 1s steps(1) infinite; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .otp-cell { background: rgba(255, 255, 255, .14); } }
.otp-sep { flex: 0 0 auto; color: var(--text-3); font-size: 1.1rem; }
.otp-boxes.bad .otp-cell { box-shadow: inset 0 0 14px rgba(255, 107, 107, .12), 0 0 0 1px #ff6b6b; }
@keyframes otp-caret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .otp-cell.on.empty::after { animation: none; } }
/* the real input: on top of the boxes, invisible, still tappable and fillable (16px so iOS does not zoom) */
.otp .otp-boxes input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; opacity: .01;
  background: transparent; color: transparent; caret-color: transparent; font-size: 16px; letter-spacing: 0; }
.otp .btn { margin-top: 12px; }
.otp-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; font-size: .88rem; }
.otp-link { background: none; border: 0; padding: 4px 0; color: var(--accent); font: 500 .88rem var(--body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.otp-link:disabled { color: var(--text-3); cursor: default; text-decoration: none; }
.otp-timer { color: var(--text-3); }
#otp-change { margin-inline-start: auto; }
.btn:disabled { opacity: .55; pointer-events: none; }

/* Who it is for: a ruled, numbered list like the site's pain picker. No boxes, no icons: hairlines, big light
   type, one green number per row. */
.who { display: grid; margin-top: 26px; border-top: 1px solid var(--line); text-align: start; }
.who article { display: grid; grid-template-columns: 2.4rem 1fr; column-gap: 14px; padding: 22px 4px 24px; border-bottom: 1px solid var(--line); }
.who-n { grid-row: span 2; color: var(--accent); font: 400 .95rem/1.9 var(--display); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.who h3 { font: 400 clamp(1.35rem, 3.6vw, 1.75rem)/1.12 var(--display); letter-spacing: -0.03em; }
.who p { color: var(--text-2); margin: 8px 0 0; font-size: 1rem; max-width: 30em; }
html[lang="ar"] .who h3 { line-height: 1.45; }

/* FAQ */
.faq { margin-top: 22px; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.faq summary { list-style: none; cursor: pointer; display: flex; gap: 14px; align-items: center; padding: 16px 18px; font-weight: 600; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .n { color: var(--accent); font: 500 .8rem var(--display); }
.faq summary .q-text { flex: 1; }
.faq summary::after { content: '+'; flex-shrink: 0; color: var(--accent); font-size: 1.4rem; line-height: 1; transition: transform .25s ease; }
.faq details[open]:not(.closing) summary::after { transform: rotate(45deg); }
.faq details { transition: border-color .25s ease; }
.faq details[open]:not(.closing) { border-color: rgba(30, 255, 98, 0.4); }
/* Reveal (opsync.agency's [data-rv]): rise + blur, staggered by --i, once */
html.js .faq details[data-rv]:not(.in) { opacity: 0; transform: translateY(34px); filter: blur(8px); }
html.js .faq details[data-rv] {
  transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out), filter .9s var(--ease-out), border-color .25s ease;
  transition-delay: calc(var(--i, 0) * 80ms), calc(var(--i, 0) * 80ms), calc(var(--i, 0) * 80ms), 0s;
}
@media (max-width: 640px) { html.js .faq details[data-rv]:not(.in) { filter: none; transform: translateY(24px); } }
.faq details p { margin: 0; padding: 0 18px 18px; padding-inline-start: 46px; color: var(--text-2); }

/* Close + sticky CTA */
.close { text-align: center; margin: 64px auto 0; }
.sticky {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 30; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.92) 35%); transform: translateY(110%);
  transition: transform .35s var(--ease); pointer-events: none;
}
.sticky.show { transform: none; pointer-events: auto; }
.sticky .btn { max-width: 420px; margin-inline: auto; }

/* Footer */
.foot { margin-top: 80px; padding: 28px 16px 110px; border-top: 1px solid var(--line); text-align: center; color: var(--text-3); font-size: .78rem; }
.foot p { max-width: 62em; margin: 10px auto 0; }
.foot a { color: var(--text-2); }

/* Mockup banner */
.mock-banner { background: var(--accent); color: var(--accent-ink); text-align: center; font: 600 .78rem/1.4 var(--body); padding: 7px 16px; }
/* The call-out bar at the very top (2026-11-15): who the page is for, in the same green strip, one line on a phone.
   One 🚨 before it (the device's own: Apple's on iPhone and Mac) with a slow, soft pulse every 2.4 s so it reads as a
   light without pulling the eye from the headline; still for reduced-motion visitors. */
.callout { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 11px 16px; background: var(--accent); color: var(--accent-ink); text-align: center; font: 600 .95rem/1.25 var(--body); letter-spacing: .07em; text-transform: uppercase; }
.callout span { white-space: nowrap; }
.siren { flex: none; font: 400 1.35rem/1 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif; letter-spacing: 0; animation: siren 2.4s ease-in-out infinite; }
@keyframes siren { 0%, 100% { opacity: 1; } 50% { opacity: .6; } }
html[lang="ar"] .callout { letter-spacing: 0; text-transform: none; font: 700 1rem/1.4 'Alexandria', var(--body); }
@media (max-width: 559px) {
  .callout { gap: 8px; padding: 10px 10px; font-size: .78rem; letter-spacing: .04em; }
  .siren { font-size: 1.1rem; }
  html[lang="ar"] .callout { font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) { .siren { animation: none; } }

/* Hero entrance: the one orchestrated moment */
html.js .rise { opacity: 0; transform: translateY(14px); }
html.js .rise.in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }

/* ---------- Thank-you page ---------- */
.alert { display: inline-flex; align-items: center; gap: 8px; color: var(--warn); border: 1px solid rgba(255,181,71,.4); background: rgba(255,181,71,.08); border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: .85rem; }
.alert svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
.h1-warn .hl { color: var(--warn); }
.rail-top { position: sticky; top: 0; z-index: 25; background: rgba(0,0,0,.88); backdrop-filter: blur(8px); padding: 10px 16px; display: flex; align-items: center; gap: 10px; color: var(--text-3); font-size: .72rem; letter-spacing: .06em; }
.rail-top .track { flex: 1; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.rail-top .fill { height: 100%; width: 0; background: var(--accent); }
.rail-side { display: none; }
.confirm-bar { margin: 22px auto 0; max-width: 520px; display: grid; gap: 10px; }
.confirm-bar .cap { text-align: center; color: var(--text-3); font-size: .85rem; }
.invite { margin-top: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; }
.invite .head { display: flex; gap: 16px; padding: 18px 20px; border-bottom: 1px solid var(--line); align-items: center; }
.invite .date { width: 56px; text-align: center; border: 1px solid var(--line); border-radius: 10px; padding: 6px 0; flex: none; }
.invite .date b { display: block; font: 500 1.4rem/1 var(--display); }
.invite .date span { font-size: .72rem; color: var(--text-3); }
.invite dl { margin: 0; padding: 16px 20px; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: .92rem; }
.invite dt { color: var(--text-3); }
.invite .rsvp { display: flex; gap: 8px; padding: 0 20px 18px; }
.invite .rsvp span { border: 1px solid var(--line); border-radius: 8px; padding: 6px 14px; font-size: .85rem; color: var(--text-2); }
.invite .rsvp span.yes { border-color: var(--accent); color: var(--accent); }
.checklist { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; color: var(--text-2); }
.checklist li::before { content: ''; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 6px; border: 1.5px solid var(--accent); }
.checklist strong { color: var(--text-1); }
.gift { margin-top: 22px; display: grid; gap: 18px; border: 1px solid var(--line); border-radius: 16px; padding: 20px; background: var(--surface); }
.gift .doc { aspect-ratio: 4/5; max-width: 230px; margin-inline: auto; width: 100%; }
.gift p { color: var(--text-2); margin: 0; }
.gift p + p { margin-top: 10px; }
.gift strong { color: var(--text-1); }
.vids { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.vids .slot { aspect-ratio: 9/16; padding: 12px; }

@media (min-width: 640px) {
  .cal-pane { padding: 48px 26px 26px; }
  .gift { grid-template-columns: 200px 1fr; align-items: center; }
  .vids { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 860px) {
  .cal { grid-template-columns: 1fr 1.15fr; }
  .cal-pane + .cal-pane { border-top: 0; border-inline-start: 1px solid var(--line); }
  .who { grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .rail-top { display: none; }
  .rail-side { display: flex; position: fixed; inset-inline-start: 22px; top: 50%; transform: translateY(-50%); flex-direction: column; align-items: center; gap: 10px; z-index: 25; color: var(--text-3); font-size: .7rem; letter-spacing: .06em; }
  .rail-side .track { width: 5px; height: 52vh; border-radius: 5px; background: var(--line); overflow: hidden; }
  .rail-side .fill { width: 100%; height: 0; background: var(--accent); }
}
/* Language switch: clear glass like the site's (styles above). The header is pinned ltr so it never changes side */
.lang-toggle { justify-self: end; display: inline-flex; align-items: center; min-height: 40px; padding: 0.35rem 1rem; border-radius: 999px; font: 500 .9rem/1 'Alexandria', var(--body); }

/* Arabic: Alexandria for display, Readex Pro for text (the live site's pair) */
html[lang="ar"] body, html[lang="ar"] input { font-family: 'Readex Pro', var(--body); }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] .btn,
html[lang="ar"] .faq summary, html[lang="ar"] .count, html[lang="ar"] .alert { font-family: 'Alexandria', var(--display); letter-spacing: 0; }
html[lang="ar"] .h1 { line-height: 1.4; font-weight: 700; }
html[lang="ar"] .h1 .line + .line { margin-top: .08em; }
html[lang="ar"] .step-head h2, html[lang="ar"] .who h3 { line-height: 1.5; }
html[lang="ar"] .sub, html[lang="ar"] .faq details p { line-height: 1.85; }
html[lang="ar"] .count { letter-spacing: 0; }

/* Background: the site's liquid, poured from the top edge behind the hero and fading into black (the site shader,
   drawn by liquid.js into #pool, moving slowly since 2026-11-15). Without WebGL the canvas keeps this CSS gradient. */
body { isolation: isolate; }
.pool {
  position: absolute; z-index: -1; top: 0; left: 0; width: 100%; height: min(92vh, 860px); pointer-events: none; display: block;
  background: radial-gradient(120% 70% at 50% 0%, rgba(30, 255, 98, .55), rgba(0, 166, 70, .25) 40%, transparent 72%);
  -webkit-mask-image: linear-gradient(#000 45%, transparent); mask-image: linear-gradient(#000 45%, transparent);
}
/* Text over the liquid keeps a soft dark halo so it stays readable on the bright parts */
.hero .h1, .hero .sub { text-shadow: 0 2px 24px rgba(0, 0, 0, .55); }
.top { position: relative; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .rise, html.js .rise.in { opacity: 1; transform: none; transition: none; }
  .sticky, .btn { transition: none; }
  .marquee-track { animation: none; }
  html.js .faq details[data-rv], html.js .faq details[data-rv]:not(.in) { opacity: 1; transform: none; filter: none; transition: none; }
}

/* Over the liquid the hero stays white: green text on green liquid disappears */
.hero .h1:not(.h1-warn) .hl { color: var(--text-1); }

/* Hero headline in as few lines as the width allows: the size follows the screen so each half of the
   headline sits on one line from about 560px up (two lines), capped at 4rem. On a phone the English
   is three lines (line 1 balances over two), the Arabic stays on two. */
.hero .h1 { font-size: clamp(1.875rem, calc((100vw - 48px) / 15), 4rem); max-width: none; }
.hero .h1, .hero .h1 .line { text-wrap: balance; }
html[lang="ar"] .hero .h1 { font-size: clamp(1.85rem, calc((100vw - 48px) / 16), 3.8rem); }
@media (max-width: 559px) {
  .hero .h1, html[lang="ar"] .hero .h1 { font-size: clamp(1.6rem, calc((100vw - 32px) / 13.2), 2.1rem); }
}

/* Thank-you page: one message, nothing else to do */
.thanks .hero { min-height: min(64vh, 620px); display: grid; align-content: center; justify-items: center; padding-top: 40px; }
.done { position: relative; isolation: isolate; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 22px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 14px rgba(255, 255, 255, .06); }
.done::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, rgba(255,255,255,.8), rgba(255,255,255,.14) 36%, rgba(255,255,255,.08) 64%, rgba(255,255,255,.58)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.done svg { width: 28px; height: 28px; fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.thanks .h1 { max-width: 14em; }
.sub-quiet { color: var(--text-3); font-size: 1rem; margin-top: 12px; }
.thanks .cta-row { width: 100%; margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.thanks .cta-row .btn { flex: 1 1 180px; }
