/* hypestride.app. Tokens are the app's two skins (src/constants/themes.ts):
   dark by default, light when the system asks for it, and either one when
   site.js has put the visitor's choice on <html data-theme>. */
@font-face { font-family: 'Sora'; font-weight: 600; font-display: swap; src: url('fonts/sora-600.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 500; font-display: swap; src: url('fonts/manrope-500.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 600; font-display: swap; src: url('fonts/manrope-600.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 700; font-display: swap; src: url('fonts/manrope-700.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 800; font-display: swap; src: url('fonts/manrope-800.woff2') format('woff2'); }

:root {
  color-scheme: dark;
  --bg: #0C0D10; --surface: #15171C; --card: #1E2128; --band: #0A0B0E;
  --line: rgba(255,255,255,0.08); --line2: rgba(255,255,255,0.14);
  --text: #F2F3F5; --muted: #A3A8B0; --dim: #8B9098;
  --mint: #5FD3BC; --mint-text: #5FD3BC; --ink: #07110E;
  --mint-soft: rgba(95,211,188,0.12); --mint-line: rgba(95,211,188,0.3); --mint-glow: rgba(95,211,188,0.2);
  --hi-bg: #D7EFE8; --hi-fg: #0E1513; --hi-muted: #4E6660; --hi-btn: #0E1513; --hi-btn-fg: #D7EFE8; --hi-mint: #1C7F6B;
  --warn-bg: rgba(255,179,0,0.08); --warn-line: rgba(255,179,0,0.25); --warn-text: #FFB300;
  --chip: #1C1F25; --shadow: 0 20px 40px -18px rgba(0,0,0,0.9);
  --time: #F2D24B; --time-soft: rgba(242,210,75,0.14); --heart: #FF8A5C;
  --display: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --track: -0.03em;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --bg: #EEEDE8; --surface: #FFFFFF; --card: #F3F2EE; --band: #E5E4DE;
    --line: rgba(0,0,0,0.08); --line2: rgba(0,0,0,0.14);
    --text: #15171A; --muted: #4A4F57; --dim: #62676F;
    --mint: #3FC4A9; --mint-text: #157A65; --ink: #06110E;
    --mint-soft: rgba(63,196,169,0.14); --mint-line: rgba(21,122,101,0.35); --mint-glow: rgba(63,196,169,0.22);
    --hi-bg: #15171A; --hi-fg: #F2F3F5; --hi-muted: #A7ADB6; --hi-btn: #5FD3BC; --hi-btn-fg: #06110E; --hi-mint: #5FD3BC;
    --warn-bg: rgba(255,149,0,0.1); --warn-line: rgba(163,84,0,0.3); --warn-text: #A35400;
    --chip: #FFFFFF; --shadow: 0 20px 40px -20px rgba(20,20,32,0.35);
    --time: #7D6608; --time-soft: rgba(125,102,8,0.12); --heart: #B93C0A;
  }
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #EEEDE8; --surface: #FFFFFF; --card: #F3F2EE; --band: #E5E4DE;
  --line: rgba(0,0,0,0.08); --line2: rgba(0,0,0,0.14);
  --text: #15171A; --muted: #4A4F57; --dim: #62676F;
  --mint: #3FC4A9; --mint-text: #157A65; --ink: #06110E;
  --mint-soft: rgba(63,196,169,0.14); --mint-line: rgba(21,122,101,0.35); --mint-glow: rgba(63,196,169,0.22);
  --hi-bg: #15171A; --hi-fg: #F2F3F5; --hi-muted: #A7ADB6; --hi-btn: #5FD3BC; --hi-btn-fg: #06110E; --hi-mint: #5FD3BC;
  --warn-bg: rgba(255,149,0,0.1); --warn-line: rgba(163,84,0,0.3); --warn-text: #A35400;
  --chip: #FFFFFF; --shadow: 0 20px 40px -20px rgba(20,20,32,0.35);
  --time: #7D6608; --time-soft: rgba(125,102,8,0.12); --heart: #B93C0A;
}
/* Arabic has no glyphs in Sora or Manrope; the system's Arabic face takes
   over, and negative tracking would pull the joined letters apart. */
:root:lang(ar) {
  --display: 'Sora', 'Geeza Pro', 'Noto Sans Arabic', 'Segoe UI', Tahoma, system-ui, sans-serif;
  --body: 'Manrope', 'Geeza Pro', 'Noto Sans Arabic', 'Segoe UI', Tahoma, system-ui, sans-serif;
  --track: 0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body { background: var(--bg); color: var(--text); font-family: var(--body); font-weight: 500; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible, label:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; border-radius: 8px; }
img { max-width: 100%; }
.wrap { max-width: 1200px; margin-inline: auto; padding-inline: 32px; }
svg.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[dir="rtl"] svg.i.dir { transform: scaleX(-1); }
.mint { color: var(--mint-text); }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 10; padding: 10px 16px; border-radius: 12px; background: var(--mint); color: var(--ink); font-weight: 700; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Nav */
.nav { display: flex; align-items: center; gap: 28px; height: 76px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -0.3px; flex: none; }
.brand svg { width: 34px; height: 34px; }
.links { display: flex; gap: 26px; margin-inline-start: 24px; font-size: 14.5px; font-weight: 600; color: var(--muted); }
.links a:hover, .links a[aria-current] { color: var(--text); }
.navr { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.iconbtn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--text); cursor: pointer; font: inherit; }
.iconbtn svg.i { width: 19px; height: 19px; }
.theme .sun { display: none; }
:root:not([data-theme="light"]) .theme .sun { display: block; }
:root:not([data-theme="light"]) .theme .moon { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .theme .sun { display: none; }
  :root:not([data-theme="dark"]) .theme .moon { display: block; }
}
.theme[hidden] { display: none; }
details.pop { position: relative; }
details.pop > summary { list-style: none; cursor: pointer; }
details.pop > summary::-webkit-details-marker { display: none; }
.langbtn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding-inline: 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 800; letter-spacing: 0.04em; }
.langbtn svg.i { width: 17px; height: 17px; color: var(--muted); }
.menu-list { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 20; min-width: 190px; padding: 6px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line2); box-shadow: var(--shadow); display: grid; }
.menu-list a { padding: 10px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 600; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; }
.menu-list a:hover { background: var(--card); color: var(--text); }
.menu-list a[aria-current] { color: var(--text); background: var(--card); }
.menu-list a small { color: var(--dim); font-weight: 800; font-size: 11.5px; letter-spacing: 0.06em; }
.mnav { display: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 15px; white-space: nowrap; border: 0; cursor: pointer; font-family: inherit; }
.btn.sm { min-height: 38px; padding: 0 16px; font-size: 13.5px; }
.btn.pri { background: var(--mint); color: var(--ink); }
.btn.gho { background: var(--surface); border: 1px solid var(--line2); color: var(--text); }
.btn.dark { background: var(--hi-btn); color: var(--hi-btn-fg); }
.btn svg.i { width: 18px; height: 18px; }

/* Type */
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mint-text); }
:root:lang(ar) .eyebrow { letter-spacing: 0; font-size: 13.5px; }
h1, h2, .d { font-family: var(--display); font-weight: 600; letter-spacing: var(--track); }
h1 { font-size: 64px; line-height: 1.04; }
h2 { font-size: 44px; line-height: 1.1; }
:root:lang(ar) h1, :root:lang(ar) h2 { line-height: 1.3; }
.lead { font-size: 19px; color: var(--muted); max-width: 52ch; }
.eyebrow + h1, .eyebrow + h2 { margin-top: 12px; }
.eyebrow + h1 + .lead, .eyebrow + h2 + .lead { margin-top: 16px; }
svg.ring .arc, svg.bigring .arc { stroke: var(--mint); stroke-opacity: 0.22; }
svg.ring .hub, svg.bigring .hub { fill: var(--mint); fill-opacity: 0.22; }
.after { margin-top: 18px; }
section.block.tight { padding-top: 88px; }
.soon { display: inline-flex; align-items: center; gap: 8px; padding-block: 6px; padding-inline: 10px 14px; border-radius: 999px; background: var(--mint-soft); border: 1px solid var(--mint-line); color: var(--mint-text); font-size: 13px; font-weight: 700; }
.soon::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px var(--mint-glow); flex: none; }

/* Store badges: placeholders until the listings are live. Black in both skins, like the official ones. */
.badges { display: flex; flex-wrap: wrap; gap: 12px; }
.badge { display: flex; align-items: center; gap: 10px; height: 56px; padding-inline: 16px 20px; border-radius: 14px; background: #000; color: #fff; border: 1px solid rgba(255,255,255,0.16); }
a.badge:hover { border-color: rgba(255,255,255,0.42); }
.badge svg { width: 24px; height: 24px; flex: none; }
.badge small { display: block; font-size: 11px; color: #A3A8B0; font-weight: 600; line-height: 1.2; }
.badge b { display: block; font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: -0.2px; line-height: 1.2; }

/* Phone frame around a real app screenshot */
.phone { --w: 270px; width: var(--w); aspect-ratio: 1206 / 2622; padding: calc(var(--w) * 0.032); border-radius: calc(var(--w) * 0.155); background: #040506; border: 1px solid rgba(255,255,255,0.13); box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6), 0 0 0 6px rgba(127,127,127,0.06); flex: none; }
.phone img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: calc(var(--w) * 0.125); background: #0C0D10; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 32px; align-items: center; padding: 72px 0 64px; }
.hero h1 { margin: 22px 0; }
.hero .badges { margin-top: 34px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px; color: var(--dim); font-size: 13.5px; font-weight: 600; }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust svg.i { width: 16px; height: 16px; color: var(--mint-text); }
.stage { position: relative; height: 640px; }
.stage .ring { position: absolute; left: 50%; top: 50%; width: 600px; height: 600px; transform: translate(-50%, -50%); }
.stage .glow { position: absolute; inset: 10% 8%; border-radius: 50%; background: radial-gradient(circle, var(--mint-glow), transparent 65%); }
.stage .p1 { position: absolute; inset-inline-start: 6%; top: 70px; transform: rotate(-7deg); --w: 250px; }
[dir="rtl"] .stage .p1 { transform: rotate(7deg); }
.stage .p2 { position: absolute; inset-inline-end: 8%; top: 18px; --w: 280px; }
.chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 11px 15px; border-radius: 16px; background: var(--chip); border: 1px solid var(--line2); box-shadow: var(--shadow); font-size: 13px; font-weight: 600; white-space: nowrap; }
.chip .dot { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.chip .dot svg.i { width: 17px; height: 17px; }
.chip .dot.t { background: var(--time-soft); color: var(--time); }
.chip .dot.m { background: var(--hi-bg); color: var(--hi-fg); }
.chip small { display: block; color: var(--dim); font-size: 11.5px; font-weight: 600; }
.chip b { font-weight: 700; }
.c1 { inset-inline-start: -2%; bottom: 96px; }
.c2 { inset-inline-end: -4%; bottom: 40px; max-width: 290px; white-space: normal; }

/* Numbers strip */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.strip div { padding: 30px 28px; border-inline-start: 1px solid var(--line); }
.strip div:first-child { border-inline-start: 0; padding-inline-start: 0; }
.strip b { display: block; font-family: var(--display); font-weight: 600; font-size: 40px; letter-spacing: var(--track); line-height: 1.1; }
.strip span { color: var(--muted); font-size: 14px; }

/* Feature rows */
section.block { padding: 112px 0 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.row.flip .txt { order: 2; }
.row h2 { margin: 14px 0 18px; }
.ticks { list-style: none; display: grid; gap: 14px; margin-top: 30px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.ticks li svg.i { color: var(--mint-text); width: 20px; height: 20px; margin-top: 2px; }
.pill { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; padding: 2px 7px; border-radius: 6px; background: var(--mint-soft); color: var(--mint-text); margin-inline-start: 6px; vertical-align: 2px; white-space: nowrap; }
.pane { position: relative; isolation: isolate; display: flex; justify-content: center; align-items: flex-start; gap: 24px; }
.pane::before { content: ''; position: absolute; z-index: -1; inset: 6% -4%; border-radius: 50%; background: radial-gradient(closest-side, var(--mint-glow), transparent); }
.pane .phone { --w: 250px; }
.pane .phone.low { margin-top: 70px; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.trio .cell { border-radius: 28px; background: var(--surface); border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; }
.trio .cell h3 { font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.trio .cell h3 svg.i { color: var(--mint-text); }
.trio .cell p { color: var(--muted); font-size: 14.5px; margin-top: 6px; }
.trio .cell .phone { --w: 220px; margin: auto auto 0; }
.trio .cell p { margin-bottom: 28px; }
.center { text-align: center; }
.center .lead { margin: 16px auto 0; }
.center h2 { margin-top: 14px; }
.more { display: inline-flex; align-items: center; gap: 6px; color: var(--mint-text); font-weight: 700; }
.more svg.i { width: 18px; height: 18px; }

/* AI band */
.ai { margin-top: 112px; padding: 96px 0; background: radial-gradient(60% 80% at 80% 40%, var(--mint-soft), transparent 70%), var(--band); border-block: 1px solid var(--line); }
.ai .row { gap: 56px; }
.minis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px; }
.mini { padding: 18px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.mini svg.i { color: var(--mint-text); }
.mini b { display: block; font-size: 15px; margin-top: 10px; }
.mini > span { color: var(--muted); font-size: 13.5px; display: block; margin-top: 2px; }
.q { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.tag { display: inline-flex; font-size: 11px; font-weight: 800; letter-spacing: 0.04em; padding: 3px 8px; border-radius: 7px; background: var(--card); color: var(--muted); white-space: nowrap; }
.tag.pro { background: var(--mint-soft); color: var(--mint-text); }
.tag.aip { background: var(--hi-bg); color: var(--hi-fg); }
.note { color: var(--dim); font-size: 13px; margin-top: 18px; display: flex; gap: 8px; align-items: flex-start; }
.note svg.i { width: 16px; height: 16px; margin-top: 2px; }
.ai .more { margin-top: 22px; }

/* Highlight: the app's one inverted card */
.hl { margin-top: 112px; background: var(--hi-bg); color: var(--hi-fg); border-radius: 32px; padding: 40px 44px; display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center; }
.hl svg.i { width: 48px; height: 48px; stroke-width: 1.6; }
.hl h3 { font-family: var(--display); font-weight: 600; font-size: 28px; letter-spacing: var(--track); }
.hl p { color: var(--hi-muted); font-weight: 600; margin-top: 4px; }

/* Plans */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; align-items: stretch; }
.tier { position: relative; border-radius: 28px; padding: 30px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.tier .nm { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; }
.tier .ds { color: var(--muted); font-size: 14px; margin-top: 4px; }
.tier .pr { margin-top: 22px; font-family: var(--display); font-weight: 600; font-size: 46px; letter-spacing: -0.04em; line-height: 1; }
:root:lang(ar) .tier .pr { letter-spacing: 0; }
.tier .pr small { font-family: var(--body); font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-inline-start: 4px; }
.tier .yr { font-size: 13.5px; color: var(--muted); margin-top: 10px; min-height: 21px; }
.tier .yr b { color: var(--mint-text); font-weight: 700; }
.tier ul { list-style: none; display: grid; gap: 11px; margin: 24px 0 28px; font-size: 14.5px; }
.tier li { display: flex; gap: 10px; }
.tier li svg.i { width: 18px; height: 18px; color: var(--mint-text); margin-top: 2px; }
.tier li.h { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
:root:lang(ar) .tier li.h { letter-spacing: 0; font-size: 13px; }
.tier .btn { margin-top: auto; width: 100%; }
.tier.best { background: var(--hi-bg); color: var(--hi-fg); border-color: transparent; }
.tier.best .ds, .tier.best .yr, .tier.best .pr small, .tier.best li.h { color: var(--hi-muted); }
.tier.best li svg.i, .tier.best .yr b { color: var(--hi-mint); }
.ribbon { position: absolute; top: 22px; inset-inline-end: 22px; font-size: 12px; font-weight: 800; padding: 6px 11px; border-radius: 999px; background: var(--hi-btn); color: var(--hi-btn-fg); }
.tier.compact ul { margin-bottom: 22px; }
.buynote { color: var(--dim); font-size: 13.5px; margin-top: 16px; display: flex; gap: 8px; align-items: flex-start; justify-content: center; text-align: center; }
.buynote svg.i { width: 16px; height: 16px; margin-top: 2px; color: var(--mint-text); }
/* Monthly or yearly, picked by two radios; no script needed. */
.period { position: absolute; opacity: 0; pointer-events: none; }
.toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); margin-top: 30px; font-weight: 700; font-size: 14px; }
.toggle label { padding: 9px 18px; border-radius: 999px; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; cursor: pointer; }
.toggle .save { font-size: 11px; padding: 2px 7px; border-radius: 6px; background: var(--mint-soft); color: var(--mint-text); white-space: nowrap; }
#pm:checked ~ .phead .toggle label[for="pm"], #py:checked ~ .phead .toggle label[for="py"] { background: var(--card); color: var(--text); }
#pm:focus-visible ~ .phead .toggle label[for="pm"], #py:focus-visible ~ .phead .toggle label[for="py"] { outline: 2px solid var(--mint); }
.y { display: none; }
#py:checked ~ .tiers .m { display: none; }
#py:checked ~ .tiers .y { display: block; }
#py:checked ~ .tiers .btn.y { display: inline-flex; }
.fine { color: var(--dim); font-size: 13.5px; margin-top: 22px; max-width: 100ch; display: grid; gap: 8px; }

/* Athletes */
.ath { margin-top: 112px; border-radius: 32px; border: 1px solid var(--line); background: linear-gradient(135deg, var(--surface), var(--bg)); display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; padding: 48px; align-items: center; }
.ath h2 { font-size: 36px; margin: 12px 0 14px; }
.ath .badges { margin-top: 26px; }
.ath.top { margin-top: 56px; }
.ath h1 { font-size: 48px; margin: 12px 0 14px; }
.pagehero { padding-top: 72px; }
.pagehero .note { margin-top: 22px; }
.dash { border-radius: 24px; background: var(--bg); border: 1px solid var(--line2); padding: 22px; }
.dash .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); font-weight: 700; }
.dash .big { font-family: var(--display); font-weight: 600; font-size: 40px; letter-spacing: var(--track); margin-top: 8px; }
.dash .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.dash .grid div { background: var(--surface); border-radius: 14px; padding: 12px; }
.dash .grid b { display: block; font-family: var(--display); font-weight: 600; font-size: 20px; }
.dash .grid span { color: var(--dim); font-size: 12px; font-weight: 600; }
.dash .code { margin-top: 12px; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px dashed var(--mint-line); font-weight: 700; font-size: 14px; }
.dash .code span { color: var(--mint-text); font-family: var(--display); letter-spacing: 0.06em; }
.illus { font-size: 11.5px; color: var(--dim); margin-top: 10px; text-align: end; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; counter-reset: s; }
.step { padding: 26px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); counter-increment: s; }
.step::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--mint-soft); color: var(--mint-text); font-weight: 800; }
.step b { display: block; margin-top: 14px; font-size: 17px; }
.step p { color: var(--muted); font-size: 14.5px; margin-top: 6px; }

/* FAQ */
.faq { display: grid; gap: 10px; margin-top: 36px; }
.faq.narrow { max-width: 860px; margin-inline: auto; }
.qa { border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.qa summary { display: flex; justify-content: space-between; gap: 16px; font-weight: 700; font-size: 16.5px; align-items: center; padding: 20px 24px; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { width: 30px; height: 30px; border-radius: 50%; background: var(--card); display: grid; place-items: center; font-style: normal; color: var(--mint-text); font-size: 18px; flex: none; transition: transform .2s; }
.qa[open] summary i { transform: rotate(45deg); }
.qa .a { color: var(--muted); padding: 0 24px 20px; font-size: 15px; max-width: 80ch; display: grid; gap: 8px; }
.qa .a a { color: var(--mint-text); font-weight: 700; }
.qa[open] { border-color: var(--mint-line); }

/* Final call to action */
.cta { margin-top: 112px; position: relative; overflow: hidden; border-radius: 36px; padding: 64px; background: radial-gradient(80% 120% at 100% 50%, var(--mint-glow), transparent 60%), var(--card); border: 1px solid var(--line); }
[dir="rtl"] .cta { background: radial-gradient(80% 120% at 0% 50%, var(--mint-glow), transparent 60%), var(--card); }
.cta > * { position: relative; }
.cta h2 { max-width: 16ch; margin-top: 18px; }
.cta .lead { margin-top: 14px; }
.cta .badges { margin-top: 30px; }
.cta svg.bigring { position: absolute; inset-inline-end: -60px; top: 50%; transform: translateY(-50%); width: 440px; height: 440px; }

/* Footer */
footer { margin-top: 96px; border-top: 1px solid var(--line); padding: 56px 0 44px; }
.fcols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.fcols h2 { font-family: var(--body); font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; line-height: 1.4; }
:root:lang(ar) .fcols h2 { letter-spacing: 0; }
.fcols a { display: block; color: var(--muted); font-size: 14.5px; margin-bottom: 9px; }
.fcols a:hover { color: var(--text); }
.fcols a.brand { display: flex; color: var(--text); }
.fcols p { color: var(--muted); font-size: 14px; margin-top: 14px; max-width: 30ch; }
.fbot { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* Inner page header */
.phead { padding: 80px 0 24px; }
.phead h1 { font-size: 60px; margin-top: 14px; max-width: 20ch; }
.phead.center h1 { margin-inline: auto; }
.phead .lead { margin-top: 18px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.tabs a { padding: 9px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; }
.tabs a:hover { color: var(--text); border-color: var(--line2); }
.tabs svg.i { width: 16px; height: 16px; color: var(--mint-text); }

/* Features page */
.fsec { display: grid; grid-template-columns: 340px 1fr; gap: 48px; padding: 64px 0; border-top: 1px solid var(--line); scroll-margin-top: 12px; }
.fsec.first { border-top: 0; }
.fsec.plain { display: block; }
.fsec.plain h2 { font-size: 34px; }
.fsec .side h2 { font-size: 34px; margin-top: 12px; }
.fsec .side p { color: var(--muted); margin-top: 12px; font-size: 15.5px; }
.fsec.shot { grid-template-columns: minmax(0, 1fr) 280px; grid-template-areas: "side shot" "grid shot"; gap: 32px 64px; align-content: center; }
.fsec.shot.flip { grid-template-columns: 280px minmax(0, 1fr); grid-template-areas: "shot side" "shot grid"; }
.fsec.shot .side { grid-area: side; max-width: 62ch; }
.fsec.shot .fgrid { grid-area: grid; }
.fshot { grid-area: shot; align-self: center; justify-self: center; position: relative; isolation: isolate; }
.fshot::before { content: ''; position: absolute; z-index: -1; inset: 4% -30%; border-radius: 50%; background: radial-gradient(closest-side, var(--mint-glow), transparent); }
.fshot .phone { --w: 260px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }
.fi { padding: 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.fi .t { display: flex; align-items: center; gap: 10px; }
.fi .t .ic { width: 38px; height: 38px; border-radius: 12px; background: var(--mint-soft); color: var(--mint-text); display: grid; place-items: center; flex: none; }
.fi .t b { font-size: 16px; }
.fi .t .tag { margin-inline-start: auto; }
.fi p { color: var(--muted); font-size: 14.5px; margin-top: 10px; }
.devices { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 28px; }
.dv { padding: 22px 18px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); text-align: center; }
.dv svg.i { width: 28px; height: 28px; color: var(--mint-text); }
.dv b { display: block; margin-top: 10px; font-size: 15px; }
.dv span { color: var(--dim); font-size: 13px; }

/* Comparison table */
.cmpwrap { margin-top: 30px; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
table.cmp { width: 100%; border-collapse: collapse; font-size: 15px; }
.cmp th, .cmp td { padding: 15px 22px; text-align: center; border-bottom: 1px solid var(--line); }
.cmp th:first-child, .cmp td:first-child { text-align: start; }
.cmp thead th { background: var(--surface); font-family: var(--display); font-weight: 600; font-size: 17px; }
.cmp thead th.best { background: var(--hi-bg); color: var(--hi-fg); }
.cmp td.best { background: var(--mint-soft); }
.cmp tr.grp th { background: var(--bg); color: var(--dim); font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; padding-top: 22px; text-align: start; font-family: var(--body); }
:root:lang(ar) .cmp tr.grp th { letter-spacing: 0; }
.cmp tbody th { font-weight: 500; text-align: start; }
.cmp td svg.i { width: 20px; height: 20px; color: var(--mint-text); vertical-align: middle; }
.cmp .no { display: inline-block; width: 12px; height: 2px; border-radius: 1px; background: var(--line2); vertical-align: middle; }
.cmp td small { color: var(--muted); font-weight: 700; font-size: inherit; }
.cmp tr:last-child td, .cmp tr:last-child th { border-bottom: 0; }

/* Support page */
.sup { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: end; padding: 80px 0 40px; }
.sup h1 { margin-top: 14px; }
.sup .lead { margin-top: 18px; }
.contact { border-radius: 28px; background: var(--hi-bg); color: var(--hi-fg); padding: 32px; }
.contact small { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--hi-muted); }
.contact .em { display: block; font-family: var(--display); font-weight: 600; font-size: 30px; letter-spacing: var(--track); margin-top: 6px; overflow-wrap: anywhere; direction: ltr; text-align: start; unicode-bidi: isolate; }
.contact p { color: var(--hi-muted); font-weight: 600; margin-top: 6px; }
.contact .btn { margin-top: 22px; }
.tasks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.task { padding: 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); display: block; }
.task:hover { border-color: var(--line2); }
.task svg.i { color: var(--mint-text); width: 26px; height: 26px; }
.task b { display: block; margin-top: 14px; font-size: 16px; }
.task span { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; }
.task .go { color: var(--mint-text); font-weight: 700; font-size: 13.5px; margin-top: 12px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.box { padding: 28px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); scroll-margin-top: 12px; }
.box h2, .box h3 { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; line-height: 1.25; }
.box ol { margin-top: 16px; display: grid; gap: 12px; list-style: none; counter-reset: n; }
.box ol li { display: flex; gap: 12px; font-size: 15px; counter-increment: n; }
.box ol li::before { content: counter(n); width: 26px; height: 26px; border-radius: 50%; background: var(--card); color: var(--mint-text); display: grid; place-items: center; font-size: 13px; font-weight: 800; flex: none; }
.box > p { color: var(--muted); margin-top: 12px; font-size: 15px; }
.box > p a, .fine a { color: var(--mint-text); font-weight: 700; }
.box.solo { margin-top: 16px; }
.box .ticks { margin-top: 18px; }
.box .btn { margin-top: 18px; }
.box .stores { margin-top: 10px; }
.box > p.addr { margin-top: 14px; font-size: 22px; color: var(--text); direction: ltr; text-align: start; unicode-bidi: isolate; overflow-wrap: anywhere; }
.warn { margin-top: 16px; padding: 12px 14px; border-radius: 14px; background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--warn-text); font-size: 14px; font-weight: 600; display: flex; gap: 10px; }
.warn svg.i { width: 18px; height: 18px; }
.store { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.store:first-of-type { border-top: 0; }
.store .g { width: 40px; height: 40px; border-radius: 12px; background: var(--card); display: grid; place-items: center; flex: none; color: var(--mint-text); }
.store .g svg { width: 20px; height: 20px; }
.store b { font-size: 15px; }
.store div > span { display: block; color: var(--muted); font-size: 14px; }
.store a { color: var(--mint-text); font-weight: 700; }
.path { font-weight: 700; color: var(--text); }
.faqwrap { display: grid; grid-template-columns: 240px 1fr; gap: 32px; margin-top: 36px; align-items: start; }
.cats { display: grid; gap: 6px; position: sticky; top: 16px; }
.cats a { padding: 11px 16px; border-radius: 14px; font-weight: 700; font-size: 14.5px; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; border: 1px solid transparent; }
.cats a:hover { background: var(--surface); color: var(--text); border-color: var(--line); }
.cats a i { font-style: normal; color: var(--dim); font-size: 13px; }
.faqgroups { display: grid; gap: 34px; }
.faqgroups h3 { font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -0.02em; scroll-margin-top: 12px; }
.faqgroups .faq { margin-top: 14px; }
.docs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }
.doc { padding: 20px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); display: block; }
.doc:hover { border-color: var(--line2); }
.doc b { font-size: 15.5px; }
.doc b::after { content: ' \2192'; color: var(--mint-text); }
[dir="rtl"] .doc b::after { content: ' \2190'; }
.doc span { display: block; color: var(--muted); font-size: 13.5px; margin-top: 4px; }

/* AI Coach page */
.sees { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px; }
.sees .fi p { margin-top: 8px; }
.callout { margin-top: 16px; padding: 22px 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); display: grid; gap: 8px; font-size: 15px; }
.callout b { color: var(--text); }

/* Legal documents. The texts are the ones the app shows; both languages are
   on every page and the address fragment (#tr, #en) picks one. */
.legal { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; padding: 56px 0 0; align-items: start; }
.legal aside { position: sticky; top: 16px; display: grid; gap: 4px; }
.legal aside h2 { font-family: var(--body); font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }
:root:lang(ar) .legal aside h2 { letter-spacing: 0; }
.legal aside a { padding: 9px 12px; border-radius: 12px; font-weight: 700; font-size: 14.5px; color: var(--muted); }
.legal aside a:hover { color: var(--text); background: var(--surface); }
.legal aside a[aria-current] { color: var(--text); background: var(--surface); border: 1px solid var(--line); }
.doclangs { color: var(--dim); font-size: 13.5px; font-weight: 600; margin-bottom: 28px; }
.legal .docs-body article { display: none; scroll-margin-top: 200px; }
.legal .docs-body article.default { display: block; }
.legal .docs-body:has(article:target) article { display: none; }
.legal .docs-body:has(article:target) article:target { display: block; }
.legal article { max-width: 760px; line-height: 1.7; }
.legal article h1.page-title { font-family: var(--display); font-size: 40px; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 8px; }
.legal article .last-updated { font-size: 13.5px; color: var(--dim); margin-bottom: 36px; }
.legal article h2 { font-family: var(--display); font-size: 21px; line-height: 1.3; letter-spacing: -0.01em; margin: 40px 0 12px; }
.legal article h3 { font-size: 16px; font-weight: 700; color: var(--mint-text); margin: 24px 0 8px; }
.legal article p { color: var(--muted); margin-bottom: 14px; font-size: 15.5px; }
.legal article ul, .legal article ol { color: var(--muted); padding-inline-start: 22px; margin-bottom: 14px; }
.legal article li { margin-bottom: 6px; font-size: 15.5px; }
.legal article strong { color: var(--text); }
.legal article a { color: var(--mint-text); font-weight: 700; overflow-wrap: anywhere; }
.legal article .highlight { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; margin: 24px 0; }
.legal article .highlight p { margin: 0; }

/* Athlete application form (athletes page, site/apply/). Radios and the
   consent box are clipped rather than faded out, so they stay focusable and
   nothing here waits on site.js to be seen. */
.apply { display: grid; grid-template-columns: 1.45fr 0.85fr; gap: 16px; margin-top: 36px; align-items: start; }
.apply .apbox, .apply .apdone { padding: 32px; }
.apform { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; margin-top: 26px; }
.apf { display: flex; flex-direction: column; gap: 8px; min-width: 0; border: 0; }
.apf.full, .apsend, .apalert, .apmail { grid-column: 1 / -1; }
.apf > label, .apf > legend { font-size: 14px; font-weight: 700; color: var(--muted); }
.apf > legend { padding: 0; margin-bottom: 8px; }
.apf small { color: var(--dim); font-weight: 600; font-size: 13px; }
.apin { width: 100%; min-height: 52px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line2); padding: 0 16px; font: inherit; font-size: 15.5px; color: var(--text); }
.apin::placeholder { color: var(--dim); opacity: 1; }
.apin:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 4px var(--mint-glow); }
.apin[aria-invalid="true"], .apf[aria-invalid="true"] .apchips span { border-color: var(--warn-text); }
textarea.apin { display: block; min-height: 116px; padding: 14px 16px; line-height: 1.55; resize: vertical; }
.apsel { position: relative; }
.apsel select { appearance: none; -webkit-appearance: none; padding-inline-end: 44px; cursor: pointer; }
.apsel select:invalid { color: var(--dim); }
.apsel option { color: var(--text); background: var(--surface); }
.apsel svg.i { position: absolute; inset-inline-end: 16px; top: 17px; width: 18px; height: 18px; color: var(--dim); pointer-events: none; }
.aphint { font-size: 13px; color: var(--dim); }
.apcount { text-align: end; }
.aperr { font-size: 13.5px; font-weight: 600; color: var(--warn-text); }
.apchips { display: flex; flex-wrap: wrap; gap: 8px; }
.apchips label { position: relative; }
.apchips input, .apconsent input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.apchips span { height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line2); display: inline-flex; align-items: center; font-weight: 700; font-size: 14.5px; color: var(--muted); cursor: pointer; }
.apchips input:checked + span { background: var(--mint-soft); border-color: var(--mint-line); color: var(--text); }
.apchips input:focus-visible + span, .apconsent input:focus-visible + .bx { outline: 2px solid var(--mint); outline-offset: 2px; }
.apcons { justify-content: center; }
.apconsent { position: relative; display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--muted); line-height: 1.5; cursor: pointer; }
.apconsent .bx { width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line2); background: var(--bg); color: transparent; display: grid; place-items: center; flex: none; margin-top: 1px; }
.apconsent input:checked + .bx { background: var(--mint); border-color: var(--mint); color: var(--ink); }
.apconsent input[aria-invalid="true"] + .bx { border-color: var(--warn-text); }
.apconsent .bx svg.i { width: 15px; height: 15px; stroke-width: 2.6; }
.apconsent a, .apmail a { color: var(--mint-text); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.apmail a { direction: ltr; unicode-bidi: isolate; }
.apsend { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 4px; }
.apsend p { font-size: 13.5px; color: var(--dim); }
.apsend .btn:disabled { opacity: 0.6; cursor: progress; }
.apalert { padding: 12px 16px; border-radius: 14px; background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--warn-text); font-size: 14.5px; font-weight: 600; }
.apmail { font-size: 13px; color: var(--dim); }
.hp { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.apside { display: grid; gap: 16px; }
.apside .box > p.addr { font-size: 18px; }
.apdone { border-color: var(--mint-line); background: linear-gradient(180deg, var(--mint-soft), var(--surface)); }
.apdone:focus { outline: none; }
.apdone .tile { width: 52px; height: 52px; border-radius: 16px; background: var(--mint); color: var(--ink); display: grid; place-items: center; margin-bottom: 16px; }
.apdone .tile svg.i { width: 26px; height: 26px; stroke-width: 2.4; }
.apdone > p.num { margin-top: 14px; font-size: 13px; color: var(--dim); font-weight: 600; }

/* Shared workout page (/w/<shareId>, site/share/): one card that shows the
   share, or why it cannot, then the download box. */
.wshare { display: grid; gap: 28px; max-width: 780px; margin-inline: auto; padding-top: 56px; }
.wcard { padding: 36px; }
.wcard [hidden] { display: none; }
.wstate { display: grid; justify-items: start; gap: 12px; margin-top: 22px; }
.wstate h1, .wtitle { font-size: 40px; line-height: 1.12; }
.wstate p { color: var(--muted); font-size: 17px; max-width: 52ch; }
.wglyph { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--card); color: var(--muted); }
.wspin { width: 30px; height: 30px; border-radius: 50%; border: 3px solid var(--line2); border-top-color: var(--mint); }
html.anim .wspin { animation: spin 0.9s linear infinite; }
@keyframes spin { to { rotate: 1turn; } }
.wdate { margin-top: 18px; color: var(--muted); font-weight: 600; }
.wtitle { display: flex; align-items: center; gap: 14px; margin-top: 8px; overflow-wrap: anywhere; }
.wico { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--mint-soft); color: var(--mint-text); flex: none; }
.wico svg.i { width: 27px; height: 27px; }
.wsub { margin-top: 8px; color: var(--muted); font-size: 17px; font-weight: 600; overflow-wrap: anywhere; }
.wstats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.wstats div { padding: 16px 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.wstats div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.wstats dt { font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
:root:lang(ar) .wstats dt { letter-spacing: 0; font-size: 13.5px; }
.wstats dd { margin-top: 6px; font-family: var(--display); font-weight: 600; font-size: 30px; letter-spacing: var(--track); line-height: 1.15; }
.wstats dd small { font-family: var(--body); font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.wsections { display: grid; gap: 26px; margin-top: 30px; }
.wsections:empty { display: none; }
.wsec { display: grid; gap: 12px; }
.wsec-h { font-size: 20px; line-height: 1.2; }
.wbox { padding: 18px 20px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); min-width: 0; }
.wtimeline { display: block; width: 100%; height: 10px; border-radius: 5px; margin-bottom: 8px; }
.t-quiet { fill: var(--dim); background: var(--dim); }
.t-main { fill: color-mix(in srgb, var(--mint) 50%, transparent); background: color-mix(in srgb, var(--mint) 50%, transparent); }
.t-hard { fill: var(--mint); background: var(--mint); }
.wrows { list-style: none; margin: 0; padding: 0; }
.wrows li { display: grid; align-items: center; gap: 12px; min-height: 46px; padding-block: 8px; border-top: 1px solid var(--line); font-weight: 600; }
.wrows li:first-child { border-top: 0; }
.wphases li { grid-template-columns: 10px minmax(0, 1fr) auto minmax(86px, auto); }
.wsplits li { grid-template-columns: 30px minmax(0, 1fr) minmax(86px, auto); }
.wdot { width: 10px; height: 10px; border-radius: 50%; }
.wlabel { overflow-wrap: anywhere; }
.wtime { color: var(--muted); font-variant-numeric: tabular-nums; }
.wkm { color: var(--muted); font-variant-numeric: tabular-nums; }
.wfig { text-align: end; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wfig small { color: var(--muted); font-size: 13px; }
.wbar { display: block; width: 100%; height: 6px; direction: ltr; }
.wbar rect { fill: var(--mint); }
.wtiles { margin-top: 0; }
.wtiles div { background: var(--surface); }
.wtiles dd b { color: var(--heart); }
.whr { display: block; width: 100%; height: 110px; overflow: visible; }
.whr polyline { stroke: var(--heart); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.whr-times { display: flex; justify-content: space-between; margin-top: 8px; color: var(--muted); font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.wex-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.wex-h h3 { font-size: 18px; overflow-wrap: anywhere; }
.wchip { flex: none; color: var(--muted); font-weight: 700; font-size: 14px; }
.wsets { width: 100%; table-layout: fixed; border-collapse: collapse; margin-top: 10px; font-weight: 600; font-variant-numeric: tabular-nums; }
.wsets th { padding-block: 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); text-align: start; }
:root:lang(ar) .wsets th { letter-spacing: 0; }
.wsets td { padding-block: 10px; border-top: 1px solid var(--line); text-align: start; }
.wsets td:first-child { color: var(--muted); }
.wsets th:last-child, .wsets td:last-child { text-align: end; }
.wsets th:first-child { width: 22%; }
.wopen { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.wopen p { color: var(--muted); font-size: 14.5px; max-width: 42ch; }
.cta.wget { margin-top: 0; }
@media (max-width: 600px) {
  .wshare { padding-top: 28px; gap: 20px; }
  .wcard { padding: 24px 20px; }
  .wstate h1, .wtitle { font-size: 30px; }
  .wico { width: 46px; height: 46px; }
  .wstats dd { font-size: 24px; }
}
@media (max-width: 960px) {
  .apply { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .apform { grid-template-columns: 1fr; gap: 18px; }
  .apply .apbox, .apply .apdone { padding: 22px; }
}

/* Phone width */
@media (max-width: 1080px) {
  .links { gap: 18px; margin-inline-start: 8px; }
  h1 { font-size: 54px; }
  .tasks, .docs { grid-template-columns: 1fr 1fr; }
  .devices { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .links, .nav .ctabtn { display: none; }
  .mnav { display: block; }
}
@media (max-width: 760px) {
  .wrap { padding-inline: 16px; }
  .nav { height: 64px; gap: 10px; }
  .navr { gap: 8px; }
  .brand { font-size: 17px; } .brand svg { width: 30px; height: 30px; }
  h1, .phead h1 { font-size: 40px; } h2 { font-size: 31px; }
  .lead { font-size: 16.5px; }
  .hero { grid-template-columns: 1fr; padding: 36px 0 32px; gap: 8px; }
  .hero h1 { margin: 18px 0 14px; }
  .badge { height: 52px; flex: 1; justify-content: center; padding-inline: 10px; gap: 8px; min-width: 0; }
  .badge b { font-size: 13.5px; white-space: nowrap; }
  .stage { height: 470px; margin-top: 12px; }
  .stage .ring { width: 340px; height: 340px; }
  .stage .p1 { --w: 180px; inset-inline-start: 2%; top: 46px; }
  .stage .p2 { --w: 200px; inset-inline-end: 2%; top: 10px; }
  .c1 { inset-inline-start: 0; bottom: 104px; } .c2 { inset-inline-end: 0; bottom: -6px; max-width: 230px; }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip div { padding-block: 20px; padding-inline: 16px 0; } .strip div:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
  .strip div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .strip b { font-size: 30px; }
  section.block { padding-top: 72px; }
  .row { grid-template-columns: 1fr; gap: 32px; } .row.flip .txt { order: 0; }
  .pane { gap: 12px; } .pane .phone { --w: min(170px, calc(50vw - 22px)); } .pane .phone.low { margin-top: 44px; }
  .trio { grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
  .trio .cell { padding: 22px; } .trio .cell .phone { --w: 200px; }
  .ai { margin-top: 72px; padding: 64px 0; }
  .mini { padding: 14px; } .mini > span { font-size: 12.5px; }
  .hl { margin-top: 72px; grid-template-columns: 1fr; padding: 28px; gap: 14px; border-radius: 26px; } .hl h3 { font-size: 23px; } .hl .btn { justify-self: start; }
  .tiers { grid-template-columns: 1fr; margin-top: 28px; }
  .tier { padding: 24px; }
  .ath { grid-template-columns: 1fr; padding: 26px; margin-top: 72px; gap: 24px; } .ath h2 { font-size: 28px; }
  .ath.top { margin-top: 28px; } .ath h1 { font-size: 34px; }
  .pagehero { padding-top: 36px; }
  section.block.tight { padding-top: 64px; }
  .steps { grid-template-columns: 1fr; }
  .cta { margin-top: 72px; padding: 32px 24px 300px; border-radius: 28px; }
  .cta svg.bigring { width: 300px; height: 300px; top: auto; bottom: -40px; inset-inline-end: 50%; transform: translateX(50%); }
  [dir="rtl"] .cta svg.bigring { transform: translateX(-50%); }
  footer { margin-top: 64px; padding-top: 40px; } .fcols { grid-template-columns: 1fr 1fr; } .fcols > div:first-child { grid-column: span 2; }
  .phead { padding: 44px 0 8px; }
  .toggle { display: flex; } .toggle label { flex: 1; justify-content: center; padding: 9px 10px; }
  .fsec { grid-template-columns: 1fr; gap: 24px; padding: 44px 0; }
  .fsec.shot, .fsec.shot.flip { grid-template-columns: 1fr; grid-template-areas: "side" "grid"; gap: 24px; }
  .fshot { display: none; }
  .fgrid, .sees { grid-template-columns: 1fr; }
  .devices { grid-template-columns: 1fr 1fr; }
  .cmpwrap { border-radius: 18px; overflow-x: auto; }
  table.cmp { font-size: 13px; } .cmp th, .cmp td { padding: 11px 5px; } .cmp th:first-child, .cmp td:first-child { padding-inline-start: 12px; width: 36%; } .cmp thead th { font-size: 12.5px; }
  .cmp td small { font-size: 11.5px; line-height: 1.3; display: inline-block; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; }
  .faq { margin-top: 24px; } .qa summary { padding: 16px 18px; font-size: 15.5px; } .qa .a { padding: 0 18px 16px; }
  .sup { grid-template-columns: 1fr; padding: 44px 0 24px; gap: 24px; }
  .contact { padding: 24px; } .contact .em { font-size: 24px; }
  .tasks, .docs, .two { grid-template-columns: 1fr; }
  .faqwrap { grid-template-columns: 1fr; gap: 20px; }
  .cats { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .cats a { padding: 8px 12px; border-color: var(--line); background: var(--surface); font-size: 13.5px; }
  .legal { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; }
  .legal aside { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .legal aside h2 { flex-basis: 100%; margin-bottom: 0; }
  .legal aside a { padding: 7px 12px; border: 1px solid var(--line); background: var(--surface); font-size: 13.5px; }
  .legal article h1.page-title { font-size: 30px; }
}
@media (max-width: 380px) {
  .brand span { display: none; }
}

/* Motion. site.js puts .anim on <html> before the first paint, and only when
   the visitor has not asked for reduced motion, so without the script (or in
   the share images, which render this CSS without it) everything stands still.
   Floating phones and chips move with `translate`, which adds to the
   `transform` that tilts or centres them. */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes pop { from { opacity: 0; scale: 0.88; } }
@keyframes float { 50% { translate: 0 -12px; } }
@keyframes breathe { 50% { opacity: 0.6; scale: 0.94; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
html.anim .hero > div:first-child > *, html.anim .phead > *, html.anim .sup > *, html.anim .pagehero > *, html.anim .ath.top > * { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
html.anim :is(.hero > div:first-child, .phead, .sup, .pagehero, .ath.top) > :nth-child(2) { animation-delay: 0.08s; }
html.anim :is(.hero > div:first-child, .phead, .sup, .pagehero, .ath.top) > :nth-child(3) { animation-delay: 0.16s; }
html.anim :is(.hero > div:first-child, .phead, .sup, .pagehero, .ath.top) > :nth-child(4) { animation-delay: 0.24s; }
html.anim :is(.hero > div:first-child, .phead, .sup, .pagehero, .ath.top) > :nth-child(n+5) { animation-delay: 0.32s; }
html.anim .stage .phone { animation: rise 1s 0.2s cubic-bezier(0.2, 0.7, 0.2, 1) both, float 7s 1.2s ease-in-out infinite; }
html.anim .stage .p2 { animation-delay: 0.35s, 0s; }
html.anim .stage .chip { animation: pop 0.6s 0.9s cubic-bezier(0.3, 1.4, 0.5, 1) both, float 6s 1.5s ease-in-out infinite; }
html.anim .stage .c2 { animation-delay: 1.1s, 0.4s; }
html.anim .stage .glow { animation: breathe 7s ease-in-out infinite; }
html.anim svg.ring .arc, html.anim .cta.rv svg.bigring .arc { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.8s 0.3s cubic-bezier(0.6, 0, 0.2, 1) forwards; }
html.anim .cta.rv:not(.in) svg.bigring .arc { animation-play-state: paused; }
html.anim :is(.pane, .fshot) .phone { animation: float 8s ease-in-out infinite; }
html.anim .pane .phone.low { animation-delay: -4s; }
html.anim :is(.pane, .fshot)::before { animation: breathe 8s ease-in-out infinite; }
html.anim .rv { opacity: 0; transform: translateY(32px); transition: opacity 0.7s var(--d, 0s) cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s var(--d, 0s) cubic-bezier(0.2, 0.7, 0.2, 1), translate 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease; }
html.anim .rv.in { opacity: 1; transform: none; }
html.anim .fshot.rv { transform: translateY(32px) scale(0.96); }
html.anim .fshot.rv.in { transform: none; }
:is(.fi, .mini, .tier, .trio .cell, .dv, .step, .task, .doc, .box) { transition: translate 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease; }
@media (hover: hover) {
  :is(.fi, .mini, .tier, .trio .cell, .dv, .step, .task, .doc):hover { translate: 0 -4px; border-color: var(--line2); box-shadow: var(--shadow); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
