/* Nabra coming-soon page. Brand rules: see CLAUDE.md (black-first, bone text, foil only on the card itself). */
:root {
  --nabra-black: #000000;
  --nabra-graphite: #1C1C1C;
  --nabra-bone: #EEE9E0;
  --nabra-ash: #8C8A86;
  --nabra-foil: #C8B68E;

  --bg: var(--nabra-black);
  --surface: var(--nabra-graphite);
  --text: var(--nabra-bone);
  --muted: #A9A6A0;           /* ash, lifted slightly for long body text: 8.6:1 on black */
  --subtle: var(--nabra-ash); /* 6.1:1 on black */
  --line: rgba(238, 233, 224, .12);
  --line-strong: rgba(238, 233, 224, .28);
  --error: #F2A39A;           /* 10:1 on black, never used alone: always with text + icon */

  --font: "Jost", sans-serif;
  --font-ar: "Alexandria", "Jost", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --radius: 18px;
  --gutter: clamp(16px, 5vw, 64px);
  --max: 1240px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang="ar"] body { font-family: var(--font-ar); font-size: 1.125rem; line-height: 1.9; }
html[lang="ar"] .lede, html[lang="ar"] .sub { font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.9; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-weight: 300; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
::selection { background: var(--nabra-bone); color: var(--nabra-black); }

:focus-visible { outline: 2px solid var(--nabra-bone); outline-offset: 3px; border-radius: 6px; }

.visually-hidden, .hp {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: fixed; inset-block-start: 12px; inset-inline-start: 12px; z-index: 100;
  padding: 10px 16px; background: var(--nabra-bone); color: var(--nabra-black);
  border-radius: 999px; text-decoration: none; transform: translateY(-200%);
  transition: transform .2s var(--ease);
}
.skip:focus { transform: none; }

/* Line icons */
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.i .solid, .step-i .solid { fill: currentColor; }
html[dir="rtl"] .flip-rtl { transform: scaleX(-1); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: inherit; font-size: 1rem; letter-spacing: .01em; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn-primary { background: var(--nabra-bone); color: var(--nabra-black); }
.btn-primary:hover { background: #fff; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0) scale(.98); }
.btn-ghost { color: var(--text); border-color: var(--line-strong); background: transparent; }
.btn-ghost:hover { border-color: var(--nabra-bone); }
.btn-ghost:active { transform: scale(.98); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: .9375rem; }
.btn-block { width: 100%; }
.btn .i { width: 18px; height: 18px; }

/* Nav */
.nav {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px var(--gutter);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
  border-block-end: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(0, 0, 0, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav-logo { display: block; margin-inline-start: -14px; } /* the file carries its own clear space */
.nav-logo img { width: 172px; height: auto; }
.nav-links { display: none; gap: 32px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .9375rem; transition: color .2s; padding: 12px 0; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang {
  min-width: 44px; min-height: 44px; padding: 0 14px; border-radius: 999px;
  background: transparent; color: var(--text); border: 1px solid var(--line);
  font: 400 .9375rem/1 var(--font-ar); cursor: pointer; transition: border-color .2s;
}
html[lang="ar"] .lang { font-family: var(--font); }
.lang:hover { border-color: var(--line-strong); }
@media (min-width: 900px) { .nav-links { display: flex; } }
@media (max-width: 479px) { .nav-actions .btn { display: none; } }

/* Layout */
main { overflow-x: clip; }
.section { max-width: var(--max); margin: 0 auto; padding: clamp(88px, 13vw, 168px) var(--gutter) 0; }
.section-head { max-width: 760px; margin-block-end: clamp(40px, 6vw, 72px); }
.kicker { color: var(--subtle); font-size: .9375rem; letter-spacing: .02em; margin-block-end: 16px; }
h2 { font-size: clamp(2.25rem, 4.6vw, 4rem); line-height: 1.06; letter-spacing: -.02em; }
html[lang="ar"] h2 { line-height: 1.35; letter-spacing: 0; }
.sub { color: var(--muted); font-size: clamp(1.0625rem, 1.4vw, 1.25rem); margin-block-start: 20px; max-width: 58ch; }

/* Hero */
.hero {
  max-width: var(--max); margin: 0 auto; min-height: 100svh;
  display: grid; align-items: center; gap: clamp(24px, 4vw, 56px);
  padding: 112px var(--gutter) 48px;
}
@media (min-width: 960px) { .hero { grid-template-columns: 1.05fr 1fr; padding-block-start: 96px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: .9375rem; margin-block-end: 28px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--nabra-bone); position: relative; }
.live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--nabra-bone); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { from { transform: scale(.6); opacity: .8; } to { transform: scale(2.2); opacity: 0; } }
h1 { font-size: clamp(3.1rem, 7.4vw, 6.9rem); line-height: .98; letter-spacing: -.035em; }
html[lang="ar"] h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: 1.3; letter-spacing: 0; }
/* Arabic headings are bold: Alexandria reads best at 600-700, unlike the light Latin Jost. */
html[lang="ar"] h1, html[lang="ar"] h2 { font-weight: 700; }
html[lang="ar"] h3 { font-weight: 600; }
.lede { color: var(--muted); font-size: clamp(1.0625rem, 1.5vw, 1.3125rem); margin-block-start: 28px; max-width: 34em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 40px; }
.offer-note { margin-block-start: 28px; color: var(--muted); font-size: .9375rem; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pill { display: inline-block; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text); font-size: .875rem; }

/* 3D card stage */
.hero-stage { position: relative; display: grid; place-items: center; gap: 22px; padding-block: 24px; }
/* Graphite pool of light behind the card */
.hero-stage::before { content: ""; position: absolute; left: 50%; top: 44%; width: min(110vw, 680px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, var(--nabra-graphite), rgba(28, 28, 28, 0)); pointer-events: none; }
.card-wrap { position: relative; width: min(84vw, 470px); perspective: 1400px; z-index: 1; }
.card3d {
  position: relative; width: 100%; aspect-ratio: 85.6 / 54;
  transform-style: preserve-3d; cursor: grab; touch-action: pan-y;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
  will-change: transform; user-select: none; -webkit-user-select: none;
}
.card3d.is-dragging { cursor: grabbing; }
.card3d > * { position: absolute; inset: 0; border-radius: 4.6% / 7.3%; } /* 3.18 mm corner radius, ISO card */
.edge { background: #262626; transform: translateZ(var(--z)); }
.face { overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: #000; }
/* Rim light so a black card still reads on a black page */
.face::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(238, 233, 224, .2), inset 0 1px 0 rgba(238, 233, 224, .32); }
.face.front { transform: translateZ(2px); }
.face.back { transform: rotateY(180deg) translateZ(2px); }
.face .art { width: 100%; height: 100%; }
.glare {
  position: absolute; inset: 0; border-radius: inherit;
  pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(circle at var(--gx, 30%) var(--gy, 20%), rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 46%);
}
.card-shadow {
  position: absolute; inset-inline: 8%; inset-block-end: -16%; height: 18%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .9), rgba(0, 0, 0, 0));
  box-shadow: 0 0 60px 10px rgba(238, 233, 224, .035);
  transform: translateX(var(--sx, 0px)) scaleX(var(--ss, 1)); opacity: var(--so, 1); z-index: -1;
}
.waves { position: absolute; width: min(120vw, 720px); left: 50%; top: 50%; transform: translate(-50%, -54%); pointer-events: none; z-index: 0; }
.waves circle { fill: none; stroke: var(--nabra-bone); stroke-width: .6; opacity: 0; transform-origin: 200px 200px; animation: wave 6s var(--ease) infinite; }
.waves circle:nth-child(2) { animation-delay: 2s; }
.waves circle:nth-child(3) { animation-delay: 4s; }
@keyframes wave { 0% { transform: scale(.7); opacity: 0; } 15% { opacity: .22; } 100% { transform: scale(1.65); opacity: 0; } }
.stage-controls { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center; z-index: 1; margin-block-start: 28px; }
.hint { color: var(--subtle); font-size: .875rem; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--bg); padding: clamp(28px, 4vw, 44px); position: relative; transition: background-color .3s var(--ease); }
.step:hover { background: #070707; }
.step-n { position: absolute; inset-block-start: 24px; inset-inline-end: 28px; color: var(--subtle); font-size: .875rem; font-variant-numeric: tabular-nums; }
.step-i { width: 48px; height: 48px; fill: none; stroke: var(--nabra-bone); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-block-end: 36px; }
.step-i .pulse { animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.step h3 { font-size: 1.5rem; font-weight: 400; margin-block-end: 10px; }
.step p { color: var(--muted); }

/* Destinations + phone */
.links { display: grid; gap: clamp(48px, 6vw, 96px); align-items: center; }
@media (min-width: 960px) { .links { grid-template-columns: 1.1fr .9fr; } }
.links .section-head { margin-block-end: 36px; }
.dest { display: flex; flex-wrap: wrap; gap: 10px; }
.dest-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px;
  border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted);
  font: inherit; font-size: .9375rem; cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease);
}
.dest-btn:hover { color: var(--text); border-color: var(--line-strong); }
.dest-btn[aria-pressed="true"] { background: var(--nabra-bone); color: var(--nabra-black); border-color: var(--nabra-bone); }
.phone-wrap { display: grid; place-items: center; perspective: 1600px; }
.phone {
  position: relative; width: min(74vw, 300px); aspect-ratio: 9 / 19; border-radius: 46px;
  background: #0b0b0b; padding: 12px;
  box-shadow: inset 0 0 0 1px rgba(238, 233, 224, .16), inset 0 0 0 7px #000, 0 50px 90px -30px rgba(0, 0, 0, 1), 0 0 0 1px #000;
  transform: rotateY(-14deg) rotateX(6deg); transition: transform .8s var(--ease);
}
html[dir="rtl"] .phone { transform: rotateY(14deg) rotateX(6deg); }
.phone:hover { transform: none; }
.phone-notch { position: absolute; top: 22px; left: 50%; width: 30%; height: 24px; border-radius: 999px; background: #000; transform: translateX(-50%); z-index: 2; }
.phone-screen { height: 100%; border-radius: 36px; background: var(--surface); padding: 64px 20px 22px; display: flex; flex-direction: column; overflow: hidden; }
.phone-url { display: flex; align-items: center; gap: 8px; justify-content: center; font-size: .75rem; color: var(--muted); padding: 8px 12px; background: #000; border-radius: 999px; }
.phone-url img { width: 15px; height: 16px; }
.screen { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; transition: opacity .28s var(--ease), transform .28s var(--ease); }
.screen.is-out { opacity: 0; transform: translateY(10px) scale(.98); }
.screen-icon { width: 72px; height: 72px; border-radius: 22px; background: #000; display: grid; place-items: center; margin-block-end: 10px; box-shadow: inset 0 0 0 1px var(--line); }
.screen-icon .i { width: 32px; height: 32px; stroke-width: 1.4; }
.screen-title { font-size: 1.375rem; }
.screen-sub { color: var(--muted); font-size: .875rem; max-width: 20ch; }
.screen-btn { margin-block-start: 16px; padding: 10px 22px; border-radius: 999px; background: var(--nabra-bone); color: var(--nabra-black); font-size: .875rem; }
.phone-taps { display: flex; justify-content: space-between; align-items: baseline; font-size: .8125rem; color: var(--muted); border-block-start: 1px solid var(--line); padding-block-start: 14px; }
.phone-taps strong { color: var(--text); font-weight: 400; font-size: 1.25rem; font-variant-numeric: tabular-nums; }

/* Who + products */
.chips { list-style: none; padding: 0; margin: 0 0 clamp(48px, 7vw, 88px); display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.chips { margin-block-end: 0; }

/* Report automation flow. Base styles are the finished state; .play replays the sequence from the start. */
.flow { display: flex; align-items: stretch; gap: 0; }
.st { flex: 1 1 0; min-width: 0; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 22px 20px; background: #050505; }
.st-viz { height: 76px; display: flex; align-items: center; justify-content: center; position: relative; margin-block-end: 18px; }
.st-t { font-size: 1.0625rem; }
.st-d { color: var(--subtle); font-size: .875rem; margin-block-start: 4px; }
.st-count { font-size: 2.6rem; font-weight: 300; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.st-ping { position: absolute; width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--nabra-bone); opacity: 0; }
.st-bars { gap: 6px; align-items: flex-end; height: 76px; padding-block-end: 4px; }
.st-bars i { width: 12px; height: 64px; border-radius: 4px; background: var(--line-strong); transform-origin: bottom; transform: scaleY(var(--h)); }
.st-bars .peak { background: var(--nabra-bone); }
.st-bars .dip { background: transparent; box-shadow: inset 0 0 0 1px var(--subtle); }
.st-write { flex-direction: column; align-items: stretch; justify-content: center; gap: 9px; padding-inline: 8px; }
.st-write i { height: 7px; border-radius: 4px; background: var(--line-strong); transform-origin: left; }
html[dir="rtl"] .st-write i { transform-origin: right; }
.st-write i:nth-child(1) { width: 92%; } .st-write i:nth-child(2) { width: 70%; } .st-write i:nth-child(3) { width: 84%; } .st-write i:nth-child(4) { width: 46%; background: var(--nabra-bone); }
.st-send { gap: 8px; }
.st-send .i { width: 40px; height: 40px; stroke-width: 1.3; }
.ticks svg { width: 26px; height: 15px; fill: none; stroke: var(--nabra-bone); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 0; }
.conn { flex: 0 0 clamp(20px, 3vw, 44px); position: relative; align-self: center; height: 1px; background: var(--line); }
.conn span { position: absolute; inset: 0; background: var(--nabra-bone); transform-origin: left; }
html[dir="rtl"] .conn span { transform-origin: right; }
.conn::after { content: ""; position: absolute; top: -3px; inset-inline-start: 100%; width: 7px; height: 7px; margin-inline-start: -3px; border-radius: 50%; background: var(--nabra-bone); opacity: 0; }
@media (max-width: 759px) {
  .flow { flex-direction: column; }
  .conn { flex-basis: 28px; width: 1px; height: auto; align-self: center; }
  .conn span { transform-origin: top; }
  .conn::after { top: 100%; inset-inline-start: -3px; margin: -3px 0 0; }
}
@keyframes stIn { from { opacity: .3; border-color: var(--line); } }
@keyframes grow { from { transform: scaleX(0); } }
@keyframes growY { from { transform: scaleY(0); } }
@keyframes travel { 0% { inset-inline-start: 0; opacity: 1; } 90% { opacity: 1; } 100% { inset-inline-start: 100%; opacity: 0; } }
@keyframes travelY { 0% { top: 0; opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes draw { from { stroke-dashoffset: 40; } }
@keyframes lineIn { from { opacity: 0; transform: translateY(8px); } }
.flow.play .st { animation: stIn .6s var(--ease) both; }
.flow.play .st:nth-child(3) { animation-delay: 1.3s; }
.flow.play .st:nth-child(5) { animation-delay: 2.6s; }
.flow.play .st:nth-child(7) { animation-delay: 3.9s; }
.flow.play .st:nth-child(1) .st-ping { animation: ping 1.2s var(--ease) 3; }
.flow.play .conn span { animation: grow .8s var(--ease) both; }
.flow.play .conn::after { animation: travel .8s var(--ease) both; }
.flow.play .conn:nth-child(2) span, .flow.play .conn:nth-child(2)::after { animation-delay: .6s; }
.flow.play .conn:nth-child(4) span, .flow.play .conn:nth-child(4)::after { animation-delay: 1.9s; }
.flow.play .conn:nth-child(6) span, .flow.play .conn:nth-child(6)::after { animation-delay: 3.2s; }
@media (max-width: 759px) {
  .flow.play .conn span { animation-name: growY; }
  .flow.play .conn::after { animation-name: travelY; }
}
.flow.play .st-bars i { animation: barUp .5s var(--ease) both; animation-delay: calc(1.4s + var(--n, 0) * 70ms); }
.st-bars i:nth-child(2) { --n: 1; } .st-bars i:nth-child(3) { --n: 2; } .st-bars i:nth-child(4) { --n: 3; } .st-bars i:nth-child(5) { --n: 4; } .st-bars i:nth-child(6) { --n: 5; } .st-bars i:nth-child(7) { --n: 6; }
@keyframes barUp { from { transform: scaleY(0); } to { transform: scaleY(var(--h)); } }
.flow.play .st-write i { animation: grow .5s var(--ease) both; }
.flow.play .st-write i:nth-child(1) { animation-delay: 2.8s; } .flow.play .st-write i:nth-child(2) { animation-delay: 3s; }
.flow.play .st-write i:nth-child(3) { animation-delay: 3.2s; } .flow.play .st-write i:nth-child(4) { animation-delay: 3.4s; }
.flow.play .ticks svg { animation: draw .6s var(--ease) 4.3s both; }
.report-row { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; margin-block-start: clamp(40px, 6vw, 72px); }
@media (min-width: 960px) { .report-row { grid-template-columns: 1fr 1fr; } }
.chat { background: var(--surface); border-radius: 28px; padding: 20px; box-shadow: inset 0 0 0 1px var(--line); max-width: 460px; width: 100%; justify-self: center; }
.chat-head { display: flex; align-items: center; gap: 12px; padding-block-end: 16px; border-block-end: 1px solid var(--line); margin-block-end: 18px; }
.chat-head img { width: 30px; height: auto; }
.chat-name { font-size: 1rem; }
.chat-sub { color: var(--subtle); font-size: .8125rem; }
.bubble { background: #2a2a2a; border-radius: 6px 20px 20px 20px; padding: 16px 18px 26px; position: relative; display: grid; gap: 10px; font-size: .9688rem; line-height: 1.55; }
html[dir="rtl"] .bubble { border-radius: 20px 6px 20px 20px; }
.bubble strong { font-weight: 400; color: #fff; }
.bl-alert { border-inline-start: 2px solid var(--nabra-bone); padding-inline-start: 12px; }
.bubble-time { position: absolute; inset-block-end: 8px; inset-inline-end: 14px; font-size: .75rem; color: var(--subtle); }
.chat.play .bl { animation: lineIn .5s var(--ease) both; }
.chat.play .bl:nth-child(1) { animation-delay: .2s; } .chat.play .bl:nth-child(2) { animation-delay: .6s; }
.chat.play .bl:nth-child(3) { animation-delay: 1s; } .chat.play .bl:nth-child(4) { animation-delay: 1.4s; }
.chat.play .bl:nth-child(5) { animation-delay: 1.8s; }
.report-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.report-points li { display: flex; gap: 20px; }
.rp-n { color: var(--subtle); font-size: .875rem; padding-block-start: 6px; font-variant-numeric: tabular-nums; }
.report-points h3 { font-size: 1.375rem; font-weight: 400; margin-block-end: 6px; }
.report-points p { color: var(--muted); }
.replay { margin-block-start: 32px; }

/* Pricing */
.plans { display: grid; gap: 16px; align-items: stretch; }
@media (min-width: 960px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { border-radius: 24px; background: var(--surface); padding: clamp(28px, 3.4vw, 40px); display: flex; flex-direction: column; box-shadow: inset 0 0 0 1px var(--line); transition: transform .35s var(--ease); }
.plan:hover { transform: translateY(-4px); }
.plan-name { font-size: 1.25rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.plan-for { color: var(--muted); margin-block-start: 4px; }
.plan-price { margin-block-start: 28px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan-price .amt { font-size: clamp(2.4rem, 4vw, 3rem); font-weight: 300; letter-spacing: -.02em; line-height: 1; }
.plan-price .per { color: var(--muted); }
.plan-early { margin-block-start: 14px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .9375rem; }
.plan-list { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 14px; flex: 1; align-content: start; }
.plan-list li { position: relative; padding-inline-start: 30px; }
.plan-list li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .3em; width: 18px; height: 18px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.plan-cta { width: 100%; }
.plan-badge { font-size: .8125rem; padding: 3px 10px; border-radius: 999px; border: 1px solid currentColor; }
.plan-featured { background: var(--nabra-bone); color: var(--nabra-black); box-shadow: none; }
.plan-featured .plan-for, .plan-featured .per { color: #5E5C59; } /* brand secondary text on bone */
.plan-featured .pill { border-color: rgba(0, 0, 0, .3); color: var(--nabra-black); }
.plan-featured .btn-primary { background: var(--nabra-black); color: var(--nabra-bone); }
.plan-featured .btn-primary:hover { background: #222; }
.plan-featured :focus-visible { outline-color: var(--nabra-black); }
.plans-note { color: var(--subtle); font-size: .9375rem; margin-block-start: 28px; max-width: 70ch; }

/* FAQ */
.faq-list { max-width: 860px; border-block-start: 1px solid var(--line); }
.faq-list details { border-block-end: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; min-height: 64px; padding: 18px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 1.1875rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; font-size: 1.25rem; font-weight: 300; transition: transform .3s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--muted); padding-block-end: 22px; max-width: 64ch; }

/* Join / form */
.join { display: grid; gap: clamp(40px, 6vw, 88px); align-items: start; padding-block-end: clamp(88px, 12vw, 160px); scroll-margin-top: 40px; }
@media (min-width: 960px) { .join { grid-template-columns: 1fr 1fr; } .join-copy { position: sticky; top: 120px; } }
.join h2 { font-size: clamp(2.25rem, 4.6vw, 4rem); }
.join h2 span { display: block; }
.join h2 span:first-child { color: var(--subtle); }
.perks { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 14px; }
.perks li { display: flex; align-items: center; gap: 12px; }
.perks .i { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--nabra-bone); color: var(--nabra-black); stroke-width: 2.4; }

.form-card { background: var(--surface); border-radius: 28px; padding: clamp(24px, 4vw, 44px); box-shadow: inset 0 0 0 1px var(--line); }
.field { margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
label, legend { display: block; font-size: .9375rem; margin-block-end: 8px; padding: 0; }
.opt { color: var(--subtle); }
.help { color: var(--subtle); font-size: .875rem; margin-block: -4px 8px; }
input[type="text"], input[type="tel"], input[type="email"], select {
  width: 100%; min-height: 56px; padding: 0 18px; border-radius: 14px;
  background: var(--nabra-black); color: var(--text); border: 1px solid var(--line-strong);
  font: inherit; font-size: 1rem; /* 16px stops iOS zoom on focus */
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  -webkit-appearance: none; appearance: none;
}
input::placeholder { color: #6E6C69; }
html[dir="rtl"] input[dir="ltr"] { text-align: right; }
input:hover, select:hover { border-color: rgba(238, 233, 224, .45); }
input:focus, select:focus { outline: none; border-color: var(--nabra-bone); box-shadow: 0 0 0 3px rgba(238, 233, 224, .18); }
[aria-invalid="true"] { border-color: var(--error) !important; }
.select { position: relative; }
.select select { padding-inline-end: 48px; cursor: pointer; }
.select .i { position: absolute; inset-inline-end: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check { position: relative; margin: 0; }
.check input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.check span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--muted); font-size: .9375rem; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.check:hover span { border-color: rgba(238, 233, 224, .45); color: var(--text); }
.check input:checked + span { background: var(--nabra-bone); color: var(--nabra-black); border-color: var(--nabra-bone); }
.check input:focus-visible + span { outline: 2px solid var(--nabra-bone); outline-offset: 3px; }
.err { display: flex; align-items: center; gap: 8px; color: var(--error); font-size: .875rem; margin-block-start: 8px; }
.err[hidden] { display: none; }
.err::before { content: "!"; flex: none; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--error); color: #000; font-size: .75rem; }
.err-form { margin-block-start: 16px; }
.error-summary { border: 1px solid var(--error); border-radius: 14px; padding: 16px 18px; margin-block-end: 24px; }
.error-summary:focus { outline: none; box-shadow: 0 0 0 3px rgba(242, 163, 154, .25); }
.error-summary-title { color: var(--error); margin-block-end: 6px; }
.error-summary ul { margin: 0; padding-inline-start: 20px; }
.error-summary a { color: var(--text); }
.fine { color: var(--subtle); font-size: .8125rem; text-align: center; margin-block-start: 14px; }
#submit { margin-block-start: 8px; position: relative; min-height: 56px; }
.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(0, 0, 0, .25); border-top-color: #000; animation: spin .8s linear infinite; }
#submit[aria-busy="true"] { pointer-events: none; opacity: .85; }
#submit[aria-busy="true"] .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.success { text-align: center; padding: 40px 8px; }
.success:focus { outline: none; }
.success img { width: 76px; height: auto; margin: 0 auto 28px; animation: rise .8s var(--ease) both; }
.success h3 { font-size: 2rem; margin-block-end: 12px; }
.success p { color: var(--muted); max-width: 34ch; margin: 0 auto; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* Footer */
.footer { border-block-start: 1px solid var(--line); padding: 56px var(--gutter) calc(56px + env(safe-area-inset-bottom)); text-align: center; display: grid; justify-items: center; gap: 14px; }
.footer-ar { width: 110px; height: auto; }
.footer-tag { font-size: 1.25rem; font-weight: 300; }
.footer-meta { color: var(--subtle); font-size: .875rem; }

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed; inset-inline: 16px; inset-block-end: calc(16px + env(safe-area-inset-bottom)); z-index: 40;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .7);
  transform: translateY(160%); transition: transform .35s var(--ease);
}
.sticky-cta.is-on { transform: none; }
@media (min-width: 720px) { .sticky-cta { display: none; } }

/* Scroll reveal (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .waves, .live-dot::after { display: none; }
  .js .reveal { opacity: 1; transform: none; }
  .phone, html[dir="rtl"] .phone { transform: none; }
}
