/* ==========================================================================
   FastPro Online — design system v1.1  «محور البناء / The Building Axis»

   Fast  → direct paths, instant feedback, motion only in the reading direction (≤180ms)
   Pro   → a strict 12-column grid, one type scale, one radius scale, exact alignment
   Roots → Egyptian blue (the first synthetic pigment, Egypt c. 2600 BCE) as the primary colour;
           red ochre, the colour of the builders' draft grid, as a rare accent;
           one horizontal axis: past → present → future.
   Logical properties only (inline/block): Arabic RTL and English LTR share every rule.
   ========================================================================== */

/* ------------------------------------------------------------------ fonts */
@font-face { font-family: "Alexandria"; src: url("../fonts/alexandria-arabic.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }
@font-face { font-family: "Alexandria"; src: url("../fonts/alexandria-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212; }
@font-face { font-family: "Plex Arabic"; src: url("../fonts/plex-ar-arabic-400.woff2") format("woff2"); font-weight: 400 500; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }
@font-face { font-family: "Plex Arabic"; src: url("../fonts/plex-ar-arabic-600.woff2") format("woff2"); font-weight: 600 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }
@font-face { font-family: "Plex Arabic"; src: url("../fonts/plex-ar-latin-400.woff2") format("woff2"); font-weight: 400 500; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212; }
@font-face { font-family: "Plex Arabic"; src: url("../fonts/plex-ar-latin-600.woff2") format("woff2"); font-weight: 600 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212; }

/* ------------------------------------------------------------------ tokens */
:root {
  /* colour */
  --page: #f3f4f6;          /* cool concrete — modern Cairo, not parchment */
  --surface: #ffffff;
  --surface-2: #eceef2;
  --line: #d9dce3;
  --line-strong: #b7bdc9;
  --ink: #0e1626;           /* carbon ink — the master's final line */
  --ink-2: #3d4658;
  --ink-3: #5e6778;
  --blue: #1437a8;          /* Egyptian blue */
  --blue-press: #0f2c8a;
  --blue-soft: #e6ebfa;
  --on-blue: #ffffff;
  --ochre: #a8492a;         /* red ochre — the draft grid */
  --grid: rgb(168 73 42 / .13);
  --band: #0e1626;          /* brand bands stay dark in both themes */
  --band-ink: #e8ecf3;
  --band-ink-2: #aab3c5;
  --band-line: #26324a;
  --band-blue: #8aa6ff;
  --band-ochre: #e58c62;
  --focus: #1437a8;
  --s-live: #15803d; --s-stable: #0f766e; --s-beta: #1437a8; --s-alpha: #6d28d9;
  --s-experimental: #a8492a; --s-dev: #9a6700; --s-soon: #5e6778; --s-archived: #8a919e;

  /* type */
  --display: "Alexandria", "Plex Arabic", system-ui, sans-serif;
  --text: "Plex Arabic", "Segoe UI", system-ui, -apple-system, "Noto Sans Arabic", sans-serif;
  --fs-0: .8125rem; --fs-1: .875rem; --fs-2: 1rem; --fs-3: 1.125rem; --fs-4: 1.375rem; --fs-5: 1.75rem;
  --fs-6: clamp(1.9rem, 3.2vw, 2.5rem); --fs-hero: clamp(2.1rem, 4.6vw, 3.6rem);

  /* shape & space — one radius scale; the brand is angular, not bubbly */
  --r-1: 4px; --r-2: 8px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --head-h: 64px;
  --tab-h: 64px;

  /* motion — Fast: short, decisive, never decorative */
  --t-1: 120ms; --t-2: 180ms;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow: 0 1px 2px rgb(14 22 38 / .06), 0 8px 24px -12px rgb(14 22 38 / .22);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --page: #0a101c; --surface: #101828; --surface-2: #172238; --line: #243049; --line-strong: #37466a;
  --ink: #e8ecf3; --ink-2: #b3bbcb; --ink-3: #8791a5;
  --blue: #8aa6ff; --blue-press: #a9bfff; --blue-soft: #1a2750; --on-blue: #0a101c; --ochre: #e58c62; --grid: rgb(229 140 98 / .12);
  --band: #060b15; --band-line: #1f2a42; --focus: #8aa6ff;
  --s-live: #4ade80; --s-stable: #2dd4bf; --s-beta: #8aa6ff; --s-alpha: #b69cff;
  --s-experimental: #e58c62; --s-dev: #eab308; --s-soon: #a0a8b8; --s-archived: #7a8294;
  --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 10px 28px -12px rgb(0 0 0 / .7);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --page: #0a101c; --surface: #101828; --surface-2: #172238; --line: #243049; --line-strong: #37466a;
    --ink: #e8ecf3; --ink-2: #b3bbcb; --ink-3: #8791a5;
    --blue: #8aa6ff; --blue-press: #a9bfff; --blue-soft: #1a2750; --on-blue: #0a101c; --ochre: #e58c62; --grid: rgb(229 140 98 / .12);
    --band: #060b15; --band-line: #1f2a42; --focus: #8aa6ff;
    --s-live: #4ade80; --s-stable: #2dd4bf; --s-beta: #8aa6ff; --s-alpha: #b69cff;
    --s-experimental: #e58c62; --s-dev: #eab308; --s-soon: #a0a8b8; --s-archived: #7a8294;
    --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 10px 28px -12px rgb(0 0 0 / .7);
    color-scheme: dark;
  }
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 12px); }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--text); font-size: 1rem; line-height: 1.6; font-feature-settings: "kern"; -webkit-font-smoothing: antialiased; }
body:lang(ar) { font-size: 1.0625rem; line-height: 1.8; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1.2; letter-spacing: -.015em; text-wrap: balance; }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3, :lang(ar) h4 { letter-spacing: 0; line-height: 1.4; }
p { margin: 0 0 1em; text-wrap: pretty; }
.num, time, .ver { font-variant-numeric: tabular-nums; }
.ver { direction: ltr; unicode-bidi: isolate; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; inset-block-start: -80px; background: var(--ink); color: var(--page); padding: 10px 16px; border-radius: var(--r-1); z-index: 200; }
.skip:focus { inset-block-start: 12px; }
.muted { color: var(--ink-3); }
.i { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.18em; }
[dir="rtl"] .i-dir { transform: scaleX(-1); }
.foot-note { margin-top: 12px; }

/* the origin mark: a small red-ochre square — "from here" — before brand-level headings */
.origin { display: inline-block; width: 7px; height: 7px; background: var(--ochre); flex: none; transform: translateY(-.15em); }

/* draft grid: the builders' red-ochre construction grid, used in exactly three places */
.draft-grid {
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: -1px -1px;
}
/* drafting registration marks on four corners */
.marks { position: relative; }
.marks::before, .marks::after { content: ""; position: absolute; width: 14px; height: 14px; border: 0 solid var(--ochre); pointer-events: none; }
.marks::before { inset-block-start: -1px; inset-inline-start: -1px; border-block-start-width: 2px; border-inline-start-width: 2px; }
.marks::after { inset-block-end: -1px; inset-inline-end: -1px; border-block-end-width: 2px; border-inline-end-width: 2px; }

/* ------------------------------------------------------------------ notice */
.notice { background: var(--blue); color: var(--on-blue); font-size: var(--fs-1); padding-block: 8px; text-align: center; }
.notice a { color: inherit; }

/* ------------------------------------------------------------------ header */
.site-head { background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-block-end: 1px solid var(--line); position: sticky; inset-block-start: 0; z-index: 50; transition: transform var(--t-2) var(--ease); }
.site-head.is-hidden { transform: translateY(-100%); }
.site-head .wrap { display: flex; align-items: center; gap: 24px; height: var(--head-h); }
.logo { justify-self: start; display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; white-space: nowrap; direction: ltr; }
.logo svg { width: 30px; height: 30px; flex: none; }
.logo .wm { font-family: var(--display); font-weight: 700; font-size: 1.12rem; letter-spacing: -.02em; }
.logo .wm small { font-weight: 500; font-size: .92em; color: var(--ink-3); margin-inline-start: 5px; letter-spacing: 0; }
.nav { display: flex; align-items: stretch; height: 100%; gap: 2px; }
.nav a, .nav summary { position: relative; display: inline-flex; align-items: center; gap: 4px; padding-inline: 12px; color: var(--ink-2); text-decoration: none; font-size: var(--fs-1); font-weight: 500; white-space: nowrap; cursor: pointer; list-style: none; transition: color var(--t-1) var(--ease); }
.nav > a::after { content: ""; position: absolute; inset-inline: 12px; inset-block-end: -1px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: var(--from, left); transition: transform var(--t-2) var(--ease); }
[dir="rtl"] .nav > a::after { --from: right; }
.nav a:hover, .nav summary:hover { color: var(--ink); }
.nav > a:hover::after { transform: scaleX(.35); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav > a[aria-current="page"]::after { transform: scaleX(1); }
.nav summary::-webkit-details-marker { display: none; }
.nav details { position: relative; display: flex; }
.nav .more-menu { position: absolute; inset-inline-start: 0; inset-block-start: calc(100% + 1px); background: var(--surface); border: 1px solid var(--line); border-radius: 0 0 var(--r-2) var(--r-2); box-shadow: var(--shadow); padding: 6px; min-width: 220px; display: grid; }
.nav .more-menu a { padding: 10px 12px; border-radius: var(--r-1); }
.nav .more-menu a:hover, .nav .more-menu a[aria-current="page"] { background: var(--surface-2); }
.head-tools { margin-inline-start: auto; display: flex; align-items: center; gap: 6px; }
.search-btn { display: inline-flex; align-items: center; gap: 10px; min-width: 230px; height: 40px; padding-inline: 12px; border: 1px solid var(--line); border-radius: var(--r-1); background: var(--page); color: var(--ink-3); font: inherit; font-size: var(--fs-1); cursor: pointer; transition: border-color var(--t-1) var(--ease); }
.search-btn:hover { border-color: var(--line-strong); color: var(--ink-2); }
.search-btn kbd { margin-inline-start: auto; }
kbd { font: 500 .72rem/1.6 var(--text); border: 1px solid var(--line); border-block-end-width: 2px; border-radius: 3px; padding: 0 5px; color: var(--ink-3); background: var(--surface); direction: ltr; }
.icon-btn { display: inline-grid; place-items: center; min-width: 40px; height: 40px; border: 0; border-radius: var(--r-1); background: none; color: var(--ink-2); cursor: pointer; text-decoration: none; font: inherit; font-size: var(--fs-1); font-weight: 600; }
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }
.lang-link { padding-inline: 10px; }
.store-link { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding-inline: 14px; border-radius: var(--r-1); background: var(--ink); color: var(--page); text-decoration: none; font-size: var(--fs-1); font-weight: 600; white-space: nowrap; transition: background-color var(--t-1) var(--ease); }
.store-link:hover { background: var(--blue); color: var(--on-blue); }
.menu-btn { display: none; }
.theme-dark-icon { display: none; }
:root[data-theme="dark"] .theme-dark-icon { display: block; }
:root[data-theme="dark"] .theme-light-icon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-dark-icon { display: block; } :root:not([data-theme="light"]) .theme-light-icon { display: none; } }
@media (max-width: 1140px) { .search-btn { min-width: 0; } .search-btn .label, .search-btn kbd { display: none; } .nav a, .nav summary { padding-inline: 9px; } }

/* ------------------------------------------------------------------ mobile: top bar + thumb bar + sheet */
.tabbar, .sheet, .sheet-scrim { display: none; }
@media (max-width: 920px) {
  :root { --head-h: 56px; }
  .nav, .head-tools .store-link, .head-tools .search-btn { display: none; }
  .site-head .wrap { gap: 8px; }
  body { padding-block-end: calc(var(--tab-h) + env(safe-area-inset-bottom)); }
  /* one-handed navigation: everything important sits under the thumb */
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 60; height: calc(var(--tab-h) + env(safe-area-inset-bottom)); padding-block-end: env(safe-area-inset-bottom); background: color-mix(in srgb, var(--surface) 96%, transparent); backdrop-filter: blur(10px); border-block-start: 1px solid var(--line); }
  .tabbar a, .tabbar button { display: grid; place-items: center; align-content: center; gap: 2px; min-height: 48px; border: 0; background: none; color: var(--ink-3); font: inherit; font-size: .6875rem; font-weight: 500; text-decoration: none; cursor: pointer; position: relative; }
  .tabbar .i { width: 22px; height: 22px; }
  .tabbar [aria-current="page"] { color: var(--blue); }
  .tabbar [aria-current="page"]::before { content: ""; position: absolute; inset-block-start: 0; inset-inline: 30%; height: 2px; background: var(--blue); }
  .tabbar .tab-search span.dot { display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--r-2); background: var(--blue); color: var(--on-blue); margin-block-start: -18px; box-shadow: var(--shadow); }
  .tabbar .tab-search .i { width: 22px; height: 22px; }
  .sheet-scrim { position: fixed; inset: 0; background: rgb(6 11 21 / .45); z-index: 70; }
  .sheet { position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 80; background: var(--surface); border-radius: 14px 14px 0 0; max-height: 86dvh; overflow-y: auto; padding: 8px var(--gutter) calc(20px + env(safe-area-inset-bottom)); box-shadow: 0 -12px 40px rgb(0 0 0 / .25); transform: translateY(100%); transition: transform var(--t-2) var(--ease); }
  .sheet.open, .sheet-scrim.open { display: block; }
  .sheet.shown { transform: translateY(0); }
  .sheet .grab { width: 40px; height: 4px; border-radius: 2px; background: var(--line-strong); margin: 4px auto 12px; }
  .sheet nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .sheet nav a { display: flex; align-items: center; gap: 10px; min-height: 52px; padding-inline: 14px; border: 1px solid var(--line); border-radius: var(--r-2); color: var(--ink); text-decoration: none; font-weight: 600; font-size: var(--fs-2); }
  .sheet nav a[aria-current="page"] { border-color: var(--blue); color: var(--blue); }
  .sheet .sheet-actions { display: grid; gap: 8px; margin-block-start: 14px; }
  .sheet .sheet-slogan { margin: 18px 0 0; font-family: var(--display); font-weight: 600; color: var(--ink-3); font-size: var(--fs-1); display: flex; gap: 8px; align-items: center; }
  body.sheet-open { overflow: hidden; }
}

/* ------------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding-inline: 18px; border-radius: var(--r-1); border: 1px solid transparent; font: inherit; font-weight: 600; font-size: var(--fs-2); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color var(--t-1) var(--ease), border-color var(--t-1) var(--ease), color var(--t-1) var(--ease); }
.btn .i-dir { transition: transform var(--t-1) var(--ease); }
.btn:hover .i-dir { transform: translateX(3px); }
[dir="rtl"] .btn:hover .i-dir { transform: scaleX(-1) translateX(3px); }
.btn-primary { background: var(--blue); color: var(--on-blue); }
.btn-primary:hover { background: var(--blue-press); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-s { min-height: 36px; padding-inline: 12px; font-size: var(--fs-1); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

/* ------------------------------------------------------------------ status (shape carries meaning; colour reinforces) */
.status { display: inline-flex; align-items: center; gap: 7px; font-size: var(--fs-1); font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.glyph { width: 12px; height: 12px; flex: none; color: var(--s, var(--ink-3)); }
.st-live { --s: var(--s-live); } .st-stable { --s: var(--s-stable); } .st-beta { --s: var(--s-beta); } .st-alpha { --s: var(--s-alpha); }
.st-experimental { --s: var(--s-experimental); } .st-in_development { --s: var(--s-dev); } .st-coming_soon { --s: var(--s-soon); } .st-archived { --s: var(--s-archived); }

/* ------------------------------------------------------------------ chips / tags */
.chip { display: inline-flex; align-items: center; padding: 1px 8px; border-radius: 2px; background: var(--surface-2); color: var(--ink-2); font-size: var(--fs-0); font-weight: 500; white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }

/* ------------------------------------------------------------------ product marks (monograms): one consistent treatment */
.mono-tile { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: var(--r-2); background: var(--blue-soft); color: var(--blue); font-family: var(--display); font-weight: 700; font-size: .95rem; letter-spacing: -.02em; direction: ltr; position: relative; overflow: hidden; }
.mono-tile::after { content: ""; position: absolute; inset-inline-end: 0; inset-block-end: 0; width: 6px; height: 6px; background: var(--ochre); }
.mono-tile.lg { width: 96px; height: 96px; border-radius: 12px; font-size: 2rem; }
.mono-tile.lg::after { width: 10px; height: 10px; }
.mono-tile.sm { width: 32px; height: 32px; border-radius: var(--r-1); font-size: .72rem; }
.mono-tile.sm::after { width: 4px; height: 4px; }
.mono-tile .i { width: 18px; height: 18px; }
.icon-img { width: 44px; height: 44px; border-radius: var(--r-2); object-fit: cover; flex: none; background: var(--surface-2); }
.icon-img.lg { width: 96px; height: 96px; border-radius: 12px; }
.icon-img.sm { width: 32px; height: 32px; border-radius: var(--r-1); }

/* ------------------------------------------------------------------ sections */
.section { padding-block: clamp(36px, 6vw, 72px) 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-block-end: 20px; flex-wrap: wrap; }
.sec-head h2 { font-size: var(--fs-5); display: flex; align-items: center; gap: 12px; }
.sec-head p { margin: 6px 0 0; color: var(--ink-3); font-size: var(--fs-1); }
.sec-head .more { font-size: var(--fs-1); font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; padding-block: 6px; }
.sec-head .more .i-dir { transition: transform var(--t-1) var(--ease); }
.sec-head .more:hover .i-dir { transform: translateX(3px); }
[dir="rtl"] .sec-head .more:hover .i-dir { transform: scaleX(-1) translateX(3px); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-2); }
.section-gap { margin-top: 28px; }

/* ------------------------------------------------------------------ page head */
.page-head { padding-block: clamp(28px, 4vw, 48px) 24px; }
.page-head h1 { font-size: var(--fs-6); font-weight: 800; }
.page-head .lede { max-width: 64ch; color: var(--ink-2); font-size: var(--fs-3); margin-block: 12px 0; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; list-style: none; margin: 0 0 16px; padding: 0; font-size: var(--fs-1); color: var(--ink-3); }
.crumbs li + li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-block-start: 1.5px solid var(--line-strong); border-inline-end: 1.5px solid var(--line-strong); transform: rotate(45deg); margin-inline-end: 10px; vertical-align: .12em; }
[dir="rtl"] .crumbs li + li::before { transform: rotate(-135deg); }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--blue); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink-2); }

/* ==================================================================== HOME */
/* hero: statement + direct access on one side, the live launch track on the other */
.hero { padding-block: clamp(28px, 5vw, 64px) clamp(8px, 2vw, 24px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px clamp(20px, 3vw, 40px); align-items: center; }
.hero-copy { grid-column: 1 / span 7; }
.hero-track { grid-column: 8 / span 5; }
.hero h1 { font-size: var(--fs-hero); font-weight: 800; line-height: 1.12; letter-spacing: -.025em; }
.hero h1 .l2 { display: block; color: var(--blue); font-weight: 700; }
.hero h1:lang(ar) { line-height: 1.35; }
.hero .lede { color: var(--ink-2); font-size: var(--fs-3); max-width: 56ch; margin-block: 18px 26px; }
.big-search { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-2); padding: 6px; padding-inline-start: 16px; transition: box-shadow var(--t-1) var(--ease), border-color var(--t-1) var(--ease); }
.big-search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.big-search input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: var(--fs-3); color: var(--ink); padding-block: 9px; }
.big-search input::placeholder { color: var(--ink-3); }
.big-search input:focus { outline: none; }
.big-search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.big-search kbd { flex: none; }
.big-search .btn { min-height: 44px; }
.jump { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 6px; margin-block-start: 16px; font-size: var(--fs-1); }
.jump > span { color: var(--ink-3); margin-inline-end: 4px; }
.jump a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 2px; background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 500; transition: border-color var(--t-1) var(--ease), color var(--t-1) var(--ease); }
.jump a b { font-variant-numeric: tabular-nums; color: var(--ink-3); font-weight: 500; }
.jump a:hover { border-color: var(--blue); color: var(--blue); }
@media (max-width: 980px) { .hero-copy, .hero-track { grid-column: 1 / -1; } }
@media (max-width: 920px) {
  .jump { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .jump::-webkit-scrollbar { display: none; }
  .jump a { min-height: 40px; }
  .big-search kbd { display: none; }
}

/* the launch track — signature element: every product's stage on one axis */
.track { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-2); padding: 18px 18px 8px; overflow: hidden; }
.track::before { content: ""; position: absolute; inset: 0; z-index: 0; opacity: .9; mask-image: linear-gradient(to bottom, #000, transparent 70%); -webkit-mask-image: linear-gradient(to bottom, #000, transparent 70%); background-image: linear-gradient(to right, var(--grid) 1px, transparent 1px), linear-gradient(to bottom, var(--grid) 1px, transparent 1px); background-size: 24px 24px; }
.track > * { position: relative; z-index: 1; }
.track-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-block-end: 6px; }
.track-head h2 { font-size: var(--fs-3); display: flex; align-items: center; gap: 10px; }
.track-head p { margin: 0; font-size: var(--fs-0); color: var(--ink-3); }
.track-scale { display: grid; grid-template-columns: repeat(4, 1fr); font-size: .6875rem; color: var(--ink-3); padding-block: 8px 6px; border-block-end: 1px solid var(--line); }
.track-scale span:nth-child(2), .track-scale span:nth-child(3) { text-align: center; }
.track-scale span:last-child { text-align: end; }
.track-list { list-style: none; margin: 0; padding: 0; }
.track-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; padding-block: 11px; border-block-end: 1px dashed var(--line); }
.track-row:last-child { border-block-end: 0; }
.track-row .tr-top { display: flex; align-items: center; gap: 10px; min-width: 0; }
.track-row a { color: var(--ink); font-weight: 600; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.track-row a:hover { color: var(--blue); }
.track-row .tr-meta { margin-inline-start: auto; display: flex; gap: 10px; align-items: center; font-size: var(--fs-0); color: var(--ink-3); flex: none; }
.rail { position: relative; height: 6px; border-radius: 3px; background: var(--surface-2); }
.rail::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: calc(var(--p, 0) * 1%); border-radius: 3px; background: var(--s, var(--blue)); transform-origin: var(--from, left); animation: rail-in 520ms var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms + 120ms); }
[dir="rtl"] .rail::before { --from: right; }
.rail::after { content: ""; position: absolute; inset-block-start: 50%; inset-inline-start: calc(var(--p, 0) * 1%); width: 10px; height: 10px; margin-inline-start: -5px; margin-block-start: -5px; border-radius: 50%; background: var(--surface); border: 2px solid var(--s, var(--blue)); animation: dot-in 200ms var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms + 560ms); }

/* track positions come from data attributes (CSP: no inline styles) */
.rail[data-stage="coming_soon"] { --p: 3; } .rail[data-stage="in_development"] { --p: 33.3; } .rail[data-stage="experimental"] { --p: 40; }
.rail[data-stage="alpha"] { --p: 60; } .rail[data-stage="beta"] { --p: 80; } .rail[data-stage="stable"], .rail[data-stage="live"] { --p: 100; }
.rail[data-stage="live"]::after, .rail[data-stage="stable"]::after { margin-inline-start: -10px; }
.track-row:nth-child(1) .rail { --i: 0; } .track-row:nth-child(2) .rail { --i: 1; } .track-row:nth-child(3) .rail { --i: 2; }
.track-row:nth-child(4) .rail { --i: 3; } .track-row:nth-child(5) .rail { --i: 4; } .track-row:nth-child(6) .rail { --i: 5; }
@keyframes rail-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes dot-in { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
.track-foot { display: flex; justify-content: space-between; align-items: center; padding-block: 10px 6px; font-size: var(--fs-0); color: var(--ink-3); }
.track-foot a { font-weight: 600; text-decoration: none; }

/* spotlight — the featured product, framed with drafting marks */
.spotlight { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.spot-main { grid-column: span 8; display: grid; grid-template-columns: auto 1fr; gap: 24px; padding: clamp(22px, 3vw, 36px); background: var(--surface); border: 1px solid var(--line); border-radius: 2px; }
.spot-main h3 { font-size: var(--fs-6); font-weight: 800; }
.spot-main h3 a { color: var(--ink); text-decoration: none; }
.spot-main h3 a:hover { color: var(--blue); }
.spot-main .tag { color: var(--ink-2); font-size: var(--fs-3); margin: 6px 0 18px; max-width: 48ch; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0 0 22px; padding: 14px 0 0; border-block-start: 1px solid var(--line); }
.facts div { display: grid; gap: 2px; }
.facts dt { font-size: var(--fs-0); color: var(--ink-3); }
.facts dd { margin: 0; font-weight: 600; font-size: var(--fs-1); }
.spot-side { grid-column: span 4; display: grid; gap: 16px; align-content: stretch; }
.spot-row { display: flex; gap: 14px; align-items: flex-start; padding: 20px; text-decoration: none; color: inherit; position: relative; transition: border-color var(--t-1) var(--ease); }
.spot-row:hover { border-color: var(--blue); }
.spot-row h4 { font-size: var(--fs-3); color: var(--ink); }
.spot-row p { margin: 4px 0 10px; color: var(--ink-2); font-size: var(--fs-1); }
@media (max-width: 900px) { .spot-main, .spot-side { grid-column: 1 / -1; } }
@media (max-width: 560px) { .spot-main { grid-template-columns: 1fr; gap: 16px; } .spot-main .mono-tile.lg, .spot-main .icon-img.lg { width: 64px; height: 64px; font-size: 1.4rem; } }

/* domains — a tiled grid that shares its lines, like a construction plan */
.domains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block-start: 1px solid var(--line); border-inline-start: 1px solid var(--line); background: var(--surface); }
.domain { position: relative; padding: 22px 22px 20px; border-block-end: 1px solid var(--line); border-inline-end: 1px solid var(--line); display: grid; align-content: start; gap: 10px; color: inherit; text-decoration: none; transition: background-color var(--t-1) var(--ease); }
.domain::before { content: ""; position: absolute; inset-block-start: -1px; inset-inline-start: -1px; width: 0; height: 2px; background: var(--blue); transition: width var(--t-2) var(--ease); }
.domain:hover { background: var(--page); }
.domain:hover::before { width: calc(100% + 1px); }
.domain h3 { font-size: var(--fs-3); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.domain h3 .n { font-family: var(--text); font-size: var(--fs-1); color: var(--ink-3); font-weight: 500; font-variant-numeric: tabular-nums; }
.domain ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: var(--fs-1); color: var(--ink-2); }
.domain li { display: flex; align-items: center; gap: 8px; min-width: 0; }
.domain li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 900px) { .domains { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .domains { grid-template-columns: 1fr; } }

/* the full index (status board) */
.board { width: 100%; border-collapse: collapse; font-size: var(--fs-1); }
.board th { text-align: start; font-weight: 500; color: var(--ink-3); font-size: var(--fs-0); padding: 12px 16px; border-block-end: 1px solid var(--line); white-space: nowrap; background: var(--page); }
.board td { padding: 13px 16px; border-block-end: 1px solid var(--line); vertical-align: middle; }
.board tbody tr:last-child td { border-block-end: 0; }
.board tbody tr { position: relative; transition: background-color var(--t-1) var(--ease); }
.board tbody tr:hover { background: var(--page); }
.board tbody tr > td:first-child { box-shadow: inset 0 0 0 0 var(--blue); transition: box-shadow var(--t-1) var(--ease); }
[dir="ltr"] .board tbody tr:hover > td:first-child { box-shadow: inset 3px 0 0 0 var(--blue); }
[dir="rtl"] .board tbody tr:hover > td:first-child { box-shadow: inset -3px 0 0 0 var(--blue); }
.board .name { display: flex; align-items: center; gap: 12px; min-width: 240px; }
.board .name a { color: var(--ink); font-weight: 600; text-decoration: none; font-size: var(--fs-2); }
.board .name a::after { content: ""; position: absolute; inset: 0; }
.board .name small { display: block; color: var(--ink-3); font-size: var(--fs-0); font-weight: 400; max-width: 50ch; }
.board .act { text-align: end; position: relative; z-index: 1; }
.board .act a { font-weight: 600; text-decoration: none; display: inline-flex; gap: 5px; align-items: center; white-space: nowrap; }
.board-wrap { overflow: hidden; }
@media (max-width: 760px) {
  .board thead { display: none; }
  .board, .board tbody, .board tr, .board td { display: block; }
  .board tr { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 14px 16px; border-block-end: 1px solid var(--line); }
  .board tbody tr:last-child { border-block-end: 0; }
  .board td { padding: 0; border: 0; }
  .board .name { grid-column: 1 / -1; min-width: 0; }
  .board .c-type, .board .c-upd, .board .act { display: none; }
  .board .c-ver { text-align: end; color: var(--ink-3); }
  .board tbody tr:hover > td:first-child { box-shadow: none !important; }
}

/* two-column band */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.split > :first-child { grid-column: span 7; }
.split > :last-child { grid-column: span 5; }
@media (max-width: 900px) { .split > :first-child, .split > :last-child { grid-column: 1 / -1; } }

/* updates timeline — releases on the axis */
.timeline { list-style: none; margin: 0; padding: 8px 0; position: relative; }
.timeline li { display: grid; grid-template-columns: 8rem 1fr; gap: 16px; padding: 12px 20px; position: relative; }
.timeline li + li { border-block-start: 1px solid var(--line); }
.timeline time { color: var(--ink-3); font-size: var(--fs-1); }
.timeline a { color: var(--ink); font-weight: 600; text-decoration: none; }
.timeline a:hover { color: var(--blue); text-decoration: underline; }
.timeline .meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-block-start: 4px; font-size: var(--fs-0); color: var(--ink-3); }
.timeline .meta > :first-child { color: var(--ochre); font-weight: 600; }
@media (max-width: 520px) { .timeline li { grid-template-columns: 1fr; gap: 2px; padding-inline: 16px; } }

/* Ibtikar store band */
.store-band { background: var(--band); color: var(--band-ink); border-radius: var(--r-2); padding: clamp(24px, 3vw, 34px); display: grid; gap: 14px; align-content: start; position: relative; overflow: hidden; align-self: start; }
.store-band h2 { font-size: var(--fs-5); color: #fff; }
.store-band p { color: var(--band-ink-2); margin: 0; }
.store-band .formats { display: flex; gap: 6px; flex-wrap: wrap; direction: ltr; justify-content: flex-start; }
.store-band .formats span { border: 1px solid var(--band-line); padding: 2px 9px; border-radius: 2px; font-size: var(--fs-0); color: var(--band-ink); font-weight: 600; }
.store-band .btn { background: #fff; color: var(--band); justify-self: start; }
.store-band .btn:hover { background: var(--band-blue); color: var(--band); }
.store-band .host { font-size: var(--fs-0); color: var(--band-ink-2); direction: ltr; text-align: start; }
.store-band::after { content: ""; position: absolute; inset-block-end: 0; inset-inline-end: 0; width: 45%; height: 60%; opacity: .7; background-image: linear-gradient(to right, rgb(229 140 98 / .12) 1px, transparent 1px), linear-gradient(to bottom, rgb(229 140 98 / .12) 1px, transparent 1px); background-size: 20px 20px; mask-image: linear-gradient(to top, #000, transparent); -webkit-mask-image: linear-gradient(to top, #000, transparent); pointer-events: none; }

/* the axis band — brand moment: then → now → next, and the motto */
.axis-band { margin-block-start: clamp(48px, 7vw, 88px); background: var(--band); color: var(--band-ink); position: relative; overflow: hidden; }
.axis-band::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(to right, rgb(229 140 98 / .09) 1px, transparent 1px), linear-gradient(to bottom, rgb(229 140 98 / .09) 1px, transparent 1px); background-size: 32px 32px; mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%); }
.axis-band .wrap { position: relative; padding-block: clamp(48px, 7vw, 88px); }
.motto { text-align: center; max-width: 900px; margin-inline: auto; }
.motto blockquote { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 5.2vw, 3.9rem); line-height: 1.3; color: #fff; letter-spacing: -.01em; }
.motto .tr { margin: 12px 0 0; color: var(--band-ink-2); font-size: var(--fs-3); }
.motto .cap { margin: 18px 0 0; display: inline-flex; align-items: center; gap: 10px; color: var(--band-ochre); font-size: var(--fs-1); font-weight: 600; }
.motto .cap .origin { background: var(--band-ochre); }
.axis { list-style: none; margin: clamp(40px, 6vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: relative; }
.axis::before { content: ""; position: absolute; inset-inline: 0; inset-block-start: 7px; height: 2px; background: linear-gradient(to var(--axis-dir, right), var(--band-line), var(--band-blue)); }
[dir="rtl"] .axis::before { --axis-dir: left; }
.axis li { position: relative; padding-block-start: 32px; padding-inline-end: 28px; }
.axis li::before { content: ""; position: absolute; inset-block-start: 0; inset-inline-start: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--band); border: 2px solid var(--band-ink-2); }
.axis li.now::before { border-color: var(--band-blue); background: var(--band-blue); box-shadow: 0 0 0 6px rgb(138 166 255 / .18); }
.axis li.next::before { border-style: dashed; border-color: var(--band-ochre); }
.axis b { display: block; font-family: var(--display); font-size: var(--fs-4); color: #fff; margin-block-end: 6px; }
.axis p { margin: 0; color: var(--band-ink-2); max-width: 34ch; }
.axis .stat { display: block; margin-block-start: 12px; font-size: var(--fs-1); color: var(--band-ink); }
.axis .stat strong { font-family: var(--display); font-size: var(--fs-4); color: var(--band-blue); margin-inline-end: 6px; }
.axis a { color: var(--band-blue); font-weight: 600; }
.axis-foot { margin-block-start: clamp(36px, 5vw, 56px); padding-block-start: 22px; border-block-start: 1px solid var(--band-line); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--band-ink-2); font-size: var(--fs-1); }
.axis-foot a { color: #fff; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; text-decoration: none; border-block-end: 1px solid var(--band-line); padding-block: 4px; }
.axis-foot a:hover { border-color: #fff; }
@media (max-width: 760px) {
  .axis { grid-template-columns: 1fr; gap: 28px; }
  .axis::before { inset-inline: auto; inset-inline-start: 7px; inset-block: 8px; width: 2px; height: auto; background: linear-gradient(to bottom, var(--band-line), var(--band-blue)); }
  .axis li { padding-block-start: 0; padding-inline-start: 36px; }
  .motto { text-align: start; }
}

/* ------------------------------------------------------------------ AI models table */
.spec-table { width: 100%; border-collapse: collapse; font-size: var(--fs-1); }
.spec-table th { text-align: start; font-weight: 500; color: var(--ink-3); font-size: var(--fs-0); padding: 12px 16px; border-block-end: 1px solid var(--line); background: var(--page); white-space: nowrap; }
.spec-table td { padding: 12px 16px; border-block-end: 1px solid var(--line); vertical-align: middle; }
.spec-table tr:last-child td { border-block-end: 0; }
.spec-table .model { font-weight: 600; direction: ltr; unicode-bidi: isolate; }
.spec-table .model a { color: var(--ink); text-decoration: none; }
.spec-table .model a:hover { color: var(--blue); text-decoration: underline; }
.spec-table .model .muted { direction: auto; font-weight: 400; font-size: var(--fs-0); }
.spec-table .size { font-family: var(--display); font-weight: 700; font-size: var(--fs-3); }
.table-scroll { overflow-x: auto; }
@media (max-width: 640px) { .spec-table .c-base, .spec-table .c-upd { display: none; } }

/* ------------------------------------------------------------------ lists of entries */
.rows { list-style: none; margin: 0; padding: 0; }
.row { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 16px 20px; position: relative; transition: background-color var(--t-1) var(--ease); }
.row + .row { border-block-start: 1px solid var(--line); }
.row::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: -1px; width: 3px; background: var(--blue); transform: scaleY(0); transition: transform var(--t-1) var(--ease); }
.row:hover { background: var(--page); }
.row:hover::before { transform: scaleY(1); }
.row h3 { font-size: var(--fs-3); }
.row h3 a { color: var(--ink); text-decoration: none; }
.row h3 a::after { content: ""; position: absolute; inset: 0; }
.row p { margin: 3px 0 7px; color: var(--ink-2); font-size: var(--fs-1); }
.row .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: var(--fs-0); color: var(--ink-3); }
.row .side { display: grid; justify-items: end; gap: 8px; position: relative; z-index: 1; }
@media (max-width: 640px) { .row { grid-template-columns: auto 1fr; padding: 14px 16px; } .row .side { grid-column: 2; justify-items: start; } .row .side:empty { display: none; } }

/* products grid — products earn a larger tile with their facts */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 16px; }
.pcard { display: grid; grid-template-rows: auto 1fr auto; gap: 12px; padding: 22px; position: relative; transition: border-color var(--t-1) var(--ease); }
.pcard::before { content: ""; position: absolute; inset-block-start: -1px; inset-inline: -1px; height: 3px; background: var(--s, var(--line)); border-radius: var(--r-2) var(--r-2) 0 0; }
.pcard:hover { border-color: var(--line-strong); }
.pcard header { display: flex; gap: 14px; align-items: flex-start; }
.pcard h3 { font-size: var(--fs-4); margin-block-end: 4px; }
.pcard h3 a { color: var(--ink); text-decoration: none; }
.pcard h3 a::after { content: ""; position: absolute; inset: 0; }
.pcard p { margin: 0; color: var(--ink-2); font-size: var(--fs-1); }
.pcard footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-block-start: 14px; border-block-start: 1px solid var(--line); font-size: var(--fs-0); color: var(--ink-3); }
.pcard footer .go { position: relative; z-index: 1; }
@media (max-width: 420px) { .pgrid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ filters */
.filterbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding-block: 14px; border-block: 1px solid var(--line); margin-block-end: 18px; position: sticky; inset-block-start: var(--head-h); z-index: 20; background: color-mix(in srgb, var(--page) 94%, transparent); backdrop-filter: blur(8px); }
.segmented { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-block: 2px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.segmented::-webkit-scrollbar { display: none; }
@media (min-width: 761px) { .segmented { margin-inline: 0; padding-inline: 0; flex-wrap: wrap; } }
.seg { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding-inline: 14px; border-radius: 2px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); text-decoration: none; font-size: var(--fs-1); font-weight: 500; white-space: nowrap; transition: border-color var(--t-1) var(--ease), background-color var(--t-1) var(--ease), color var(--t-1) var(--ease); }
.seg:hover { border-color: var(--ink-3); color: var(--ink); }
.seg[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: var(--page); }
.seg .n { font-size: var(--fs-0); opacity: .7; font-variant-numeric: tabular-nums; }
.seg .i { width: 1em; height: 1em; }
.filter-selects { display: flex; flex-wrap: wrap; gap: 10px; margin-inline-start: auto; align-items: center; }
.select { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-1); color: var(--ink-3); }
.select select { font: inherit; font-size: var(--fs-1); color: var(--ink); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-1); padding: 7px 10px; min-height: 38px; }
.result-count { font-size: var(--fs-1); color: var(--ink-3); display: flex; gap: 12px; align-items: center; }
.domain-note { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: var(--fs-1); }
form[aria-busy="true"]::after { content: ""; position: absolute; inset-inline: 0; inset-block-end: -1px; height: 2px; background: var(--blue); animation: busy 900ms var(--ease) infinite; transform-origin: var(--from, left); }
[dir="rtl"] form[aria-busy="true"]::after { --from: right; }
@keyframes busy { 0% { transform: scaleX(0); } 60% { transform: scaleX(.8); } 100% { transform: scaleX(1); opacity: 0; } }

/* empty states: say what happened and what to do next */
.empty { display: grid; justify-items: center; gap: 10px; padding: 44px 20px; text-align: center; color: var(--ink-2); }
.empty svg { width: 64px; height: 48px; color: var(--ochre); }
.empty p { margin: 0; }
.empty .muted { font-size: var(--fs-1); }

/* ------------------------------------------------------------------ labs */
.labs-warning { display: flex; gap: 12px; padding: 14px 16px; border: 1px dashed var(--ochre); border-radius: var(--r-1); background: color-mix(in srgb, var(--ochre) 6%, var(--surface)); color: var(--ink); font-size: var(--fs-1); margin-block-end: 20px; }
.labs-warning p { margin: 0; }
.labs-warning svg { color: var(--ochre); width: 22px; height: 22px; flex: none; margin-top: 2px; }
.lab-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.lab { padding: 20px; border-style: dashed; position: relative; transition: border-color var(--t-1) var(--ease); }
.lab:hover { border-color: var(--ochre); border-style: solid; }
.lab h3 { font-size: var(--fs-3); margin-block: 10px 4px; }
.lab h3 a { color: var(--ink); text-decoration: none; }
.lab h3 a::after { content: ""; position: absolute; inset: 0; }
.lab p { font-size: var(--fs-1); color: var(--ink-2); margin: 0; }
.lab-tech { margin-top: 14px; }

/* ------------------------------------------------------------------ apps by platform */
.platform-group + .platform-group { margin-block-start: 30px; }
.platform-group h2 { font-size: var(--fs-4); display: flex; align-items: center; gap: 10px; margin-block-end: 12px; }
.platform-group h2 svg { width: 22px; height: 22px; color: var(--blue); }

/* ------------------------------------------------------------------ entry detail */
.entry-head { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; padding-block: clamp(22px, 3vw, 36px) 28px; border-block-end: 1px solid var(--line); margin-block-end: 28px; }
.entry-head h1 { font-size: var(--fs-6); font-weight: 800; }
.entry-head .tag { font-size: var(--fs-3); color: var(--ink-2); margin: 8px 0 18px; max-width: 60ch; }
.entry-head .parent { font-size: var(--fs-1); color: var(--ink-3); margin-block-end: 6px; }
.entry-head .stage { max-width: 420px; margin-block: 0 18px; }
.entry-head .stage .track-scale { border: 0; padding-block: 6px 0; }
@media (max-width: 640px) { .entry-head { grid-template-columns: 1fr; gap: 16px; } }
.entry-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .entry-body { grid-template-columns: 1fr; } .entry-body aside { order: -1; } }
.prose { max-width: 70ch; }
.prose h2 { font-size: var(--fs-4); margin-block: 36px 12px; display: flex; align-items: center; gap: 10px; }
.prose > h2:first-child { margin-top: 0; }
.prose ul { padding-inline-start: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose code { background: var(--surface-2); padding: 1px 6px; border-radius: 2px; font-size: .92em; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; }
.feature-list li::before { content: ""; width: 7px; height: 7px; margin-top: .72em; background: var(--blue); flex: none; }
.problem { border-inline-start: 3px solid var(--ochre); padding-inline-start: 16px; color: var(--ink-2); }
.facts-panel { padding: 4px 20px; }
.facts-panel dl { margin: 0; }
.facts-panel .fr { display: flex; justify-content: space-between; gap: 16px; padding-block: 11px; border-block-end: 1px solid var(--line); font-size: var(--fs-1); }
.facts-panel .fr:last-child { border: 0; }
.facts-panel dt { color: var(--ink-3); }
.facts-panel dd { margin: 0; text-align: end; font-weight: 600; }
.side-stack { display: grid; gap: 14px; position: sticky; top: calc(var(--head-h) + 20px); }
@media (max-width: 900px) { .side-stack { position: static; } }
.side-label { font-size: var(--fs-0); margin: 14px 0 8px; }
.side-pad { padding-inline: 20px; margin-bottom: 0; }
.link-list { list-style: none; margin: 0; padding: 6px; }
.link-list a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding-inline: 12px; border-radius: var(--r-1); color: var(--ink); text-decoration: none; font-size: var(--fs-1); font-weight: 500; }
.link-list a:hover { background: var(--surface-2); color: var(--blue); }
.link-list a .host { margin-inline-start: auto; color: var(--ink-3); font-size: var(--fs-0); direction: ltr; font-weight: 400; }
.link-list .status { margin-inline-start: auto; font-size: var(--fs-0); }
.gallery { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-block-end: 8px; }
.gallery a { flex: 0 0 auto; scroll-snap-align: start; border-radius: var(--r-1); overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); }
.gallery img { height: 280px; width: auto; }
@media (max-width: 640px) { .gallery img { height: 220px; } }
.versions { list-style: none; margin: 0; padding: 0; border-inline-start: 2px solid var(--line); }
.versions li { position: relative; padding-inline-start: 22px; padding-block-end: 20px; }
.versions li::before { content: ""; position: absolute; inset-inline-start: -7px; top: .55em; width: 12px; height: 12px; background: var(--surface); border: 2px solid var(--line-strong); }
.versions li:first-child::before { background: var(--blue); border-color: var(--blue); }
.versions .vh { display: flex; flex-wrap: wrap; gap: 10px; align-items: baseline; }
.versions .vh strong { font-family: var(--display); font-size: var(--fs-3); }
.versions p { margin: 4px 0 0; color: var(--ink-2); font-size: var(--fs-1); }
.bench { width: 100%; border-collapse: collapse; font-size: var(--fs-1); }
.bench td, .bench th { padding: 9px 10px; border-block-end: 1px solid var(--line); text-align: start; }

/* ------------------------------------------------------------------ solutions */
.solution { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; padding: clamp(22px, 3vw, 32px); }
.solution > :first-child { grid-column: span 7; }
.solution > :last-child { grid-column: span 5; }
.solution + .solution { margin-top: 16px; }
.solution h2 { font-size: var(--fs-4); margin-block-end: 10px; }
.solution p { color: var(--ink-2); }
.solution .caps { margin: 0; padding-inline-start: 1.2em; font-size: var(--fs-1); color: var(--ink-2); }
.solution .caps li::marker { color: var(--ochre); }
.solution .built { font-size: var(--fs-0); color: var(--ink-3); margin-block-end: 8px; }
.built-list { display: grid; gap: 8px; }
.built-list a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-1); color: var(--ink); text-decoration: none; background: var(--page); transition: border-color var(--t-1) var(--ease); }
.built-list a:hover { border-color: var(--blue); }
.built-list .status { margin-inline-start: auto; }
@media (max-width: 760px) { .solution > :first-child, .solution > :last-child { grid-column: 1 / -1; } }

/* ------------------------------------------------------------------ developers */
.res-group + .res-group { margin-top: 30px; }
.res-group h2 { font-size: var(--fs-4); margin-block-end: 12px; }
.host-tag { font-size: var(--fs-0); }
.inline-link { position: relative; z-index: 1; }

/* ------------------------------------------------------------------ pagination, about, misc */
.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; font-size: var(--fs-1); }
.where { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.where > div { padding: 22px; }
.where h3 { font-size: var(--fs-3); direction: ltr; text-align: start; }
.where p { color: var(--ink-2); font-size: var(--fs-1); margin: 8px 0 14px; }
.where .here { border-color: var(--blue); box-shadow: inset 0 3px 0 var(--blue); }
@media (max-width: 760px) { .where { grid-template-columns: 1fr; } }
.upd-ex { margin: 4px 0 0; font-size: var(--fs-1); }
.upd-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 12px; }
.corp-strip { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; flex-wrap: wrap; }
.corp-strip p { margin: 0; max-width: 72ch; color: var(--ink-2); font-size: var(--fs-1); }

/* ------------------------------------------------------------------ footer */
.site-foot { border-block-start: 1px solid var(--line); background: var(--surface); font-size: var(--fs-1); }
.axis-band + .site-foot { border-block-start: 0; }
main > :last-child:not(.axis-band) { margin-block-end: clamp(48px, 7vw, 88px); }
.site-foot .cols { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 28px; padding-block: 36px; }
.site-foot h2 { font-family: var(--text); font-size: var(--fs-0); color: var(--ink-3); font-weight: 500; margin-block-end: 12px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-foot a { color: var(--ink-2); text-decoration: none; }
.site-foot a:hover { color: var(--blue); text-decoration: underline; }
.site-foot .sig { font-family: var(--display); font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 8px; margin-block-start: 14px; }
.site-foot .base { border-block-start: 1px solid var(--line); padding-block: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: var(--ink-3); font-size: var(--fs-0); }
.site-foot .base .made { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 760px) { .site-foot .cols { grid-template-columns: 1fr 1fr; } .site-foot .cols > :first-child { grid-column: 1 / -1; } }

/* ------------------------------------------------------------------ search palette */
.cmdk { border: 0; padding: 0; background: transparent; width: min(660px, calc(100vw - 24px)); max-height: min(580px, calc(100vh - 80px)); margin-block-start: 9vh; color: var(--ink); overflow: visible; }
.cmdk::backdrop { background: rgb(6 11 21 / .5); }
.cmdk[open] .cmdk-box { animation: pop var(--t-2) var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.cmdk-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-2); box-shadow: 0 30px 70px -24px rgb(0 0 0 / .5); display: flex; flex-direction: column; max-height: inherit; overflow: hidden; position: relative; }
.cmdk-box.is-loading::before { content: ""; position: absolute; inset-inline: 0; inset-block-start: 0; height: 2px; background: var(--blue); transform-origin: var(--from, left); animation: busy 800ms var(--ease) infinite; }
[dir="rtl"] .cmdk-box.is-loading::before { --from: right; }
.cmdk-in { display: flex; align-items: center; gap: 10px; padding: 6px 14px; border-block-end: 1px solid var(--line); }
.cmdk-in input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: var(--fs-3); color: var(--ink); padding-block: 14px; }
.cmdk-in input:focus { outline: none; }
.cmdk-in input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.cmdk-list { list-style: none; margin: 0; padding: 6px; overflow-y: auto; }
.cmdk-group { padding: 10px 10px 4px; font-size: var(--fs-0); color: var(--ink-3); }
.cmdk-item a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r-1); color: var(--ink); text-decoration: none; position: relative; }
.cmdk-item[aria-selected="true"] a, .cmdk-item a:hover { background: var(--blue-soft); }
.cmdk-item[aria-selected="true"] a::before { content: ""; position: absolute; inset-block: 8px; inset-inline-start: 0; width: 3px; background: var(--blue); }
.cmdk-item .t { font-weight: 600; }
.cmdk-item .s { display: block; font-size: var(--fs-0); color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46ch; }
.cmdk-item .status { margin-inline-start: auto; }
.cmdk-foot { padding: 10px 14px; border-block-start: 1px solid var(--line); font-size: var(--fs-0); color: var(--ink-3); display: flex; justify-content: space-between; gap: 10px; }
.cmdk-empty, .cmdk-hint { padding: 22px 16px; text-align: center; color: var(--ink-3); font-size: var(--fs-1); }
.cmdk-quick { padding: 8px 6px; display: flex; flex-wrap: wrap; gap: 6px; }
.cmdk-quick a { padding: 7px 12px; border: 1px solid var(--line); border-radius: 2px; color: var(--ink-2); text-decoration: none; font-size: var(--fs-1); }
.cmdk-quick a:hover { border-color: var(--blue); color: var(--blue); }
@media (max-width: 640px) { .cmdk { margin: 0; width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; } .cmdk-box { border-radius: 0; height: 100%; max-height: none; } }
.search-results { list-style: none; margin: 0; padding: 0; }

/* ------------------------------------------------------------------ errors */
.err { min-height: 62vh; display: grid; place-content: center; text-align: center; gap: 14px; padding: 48px var(--gutter); position: relative; }
.err.draft-grid { mask-image: none; }
.err .code { font-family: var(--display); font-size: clamp(3.5rem, 12vw, 6.5rem); font-weight: 800; color: transparent; -webkit-text-stroke: 2px var(--ochre); line-height: 1; font-variant-numeric: tabular-nums; }
.err h1 { font-size: var(--fs-5); }
.err p { color: var(--ink-2); max-width: 48ch; margin-inline: auto; }
.err form { max-width: 460px; margin-inline: auto; width: 100%; }
.err .btn-row { justify-content: center; }

/* ------------------------------------------------------------------ motion: fast, directional, optional */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 140ms; animation-timing-function: var(--ease); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  @view-transition { navigation: none; }
}
@media print { .site-head, .site-foot, .cmdk, .tabbar, .store-link, .axis-band { display: none !important; } body { background: #fff; padding: 0; } }
.lab-stack { grid-template-columns: 1fr; align-content: start; }
.tf-counts { display: inline-flex; gap: 14px; }
.tf-counts b { color: var(--ink); font-weight: 600; }
/* refinements after visual review */
.track-head { flex-direction: column; align-items: flex-start; gap: 2px; }
.track-head h2 { white-space: nowrap; }
.jump a, .jump > span { white-space: nowrap; }
@media (max-width: 920px) { .jump > span { display: none; } .hero h1 { font-size: clamp(2rem, 8.4vw, 2.6rem); } .hero .lede { font-size: var(--fs-2); margin-block: 14px 20px; } }
.err .code { color: var(--ochre); -webkit-text-stroke: 0; }
main.err { min-height: calc(100vh - var(--head-h)); }
.name-grid h3 { font-size: var(--fs-5); color: var(--blue); }
.motto-card { background: var(--band); border-color: var(--band); border-radius: 2px; }
.motto-card p { color: var(--band-ink-2); margin: 0 0 8px; }
.motto-card .motto-line { font-family: var(--display); font-weight: 800; font-size: var(--fs-4); color: #fff; line-height: 1.5; }
.spot-row h2.h4 { font-size: var(--fs-3); color: var(--ink); }

/* Fast: below-the-fold home sections are laid out only when they approach the viewport */
.home-lazy { content-visibility: auto; contain-intrinsic-size: auto 720px; }
