/* T4L — Tech for Life, Learning, Leverage, Lucidity */

@font-face {
  font-family: "Unbounded";
  src: url(../fonts/unbounded-latin.woff2) format("woff2");
  font-weight: 300 900;
  font-display: swap;
  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: "Readex Pro";
  src: url(../fonts/readex-arabic.woff2) format("woff2");
  font-weight: 200 700;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Readex Pro";
  src: url(../fonts/readex-latin.woff2) format("woff2");
  font-weight: 200 700;
  font-display: swap;
  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: "JetBrains Mono";
  src: url(../fonts/jetbrains-mono-latin.woff2) format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root,
[data-theme="light"] {
  color-scheme: light;
  --bg: #ffffff;
  --bg-2: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #f2f5fa;
  --line: #e3e8f0;
  --line-2: #cdd5e2;
  --text: #0b1530;
  --muted: #4d586d;
  --dim: #828ca0;
  --accent: #1d5bff;
  --accent-btn: #1d5bff;
  --accent-btn-hover: #164bd9;
  --accent-soft: rgba(29, 91, 255, 0.08);
  --on-accent: #ffffff;
  --gold: #d18f0c;
  --teal: #0d9484;
  --violet: #6a4cf5;
  --ink: #0b1530;
  --logo-ink: #0b1530;
  --logo-arrow: #1d5bff;
  --header-bg: rgba(255, 255, 255, 0.86);
  --shadow: 0 1px 2px rgba(11, 21, 48, 0.04), 0 12px 32px -18px rgba(11, 21, 48, 0.18);
}
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #070b15;
  --bg-2: #0a0f1c;
  --surface: #0e1424;
  --surface-2: #141b2e;
  --line: rgba(226, 232, 245, 0.08);
  --line-2: rgba(226, 232, 245, 0.16);
  --text: #edf1f9;
  --muted: #a3adc2;
  --dim: #6f7a91;
  --accent: #5b8eff;
  --accent-btn: #2f6bf0;
  --accent-btn-hover: #4a7ff5;
  --accent-soft: rgba(91, 142, 255, 0.12);
  --on-accent: #ffffff;
  --gold: #f2b33d;
  --teal: #2cc3ae;
  --violet: #9b85ff;
  --ink: #0b1530;
  --logo-ink: #edf1f9;
  --logo-arrow: #5b8eff;
  --header-bg: rgba(7, 11, 21, 0.82);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.02);
}

:root {
  --f-body: "Readex Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --track: -0.025em;
  --r-s: 8px;
  --r-m: 12px;
  --r-l: 18px;
  --wrap: 1180px;
  --pad: clamp(20px, 4vw, 36px);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --c: var(--accent);
}
html[lang="ar"] { --track: 0; }

t-en, t-ar { display: contents; }
html[lang="ar"] t-en, html:not([lang="ar"]) t-ar { display: none; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 350;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.25s, color 0.25s;
}
html[lang="ar"] body { font-size: 17px; line-height: 1.75; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 200; background: var(--accent-btn); color: var(--on-accent); padding: 10px 16px; border-radius: var(--r-s); font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- Logo ---------- */
.logo { width: 36px; height: 36px; flex: none; }
.wordmark { font-weight: 700; font-size: 21px; letter-spacing: -0.02em; line-height: 1; direction: ltr; }
.brand { display: inline-flex; align-items: center; gap: 10px; }

/* ---------- Header ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  transition: box-shadow 0.25s, background-color 0.25s;
}
.top.scrolled, .top.open { box-shadow: 0 10px 30px -22px rgba(11, 21, 48, 0.45); }
.top-bar { max-width: var(--wrap); margin-inline: auto; padding: 0 var(--pad); height: 68px; display: flex; align-items: center; gap: 20px; }
.nav { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.nav a { padding: 8px 12px; border-radius: var(--r-s); font-size: 15px; color: var(--muted); transition: color 0.2s, background-color 0.2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.top-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn, .lang-btn {
  height: 38px;
  min-width: 38px;
  padding-inline: 10px;
  border-radius: var(--r-s);
  border: 1px solid var(--line-2);
  display: inline-grid;
  place-items: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: border-color 0.2s, background-color 0.2s;
}
.icon-btn:hover, .lang-btn:hover { background: var(--surface-2); }
.icon-btn svg { width: 18px; height: 18px; }
[data-theme="light"] .i-sun, [data-theme="dark"] .i-moon { display: none; }
.menu-btn { display: none; width: 38px; height: 38px; border-radius: var(--r-s); border: 1px solid var(--line-2); position: relative; }
.menu-btn span { position: absolute; inset-inline-start: 11px; width: 16px; height: 1.5px; background: var(--text); transition: transform 0.3s var(--ease), top 0.3s var(--ease); }
.menu-btn span:first-child { top: 14px; }
.menu-btn span:last-child { top: 22px; }
.top.open .menu-btn span:first-child { top: 18px; transform: rotate(45deg); }
.top.open .menu-btn span:last-child { top: 18px; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding-inline: 20px;
  border-radius: var(--r-m);
  background: var(--accent-btn);
  color: var(--on-accent);
  font-weight: 550;
  font-size: 15px;
  white-space: nowrap;
  transition: background-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.btn:hover { background: var(--accent-btn-hover); }
.btn:active { transform: scale(0.98); }
.btn svg { width: 18px; height: 18px; }
.btn-sm { height: 38px; padding-inline: 14px; font-size: 14px; border-radius: var(--r-s); }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: var(--surface-2); }
.btn[aria-disabled="true"] { pointer-events: none; background: var(--surface-2); color: var(--dim); box-shadow: inset 0 0 0 1px var(--line); }
.arrow { transition: transform 0.2s var(--ease); }
a:hover .arrow { transform: translateX(3px); }
[dir="rtl"] .arrow { transform: scaleX(-1); }
[dir="rtl"] a:hover .arrow { transform: scaleX(-1) translateX(3px); }

/* ---------- Type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 14px; }
.display { font-weight: 700; letter-spacing: var(--track); line-height: 1.1; margin: 0; }
html[lang="ar"] .display { line-height: 1.35; }
.h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.h3 { font-weight: 600; font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.35; letter-spacing: -0.01em; margin: 0; }
html[lang="ar"] .h3 { letter-spacing: 0; line-height: 1.5; }
.lead { font-size: clamp(1rem, 1.25vw, 1.12rem); color: var(--muted); max-width: 62ch; margin: 0; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }
.mono { font-family: var(--f-mono); }
.ltr { direction: ltr; unicode-bidi: isolate; }

.section { padding-block: clamp(52px, 6.5vw, 84px); }
.section.alt { background: var(--bg-2); }
.section-head { display: grid; gap: 12px; margin-bottom: clamp(28px, 3.4vw, 40px); max-width: 760px; }

/* ---------- Home hero ---------- */
.hero { padding-block: clamp(48px, 6vw, 80px) clamp(40px, 5vw, 64px); }
.hero-grid { max-width: 640px; min-height: min(56vh, 480px); display: flex; flex-direction: column; justify-content: center; }
.hero-title { font-size: clamp(2.3rem, 4.8vw, 4.1rem); margin-block: 16px 18px; }
html[lang="ar"] .hero-title { font-size: clamp(2.4rem, 5vw, 4.2rem); }
.hero-title .line { display: block; }
.cycler { display: inline-grid; vertical-align: top; color: var(--accent); }
.cycler span { grid-area: 1 / 1; opacity: 0; transform: translateY(0.25em); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); white-space: nowrap; }
.cycler span.on, html:not(.js) .cycler t-en > span:first-child, html:not(.js) .cycler t-ar > span:first-child { opacity: 1; transform: none; }
.cycler span.off { opacity: 0; transform: translateY(-0.25em); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ls-ticker { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(36px, 4.5vw, 56px); }
.ls-ticker > div { padding: 12px 14px; border-radius: var(--r-m); background: var(--surface-2); margin-inline-end: 10px; display: flex; gap: 10px; font-size: 14px; color: var(--muted); }
.ls-ticker b { font-family: var(--f-mono); font-weight: 600; color: var(--accent); font-size: 12px; padding-top: 2px; }
.ls-ticker strong { color: var(--text); font-weight: 600; }

/* ---------- Four Ls ---------- */
.ls-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ls-card { padding: 24px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: border-color 0.2s, transform 0.3s var(--ease); }
.ls-card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.ls-num { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; font-family: var(--f-mono); font-size: 13px; font-weight: 600; color: var(--accent); }
.ls-word { font-weight: 600; font-size: 1.2rem; margin: 0; letter-spacing: -0.01em; }
.ls-latin { display: block; font-size: 12.5px; color: var(--dim); margin-top: 2px; direction: ltr; }
html[lang="ar"] .ls-latin { text-align: right; }
.ls-card p { color: var(--muted); margin: 12px 0 0; font-size: 15px; }

/* ---------- Products ---------- */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.product { border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; }
.product-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.product-name { font-weight: 600; font-size: 14px; color: var(--c); }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding-inline: 10px; border-radius: 999px; font-size: 12.5px; font-weight: 500; border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap; }
.pill.live { color: var(--teal); border-color: color-mix(in srgb, var(--teal) 40%, transparent); }
.pill.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.pill.soon { color: var(--gold); border-color: color-mix(in srgb, var(--gold) 45%, transparent); }
.product h3 { font-weight: 700; font-size: clamp(1.4rem, 2.2vw, 1.85rem); letter-spacing: var(--track); line-height: 1.2; margin: 6px 0 0; }
html[lang="ar"] .product h3 { line-height: 1.45; }
.product p { color: var(--muted); margin: 0; }
.product-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: auto; padding: 14px 16px; border-radius: var(--r-m); background: var(--surface-2); }
.product-stats b { display: block; font-weight: 700; font-size: 1.35rem; color: var(--text); line-height: 1.2; }
.product-stats span { font-size: 13px; color: var(--muted); }
.product-actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 6px; }

/* ---------- Principles ---------- */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.principle { padding: 24px; border-radius: var(--r-l); border: 1px solid var(--line); background: var(--surface); }
.principle b { font-family: var(--f-mono); color: var(--accent); font-size: 12.5px; font-weight: 600; }
.principle h3 { margin: 12px 0 8px; }
.principle p { color: var(--muted); margin: 0; font-size: 15px; }

/* ---------- CTA ---------- */
.cta {
  border-radius: var(--r-l);
  padding: clamp(28px, 4vw, 48px);
  background: linear-gradient(135deg, var(--ink), #16285c);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.cta .display { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
.cta .lead { color: rgba(255, 255, 255, 0.72); margin-top: 8px; }
.cta .hero-cta { margin-top: 0; }
.cta .btn-ghost { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); }
.cta .btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
[data-theme="dark"] .cta { background: linear-gradient(135deg, #12204a, #0e1730); border: 1px solid var(--line); }

/* ---------- Footer ---------- */
.foot { background: var(--bg-2); overflow: hidden; padding-block: 48px 28px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.foot h4 { font-size: 13px; font-weight: 600; color: var(--text); margin: 0 0 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 15px; }
.foot ul a { color: var(--muted); transition: color 0.2s; }
.foot ul a:hover { color: var(--accent); }
.foot-tag { color: var(--muted); max-width: 36ch; margin: 14px 0 0; font-size: 15px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--dim); font-size: 13.5px; margin-top: 8px; position: relative; }

/* ---------- Inner page hero ---------- */
.page-hero { padding-block: clamp(44px, 6vw, 76px) clamp(28px, 4vw, 48px); }
.page-hero .display { font-size: clamp(2rem, 4.2vw, 3.4rem); margin-block: 12px 14px; }
.page-hero.compact .display { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }

/* ---------- Networks ---------- */
.net-hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.phone {
  position: relative;
  width: min(100%, 272px);
  margin-inline: auto;
  aspect-ratio: 9 / 18;
  border-radius: 40px;
  padding: 10px;
  background: linear-gradient(145deg, #2a3042, #0d111b);
  box-shadow: 0 30px 60px -30px rgba(11, 21, 48, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.phone-screen { position: relative; height: 100%; border-radius: 31px; overflow: hidden; background: #f7f8fa; color: #12141b; display: flex; flex-direction: column; font-size: 12.5px; line-height: 1.5; }
.phone-notch { position: absolute; top: 9px; left: 50%; width: 80px; height: 22px; border-radius: 20px; background: #07090f; transform: translateX(-50%); z-index: 3; }
.hs-head { padding: 44px 18px 16px; background: #0b1530; color: #edf1f9; }
.hs-head small { font-family: var(--f-mono); font-size: 9.5px; color: #8fb0ff; letter-spacing: 0.12em; }
.hs-head strong { display: block; font-size: 16px; font-weight: 600; margin-top: 2px; }
.hs-login { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; transition: opacity 0.4s, filter 0.4s; }
.phone.sheet .hs-login { opacity: 0.45; filter: blur(1px); }
.hs-card-input { margin-top: 6px; }
.hs-card-input .ph { color: #9aa1ae; font-family: var(--f-body); }
.hs-launch { position: relative; display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 10px; border-radius: 12px; background: #ffffff; border: 1px solid #e3e6ee; box-shadow: 0 8px 20px -14px rgba(11, 21, 48, 0.5); transition: transform 0.2s; }
.hs-launch.press { transform: scale(0.96); }
.hs-launch-copy { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; font-size: 11.5px; font-weight: 600; line-height: 1.45; color: #12141b; }
.hs-launch-copy .go { position: relative; padding: 2px 14px; border-radius: 999px; background: #1d5bff; color: #fff; font-size: 11px; font-weight: 600; }
.hs-launch img { width: 52px; height: 52px; border-radius: 8px; flex: none; }
.hs-tap { position: absolute; top: 50%; left: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; background: rgba(29, 91, 255, 0.22); border: 2px solid rgba(29, 91, 255, 0.6); opacity: 0; transform: scale(0.3); pointer-events: none; }
.hs-launch.tap .hs-tap { animation: tap 0.7s var(--ease); }
@keyframes tap { 0% { opacity: 0; transform: scale(0.3); } 30% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.6); } }
.hs-body { position: absolute; z-index: 2; inset-inline: 0; bottom: 0; top: 96px; padding: 22px 16px 16px; display: flex; flex-direction: column; gap: 10px; background: #ffffff; border-radius: 18px 18px 0 0; box-shadow: 0 -14px 30px -12px rgba(11, 21, 48, 0.35); transform: translateY(105%); transition: transform 0.55s var(--ease); }
.hs-body::before { content: ""; position: absolute; top: 8px; left: 50%; width: 36px; height: 4px; margin-left: -18px; border-radius: 4px; background: #d9dce4; }
.hs-body.open { transform: none; }
.hs-step { display: flex; gap: 10px; align-items: flex-start; opacity: 0.35; transition: opacity 0.4s; }
.hs-step.on { opacity: 1; }
.hs-step > div { flex: 1; }
.hs-step i { flex: none; width: 20px; height: 20px; border-radius: 50%; background: #0b1530; color: #fff; font-style: normal; font-size: 10.5px; display: grid; place-items: center; font-family: var(--f-mono); }
.hs-step.done i { background: #1d5bff; }
.hs-wallet { font-family: var(--f-mono); background: #eceef3; border-radius: 8px; padding: 7px 10px; font-size: 11.5px; direction: ltr; text-align: center; margin-top: 4px; }
.hs-input { height: 38px; border-radius: 10px; border: 1.5px solid #d9dce4; display: flex; align-items: center; padding-inline: 12px; font-family: var(--f-mono); font-size: 13px; direction: ltr; background: #fff; margin-top: 4px; }
.hs-input .caret { width: 1.5px; height: 16px; background: #12141b; margin-inline-start: 2px; animation: blink 1s steps(1) infinite; }
.hs-btn { height: 40px; border-radius: 10px; background: #0b1530; color: #fff; display: grid; place-items: center; font-weight: 600; transition: transform 0.2s, background-color 0.3s; }
.hs-btn.press { transform: scale(0.97); background: #1d5bff; }
.hs-card { position: absolute; inset-inline: 12px; bottom: 12px; border-radius: 14px; padding: 14px; background: #0b1530; color: #edf1f9; transform: translateY(120%); transition: transform 0.6s var(--ease); }
.hs-card.show { transform: none; }
.hs-card small { color: #8fb0ff; font-size: 11px; }
.hs-card .creds { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; direction: ltr; }
.hs-card .creds div { background: rgba(237, 241, 249, 0.08); border-radius: 8px; padding: 6px 10px; }
.hs-card .creds span { display: block; font-size: 10px; color: #a3adc2; }
.hs-card .creds b { font-family: var(--f-mono); font-size: 15px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: s; }
.step { padding: 24px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.step::before { counter-increment: s; content: "0" counter(s); display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-family: var(--f-mono); font-weight: 600; font-size: 13px; margin-bottom: 16px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; font-size: 15px; }

.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mode { border-radius: var(--r-l); padding: clamp(22px, 3vw, 32px); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.mode .tag { font-size: 12.5px; font-weight: 600; color: var(--c); letter-spacing: 0.06em; text-transform: uppercase; }
html[lang="ar"] .mode .tag { letter-spacing: 0; }
.mode h3 { margin: 8px 0 6px; }
.mode > p { color: var(--muted); margin: 0 0 16px; font-size: 15px; }
.kv { list-style: none; margin: 0; padding: 0; display: grid; }
.kv li { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 16px; padding: 9px 12px; border-radius: var(--r-s); font-size: 14.5px; }
.kv li:nth-child(odd) { background: var(--surface-2); }
.kv li span:first-child { color: var(--dim); }

.apps { display: grid; gap: 16px; }
.app { display: grid; grid-template-columns: 250px 1fr; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; scroll-margin-top: 90px; }
.app-side { padding: 24px; display: flex; flex-direction: column; gap: 14px; background: var(--surface-2); }
.app-icon { width: 72px; height: 72px; border-radius: 18px; background: #ffffff; display: grid; place-items: center; --logo-ink: #0b1530; --logo-arrow: var(--c); --icon-edge: rgba(11, 21, 48, 0.08); }
[data-theme="dark"] .app-icon { background: #0b1530; --logo-ink: #ffffff; --icon-edge: rgba(255, 255, 255, 0.08); }
.app-icon .logo { width: 62%; height: 62%; }
.app-name { font-weight: 700; font-size: 22px; letter-spacing: -0.02em; line-height: 1.15; margin: 0; direction: ltr; text-align: start; }
html[lang="ar"] .app-name { text-align: right; }
.app-for { color: var(--c); font-size: 14.5px; font-weight: 500; margin: 2px 0 0; }
.app-meta { list-style: none; margin: auto 0 0; padding: 0; font-size: 13.5px; }
.app-meta li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; }
.app-meta li span:first-child { color: var(--dim); }
.app-meta .mono { font-size: 12.5px; direction: ltr; unicode-bidi: isolate; }
.app-main { padding: 24px clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 18px; }
.app-main > p { color: var(--muted); margin: 0; max-width: 68ch; }
.sub-label { font-size: 12px; font-weight: 600; color: var(--dim); letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 10px; }
html[lang="ar"] .sub-label { letter-spacing: 0; font-size: 13px; }
.feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.feats li { position: relative; padding-inline-start: 20px; font-size: 15px; font-weight: 500; }
.feats li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 0.6em; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.feats li small { display: block; color: var(--muted); font-size: 14px; font-weight: 350; }
.perms { display: flex; flex-wrap: wrap; gap: 6px; }
.perm { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); }
.perm.hot { color: var(--gold); border-color: color-mix(in srgb, var(--gold) 40%, transparent); }
.app-dl { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: 6px; margin-top: auto; }
.sha { display: flex; align-items: center; gap: 8px; max-width: 100%; font-size: 12px; color: var(--dim); }
.sha code { font-family: var(--f-mono); font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 240px; direction: ltr; }
.copy { font-size: 12px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.copy:hover { color: var(--text); }

.install { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 0; margin: 0; list-style: none; }
.install ol { display: contents; }
.install li { list-style: none; padding: 20px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); }
.install b { font-family: var(--f-mono); color: var(--accent); font-size: 12.5px; display: block; margin-bottom: 8px; }
.install p { margin: 0; color: var(--muted); font-size: 15px; }
.install p strong { color: var(--text); font-weight: 600; }

.faq { max-width: 860px; display: grid; gap: 8px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); padding-inline: 18px; transition: border-color 0.2s; }
.faq details[open] { border-color: color-mix(in srgb, var(--accent) 35%, transparent); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 0; font-size: 1.04rem; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--dim); transition: transform 0.2s var(--ease); flex: none; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--accent); }
.faq details > div { padding: 0 0 18px; color: var(--muted); max-width: 72ch; }
.faq details > div p { margin: 0; }

/* ---------- Callout ---------- */
.callout { border-radius: var(--r-m); padding: 14px 18px; background: color-mix(in srgb, var(--c) 8%, var(--surface)); border: 1px solid color-mix(in srgb, var(--c) 24%, transparent); margin: 16px 0 0; font-size: 15px; }
.callout p { margin: 0; color: var(--muted); }
.callout strong { color: var(--text); font-weight: 600; }
.callout a, .prose a, .link { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* ---------- Legal ---------- */
.legal { display: grid; grid-template-columns: 230px 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; padding-bottom: 64px; }
.toc { position: sticky; top: 92px; display: grid; gap: 2px; font-size: 14px; }
.toc a { color: var(--muted); padding: 5px 12px; border-radius: var(--r-s); transition: color 0.2s, background-color 0.2s; }
.toc a:hover { color: var(--accent); background: var(--accent-soft); }
.prose { max-width: 740px; }
.prose h2 { font-weight: 700; font-size: clamp(1.25rem, 2vw, 1.55rem); letter-spacing: -0.015em; line-height: 1.3; margin: 44px 0 12px; scroll-margin-top: 92px; }
html[lang="ar"] .prose h2 { letter-spacing: 0; line-height: 1.5; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.05rem; font-weight: 600; margin: 24px 0 8px; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--text); font-weight: 600; }
.prose ul, .prose ol { padding-inline-start: 22px; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--accent); }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.prose th, .prose td { text-align: start; padding: 10px 14px; vertical-align: top; }
.prose tbody tr:nth-child(even) td { background: var(--surface-2); }
.prose th { color: var(--text); font-weight: 600; font-size: 13.5px; background: var(--surface-2); }
.prose .table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-m); margin: 16px 0; }
.prose .callout { margin: 16px 0; }
.prose .callout ul { margin: 0; }
.meta-line { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.contact-card { padding: 24px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; transition: border-color 0.2s, transform 0.3s var(--ease); }
.contact-card:hover { border-color: var(--c); transform: translateY(-2px); }
.contact-card .ic { width: 44px; height: 44px; border-radius: var(--r-m); display: grid; place-items: center; background: color-mix(in srgb, var(--c) 12%, transparent); color: var(--c); margin-bottom: 8px; }
.contact-card .ic svg { width: 22px; height: 22px; }
.contact-card p { margin: 0; color: var(--muted); font-size: 15px; }
.contact-card .val { margin-top: auto; padding-top: 8px; font-family: var(--f-mono); font-size: 14px; color: var(--c); direction: ltr; text-align: start; }
html[lang="ar"] .contact-card .val { text-align: right; }

/* ---------- Brand ---------- */
.brand-stage { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 16px; }
.stage { border-radius: var(--r-l); border: 1px solid var(--line); background: var(--surface-2); display: grid; place-items: center; min-height: 340px; position: relative; overflow: hidden; }
.stage .logo { width: 220px; height: 220px; position: relative; }
.stage::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 32px 32px; mask-image: radial-gradient(circle at center, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(circle at center, #000 30%, transparent 75%); }
.panel { padding: clamp(22px, 3vw, 32px); border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.panel p { margin: 0; color: var(--muted); }
.lockups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
.lockup { aspect-ratio: 16 / 9; border-radius: var(--r-l); border: 1px solid var(--line); display: grid; place-items: center; position: relative; }
.lockup > div { display: flex; align-items: center; gap: 12px; }
.lockup .logo { width: 56px; height: 56px; }
.lockup .wordmark { font-size: 34px; }
.lockup small { position: absolute; bottom: 12px; inset-inline-start: 14px; font-size: 12px; opacity: 0.65; }
.lockup.on-light { background: #ffffff; color: #0b1530; --logo-ink: #0b1530; --logo-arrow: #1d5bff; }
.lockup.on-dark { background: #0b1530; color: #ffffff; --logo-ink: #ffffff; --logo-arrow: #5b8eff; }
.lockup.on-blue { background: #1d5bff; color: #ffffff; --logo-ink: #ffffff; --logo-arrow: #ffffff; }
.swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.swatch { border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.swatch-chip { height: 120px; background: var(--sw); }
.swatch-body { padding: 16px; display: grid; gap: 2px; }
.swatch-body b { font-size: 16px; font-weight: 600; }
.swatch-body span { color: var(--muted); font-size: 14px; }
.swatch-body code { font-family: var(--f-mono); font-size: 12.5px; color: var(--text); direction: ltr; text-align: start; }
html[lang="ar"] .swatch-body code { text-align: right; }
.neutrals { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 14px; }
.neutral { border-radius: var(--r-m); border: 1px solid var(--line); padding: 46px 12px 12px; background: var(--sw); font-size: 12.5px; color: var(--fg, #0b1530); }
.neutral b { display: block; font-weight: 600; }
.neutral code { font-family: var(--f-mono); font-size: 11.5px; opacity: 0.75; }
.assign { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.icon-tile { padding: 22px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); display: grid; justify-items: center; gap: 10px; text-align: center; }
.icon-tile b { font-weight: 600; }
.icon-tile small { color: var(--muted); font-size: 13px; font-family: var(--f-mono); }
.type-row { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 18px 22px; border-radius: var(--r-l); background: var(--surface); margin-bottom: 10px; align-items: baseline; }
.type-row .meta { color: var(--muted); font-size: 14px; }
.type-row .meta b { display: block; color: var(--text); font-size: 15px; font-weight: 600; }
.specimen-head { font-weight: 700; font-size: clamp(1.8rem, 3.6vw, 2.8rem); letter-spacing: -0.025em; line-height: 1.15; }
.specimen-ar { font-weight: 700; font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.4; direction: rtl; text-align: right; }
.specimen-en { direction: ltr; text-align: left; }
.specimen-body { font-size: 17px; color: var(--muted); }
.specimen-mono { font-family: var(--f-mono); font-size: 16px; color: var(--accent); direction: ltr; text-align: left; }
.voice { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.voice div { padding: 20px; border-radius: var(--r-l); border: 1px solid var(--line); background: var(--surface); }
.voice b { display: block; color: var(--accent); font-weight: 600; margin-bottom: 6px; }
.voice p { margin: 0; color: var(--muted); font-size: 14.5px; }
.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rule-card { padding: 24px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); }
.rule-card h3 { margin-bottom: 10px; color: var(--c); }
.rule-card ul { margin: 0; padding-inline-start: 20px; color: var(--muted); display: grid; gap: 6px; font-size: 15px; }

/* ---------- 404 ---------- */
.lost { min-height: calc(100svh - 69px); display: grid; place-items: center; text-align: center; padding: 48px var(--pad); }
.lost .logo { width: 88px; height: 88px; margin: 0 auto 20px; }
.lost .big { font-weight: 700; font-size: clamp(4rem, 12vw, 7rem); line-height: 1; letter-spacing: -0.04em; color: var(--accent); margin: 0; direction: ltr; }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); transition-delay: calc(var(--d, 0) * 60ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

@keyframes blink { 50% { opacity: 0; } }

/* ---------- Character layer ---------- */
:root, [data-theme="light"] { --grad: linear-gradient(110deg, #1d5bff 0%, #3d8bff 45%, #18c2e8 100%); --glow: rgba(29, 91, 255, 0.45); --cyan: #18c2e8; }
[data-theme="dark"] { --grad: linear-gradient(110deg, #5b8eff 0%, #82b1ff 45%, #3fd8f5 100%); --glow: rgba(91, 142, 255, 0.5); --cyan: #3fd8f5; }
:root { --f-display: "Unbounded", "Readex Pro", system-ui, sans-serif; }
html[lang="ar"] { --f-display: "Readex Pro", system-ui, sans-serif; }

.display, .product h3, .product-stats b, .wordmark, .app-name, .lost .big, .specimen-head, .ls-word, .cta .display { font-family: var(--f-display); }
.display { font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
html[lang="ar"] .display { font-weight: 700; letter-spacing: 0; line-height: 1.35; }
.h2 { font-size: clamp(1.6rem, 2.8vw, 2.35rem); }
.hero-title { font-size: clamp(2.2rem, 4.6vw, 3.9rem); }
.page-hero .display { font-size: clamp(1.9rem, 3.8vw, 3.1rem); }
.page-hero.compact .display { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.product h3 { font-weight: 800; letter-spacing: -0.03em; font-size: clamp(1.3rem, 2vw, 1.7rem); }
.wordmark { font-weight: 800; letter-spacing: -0.03em; }
.ls-word { font-weight: 700; letter-spacing: -0.02em; }
html[lang="ar"] .ls-word, html[lang="ar"] .product h3 { font-weight: 700; letter-spacing: 0; }

.accent, .cycler span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { font-family: var(--f-mono); font-weight: 500; font-size: 12px; letter-spacing: 0.14em; }
html[lang="ar"] .eyebrow { font-family: var(--f-body); font-weight: 600; font-size: 14px; letter-spacing: 0; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--grad); transform: rotate(45deg); }

/* Buttons with glow and a shine sweep */
.btn { position: relative; overflow: hidden; isolation: isolate; background: var(--grad); box-shadow: 0 8px 22px -10px var(--glow); }
.btn:hover { background: var(--grad); transform: translateY(-1px); box-shadow: 0 14px 32px -12px var(--glow); }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform 0.7s var(--ease); }
.btn:hover::after { transform: translateX(120%); }
.btn-ghost { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost::after { display: none; }
.btn[aria-disabled="true"] { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.btn[aria-disabled="true"]::after { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.hero::before { width: 560px; height: 560px; top: -220px; inset-inline-end: -120px; background: color-mix(in srgb, var(--accent) 30%, transparent); animation: drift 18s ease-in-out infinite alternate; }
.hero::after { width: 420px; height: 420px; bottom: -240px; inset-inline-start: -140px; background: color-mix(in srgb, var(--cyan) 22%, transparent); animation: drift 22s ease-in-out infinite alternate-reverse; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 5px 12px 5px 5px; padding-inline: 5px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 13.5px; color: var(--muted); transition: border-color 0.2s; }
.badge:hover { border-color: color-mix(in srgb, var(--accent) 40%, transparent); color: var(--text); }
.badge .new { padding: 2px 9px; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 600; font-size: 12px; }
.badge .arrow { width: 14px; height: 14px; }
.hero-mark {
  position: absolute;
  z-index: -1;
  top: 50%;
  inset-inline-end: max(-7vw, -110px);
  width: min(58vw, 720px);
  aspect-ratio: 1;
  transform: translateY(calc(-50% + var(--py, 0px)));
  pointer-events: none;
  display: grid;
  place-items: center;
}
.hero-mark .logo { width: 100%; height: 100%; opacity: 0.13; animation: float 9s ease-in-out infinite; }
[data-theme="dark"] .hero-mark .logo { opacity: 0.16; }
.hero-mark .halo { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(from 0deg, var(--accent), var(--cyan), transparent 60%, var(--accent)); filter: blur(70px); opacity: 0.22; animation: spin 18s linear infinite; }
.ls-ticker { gap: 10px; }
.ls-ticker > div { margin: 0; }

/* Word band */
.band { overflow: hidden; padding-block: 18px; background: var(--ink); color: #edf1f9; }
[data-theme="dark"] .band { background: var(--surface); }
.band-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
[dir="rtl"] .band-track { animation-direction: reverse; }
.band-track span { display: inline-flex; align-items: center; gap: 0.7em; padding-inline: 0.7em; font-family: "Unbounded", var(--f-body); font-weight: 800; font-size: clamp(1.4rem, 3vw, 2.4rem); letter-spacing: -0.03em; line-height: 1; white-space: nowrap; direction: ltr; }
.band-track span.o { color: transparent; -webkit-text-stroke: 1.2px rgba(237, 241, 249, 0.45); }
.band-track span i { width: 0.34em; height: 0.34em; border-radius: 3px; background: var(--grad); transform: rotate(45deg); }

/* Cursor spotlight on cards */
.spot { position: relative; isolation: isolate; }
.spot::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, -30%), color-mix(in srgb, var(--c) 16%, transparent), transparent 60%); opacity: 0; transition: opacity 0.3s; }
.spot:hover::after { opacity: 1; }
.ls-card:hover, .product:hover, .step:hover, .principle:hover, .contact-card:hover, .mode:hover { border-color: color-mix(in srgb, var(--c) 35%, var(--line)); }

/* Big outlined step numbers */
.step::before { width: auto; height: auto; background: none; border-radius: 0; font-family: "Unbounded", var(--f-mono); font-weight: 800; font-size: 46px; line-height: 1; color: transparent; -webkit-text-stroke: 1.4px var(--accent); margin-bottom: 14px; }
.principle b { font-family: "Unbounded", var(--f-mono); font-weight: 800; font-size: 28px; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px var(--accent); }

/* CTA with a turning glow */
.cta { position: relative; overflow: hidden; isolation: isolate; }
.cta::before { content: ""; position: absolute; z-index: -1; width: 620px; height: 620px; inset-inline-end: -180px; top: -320px; border-radius: 50%; background: conic-gradient(from 0deg, #1d5bff, #18c2e8, transparent 65%, #1d5bff); filter: blur(80px); opacity: 0.55; animation: spin 16s linear infinite; }
.cta .btn-ghost { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); }

/* Product and app touches */
.product-name { font-family: var(--f-mono); font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; font-size: 12.5px; }
html[lang="ar"] .product-name { font-family: var(--f-body); text-transform: none; letter-spacing: 0; font-size: 14px; }
.product-stats b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.app-icon { box-shadow: inset 0 0 0 1px var(--icon-edge); }
.phone { box-shadow: 0 40px 80px -36px var(--glow), 0 0 0 1px rgba(0, 0, 0, 0.06); }

/* Footer giant word */
.foot-giant { margin: 28px 0 -0.16em; font-family: "Unbounded", var(--f-body); font-weight: 900; font-size: clamp(5rem, 19vw, 15rem); line-height: 0.8; letter-spacing: -0.06em; text-align: center; direction: ltr; user-select: none; background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 22%, transparent), transparent 85%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.js [data-reveal] { transform: translateY(22px); filter: blur(6px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), filter 0.8s var(--ease); }
.js [data-reveal].in { filter: none; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-60px, 40px) scale(1.12); } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Colour roles (after components so they win) ---------- */
.c-accent { --c: var(--accent); }
.c-gold { --c: var(--gold); }
.c-teal { --c: var(--teal); }
.c-violet { --c: var(--violet); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .ls-grid { grid-template-columns: 1fr 1fr; }
  .app { grid-template-columns: 1fr; }
  .app-meta { margin-top: 0; }
  .install { grid-template-columns: 1fr 1fr; }
  .assign, .voice { grid-template-columns: 1fr 1fr; }
  .neutrals { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav {
    position: fixed;
    inset: 68px 0 auto;
    flex-direction: column;
    align-items: stretch;
    padding: 10px var(--pad) 16px;
    background: var(--bg);
    box-shadow: 0 20px 30px -24px rgba(11, 21, 48, 0.45);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s var(--ease);
  }
  .nav a { padding: 12px; font-size: 16px; }
  .top.open .nav { opacity: 1; transform: none; pointer-events: auto; }
  .menu-btn { display: block; }
  .top-actions { margin-inline-start: auto; }
  .top-actions .btn { display: none; }
  .hero-grid, .net-hero, .products, .modes, .steps, .principles, .contact-grid, .rules, .brand-stage, .lockups, .swatches { grid-template-columns: 1fr; }
  .hero-mark { width: 110vw; inset-inline-end: -45vw; top: 38%; }
  .hero-mark .logo { opacity: 0.08; }
  .hero-grid { min-height: 0; }
  .cta { grid-template-columns: 1fr; }
  .legal { grid-template-columns: 1fr; }
  .toc { position: static; grid-template-columns: 1fr 1fr; }
  .feats { grid-template-columns: 1fr; }
  .type-row { grid-template-columns: 1fr; gap: 8px; }
  .ls-ticker { grid-template-columns: 1fr 1fr; row-gap: 12px; }
}
@media (max-width: 560px) {
  .ls-grid, .install, .assign, .voice, .foot-grid { grid-template-columns: 1fr; }
  .neutrals { grid-template-columns: 1fr 1fr; }
  .hero-cta .btn { flex: 1 1 100%; }
  .kv li { grid-template-columns: 1fr; gap: 2px; }
  .toc { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { filter: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
