/* The website (resources/views/site, docs/WEBSITE.md).

   One sheet, no script, nothing from anywhere else. Light and dark — the
   device decides unless the visitor chose one (html[data-theme]) — mobile
   first, and logical properties throughout so Sorani and Arabic mirror
   cleanly. Latin headings are tracked tight; Arabic script never is, because
   letter-spacing pulls its joined letters apart. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/inter-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: "Zain";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/zain-arabic-regular.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: "Zain";
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url("fonts/zain-arabic-bold.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;
}

/* ---- Tokens ------------------------------------------------------------ */

:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-soft: #f7f7fa;
  --bg-muted: #efeff4;
  --surface: #ffffff;
  --line: #e8e8ee;
  --line-strong: #d6d6df;
  --text: #0c0c12;
  --text-body: #2b2b35;
  --text-2: #4a4a57;
  --text-3: #7c7c8a;
  --brand: #df1f57;
  --brand-ink: #b8124a;
  --brand-soft: #fff1f5;
  --brand-line: #ffd0de;
  --grad: linear-gradient(135deg, #ff3d6e 0%, #ff7a45 52%, #ffc24b 100%);
  --ink: #0b0b10;
  --ink-2: #15151d;
  --ink-line: #262631;
  --ink-text: #f5f5f8;
  --ink-text-2: #a9a9b9;
  --header: rgba(255, 255, 255, .8);
  --shadow-sm: 0 1px 2px rgba(16, 16, 28, .05), 0 1px 3px rgba(16, 16, 28, .04);
  --shadow-md: 0 1px 2px rgba(16, 16, 28, .04), 0 12px 32px -14px rgba(16, 16, 28, .18);
  --shadow-lg: 0 2px 8px rgba(16, 16, 28, .06), 0 40px 80px -32px rgba(16, 16, 28, .32);
  --glow: rgba(255, 61, 110, .16);
  --glow-2: rgba(255, 194, 75, .16);
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --container: 1160px;
  --gutter: clamp(20px, 4vw, 32px);
  --font: "Inter", "Zain", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* Dark: the app's own dark. Written twice, for a chosen theme and for the device's. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #08080c;
  --bg-soft: #0e0e14;
  --bg-muted: #17171f;
  --surface: #111118;
  --line: #20202a;
  --line-strong: #2e2e3a;
  --text: #f5f5f8;
  --text-body: #d6d6df;
  --text-2: #b4b4c2;
  --text-3: #80808f;
  --brand: #ff4f7d;
  --brand-ink: #ff7a9b;
  --brand-soft: rgba(255, 61, 110, .1);
  --brand-line: rgba(255, 61, 110, .28);
  --ink: #111118;
  --ink-2: #191922;
  --ink-line: #2a2a36;
  --header: rgba(8, 8, 12, .78);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-md: 0 1px 2px rgba(0, 0, 0, .4), 0 14px 34px -16px rgba(0, 0, 0, .7);
  --shadow-lg: 0 2px 8px rgba(0, 0, 0, .5), 0 40px 80px -30px rgba(0, 0, 0, .85);
  --glow: rgba(255, 61, 110, .2);
  --glow-2: rgba(255, 194, 75, .1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #08080c;
    --bg-soft: #0e0e14;
    --bg-muted: #17171f;
    --surface: #111118;
    --line: #20202a;
    --line-strong: #2e2e3a;
    --text: #f5f5f8;
    --text-body: #d6d6df;
    --text-2: #b4b4c2;
    --text-3: #80808f;
    --brand: #ff4f7d;
    --brand-ink: #ff7a9b;
    --brand-soft: rgba(255, 61, 110, .1);
    --brand-line: rgba(255, 61, 110, .28);
    --ink: #111118;
    --ink-2: #191922;
    --ink-line: #2a2a36;
    --header: rgba(8, 8, 12, .78);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-md: 0 1px 2px rgba(0, 0, 0, .4), 0 14px 34px -16px rgba(0, 0, 0, .7);
    --shadow-lg: 0 2px 8px rgba(0, 0, 0, .5), 0 40px 80px -30px rgba(0, 0, 0, .85);
    --glow: rgba(255, 61, 110, .2);
    --glow-2: rgba(255, 194, 75, .1);
  }
}

:root:lang(ckb), :root:lang(ar) {
  --font: "Zain", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---- Base -------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

:lang(ckb) body, :lang(ar) body { line-height: 1.8; }

svg { flex: none; }
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { color: var(--text); text-wrap: balance; }
p { text-wrap: pretty; }

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

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  inset-inline-start: 12px;
  top: -64px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 12px; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---- Header ------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-row { display: flex; align-items: center; gap: 12px; height: 68px; }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  text-decoration: none;
  white-space: nowrap;
}
.logo img { width: 34px; height: 34px; border-radius: 10px; object-fit: cover; box-shadow: 0 6px 16px -6px rgba(255, 61, 110, .65); }
:lang(en) .logo { letter-spacing: -.02em; }

.nav { display: none; align-items: center; gap: 2px; margin-inline-start: 28px; }
.nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--text-2);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color .15s, background-color .15s;
}
.nav a:hover { color: var(--text); background: var(--bg-muted); }
.nav a[aria-current="page"] { color: var(--text); font-weight: 600; }

.tools { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }

.icon-btn, .dropdown > summary {
  height: 40px;
  min-width: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text-2);
  font: 600 14px/1 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: color .15s, border-color .15s;
}
.icon-btn:hover, .dropdown > summary:hover, .dropdown[open] > summary { color: var(--text); border-color: var(--line-strong); }
.icon-btn svg, .dropdown > summary svg { width: 18px; height: 18px; }

/* Two theme links, one shown: whichever switches away from what is on screen. */
.theme-dark { display: none; }
:root[data-theme="light"] .theme-light { display: none; }
:root[data-theme="light"] .theme-dark { display: inline-flex; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .theme-light { display: none; }
  :root:not([data-theme="dark"]) .theme-dark { display: inline-flex; }
}

.dropdown { position: relative; }
.dropdown > summary { list-style: none; }
.dropdown > summary::-webkit-details-marker { display: none; }
.dropdown .chev { width: 16px; height: 16px; transition: transform .15s; }
.dropdown[open] .chev { transform: rotate(180deg); }

.menu-panel {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 8px);
  min-width: 200px;
  padding: 6px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  z-index: 60;
}
.menu-panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.menu-panel a:hover { background: var(--bg-soft); }
.menu-panel a[aria-current] { color: var(--brand); font-weight: 600; }
.menu-panel a[aria-current]::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.menu-panel hr { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }

.lang-current { display: none; }

@media (min-width: 600px) {
  .lang-current { display: inline; }
  .dropdown.lang > summary { padding: 0 12px; }
}

@media (min-width: 920px) {
  .nav { display: flex; }
  .mobile-menu { display: none; }
}

/* ---- Buttons and badges ------------------------------------------------- */

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 58px;
  padding-inline: 16px 22px;
  border-radius: 16px;
  background: #0b0b10;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
.store-badge svg { width: 26px; height: 26px; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.15; }
.store-badge small { font-size: 11.5px; font-weight: 500; opacity: .72; }
.store-badge b { font-size: 19px; font-weight: 700; }
:lang(en) .store-badge b { letter-spacing: -.01em; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 58px;
  padding: 0 22px;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: border-color .15s, transform .15s;
}
.btn:hover { border-color: var(--text-3); }
.btn svg { width: 18px; height: 18px; }
[dir="rtl"] .btn .arrow { transform: scaleX(-1); }

/* ---- Home: hero --------------------------------------------------------- */

.hero { position: relative; overflow: hidden; padding: 48px 0 72px; isolation: isolate; }

.hero::before {
  content: "";
  position: absolute;
  inset: -30% -20% auto;
  height: 120%;
  background:
    radial-gradient(38% 42% at 72% 32%, var(--glow), transparent 70%),
    radial-gradient(30% 36% at 88% 70%, var(--glow-2), transparent 70%);
  z-index: -2;
}
[dir="rtl"] .hero::before { transform: scaleX(-1); }

/* A faint grid, fading out: depth without a picture. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 20%, #000 0%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 50% 20%, #000 0%, transparent 75%);
  opacity: .55;
  z-index: -1;
}

.hero-grid { display: grid; gap: 56px; align-items: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  color: var(--text-2);
  font-size: 13.5px;
  font-weight: 600;
}
.eyebrow .live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #ff2d55;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}
:lang(en) .eyebrow .live { letter-spacing: .06em; }
.eyebrow .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1.4s ease-in-out infinite; }

.hero h1 {
  font-size: clamp(42px, 7.4vw, 76px);
  line-height: 1.02;
  font-weight: 800;
  margin: 22px 0 20px;
}
:lang(en) .hero h1 { letter-spacing: -.048em; }
:lang(ckb) .hero h1, :lang(ar) .hero h1 { font-size: clamp(38px, 6.4vw, 66px); line-height: 1.22; }

.hero .sub { font-size: clamp(17px, 2vw, 20px); line-height: 1.6; color: var(--text-2); max-width: 33em; margin: 0 0 32px; }
:lang(ckb) .hero .sub, :lang(ar) .hero .sub { line-height: 1.85; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.ticks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 30px 0 0; padding: 0; list-style: none; color: var(--text-3); font-size: 14.5px; font-weight: 500; }
.ticks li { display: inline-flex; align-items: center; gap: 8px; }
.ticks svg { width: 18px; height: 18px; color: #1fb877; }

@media (min-width: 980px) {
  .hero { padding: 84px 0 112px; }
  .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 48px; }
}

/* ---- Home: the phone ---------------------------------------------------- */

.visual { position: relative; display: grid; place-items: center; padding: 12px 0; }
.visual::before {
  content: "";
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--grad);
  filter: blur(80px);
  opacity: .32;
}

.device {
  position: relative;
  width: min(318px, 84vw);
  aspect-ratio: 9 / 19.2;
  padding: 10px;
  border-radius: 48px;
  background: linear-gradient(160deg, #2a2a33, #0b0b0f 40%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .08) inset,
    0 0 0 2px #050507,
    0 60px 120px -40px rgba(10, 10, 20, .6),
    0 30px 60px -30px rgba(255, 61, 110, .35);
}
.device::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 50%;
  width: 92px;
  height: 26px;
  border-radius: 20px;
  background: #000;
  transform: translateX(-50%);
  z-index: 3;
}

.screen {
  position: relative;
  height: 100%;
  border-radius: 39px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 56px 14px 14px;
  background:
    radial-gradient(120% 55% at 50% -5%, rgba(255, 61, 110, .38), transparent 60%),
    radial-gradient(80% 40% at 100% 100%, rgba(255, 194, 75, .12), transparent 60%),
    #0b0b11;
  color: #fff;
  font-size: 12px;
  line-height: 1.4;
}

.room-top { display: flex; align-items: center; gap: 9px; }
.room-top .av { width: 34px; height: 34px; font-size: 13px; }
.room-title { display: flex; flex-direction: column; min-width: 0; }
.room-title b { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.room-title small { font-size: 11px; color: rgba(255, 255, 255, .62); }
.live-tag {
  margin-inline-start: auto;
  padding: 4px 8px;
  border-radius: 7px;
  background: #ff2d55;
  font-size: 10px;
  font-weight: 800;
}
:lang(en) .live-tag { letter-spacing: .08em; }

.listening {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .8);
  font-size: 11px;
}
.listening svg { width: 13px; height: 13px; }

.seats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 6px; padding: 6px 0 2px; }
.seat { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; color: rgba(255, 255, 255, .86); }
.seat .name { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.av {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 19px;
  font-weight: 700;
  color: #fff;
}
.av-1 { background: linear-gradient(135deg, #ff3d6e, #ff8a3d); }
.av-2 { background: linear-gradient(135deg, #7c5cff, #3dc8ff); }
.av-3 { background: linear-gradient(135deg, #22c993, #2c8cff); }
.av-4 { background: linear-gradient(135deg, #ffb547, #ff5f6d); }
.av-5 { background: linear-gradient(135deg, #a855f7, #ec4899); }
.av-6 { background: linear-gradient(135deg, #14b8a6, #84cc16); }

.seat.host .av { box-shadow: 0 0 0 3px #0b0b11, 0 0 0 5px #ffc24b; }
.seat.speaking .av::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid #3dd68c;
  animation: speak 1.6s ease-out infinite;
}
.seat .muted {
  position: absolute;
  inset-inline-end: -2px;
  bottom: -2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #2a2a33;
  border: 2px solid #0b0b11;
}
.seat .muted svg { width: 11px; height: 11px; color: rgba(255, 255, 255, .8); }
.seat.open .av { background: rgba(255, 255, 255, .05); border: 1.5px dashed rgba(255, 255, 255, .25); }
.seat.open .av svg { width: 20px; height: 20px; color: rgba(255, 255, 255, .55); }
.seat.open { color: rgba(255, 255, 255, .5); }

.chat { margin-top: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.chat p {
  margin: 0;
  max-width: 92%;
  padding: 7px 11px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .08);
  font-size: 11.5px;
}
.chat p b { color: #ffc24b; font-weight: 700; margin-inline-end: 4px; }

.gift-toast {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff3d6e, #ff8a3d);
  box-shadow: 0 10px 24px -8px rgba(255, 61, 110, .7);
  font-size: 11.5px;
  font-weight: 600;
  animation: rise 4s ease-in-out infinite;
}
[dir="rtl"] .gift-toast { padding: 5px 5px 5px 12px; background: linear-gradient(270deg, #ff3d6e, #ff8a3d); }
.gift-toast i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #ff3d6e; }
.gift-toast i svg { width: 14px; height: 14px; }

.composer { display: flex; align-items: center; gap: 8px; }
.composer .input {
  flex: 1;
  height: 38px;
  display: flex;
  align-items: center;
  padding-inline: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .5);
  font-size: 12px;
}
.composer .round { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); }
.composer .round.plain { background: rgba(255, 255, 255, .1); }
.composer .round svg { width: 18px; height: 18px; color: #fff; }

/* Two small cards beside the phone, on wide screens only. */
.float {
  position: absolute;
  display: none;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}
.float small { display: block; font-size: 12px; font-weight: 500; color: var(--text-3); }
.float .rings { display: flex; }
.float .rings .ring + .ring { margin-inline-start: -10px; }
.float-a { top: 55%; inset-inline-start: -8%; animation: drift 6s ease-in-out infinite; }
.float-b { bottom: 12%; inset-inline-end: -4%; animation: drift 7s ease-in-out .6s infinite; }
.float .ic-badge { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.float .ic-badge svg { width: 20px; height: 20px; }

@media (min-width: 1100px) { .float { display: flex; } }

/* A story ring: the gradient, a gap, the face. */
.ring { width: 40px; height: 40px; border-radius: 50%; padding: 2px; background: var(--grad); }
.ring span { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--surface); font-size: 13px; font-weight: 700; color: #fff; }

/* ---- Home: the strip under the hero ------------------------------------ */

.strip { border-block: 1px solid var(--line); background: var(--bg-soft); }
.strip ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; }
.strip li { display: flex; align-items: center; gap: 12px; padding: 20px 4px; color: var(--text-2); font-weight: 500; }
.strip li + li { border-top: 1px solid var(--line); }
.strip svg { width: 22px; height: 22px; color: var(--brand); }

@media (min-width: 820px) {
  .strip ul { grid-template-columns: repeat(3, 1fr); }
  .strip li { justify-content: center; padding: 24px 12px; }
  .strip li + li { border-top: 0; border-inline-start: 1px solid var(--line); }
}

/* ---- Home: sections ----------------------------------------------------- */

.section { padding: 88px 0; }
.section.tight { padding-top: 24px; }
.section-head { max-width: 660px; margin: 0 auto 52px; text-align: center; }
.kicker { display: inline-block; margin-bottom: 14px; color: var(--brand); font-size: 13px; font-weight: 700; }
:lang(en) .kicker { text-transform: uppercase; letter-spacing: .1em; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 48px); line-height: 1.08; font-weight: 800; margin: 0 0 16px; }
:lang(en) .section-head h2 { letter-spacing: -.038em; }
:lang(ckb) .section-head h2, :lang(ar) .section-head h2 { line-height: 1.3; }
.section-head p { margin: 0; color: var(--text-2); font-size: 18px; }

/* Features, as a bento grid. */
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
.tile {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.tile .ic { width: 46px; height: 46px; margin-bottom: 20px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.tile .ic svg { width: 22px; height: 22px; }
.tile h3 { margin: 0 0 8px; font-size: 22px; line-height: 1.25; font-weight: 700; }
:lang(en) .tile h3 { letter-spacing: -.02em; }
.tile p { margin: 0; max-width: 30em; color: var(--text-2); }
.tile-art { margin-top: auto; padding-top: 28px; }

@media (min-width: 780px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .tile-wide { grid-column: span 4; }
  .tile-narrow { grid-column: span 2; }
}

/* The live tile: who is on stage, and the sound. */
.mini-stage { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.mini-stage .av { width: 52px; height: 52px; font-size: 17px; }
.mini-stage .av.speaking::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid #3dd68c; animation: speak 1.6s ease-out infinite; }
.wave { display: flex; align-items: center; gap: 4px; height: 40px; margin-inline-start: 8px; }
.wave i { width: 4px; border-radius: 4px; background: var(--grad); animation: wave 1.2s ease-in-out infinite; }
.wave i:nth-child(1) { height: 30%; animation-delay: -.9s; }
.wave i:nth-child(2) { height: 70%; animation-delay: -.6s; }
.wave i:nth-child(3) { height: 100%; animation-delay: -.3s; }
.wave i:nth-child(4) { height: 60%; animation-delay: -.75s; }
.wave i:nth-child(5) { height: 85%; animation-delay: -.45s; }
.wave i:nth-child(6) { height: 40%; animation-delay: -.15s; }
.wave i:nth-child(7) { height: 75%; animation-delay: -1s; }

.story-row { display: flex; gap: 10px; }
.story-row .ring { width: 56px; height: 56px; padding: 3px; }
.story-row .ring span { border-width: 3px; font-size: 17px; }
.story-row .ring.seen { background: var(--line-strong); }
.timer { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; padding: 5px 10px; border-radius: 999px; background: var(--bg-muted); color: var(--text-2); font-size: 13px; font-weight: 600; }
.timer svg { width: 14px; height: 14px; }

.gift-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gift-chips span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 7px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  font-size: 13.5px;
  font-weight: 600;
}
[dir="rtl"] .gift-chips span { padding: 7px 7px 7px 12px; }
.gift-chips i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; }
.gift-chips i svg { width: 14px; height: 14px; }

.bubbles { display: flex; flex-direction: column; gap: 8px; }
.bubble { max-width: 78%; padding: 10px 14px; border-radius: 18px; background: var(--bg-muted); font-size: 14px; color: var(--text); }
.bubble.me { align-self: flex-end; background: var(--grad); color: #fff; border-end-end-radius: 6px; }
.bubble.them { border-end-start-radius: 6px; }
.segmented { display: inline-flex; margin-top: 16px; padding: 4px; border-radius: 12px; background: var(--bg-muted); font-size: 13px; font-weight: 600; }
.segmented span { padding: 6px 12px; border-radius: 9px; color: var(--text-3); }
.segmented span.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }

/* How it works. */
.steps { display: grid; gap: 16px; grid-template-columns: 1fr; padding: 0; margin: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--bg-soft); counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: 13px;
  background: var(--text);
  color: var(--bg);
  font-weight: 800;
  font-size: 17px;
}
:lang(ckb) .steps li::before, :lang(ar) .steps li::before { content: counter(step, arabic-indic); }
.steps h3 { margin: 0 0 8px; font-size: 20px; font-weight: 700; }
:lang(en) .steps h3 { letter-spacing: -.015em; }
.steps p { margin: 0; color: var(--text-2); }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* Safety: the one dark band. */
.safety {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 64px);
  border-radius: var(--radius-xl);
  background: var(--ink);
  color: var(--ink-text);
  isolation: isolate;
}
.safety::before {
  content: "";
  position: absolute;
  inset: -40% 40% auto -20%;
  height: 120%;
  background: radial-gradient(closest-side, rgba(255, 61, 110, .35), transparent);
  z-index: -1;
}
[dir="rtl"] .safety::before { inset: -40% -20% auto 40%; }
.safety-grid { display: grid; gap: 40px; }
.safety h2 { color: #fff; font-size: clamp(30px, 4.2vw, 44px); line-height: 1.1; font-weight: 800; margin: 0 0 16px; }
:lang(en) .safety h2 { letter-spacing: -.035em; }
:lang(ckb) .safety h2, :lang(ar) .safety h2 { line-height: 1.3; }
.safety .intro { margin: 0 0 28px; color: var(--ink-text-2); font-size: 18px; }
.safety .kicker { color: #ffc24b; }
.safety-links { display: flex; flex-wrap: wrap; gap: 12px; }
.safety-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid var(--ink-line);
  background: var(--ink-2);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.safety-links a:hover { border-color: #3a3a48; }
.safety-links svg { width: 16px; height: 16px; }
[dir="rtl"] .safety-links .arrow { transform: scaleX(-1); }
.safety-list { display: grid; gap: 12px; grid-template-columns: 1fr; margin: 0; padding: 0; list-style: none; }
.safety-list li { padding: 20px; border-radius: 18px; border: 1px solid var(--ink-line); background: var(--ink-2); }
.safety-list svg { width: 22px; height: 22px; color: #ffc24b; margin-bottom: 12px; }
.safety-list b { display: block; color: #fff; font-size: 16px; margin-bottom: 4px; }
.safety-list span { color: var(--ink-text-2); font-size: 14.5px; }
@media (min-width: 640px) { .safety-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .safety-grid { grid-template-columns: .85fr 1.15fr; align-items: center; gap: 56px; } }

/* Questions. */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: 18px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-sm); transition: border-color .15s; }
.faq details[open] { border-color: var(--line-strong); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  list-style: none;
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-inline-end: 2px solid var(--text-3);
  border-bottom: 2px solid var(--text-3);
  transform: rotate(45deg);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 5px; }
.faq .answer { padding: 0 22px 20px; color: var(--text-2); }
.faq .answer p { margin: 0; }
.faq .answer a { color: var(--brand); text-underline-offset: 3px; }
.faq-more { margin: 28px 0 0; text-align: center; color: var(--text-2); }
.faq-more a { color: var(--brand); font-weight: 600; text-underline-offset: 3px; }

/* The last call. */
.closing {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 7vw, 80px) var(--gutter);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    radial-gradient(60% 80% at 50% 0%, var(--glow), transparent 70%),
    var(--bg-soft);
  text-align: center;
}
.closing img { width: 64px; height: 64px; border-radius: 18px; object-fit: cover; margin: 0 auto 22px; box-shadow: 0 16px 34px -12px rgba(255, 61, 110, .6); }
.closing h2 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.1; font-weight: 800; margin: 0 0 14px; }
:lang(en) .closing h2 { letter-spacing: -.038em; }
:lang(ckb) .closing h2, :lang(ar) .closing h2 { line-height: 1.3; }
.closing p { margin: 0 auto 30px; max-width: 34em; color: var(--text-2); font-size: 18px; }
.closing .cta-row { justify-content: center; }

/* ---- Documents ---------------------------------------------------------- */

.page-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg-soft); isolation: isolate; }
.page-hero::before {
  content: "";
  position: absolute;
  inset: -60% -10% auto 45%;
  height: 160%;
  background: radial-gradient(closest-side, var(--glow), transparent);
  z-index: -1;
}
[dir="rtl"] .page-hero::before { inset: -60% 45% auto -10%; }
.page-hero .container { padding-block: 52px 44px; }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--text-3); font-size: 14px; font-weight: 500; }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.crumbs svg { width: 14px; height: 14px; }
[dir="rtl"] .crumbs svg { transform: scaleX(-1); }

.page-hero h1 { margin: 0 0 14px; max-width: 18em; font-size: clamp(36px, 5.4vw, 56px); line-height: 1.06; font-weight: 800; }
:lang(en) .page-hero h1 { letter-spacing: -.042em; }
:lang(ckb) .page-hero h1, :lang(ar) .page-hero h1 { line-height: 1.3; }
.page-hero .lead { margin: 0; max-width: 40em; color: var(--text-2); font-size: clamp(17px, 2vw, 19.5px); line-height: 1.6; }
:lang(ckb) .page-hero .lead, :lang(ar) .page-hero .lead { line-height: 1.85; }

.meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text-2);
  font-size: 13.5px;
  font-weight: 500;
}
.chip svg { width: 15px; height: 15px; color: var(--text-3); }
.chip a { color: var(--brand); font-weight: 600; text-decoration: none; }

.page-body { display: grid; gap: 28px; padding-block: 36px 16px; }
@media (min-width: 1040px) {
  .page-body { grid-template-columns: 236px minmax(0, 1fr); gap: 72px; padding-top: 56px; }
}

.toc-side { display: none; }
@media (min-width: 1040px) { .toc-side { display: block; } }
.toc-side nav { position: sticky; top: 100px; }
.toc-head { margin: 0 0 12px; color: var(--text-3); font-size: 12.5px; font-weight: 700; }
:lang(en) .toc-head { text-transform: uppercase; letter-spacing: .08em; }
.toc-list { list-style: none; margin: 0; padding: 0; border-inline-start: 1px solid var(--line); }
.toc-list a {
  display: block;
  margin-inline-start: -1px;
  padding: 7px 14px;
  border-inline-start: 2px solid transparent;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.45;
  text-decoration: none;
  transition: color .15s, border-color .15s;
}
.toc-list a:hover { color: var(--text); border-inline-start-color: var(--brand); }

.toc-mobile { border-radius: 16px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-sm); margin-bottom: 8px; }
.toc-mobile summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; list-style: none; cursor: pointer; font-weight: 600; }
.toc-mobile summary::-webkit-details-marker { display: none; }
.toc-mobile summary svg { width: 18px; height: 18px; color: var(--text-3); transition: transform .15s; }
.toc-mobile[open] summary svg { transform: rotate(180deg); }
.toc-mobile .toc-list { margin: 0 18px 16px; }
@media (min-width: 1040px) { .toc-mobile { display: none; } }

.doc { max-width: 720px; font-size: 17px; line-height: 1.75; color: var(--text-body); }
:lang(ckb) .doc, :lang(ar) .doc { line-height: 1.95; }
.doc > :first-child { margin-top: 0; }
.doc h2 { margin: 56px 0 16px; padding-top: 8px; font-size: clamp(22px, 2.6vw, 27px); line-height: 1.3; font-weight: 800; scroll-margin-top: 100px; }
:lang(en) .doc h2 { letter-spacing: -.022em; }
.doc h2:first-child { margin-top: 0; padding-top: 0; }
.doc h3 { margin: 30px 0 10px; font-size: 18px; font-weight: 700; }
.doc p { margin: 0 0 16px; }
.doc strong { color: var(--text); font-weight: 650; }
.doc a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.doc a:hover { color: var(--brand-ink); }

.doc ul { list-style: none; margin: 0 0 22px; padding: 0; }
.doc ul > li { position: relative; margin: 0 0 10px; padding-inline-start: 26px; }
.doc ul > li::before { content: ""; position: absolute; inset-inline-start: 6px; top: .68em; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
:lang(ckb) .doc ul > li::before, :lang(ar) .doc ul > li::before { top: .8em; }

/* Numbered steps. */
.doc ol { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; counter-reset: n; }
.doc ol > li {
  position: relative;
  padding: 14px 18px;
  padding-inline-start: 58px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  counter-increment: n;
}
.doc ol > li::before {
  content: counter(n);
  position: absolute;
  inset-inline-start: 16px;
  top: 14px;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--text);
  color: var(--bg);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}
:lang(ckb) .doc ol > li::before, :lang(ar) .doc ol > li::before { content: counter(n, arabic-indic); top: 18px; }

/* A place in the app's settings, as a chip. */
.doc .path {
  padding: 2px 8px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: var(--bg-muted);
  color: var(--text);
  font-size: .92em;
  font-weight: 600;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.doc .note {
  position: relative;
  margin: 22px 0;
  padding: 16px 18px;
  padding-inline-start: 52px;
  border-radius: 14px;
  border: 1px solid var(--brand-line);
  background: var(--brand-soft);
  color: var(--text);
}
.doc .note::before {
  content: "";
  position: absolute;
  inset-inline-start: 18px;
  top: 18px;
  width: 20px;
  height: 20px;
  background: var(--brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm1 15h-2v-6h2v6Zm0-8h-2V7h2v2Z'/%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'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm1 15h-2v-6h2v6Zm0-8h-2V7h2v2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.doc .note p { margin: 0; }

/* Long addresses break rather than push a phone's page sideways. */
.doc, .page-hero, .site-footer, .faq { overflow-wrap: anywhere; }

.contact-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  max-width: 720px;
  margin-top: 56px;
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-soft);
}
.contact-card .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--brand); }
.contact-card .ic svg { width: 22px; height: 22px; }
.contact-card div { flex: 1; min-width: 200px; }
.contact-card b { display: block; color: var(--text); font-size: 16px; }
.contact-card span { color: var(--text-2); font-size: 15px; }
.contact-card a.btn { height: 46px; padding: 0 18px; border-radius: 12px; font-size: 15px; }

/* ---- Footer ------------------------------------------------------------- */

.site-footer { margin-top: 96px; padding: 64px 0 32px; border-top: 1px solid var(--line); background: var(--bg-soft); }
.footer-grid { display: grid; gap: 36px; grid-template-columns: repeat(2, 1fr); }
.footer-brand { grid-column: 1 / -1; }
.footer-brand p { margin: 16px 0 18px; max-width: 26em; color: var(--text-2); }
.footer-mail { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; text-decoration: none; }
.footer-mail svg { width: 18px; height: 18px; color: var(--brand); }
.footer-col h2 { margin: 0 0 14px; color: var(--text-3); font-size: 12.5px; font-weight: 700; }
:lang(en) .footer-col h2 { text-transform: uppercase; letter-spacing: .08em; }
.footer-col a { display: block; padding: 5px 0; color: var(--text-2); font-size: 15px; text-decoration: none; }
.footer-col a:hover, .footer-col a[aria-current="page"] { color: var(--text); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 14px; }
.footer-langs { display: flex; gap: 14px; }
.footer-langs a { color: var(--text-2); text-decoration: none; }
.footer-langs a[aria-current] { color: var(--text); font-weight: 600; }

@media (min-width: 860px) {
  .footer-grid { grid-template-columns: 1.5fr repeat(3, 1fr); gap: 48px; }
  .footer-brand { grid-column: auto; }
}

.home .site-footer { margin-top: 0; }

/* ---- Motion ------------------------------------------------------------- */

@keyframes speak { 0% { transform: scale(.94); opacity: 1; } 100% { transform: scale(1.28); opacity: 0; } }
@keyframes wave { 0%, 100% { transform: scaleY(.45); } 50% { transform: scaleY(1); } }
@keyframes blink { 50% { opacity: .35; } }
@keyframes rise { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---- Print: a document, nothing else ------------------------------------ */

@media print {
  .site-header, .site-footer, .toc-side, .toc-mobile, .contact-card, .skip { display: none !important; }
  .page-hero { background: none; border: 0; }
  .page-body { display: block; padding: 0; }
  .doc { max-width: none; color: #000; }
}
