/* Shayyik site. Dark by default, equally good light. One accent: the app's mint. No borders, things fade.
   Right-to-left is real: logical properties only. Fonts are self-hosted (the CSP allows 'self' only). */

@font-face { font-family: "Readex Pro"; font-style: normal; font-weight: 160 700; font-display: swap; src: url(/fonts/readex-arabic.woff2) format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Readex Pro"; font-style: normal; font-weight: 160 700; font-display: swap; src: url(/fonts/readex-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/fonts/bricolage-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Colours. Dark values come from the app (deep forest, moss, mint); light values are deeper shades of the same hues. */
:root {
  color-scheme: dark;
  --bg: #0e1d19;
  --bg-2: #13261f;
  --ink: #f1f7f4;
  --muted: #a6beb5;
  --accent: #89d7b7;
  --accent-ink: #0e1d19;
  --btn: #89d7b7;
  --moss: #428475;
  --tile: rgba(255, 255, 255, 0.055);
  --tile-hi: rgba(255, 255, 255, 0.09);
  --rim: rgba(255, 255, 255, 0.1);
  --glow-a: rgba(137, 215, 183, 0.22);
  --glow-b: rgba(66, 132, 117, 0.34);
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6);
  --measure: 46rem;
  --wide: 70rem;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --r-tile: 1.75rem;
  --font: "Readex Pro", ui-sans-serif, system-ui, -apple-system, "SF Pro Text", "Geeza Pro", "Segoe UI", Tahoma, sans-serif;
  --font-display: var(--font);
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --bg: #f2f6f3; --bg-2: #e8f0eb; --ink: #10201b; --muted: #46605a; --accent: #1d7658; --accent-ink: #89d7b7; --btn: #1a312c; --moss: #428475;
    --tile: rgba(255, 255, 255, 0.82); --tile-hi: #ffffff; --rim: rgba(16, 32, 27, 0.08);
    --glow-a: rgba(137, 215, 183, 0.5); --glow-b: rgba(66, 132, 117, 0.16);
    --shadow: 0 30px 70px -34px rgba(26, 49, 44, 0.35);
  }
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f2f6f3; --bg-2: #e8f0eb; --ink: #10201b; --muted: #46605a; --accent: #1d7658; --accent-ink: #89d7b7; --btn: #1a312c; --moss: #428475;
  --tile: rgba(255, 255, 255, 0.82); --tile-hi: #ffffff; --rim: rgba(16, 32, 27, 0.08);
  --glow-a: rgba(137, 215, 183, 0.5); --glow-b: rgba(66, 132, 117, 0.16);
  --shadow: 0 30px 70px -34px rgba(26, 49, 44, 0.35);
}

* { box-sizing: border-box; }
html { background: var(--bg); color: var(--ink); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html[lang="ar"] [lang="en"], html[lang="en"] [lang="ar"] { display: none !important; }
html[lang="en"] { --font-display: "Bricolage Grotesque", var(--font); }
body {
  margin: 0; min-height: 100dvh; display: flex; flex-direction: column; background: transparent; position: relative;
  font: 1.0625rem/1.8 var(--font); font-optical-sizing: auto;
}
html[lang="ar"] body { line-height: 1.95; }

/* The aurora: soft mint and moss light behind everything, like the app's own backdrop. Fixed, transform-only. */
body::before {
  content: ""; position: fixed; inset: -25%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 34% at 78% 14%, var(--glow-a), transparent 70%),
    radial-gradient(44% 40% at 14% 36%, var(--glow-b), transparent 72%),
    radial-gradient(40% 36% at 62% 92%, var(--glow-b), transparent 72%);
}
html::before { content: ""; position: fixed; inset: 0; z-index: -2; background: var(--bg); }
@media (prefers-reduced-motion: no-preference) {
  body::before { animation: drift 26s ease-in-out infinite alternate; will-change: transform; }
  @keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(3%, 2%, 0) scale(1.06); } }
}

.top, main, footer { width: 100%; max-width: var(--measure); margin-inline: auto; padding-inline: 1.25rem; }
.top { max-width: var(--wide); display: flex; align-items: center; justify-content: space-between; padding-block: 1.1rem; gap: 1rem; }
.home main, .home footer { max-width: var(--wide); }

.brand { display: inline-flex; align-items: center; gap: 0.65rem; font-weight: 700; font-size: 1.25rem; color: var(--ink); text-decoration: none; }
.brand img { width: 2.25rem; height: 2.25rem; border-radius: 22.5%; display: block; }
.tools { display: flex; align-items: center; gap: 0.5rem; }
.langbtn, .themebtn {
  font: inherit; font-size: 0.95rem; color: var(--ink); background: var(--tile); border: 0; border-radius: 999px; min-height: 2.75rem; cursor: pointer;
  box-shadow: inset 0 1px 0 var(--rim); -webkit-tap-highlight-color: transparent;
}
.langbtn { padding: 0 1.1rem; }
.themebtn { width: 2.75rem; display: inline-grid; place-items: center; }
.themebtn svg { width: 1.2rem; height: 1.2rem; display: block; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.langbtn:hover, .themebtn:hover { background: var(--tile-hi); }
@media (prefers-reduced-motion: no-preference) {
  .langbtn, .themebtn { transition: background 0.4s var(--ease), transform 0.4s var(--ease); }
  .langbtn:active, .themebtn:active { transform: scale(0.94); }
}

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.25em; text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent); }
a:hover { text-decoration-color: currentColor; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 0.5rem; }
.brand:hover { text-decoration: none; }

main { flex: 1; padding-block: 1.5rem 4rem; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 5.2vw, 2.75rem); line-height: 1.3; font-weight: 700; margin: 0.5rem 0 1rem; }
h2 { font-size: 1.4rem; line-height: 1.45; font-weight: 650; margin: 2.75rem 0 0.6rem; }
h3 { font-size: 1.3rem; line-height: 1.45; font-weight: 650; margin: 0 0 0.5rem; }
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3 { letter-spacing: -0.02em; }
p, li { max-width: 65ch; }
ul, ol { padding-inline-start: 1.4rem; }
li { margin-block: 0.4rem; }
li::marker { color: var(--accent); }
strong { font-weight: 650; }
.lead { font-size: 1.2rem; color: var(--muted); }
.updated { display: inline-block; background: var(--tile); border-radius: 999px; padding: 0.15rem 1rem; color: var(--muted); font-size: 0.92rem; margin: 0 0 0.5rem; }
.note { background: var(--tile); border-radius: var(--r-tile); padding: 1rem 1.3rem; color: var(--muted); box-shadow: inset 0 1px 0 var(--rim); }

/* Buttons: pill, with the outward arrow in its own small circle when the link leaves the site. */
.btn {
  display: inline-flex; align-items: center; gap: 0.9rem; background: var(--btn); color: var(--accent-ink); font-weight: 650; text-decoration: none;
  padding: 0.55rem; padding-inline: 1.6rem 0.6rem; border-radius: 999px; min-height: 3.25rem; margin-block: 0.5rem; white-space: nowrap;
  box-shadow: 0 14px 34px -14px color-mix(in srgb, var(--btn) 70%, transparent);
}
.btn:not(:has(.out)) { padding-inline: 1.7rem; }
.btn .ico { width: 2.15rem; height: 2.15rem; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--accent-ink) 16%, transparent); }
.out { width: 1.05rem; height: 1.05rem; display: block; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
[dir="rtl"] .out { transform: scaleX(-1); }
.btn:hover { text-decoration: none; filter: brightness(1.06); }
@media (prefers-reduced-motion: no-preference) {
  .btn { transition: transform 0.5s var(--ease), filter 0.4s var(--ease), box-shadow 0.5s var(--ease); }
  .btn .ico { transition: transform 0.5s var(--ease); }
  .btn:hover .ico { transform: translate(2px, -2px); }
  [dir="rtl"] .btn:hover .ico { transform: translate(-2px, -2px); }
  .btn:active { transform: scale(0.97); }
}
.btn.soft { background: var(--tile); color: var(--ink); box-shadow: inset 0 1px 0 var(--rim); }

/* ---------- Home ---------- */
.hero { overflow-x: clip; display: grid; gap: 2rem; align-items: center; padding-block: 1.5rem 3rem; }
.hero-art { display: grid; place-items: center; position: relative; order: -1; }
.hero-art::before { content: ""; position: absolute; inset: -8%; background: radial-gradient(closest-side, var(--glow-a), transparent 72%); }
.app-icon { position: relative; width: clamp(7rem, 34vw, 16rem); height: auto; aspect-ratio: 1; border-radius: 22.5%; box-shadow: var(--shadow), 0 0 0 0.5px var(--rim); display: block; }
.hero h1 { font-size: clamp(2.1rem, 7.4vw, 3.9rem); line-height: 1.22; margin-block: 0 1.1rem; }
.hero .lead { font-size: clamp(1.05rem, 2.6vw, 1.3rem); margin-block: 0 1.25rem; }
@media (min-width: 52rem) {
  .hero { grid-template-columns: 1.25fr 1fr; gap: 4rem; min-height: min(34rem, calc(100dvh - 9rem)); padding-block: 1rem 3rem; }
  .hero-art { order: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero [data-hero] { opacity: 0; animation: rise 1.1s var(--ease) forwards; }
  .hero [data-hero="1"] { animation-delay: 0.05s; } .hero [data-hero="2"] { animation-delay: 0.18s; }
  .hero [data-hero="3"] { animation-delay: 0.3s; } .hero [data-hero="0"] { animation-delay: 0.1s; }
  @keyframes rise { from { opacity: 0; transform: translateY(1.5rem); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
}

.sec-title { font-size: clamp(1.6rem, 4vw, 2.3rem); margin: 3rem 0 1.5rem; line-height: 1.35; }
.bento { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.tile {
  position: relative; overflow: hidden; border-radius: var(--r-tile); padding: 1.6rem 1.6rem 1.8rem; background: var(--tile);
  box-shadow: inset 0 1px 0 var(--rim); display: flex; flex-direction: column; justify-content: flex-end; min-height: 11rem;
}
.tile > * { position: relative; }
.tile p { margin: 0; color: var(--muted); max-width: 34ch; }
.tile h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.tile::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.9; }
.t-fuel::before { background: radial-gradient(60% 90% at 100% 0%, var(--glow-a), transparent 70%); }
.t-rem::before { background: linear-gradient(160deg, var(--tile-hi), transparent 70%); }
.t-doc { background: color-mix(in srgb, var(--moss) 28%, var(--tile)); }
.t-doc::before { background: radial-gradient(70% 70% at 0% 100%, var(--glow-b), transparent 70%); }
.t-obd::before { background: radial-gradient(50% 80% at 100% 100%, var(--glow-a), transparent 70%); }
.t-com { background: var(--tile-hi); }
.t-share::before { background: radial-gradient(70% 90% at 0% 0%, var(--glow-a), transparent 70%); }
[dir="rtl"] .t-fuel::before { background: radial-gradient(60% 90% at 0% 0%, var(--glow-a), transparent 70%); }
[dir="rtl"] .t-share::before { background: radial-gradient(70% 90% at 100% 0%, var(--glow-a), transparent 70%); }
@media (min-width: 52rem) {
  .bento { grid-template-columns: repeat(12, 1fr); gap: 1.1rem; }
  .tile { min-height: 15rem; padding: 2rem 2rem 2.2rem; }
  .t-fuel { grid-column: span 8; } .t-rem { grid-column: span 4; }
  .t-doc { grid-column: span 4; } .t-obd { grid-column: span 8; }
  .t-com { grid-column: span 7; } .t-share { grid-column: span 5; }
}

.promise { margin-block: 4.5rem 2rem; padding: clamp(1.8rem, 5vw, 3.5rem); border-radius: calc(var(--r-tile) + 0.5rem); background: linear-gradient(160deg, var(--tile-hi), var(--tile) 60%, transparent); box-shadow: inset 0 1px 0 var(--rim); }
.promise h2 { margin-top: 0; font-size: clamp(1.6rem, 4vw, 2.3rem); }
.promise ul { list-style: none; padding: 0; margin: 1.5rem 0 1.5rem; display: grid; gap: 0.4rem; }
.promise li { font-size: clamp(1.2rem, 3.2vw, 1.75rem); line-height: 1.5; margin: 0; max-width: none; font-family: var(--font-display); font-weight: 560; }
.promise li + li { color: color-mix(in srgb, var(--ink) 72%, transparent); }
.promise li + li + li { color: color-mix(in srgb, var(--ink) 50%, transparent); }
.promise p { margin: 0; }

.closing { text-align: center; padding-block: 4.5rem 1.5rem; }
.closing h2 { margin: 0 0 1rem; font-size: clamp(1.8rem, 5vw, 2.8rem); }
.closing p { margin-inline: auto; }

/* ---------- Reading pages ---------- */
.panel { background: var(--tile); border-radius: var(--r-tile); padding: 0.4rem 1.6rem 1.4rem; margin-block: 1rem; box-shadow: inset 0 1px 0 var(--rim); }
.panel h2 { margin-top: 1.2rem; font-size: 1.25rem; }
.panel p, .panel ul, .panel ol { margin-block: 0.5rem 0; }
.panel .note { background: transparent; box-shadow: none; padding-inline: 0; }
.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 0.5rem; }
.steps li { counter-increment: step; position: relative; padding-inline-start: 2.6rem; margin: 0; }
.steps li::before {
  content: counter(step); position: absolute; inset-inline-start: 0; top: 0.2rem; width: 1.9rem; height: 1.9rem; border-radius: 50%; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); font-weight: 650; font-size: 0.95rem; line-height: 1;
}
.lead a { font-weight: 600; }
.code {
  display: block; font: 700 1.9rem/1.3 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.18em; direction: ltr; text-align: center;
  background: var(--tile); border-radius: var(--r-tile); padding: 1.2rem; margin-block: 1rem; box-shadow: inset 0 1px 0 var(--rim);
}
.center-card { text-align: center; }
.center-card .lead, .center-card p { margin-inline: auto; }

footer { padding-block: 2.5rem 2.5rem; color: var(--muted); font-size: 0.95rem; position: relative; }
footer::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--accent) 8%, transparent)); pointer-events: none; }
footer nav { position: relative; display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
footer a { display: inline-block; padding-block: 0.45rem; color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--ink); }
footer p { position: relative; margin: 0.4rem 0 0; }

/* Scroll reveal: only hidden when the script has run (so no script means everything shows). */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(1.75rem); filter: blur(6px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); }
  .js [data-reveal].in { opacity: 1; transform: none; filter: none; }
  .js .bento .tile:nth-child(2n) { transition-delay: 0.08s; }
}

/* ---------- Waitlist home (beta). Approved "odometer" mockup: gauge, big name, rotating word, stats, form. ---------- */
.wl { --red: #f07864; overflow-x: clip; }
body.wl::before { display: none; }        /* the moving sky below replaces the static aurora */
.sky { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.sky i { position: absolute; border-radius: 50%; filter: blur(40px); }
.sky .a1 { top: -10%; inset-inline-end: -15%; width: 70%; height: 55%; background: radial-gradient(circle, var(--glow-a), transparent 65%); }
.sky .a2 { top: 35%; inset-inline-start: -20%; width: 70%; height: 45%; background: radial-gradient(circle, var(--glow-b), transparent 65%); }
.sky .a3 { bottom: -10%; inset-inline-end: 5%; width: 60%; height: 40%; background: radial-gradient(circle, var(--glow-b), transparent 65%); }
.sky .streak { position: absolute; height: 2px; border-radius: 1px; opacity: 0; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 55%, transparent), transparent); }
.sky .s1 { top: 22%; left: 0; width: 55%; } .sky .s2 { top: 58%; left: 10%; width: 45%; height: 1px; } .sky .s3 { top: 84%; left: 0; width: 60%; }
@media (prefers-reduced-motion: no-preference) {
  .sky .a1 { animation: a1 22s ease-in-out infinite; } .sky .a2 { animation: a2 28s ease-in-out infinite; } .sky .a3 { animation: a3 34s ease-in-out infinite; }
  .sky .streak { animation: streak 7s cubic-bezier(.5, 0, .3, 1) infinite; } .sky .s2 { animation-delay: 2.6s; } .sky .s3 { animation-delay: 4.8s; }
  @keyframes a1 { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(-18%, 12%) scale(1.15); } 66% { transform: translate(10%, 22%) scale(.9); } }
  @keyframes a2 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(22%, -14%) scale(1.2); } }
  @keyframes a3 { 0%, 100% { transform: translate(0, 0) scale(1.1); } 50% { transform: translate(-20%, -18%) scale(.85); } }
  @keyframes streak { 0% { transform: translateX(130%) rotate(-14deg); opacity: 0; } 10% { opacity: 1; } 60%, 100% { transform: translateX(-160%) rotate(-14deg); opacity: 0; } }
}

.wl .brand img { width: 2.5rem; height: 2.5rem; }
.wl-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding-block: 0 3rem; text-align: center; }
.wl-gauge { display: grid; place-items: center; }
.wl-stats { order: 3; } .wl-shots { order: 4; } .wl-join { order: 5; }

/* Gauge: off (dim, grey) until tapped, then sweeps to 240 and settles at 10. Drawn in SVG units 0..400. */
.gauge { position: relative; width: min(20.6rem, 86vw); aspect-ratio: 1; border: 0; padding: 0; background: none; cursor: pointer; direction: ltr; color: inherit; -webkit-tap-highlight-color: transparent; border-radius: 50%; }
.gauge svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .28; filter: saturate(0); }
.g-orb { position: absolute; inset: 8%; border-radius: 50%; opacity: 0; background: radial-gradient(circle at 50% 55%, color-mix(in srgb, var(--moss) 60%, transparent), color-mix(in srgb, var(--moss) 25%, transparent) 45%, transparent 70%); }
.gauge.on svg { opacity: 1; filter: none; }
.gauge.on .g-orb { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .gauge svg { transition: opacity 1.2s ease, filter 1.2s ease; }
  .g-orb { transition: opacity 1.4s ease; }
  .gauge.on .g-orb { animation: orb 6s ease-in-out infinite; }
  @keyframes orb { 0%, 100% { transform: scale(1) translateY(0); } 50% { transform: scale(1.12) translateY(-10px); } }
}
.gauge circle, .gauge line { fill: none; }
.g-track { stroke: color-mix(in srgb, var(--ink) 8%, transparent); stroke-width: 6; }
.g-redzone { stroke: color-mix(in srgb, var(--red) 35%, transparent); stroke-width: 6; }
.g-lit { stroke: var(--accent); stroke-width: 6; filter: drop-shadow(0 0 6px color-mix(in srgb, var(--accent) 80%, transparent)); }
.tk-major { stroke: color-mix(in srgb, var(--ink) 85%, transparent); stroke-width: 3; stroke-linecap: round; }
.tk-minor { stroke: color-mix(in srgb, var(--ink) 35%, transparent); stroke-width: 1.6; stroke-linecap: round; }
.tk-red { stroke: color-mix(in srgb, var(--red) 90%, transparent); }
.gauge text { text-anchor: middle; font-family: var(--font); }
.num { fill: color-mix(in srgb, var(--ink) 75%, transparent); font-size: 15px; font-weight: 700; dominant-baseline: central; }
.num.red { fill: var(--red); }
.g-spd { fill: var(--ink); font-size: 46px; font-weight: 700; font-variant-numeric: tabular-nums; }
.g-unit { fill: var(--muted); font-size: 14px; font-weight: 600; }
.g-odo { fill: var(--accent); font: 700 15px ui-monospace, Menlo, monospace; letter-spacing: 2px; opacity: 0; }
.gauge.on .g-odo { opacity: 1; }
html[lang="ar"] .gauge tspan[lang="en"], html[lang="en"] .gauge tspan[lang="ar"] { display: none; }
.g-needle { fill: var(--ink); filter: drop-shadow(0 0 6px color-mix(in srgb, var(--accent) 90%, transparent)); }
.g-tip { fill: var(--red); }
.g-hub { fill: color-mix(in srgb, var(--moss) 45%, var(--bg)); stroke: color-mix(in srgb, var(--accent) 50%, transparent); stroke-width: 2; }
.g-dot { fill: var(--accent); }

.wl-title h1 { font-size: clamp(3.5rem, 16vw, 8.25rem); line-height: 1; font-weight: 700; margin: 0.25rem 0 0; }
.wl-word { font-family: var(--font-display); font-size: clamp(1.5rem, 6.4vw, 2.6rem); font-weight: 650; margin: 1.1rem auto 0; min-height: 1.5em; max-width: none; line-height: 1.4; }
.wl-word .word { display: inline-block; color: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .wl-word .word.swap { animation: wordIn .42s cubic-bezier(.2, .8, .2, 1) both; }
  @keyframes wordIn { from { opacity: 0; filter: blur(8px); transform: translateY(14px) scale(.9); } to { opacity: 1; filter: none; transform: none; } }
}
.wl-sub { color: var(--muted); margin: 0.5rem auto 0; font-size: clamp(1rem, 2.4vw, 1.2rem); }
.wl-jump { margin-top: 1.4rem; gap: 0.5rem; }
.wl-jump .down { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

.wl-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem; margin-top: 2.5rem; }
.stat { background: var(--tile); box-shadow: inset 0 1px 0 var(--rim); border-radius: 1.6rem; padding: 1rem; display: flex; flex-direction: column; gap: 0.35rem; -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
.stat .t { font-size: 0.85rem; color: var(--muted); }
.stat .v { font-size: 1.75rem; font-weight: 700; line-height: 1.3; font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
html[lang="ar"] .stat .v { direction: rtl; }
.stat small { font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.stat .bar { height: 4px; border-radius: 2px; background: color-mix(in srgb, var(--ink) 8%, transparent); overflow: hidden; }
.stat .bar i { display: block; height: 100%; border-radius: 2px; background: var(--accent); transform-origin: right center; transform: scaleX(var(--p)); }
[dir="ltr"] .stat .bar i { transform-origin: left center; }
.s1 { --p: .62; } .s2 { --p: .74; } .s3 { --p: .45; } .s4 { --p: .9; }
@media (prefers-reduced-motion: no-preference) {
  .js .wl-stats .bar i { transform: scaleX(0); transition: transform 1.4s cubic-bezier(.16, 1, .3, 1); }
  .js .wl-stats.in .bar i { transform: scaleX(var(--p)); }
  .s2 .bar i { transition-delay: .1s; } .s3 .bar i { transition-delay: .2s; } .s4 .bar i { transition-delay: .3s; }
}

.wl-shots { display: flex; justify-content: center; gap: 1.5rem; margin-top: 2.2rem; }
.shot { width: 14.4rem; aspect-ratio: 230 / 470; border-radius: 2.5rem; background: color-mix(in srgb, var(--moss) 18%, var(--tile)); box-shadow: inset 0 1px 0 var(--rim), var(--shadow); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; color: var(--muted); font-size: 0.85rem; }
.shot svg { width: 1.75rem; height: 1.75rem; fill: none; stroke: var(--accent); stroke-width: 1.8; }
.shot.more { display: none; }

.wl-join { margin-top: 2.2rem; scroll-margin-top: 1.5rem; background: var(--tile); box-shadow: inset 0 1px 0 var(--rim); border-radius: 1.9rem; padding: 1.4rem 1.1rem; -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
.wl-join h2 { margin: 0; font-size: 1.3rem; }
.wl-perk { color: var(--muted); margin: 0.2rem auto 0; font-size: 0.95rem; }
.wl-count { margin: 0.4rem auto 0; color: var(--accent); font-weight: 600; font-size: 0.95rem; }
.wl-fields { display: grid; gap: 0.75rem; margin-top: 1rem; }
.wl-fields input { width: 100%; height: 3.25rem; border: 0; border-radius: 1.1rem; background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink); padding: 0 1rem; font: 500 1rem var(--font); outline: none; }
.wl-fields input::placeholder { color: color-mix(in srgb, var(--ink) 40%, transparent); }
.wl-fields input:focus-visible { box-shadow: 0 0 0 2px var(--accent); }
.wl-fields input[aria-invalid="true"] { box-shadow: 0 0 0 2px var(--red); }
.wl-fields input[type="email"] { direction: ltr; }
html[lang="ar"] .wl-fields input[type="email"]:placeholder-shown { direction: rtl; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.wl-err { color: var(--red); margin: 0.6rem auto 0; font-size: 0.95rem; }
.wl-err [data-e] { display: none; }
.wl-err[data-show="email"] [data-e="email"], .wl-err[data-show="car"] [data-e="car"], .wl-err[data-show="net"] [data-e="net"] { display: inline; }
.wl-submit { border: 0; font: inherit; font-weight: 650; cursor: pointer; width: 100%; justify-content: center; margin: 1rem 0 0; min-height: 3.4rem; font-size: 1.05rem; }
.wl-submit[disabled] { opacity: .6; }
.wl-done { padding-block: 1rem; outline: none; }
.wl-done svg { width: 2.5rem; height: 2.5rem; fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.wl-done h2 { margin: 0.4rem 0 0.2rem; font-size: 1.4rem; }
.wl-done p { margin: 0 auto; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .wl-done:not([hidden]) { animation: pop .5s cubic-bezier(.3, 1.5, .5, 1) both; }
  @keyframes pop { from { transform: scale(.5); opacity: 0; } to { transform: none; opacity: 1; } }
}

.wl-foot { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.4rem; }
.wl-foot::before { display: none; }
.wl-foot img { border-radius: 22.5%; position: relative; }
.wl-foot nav { justify-content: center; }

/* Desktop: name, word and form on one side, the big gauge on the other; stats and three screenshots below. */
@media (min-width: 60rem) {
  .wl-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "title gauge" "join gauge" "stats stats" "shots shots"; column-gap: 4rem; text-align: start; align-items: center; padding-top: 2rem; }
  .wl-title { grid-area: title; align-self: end; } .wl-gauge { grid-area: gauge; } .wl-join { grid-area: join; align-self: start; margin-top: 1.8rem; }
  .wl-stats { grid-area: stats; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 4rem; }
  .wl-shots { grid-area: shots; margin-top: 3.5rem; gap: 2rem; }
  .gauge { width: min(33.75rem, 42vw); }
  .wl-title h1 { font-size: clamp(5rem, 9vw, 8.25rem); }
  .wl-word, .wl-sub, .wl-perk, .wl-count, .wl-err, .wl-done p { margin-inline: 0; }
  .wl-jump { display: none; }
  .wl-fields { grid-template-columns: 1fr 1fr; }
  .wl-join { max-width: 34rem; text-align: start; }
  .shot.more { display: flex; }
  .stat { padding: 1.3rem; } .stat .v { font-size: 2rem; }
}
