/* Xonomy website — Jade "VaultX Blueprint" theme. Dark first, light via [data-theme] or the OS.
   Fonts are self-hosted (SIL OFL 1.1, licences in /licenses/). No external requests. */

@font-face { font-family: "Manrope"; src: url(/assets/fonts/manrope-variable-latin.a30ddcd349.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Michroma"; src: url(/assets/fonts/michroma-latin-400.754fdb31c9.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(/assets/fonts/jetbrains-mono-variable-latin.18be452724.woff2) format("woff2"); font-weight: 100 800; font-display: swap; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url(/assets/fonts/ibm-plex-sans-arabic-500.90aef64fea.woff2) format("woff2"); font-weight: 400 500; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+060C, U+061B, U+061F; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url(/assets/fonts/ibm-plex-sans-arabic-600.16734a5adb.woff2) format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+060C, U+061B, U+061F; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url(/assets/fonts/ibm-plex-sans-arabic-700.04c730b429.woff2) format("woff2"); font-weight: 700 800; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+060C, U+061B, U+061F; }

:root {
  --ground: #0e1514; --raised: #121b19; --panel: #15201d; --ink: #e6efec; --muted: #a6b8b3; --subtle: #8fa59f;
  --accent: #3ddcae; --accent-ink: #0b1311; --accent-soft: rgba(61, 220, 174, .12);
  --line: rgba(61, 220, 174, .18); --line-strong: rgba(61, 220, 174, .38);
  --leaf: #9ad97c; --amber: #f0c460; --amber-soft: rgba(240, 196, 96, .12); --grid: rgba(61, 220, 174, .055);
  --header-bg: rgba(14, 21, 20, .9);
  --f-display: "Michroma", "Manrope", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --f-ar: "IBM Plex Sans Arabic", "Manrope", system-ui, "Segoe UI", Tahoma, sans-serif;
  --wrap: 1180px; --gutter: 16px; --header-h: 64px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --ground: #eef3f1; --raised: #e2eae7; --panel: #f9fbfa; --ink: #0e1c19; --muted: #3b5550; --subtle: #4c6560;
    --accent: #0a6651; --accent-ink: #ffffff; --accent-soft: rgba(10, 102, 81, .1);
    --line: rgba(10, 102, 81, .2); --line-strong: rgba(10, 102, 81, .42);
    --leaf: #3a6b22; --amber: #7a5300; --amber-soft: rgba(122, 83, 0, .08); --grid: rgba(10, 102, 81, .06);
    --header-bg: rgba(238, 243, 241, .92);
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --ground: #eef3f1; --raised: #e2eae7; --panel: #f9fbfa; --ink: #0e1c19; --muted: #3b5550; --subtle: #4c6560;
  --accent: #0a6651; --accent-ink: #ffffff; --accent-soft: rgba(10, 102, 81, .1);
  --line: rgba(10, 102, 81, .2); --line-strong: rgba(10, 102, 81, .42);
  --leaf: #3a6b22; --amber: #7a5300; --amber-soft: rgba(122, 83, 0, .08); --grid: rgba(10, 102, 81, .06);
  --header-bg: rgba(238, 243, 241, .92);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background-color: var(--ground); color: var(--ink);
  font-family: var(--f-body); font-size: 16px; line-height: 1.6;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 44px 44px;
  overflow-wrap: break-word;
}
html[lang="ar"] body { font-family: var(--f-ar); font-weight: 500; line-height: 1.75; }
main { flex: 1 0 auto; }
main:focus { outline: none; }
img, video, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)); }
.wrap.narrow { max-width: 880px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link { position: absolute; inset-inline-start: 12px; top: -100px; z-index: 100; padding: 10px 16px; background: var(--accent); color: var(--accent-ink); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* ---------- type ---------- */
.eyebrow { font-family: var(--f-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
html[lang="ar"] .eyebrow { font-family: var(--f-ar); letter-spacing: 0; font-size: 14px; font-weight: 600; }
h1 { font-family: var(--f-display); font-weight: 400; font-size: clamp(25px, 4.4vw, 46px); line-height: 1.18; letter-spacing: .035em; text-transform: uppercase; }
h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(19px, 2.6vw, 27px); letter-spacing: .05em; text-transform: uppercase; line-height: 1.3; }
html[lang="ar"] h1, html[lang="ar"] h2 { font-family: var(--f-ar); font-weight: 700; text-transform: none; letter-spacing: 0; line-height: 1.45; }
html[lang="ar"] h1 { font-size: clamp(28px, 4.6vw, 48px); }
html[lang="ar"] h2 { font-weight: 600; font-size: clamp(21px, 2.8vw, 30px); }
h3 { font-size: 18px; font-weight: 700; line-height: 1.35; }
.lede { color: var(--muted); font-size: clamp(16px, 1.6vw, 18px); max-width: 66ch; }
.body-text { max-width: 70ch; }
.muted { color: var(--muted); }
.note { color: var(--subtle); font-size: 14px; margin-top: 16px; }
.intro { color: var(--muted); max-width: 70ch; margin-bottom: 24px; }
.more { margin-top: 22px; }
.arrow-link { font-weight: 700; text-decoration: none; }
.arrow-link::after { content: " →"; }
html[dir="rtl"] .arrow-link::after { content: " ←"; }
.arrow-link:hover { text-decoration: underline; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 8px 16px; border: 1px solid var(--accent); font: inherit; font-size: 14px; font-weight: 700; letter-spacing: .02em; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 86%, var(--ink)); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { min-height: 48px; padding: 12px 22px; font-size: 15px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .site-header { backdrop-filter: blur(8px); } }
.bar { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.brand-mark { color: var(--accent); flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--f-display); text-transform: uppercase; letter-spacing: .16em; font-size: 15px; margin: 0; }
.brand-by { font-family: var(--f-mono); font-size: 10.5px; color: var(--subtle); letter-spacing: .06em; }
html[lang="ar"] .brand-by { font-family: var(--f-ar); font-size: 12px; letter-spacing: 0; }
.site-nav { margin-inline-start: auto; }
.site-nav ul { list-style: none; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav a:not(.btn) { display: block; padding: 8px 10px; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; border-bottom: 2px solid transparent; }
.site-nav a:not(.btn):hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.nav-demo { display: none; }
.tools { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.tool { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; min-width: 40px; padding: 6px 10px; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); background: var(--panel); border: 1px solid var(--line-strong); text-decoration: none; cursor: pointer; }
.tool:hover { border-color: var(--accent); color: var(--accent); }
.lang-switch[lang="ar"] { font-family: var(--f-ar); }
.lang-switch[lang="en"] { font-family: var(--f-body); }
.menu-toggle, .no-js .theme-toggle { display: none; }

@media (max-width: 1120px) {
  .site-nav a:not(.btn) { padding: 8px 7px; font-size: 13.5px; }
}
@media (max-width: 1040px) {
  .js .menu-toggle { display: inline-flex; }
  .js .site-nav { display: none; position: absolute; inset-inline: 0; top: 100%; background: var(--ground); border-bottom: 1px solid var(--line-strong); box-shadow: 0 16px 32px rgba(0, 0, 0, .25); }
  .js .site-nav.open { display: block; }
  .js .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 16px; max-width: var(--wrap); margin-inline: auto; }
  .js .site-nav a:not(.btn) { padding: 12px 4px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .js .site-nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--accent); }
  .js .nav-demo { display: block; margin-top: 12px; }
  .js .nav-demo .btn { width: 100%; min-height: 48px; }
  .js .tools { margin-inline-start: auto; }
  .no-js .bar { flex-wrap: wrap; padding-block: 8px; }
  .no-js .site-nav { order: 3; flex-basis: 100%; }
  .no-js .site-nav ul { flex-wrap: wrap; }
  .header-demo { display: none; }
}
@media (max-width: 420px) {
  .menu-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .bar { gap: 8px; }
  .brand-by { display: none; }
  .tools { gap: 6px; }
}

/* ---------- frames ---------- */
.frame { position: relative; border: 1px solid var(--line-strong); background: var(--panel); }
.frame-ticks { position: relative; }
.frame-ticks::before, .frame-ticks::after { content: ""; position: absolute; width: 14px; height: 14px; border: 2px solid var(--accent); pointer-events: none; }
.frame-ticks::before { inset-inline-start: -2px; top: -2px; border-width: 2px 0 0 2px; }
.frame-ticks::after { inset-inline-end: -2px; bottom: -2px; border-width: 0 2px 2px 0; }
html[dir="rtl"] .frame-ticks::before { border-width: 2px 2px 0 0; }
html[dir="rtl"] .frame-ticks::after { border-width: 0 0 2px 2px; }
video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #0e1514; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 44px; align-items: center; padding-block: 56px 64px; }
.hero-copy { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.hero-video { margin: 0; min-width: 0; }
.hero-video .frame, .video-block .frame { padding: 6px; }
figcaption { font-size: 13.5px; color: var(--subtle); margin-top: 10px; }
.facts { list-style: none; padding: 0; display: flex; gap: 12px 26px; flex-wrap: wrap; margin-top: 4px; }
.facts li { font-family: var(--f-mono); font-size: 13px; color: var(--muted); display: flex; flex-direction: column; }
html[lang="ar"] .facts li { font-family: var(--f-ar); font-size: 14px; }
.facts b { font-family: var(--f-display); font-weight: 400; color: var(--accent); font-size: 25px; line-height: 1.3; font-variant-numeric: tabular-nums; }
html[lang="ar"] .facts b { font-family: var(--f-display); direction: ltr; text-align: start; }
.video-block { margin: 0; }

/* ---------- page head ---------- */
.page-head { display: flex; flex-direction: column; gap: 16px; padding-block: 56px 40px; }
.center-block { align-items: flex-start; min-height: 40vh; justify-content: center; }

/* ---------- sections ---------- */
.section { padding-block: 56px; border-top: 1px solid var(--line); }
/* Section heading = a drawing "sheet": mono sheet code, the heading, then a jade rule (see Motion below). */
.sheet { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 20px; width: fit-content; max-width: 100%; }
.sheet::after { content: ""; display: block; align-self: stretch; height: 2px; margin-top: 4px; background: var(--accent); transform-origin: left center; }
html[dir="rtl"] .sheet::after { transform-origin: right center; }
.tag { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; color: var(--accent); line-height: 1.5; }
html[lang="ar"] .tag { font-family: var(--f-ar); font-size: 13.5px; font-weight: 600; letter-spacing: 0; }

.grid { display: grid; gap: 16px; list-style: none; padding: 0; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); padding: 22px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.card .k { font-family: var(--f-mono); font-size: 12px; color: var(--accent); letter-spacing: .12em; text-transform: uppercase; font-weight: 500; line-height: 1.5; }
html[lang="ar"] .card .k { font-family: var(--f-ar); letter-spacing: 0; font-size: 14px; font-weight: 600; }
.card p:not(.k) { color: var(--muted); font-size: 15px; }
.card .big { color: var(--ink) !important; font-size: 18px !important; font-weight: 700; }
.pressure .card { border-inline-start: 3px solid var(--amber); }
.outcome { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; }
.outcome .ico { width: 38px; height: 38px; border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center; color: var(--accent); font-family: var(--f-mono); font-size: 15px; }
.outcome h3 { margin-bottom: 6px; }
.info-row { margin-top: 16px; }

.roles { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); background: var(--panel); }
.roles li { display: flex; align-items: center; gap: 14px; padding: 18px 20px; font-weight: 700; border-bottom: 1px solid var(--line); border-inline-end: 1px solid var(--line); min-width: 0; }
.roles li:nth-child(3n) { border-inline-end: 0; }
.roles li:nth-last-child(-n+3) { border-bottom: 0; }
.role-n { font-family: var(--f-mono); color: var(--accent); font-size: 13px; font-weight: 500; }

.journey-tiles li { min-width: 0; display: flex; }
.tile { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px; background: var(--panel); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700; min-height: 120px; }
.tile:hover { border-color: var(--accent); }
.tile:hover .tile-t { color: var(--accent); }
.jletter { font-family: var(--f-mono); color: var(--accent); font-size: 13px; border: 1px solid var(--line-strong); min-width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; font-weight: 500; flex-shrink: 0; }

.pill { display: inline-block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; padding: 2px 8px; border: 1px solid var(--line-strong); color: var(--accent); text-transform: uppercase; vertical-align: middle; font-weight: 500; line-height: 1.6; }
html[lang="ar"] .pill { font-family: var(--f-ar); letter-spacing: 0; font-size: 12.5px; font-weight: 600; }
.pill.inc { color: var(--leaf); border-color: color-mix(in srgb, var(--leaf) 55%, transparent); }

/* ---------- journeys ---------- */
.journey { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 36px; align-items: start; padding-block: 36px; border-top: 1px dashed var(--line); }
.journeys .wrap > .journey:first-of-type, .journeys .intro + .journey, .journeys .sheet + .journey { border-top: 0; padding-top: 12px; }
.journey:nth-of-type(even) .shotcol { order: -1; }
.jhead { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.jhead h3 { font-size: clamp(19px, 2vw, 22px); }
.feat { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.feat li { position: relative; padding-inline-start: 22px; display: flex; flex-direction: column; }
.feat li::before { content: ""; position: absolute; inset-inline-start: 0; top: .6em; width: 8px; height: 8px; background: var(--accent); }
.feat span { color: var(--muted); font-size: 15px; }
.shotcol { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.shot { margin: 0; min-width: 0; }
.shot .frame { overflow: hidden; padding: 0; }
.shot img { display: block; width: 100%; }
.shot-grid .shot img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }

/* ---------- jump nav ---------- */
.jump ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.jump a { display: inline-flex; gap: 8px; padding: 6px 12px; border: 1px solid var(--line-strong); background: var(--panel); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; }
.jump a span { font-family: var(--f-mono); color: var(--accent); }
.jump a:hover { border-color: var(--accent); }

/* ---------- packages ---------- */
.pkg { background: var(--panel); border: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-width: 0; }
.pkg.main { border-color: var(--accent); }
.pkg ul { padding-inline-start: 18px; color: var(--muted); font-size: 15px; display: flex; flex-direction: column; gap: 6px; }

/* ---------- rollout ---------- */
.timeline { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); }
.timeline li { padding: 20px; border-inline-end: 1px solid var(--line); background: var(--panel); display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.timeline li:last-child { border-inline-end: 0; }
.timeline b { font-family: var(--f-mono); font-weight: 500; color: var(--accent); font-size: 13px; }
html[lang="ar"] .timeline b { font-family: var(--f-ar); font-weight: 600; font-size: 14px; }
.timeline span { color: var(--muted); font-size: 15px; }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); margin-top: 20px; }
table { border-collapse: collapse; width: 100%; background: var(--panel); font-size: 15px; }
caption { text-align: start; padding: 14px 16px 4px; font-weight: 700; }
th, td { text-align: start; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-family: var(--f-mono); font-weight: 500; font-size: 12px; letter-spacing: .12em; color: var(--accent); text-transform: uppercase; }
html[lang="ar"] thead th { font-family: var(--f-ar); letter-spacing: 0; font-size: 14px; font-weight: 600; }
tbody th { font-weight: 700; color: var(--ink); }
td { color: var(--muted); }
tbody tr:last-child > * { border-bottom: 0; }

/* ---------- faq ---------- */
.faq { max-width: 880px; }
.faq details { background: var(--panel); border: 1px solid var(--line); }
.faq details + details { margin-top: 10px; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 16px 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-family: var(--f-mono); flex-shrink: 0; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding: 0 20px 18px; font-size: 15px; }

/* ---------- cta ---------- */
.cta { background: var(--accent-soft); border: 1px solid var(--line-strong); padding: clamp(22px, 4vw, 40px); display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }

/* ---------- forms ---------- */
.demo-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.demo-form { background: var(--panel); border: 1px solid var(--line-strong); padding: clamp(20px, 3.5vw, 32px); display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, legend { font-weight: 700; font-size: 14.5px; }
input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--ground);
  border: 1px solid var(--line-strong); padding: 10px 12px; min-height: 44px; border-radius: 0;
}
textarea { resize: vertical; min-height: 120px; }
input:hover, textarea:hover { border-color: var(--accent); }
input:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
html[dir="rtl"] input[dir="ltr"] { text-align: right; }
.req { color: var(--amber); }
.hint { color: var(--subtle); font-size: 13.5px; }
fieldset.checks { border: 1px solid var(--line); padding: 14px 16px 16px; margin: 0; display: flex; flex-direction: column; gap: 10px; }
legend { padding-inline: 6px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); flex-shrink: 0; }
.consent { color: var(--muted); }
.demo-form .btn { align-self: flex-start; }
.hp { display: none !important; }
.demo-aside { display: flex; flex-direction: column; gap: 16px; }
.demo-aside h2 { font-size: clamp(17px, 2vw, 20px); }
.demo-aside .small-h { margin-top: 12px; }
.steps { padding: 0; list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 12px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; color: var(--muted); }
.steps li::before { content: counter(s); font-family: var(--f-mono); color: var(--accent); border: 1px solid var(--line-strong); height: 28px; display: flex; align-items: center; justify-content: center; }
.tbc { display: inline-block; font-family: var(--f-mono); font-size: .9em; color: var(--amber); background: var(--amber-soft); border: 1px dashed var(--amber); padding: 0 6px; }
html[lang="ar"] .tbc { font-family: var(--f-ar); }

/* ---------- legal & lists ---------- */
.notice { border: 1px solid var(--amber); background: var(--amber-soft); color: var(--ink); padding: 12px 16px; font-size: 15px; }
.notice-badge { font-family: var(--f-mono); font-weight: 700; color: var(--amber); letter-spacing: .12em; margin-inline-end: 6px; }
html[lang="ar"] .notice-badge { font-family: var(--f-ar); letter-spacing: 0; }
.prose { padding-bottom: 64px; }
.prose section { padding-block: 18px; border-top: 1px solid var(--line); }
.prose h2 { font-size: clamp(16px, 2vw, 19px); margin-bottom: 10px; }
.prose p { color: var(--muted); max-width: 72ch; }
.prose p + p { margin-top: 10px; }
.details-list { display: grid; grid-template-columns: minmax(0, 14em) minmax(0, 1fr); margin: 0; border: 1px solid var(--line); background: var(--panel); }
.details-list dt, .details-list dd { padding: 12px 16px; border-bottom: 1px solid var(--line); margin: 0; }
.details-list dt { color: var(--muted); font-weight: 600; }
.details-list dt:last-of-type, .details-list dd:last-of-type { border-bottom: 0; }
.credits { padding-inline-start: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--muted); }
.credits b { color: var(--ink); }
.link-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 20px; font-weight: 700; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line-strong); background: var(--raised); padding-block: 40px 24px; font-size: 14px; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.6fr) minmax(0, 1.2fr); gap: 32px; }
.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.footer-h { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; color: var(--subtle); text-transform: uppercase; margin-bottom: 10px; font-weight: 500; }
html[lang="ar"] .footer-h { font-family: var(--f-ar); letter-spacing: 0; font-size: 13.5px; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.site-footer ul a { display: inline-block; padding-block: 4px; color: var(--ink); text-decoration: none; }
.site-footer ul a:hover { color: var(--accent); text-decoration: underline; }
.footer-contact dl { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 12px; }
.footer-contact dt { color: var(--subtle); }
.footer-contact dd { margin: 0; min-width: 0; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--subtle); }
.footer-bottom a { color: var(--subtle); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero, .journey, .demo-layout { grid-template-columns: minmax(0, 1fr); }
  .hero { gap: 32px; padding-block: 40px 48px; }
  .journey:nth-of-type(even) .shotcol { order: 0; }
  .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roles li { border-inline-end: 1px solid var(--line) !important; border-bottom: 1px solid var(--line) !important; }
  .roles li:nth-child(2n) { border-inline-end: 0 !important; }
  .roles li:nth-last-child(-n+2) { border-bottom: 0 !important; }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline li:nth-child(2) { border-inline-end: 0; }
  .timeline li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .shotcol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .shotcol .shot:only-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .section { padding-block: 44px; }
  .page-head { padding-block: 40px 28px; }
  .g2, .g3, .g4, .fields, .shotcol, .footer-grid, .footer-nav { grid-template-columns: minmax(0, 1fr); }
  .roles { grid-template-columns: minmax(0, 1fr); }
  .roles li { border-inline-end: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .roles li:last-child { border-bottom: 0 !important; }
  .timeline { grid-template-columns: minmax(0, 1fr); }
  .timeline li { border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .timeline li:last-child { border-bottom: 0; }
  .details-list { grid-template-columns: minmax(0, 1fr); }
  .details-list dt { border-bottom: 0; padding-bottom: 0; }
  .tile { min-height: 0; flex-direction: row; align-items: center; }
  .facts b { font-size: 22px; }
  .actions .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .skip-link, video { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------- hero emblem (animated logo) ---------- */
.hero-emblem { margin: 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.emblem-box { width: min(100%, 460px); aspect-ratio: 1; color: var(--accent); }
.emblem { display: block; width: 100%; height: 100%; overflow: visible; }
.em-grid path { stroke-opacity: .28; stroke-dasharray: 1; stroke-dashoffset: 1; animation: em-draw .9s ease-out forwards; }
.em-grid path:nth-child(2) { animation-delay: .1s } .em-grid path:nth-child(3) { animation-delay: .2s } .em-grid path:nth-child(4) { animation-delay: .3s }
.em-grid path.fine { stroke-opacity: .1; animation-delay: .35s; animation-duration: 1.2s; }
.em-frame { stroke-opacity: .5; stroke-dasharray: 1; stroke-dashoffset: 1; animation: em-draw 1.2s ease-out .1s forwards; }
.em-ticks { opacity: 0; animation: em-fade .4s ease-out 1.1s forwards; }
.em-orbit { opacity: 0; transform-box: view-box; transform-origin: 200px 200px; animation: em-fade .8s ease-out 2.2s forwards, em-spin 60s linear 2.2s infinite; }
.em-orbit circle { stroke-opacity: .55; }
.em-glow { fill: var(--accent); opacity: 0; transform-box: view-box; transform-origin: 200px 200px; animation: em-glow-in 1s ease-out 1.8s forwards, em-breathe 5s ease-in-out 2.8s infinite; filter: blur(28px); }
.leaf-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: em-draw 1.5s cubic-bezier(.6,0,.3,1) .6s forwards; }
.leaf-fill { fill: var(--accent); opacity: 0; animation: em-leaf-fill .9s ease-out 1.9s forwards; }
.leaf-vein { stroke-dasharray: 1; stroke-dashoffset: 1; animation: em-draw .7s ease-out 2s forwards; }
.em-scan { stroke-opacity: 0; transform-box: view-box; animation: em-scan 7s ease-in-out 3.6s infinite; }
.em-node { opacity: 0; animation: em-pop .5s cubic-bezier(.2,1.4,.4,1) forwards; }
.em-node rect { fill: var(--panel); stroke: currentColor; stroke-width: 1.5; }
.em-node text { fill: var(--leaf); font-family: var(--f-mono); font-size: 14px; text-anchor: middle; letter-spacing: .06em; }
.em-node.n1 { animation-delay: 2.7s } .em-node.n2 { animation-delay: 3s } .em-node.n3 { animation-delay: 3.3s }
.emblem-word { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ew-name { font-family: var(--f-display); font-size: clamp(28px, 4vw, 40px); letter-spacing: .5em; margin-inline-end: -.5em; color: var(--ink); opacity: 0; animation: em-word 1.2s ease-out 3.4s forwards; }
.ew-by { font-family: var(--f-mono); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--accent); opacity: 0; animation: em-fade .8s ease-out 3.9s forwards; }
@keyframes em-draw { to { stroke-dashoffset: 0; } }
@keyframes em-fade { to { opacity: 1; } }
@keyframes em-spin { to { transform: rotate(360deg); } }
@keyframes em-glow-in { to { opacity: .22; } }
@keyframes em-breathe { 0%, 100% { opacity: .22; transform: scale(1); } 50% { opacity: .32; transform: scale(1.08); } }
@keyframes em-leaf-fill { to { opacity: .2; } }
@keyframes em-scan { 0% { transform: translateY(40px); stroke-opacity: 0; } 10% { stroke-opacity: .45; } 90% { stroke-opacity: .45; } 100% { transform: translateY(360px); stroke-opacity: 0; } }
@keyframes em-pop { from { opacity: 0; } to { opacity: 1; } }
@keyframes em-word { from { opacity: 0; letter-spacing: .9em; } to { opacity: 1; letter-spacing: .5em; } }
@media (prefers-reduced-motion: reduce) {
  .em-grid path, .em-frame, .leaf-line, .leaf-vein { animation: none; stroke-dashoffset: 0; }
  .em-ticks, .em-orbit, .em-node, .ew-name, .ew-by { animation: none; opacity: 1; }
  .em-glow { animation: none; opacity: .22; }
  .leaf-fill { animation: none; opacity: .2; }
  .em-scan { animation: none; display: none; }
}

/* =====================================================================================
   Motion — "Living Blueprint" (A1–A7). How it works:
   • The final state is the normal style. Start states ("hidden, about to animate") exist only
     under html.js (class set by site.js) inside (prefers-reduced-motion: no-preference), so
     visitors without JavaScript or with reduced motion always see everything at once.
   • site.js adds .in when an element enters the screen; CSS plays the animation.
   • Scroll-linked parts (journey rail, pilot timeline) use CSS scroll-driven animations where
     supported; elsewhere site.js adds html.sdf and sets --p (0…1) on scroll.
   • Only transform, opacity, clip-path and stroke-dashoffset are animated.
   Timing knobs: durations and easings are in the rules below; packet loop = 8s (A5).
   ===================================================================================== */

/* ---- A5 · How it works (home) ---- */
.how { position: relative; isolation: isolate; --dir: 1; }
html[dir="rtl"] .how { --dir: -1; }
.how-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: how; }
.how-steps li { counter-increment: how; position: relative; background: var(--panel); border: 1px solid var(--line); padding: 42px 20px 20px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.how-steps li::before { content: ""; position: absolute; z-index: 2; top: 16px; inset-inline-start: 20px; width: 12px; height: 12px; background: var(--ground); border: 2px solid var(--accent); }
.how-steps li:nth-child(2) { --k: 1; } .how-steps li:nth-child(3) { --k: 2; } .how-steps li:nth-child(4) { --k: 3; }
.how-steps p { color: var(--muted); font-size: 15px; }
.how-n { font-family: var(--f-mono); font-size: 12px; color: var(--accent); letter-spacing: .1em; }
.how-n::before { content: counter(how, decimal-leading-zero); }
/* Dashed wire from the first marker to the last (marker centre = 26px from each card's start). */
.how-track { position: absolute; z-index: 1; top: 21px; height: 2px; inset-inline: 26px calc(25% - 38px); background: repeating-linear-gradient(to right, var(--line-strong) 0 6px, transparent 6px 12px); pointer-events: none; }
.how-track i { display: none; position: absolute; inset: 0; }
.how-track i::before { content: ""; position: absolute; top: -4px; inset-inline-start: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px 2px var(--accent); }
@media (max-width: 640px) {
  .how-steps { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 1fr; gap: 12px; }
  .how-steps li { padding: 16px 18px 16px 52px; padding-inline: 52px 18px; }
  .how-steps li::before { top: calc(50% - 6px); }
  .how-track { top: calc((100% - 36px) / 8); bottom: calc((100% - 36px) / 8); height: auto; width: 2px; inset-inline: 25px auto; background: repeating-linear-gradient(to bottom, var(--line-strong) 0 6px, transparent 6px 12px); }
  .how-track i::before { top: -5px; inset-inline-start: -4px; }
}

/* ---- A2 · count-up: the real number (.cf) keeps its place but is invisible while the
   aria-hidden copy (.cr) counts on top of it. site.js restores plain text when done. ---- */
.facts b.counting { position: relative; }
.counting .cf { opacity: 0; }
.counting .cr { position: absolute; top: 0; inset-inline-start: 0; }

/* ---- A6 · border trace (svg.trace is added by site.js to .pkg and .tile) ---- */
.pkg, .tile { position: relative; }
.trace { position: absolute; top: -1px; left: -1px; width: calc(100% + 2px); height: calc(100% + 2px); overflow: visible; pointer-events: none; }
html[dir="rtl"] .trace { transform: scaleX(-1); }
.trace rect { fill: none; stroke: var(--accent); stroke-width: 2; x: 1px; y: 1px; width: calc(100% - 2px); height: calc(100% - 2px); stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s cubic-bezier(.6, 0, .2, 1); }
.pkg:hover .trace rect, .pkg:focus-within .trace rect, .tile:hover .trace rect, .tile:focus-visible .trace rect { stroke-dashoffset: 0; }

/* ---- A3 · journey rail (product, desktop) and progress line (smaller screens) ---- */
.jrail, .jprog { display: none; }
html.js .jprog { display: block; position: sticky; top: var(--header-h); z-index: 40; height: 3px; margin-bottom: -3px; background: var(--line); }
.jprog i { display: block; height: 100%; background: var(--accent); transform-origin: left center; }
html[dir="rtl"] .jprog i { transform-origin: right center; }
.jrail ol { position: sticky; top: calc(var(--header-h) + 40px); list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 22px; }
.jrail li { position: relative; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; font-family: var(--f-mono); font-size: 13px; color: var(--accent); background: var(--ground); border: 1px solid var(--line-strong); }
.jrail li::before { content: attr(data-l); position: absolute; inset: -1px; display: flex; align-items: center; justify-content: center; background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 12px var(--accent); }
.jrail li i { position: absolute; top: 100%; inset-inline-start: calc(50% - 1px); width: 2px; height: 23px; background: var(--line-strong); }
.jrail li i::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform-origin: top center; }
.jrail li:last-child i { display: none; }
html.js .jtrack .jhead .jletter { position: relative; }
html.js .jtrack .jhead .jletter::after { content: ""; position: absolute; inset: -1px; border: 1px solid var(--accent); box-shadow: 0 0 12px var(--accent), inset 0 0 8px var(--accent-soft); pointer-events: none; }
@media (min-width: 1100px) {
  html.js .jprog { display: none; }
  html.js .jtrack .wrap { position: relative; padding-inline-start: calc(var(--gutter) + 62px); }
  html.js .jrail { display: block; position: absolute; top: 12px; bottom: 0; inset-inline-start: var(--gutter); width: 30px; }
}

/* ---- A7 · pilot timeline: a bar segment and a marker per week ---- */
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; top: -1px; inset-inline: 0; height: 3px; background: var(--accent); transform-origin: left center; }
html[dir="rtl"] .timeline li::before { transform-origin: right center; }
.timeline li::after { content: ""; position: absolute; top: -5px; inset-inline-start: 16px; width: 10px; height: 10px; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

@keyframes mo-in { to { opacity: 1; transform: none; } }
@keyframes mo-from0 { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: none; } }
@keyframes mo-grow { from { transform: scale(0, 1); } to { transform: none; } }
@keyframes mo-grow-y { from { transform: scale(1, 0); } to { transform: none; } }
@keyframes mo-wipe { to { clip-path: inset(0); } }
@keyframes mo-scan { 0% { transform: translateY(-100%); opacity: 1; } 88% { opacity: 1; } 100% { transform: translateY(0); opacity: 0; } }
@keyframes mo-tick-a { 50% { clip-path: inset(0 0 calc(100% - 2px) 0); } 100% { clip-path: inset(0); } }
@keyframes mo-tick-b { 50% { clip-path: inset(calc(100% - 2px) 0 0 0); } 100% { clip-path: inset(0); } }
@keyframes mo-lit { from, to { opacity: 1; } }
@keyframes how-x { 0%, 14% { transform: none; } 26%, 40% { transform: translateX(calc(var(--dir) * 33.333%)); } 52%, 66% { transform: translateX(calc(var(--dir) * 66.667%)); } 78%, 100% { transform: translateX(calc(var(--dir) * 100%)); } }
@keyframes how-y { 0%, 14% { transform: none; } 26%, 40% { transform: translateY(33.333%); } 52%, 66% { transform: translateY(66.667%); } 78%, 100% { transform: translateY(100%); } }
@keyframes how-dot { 0% { opacity: 0; } 3%, 93% { opacity: 1; } 100% { opacity: 0; } }
@keyframes how-hit { 0%, 14% { opacity: 1; } 20%, 100% { opacity: 0; } }

@media (prefers-reduced-motion: no-preference) {
  /* A1 · sheet code fades in (and decodes in English, see site.js); the rule draws */
  html.js .sheet .tag { opacity: 0; }
  html.js .sheet::after { transform: scaleX(0); }
  html.js .sheet.in .tag { animation: mo-in .3s ease-out forwards; }
  html.js .sheet.in::after { animation: mo-in .9s cubic-bezier(.6, 0, .2, 1) .12s forwards; }

  /* A4 · screenshots: scanner wipe, top to bottom, with a glowing scan line */
  /* 1px left uncovered: Chrome does not lazy-load an image that is fully clipped. */
  html.js .shot .frame img { clip-path: inset(0 0 calc(100% - 1px) 0); }
  html.js .shot .frame::after { content: ""; position: absolute; inset: 0; opacity: 0; pointer-events: none; border-bottom: 2px solid var(--accent); box-shadow: 0 8px 16px -8px var(--accent); background: linear-gradient(transparent 55%, color-mix(in srgb, var(--accent) 16%, transparent)); transform: translateY(-100%); }
  html.js .shot .frame.in img { animation: mo-wipe 1.4s cubic-bezier(.5, 0, .2, 1) forwards; }
  html.js .shot .frame.in::after { animation: mo-scan 1.4s cubic-bezier(.5, 0, .2, 1) forwards; }

  /* Final call to action: corner ticks draw from their corner, first along, then down/up */
  html.js .cta.frame-ticks::before { clip-path: inset(0 100% 100% 0); }
  html.js .cta.frame-ticks::after { clip-path: inset(100% 0 0 100%); }
  html[dir="rtl"].js .cta.frame-ticks::before { clip-path: inset(0 0 100% 100%); }
  html[dir="rtl"].js .cta.frame-ticks::after { clip-path: inset(100% 100% 0 0); }
  html.js .cta.frame-ticks.in::before { animation: mo-tick-a .7s cubic-bezier(.6, 0, .2, 1) .2s forwards; }
  html.js .cta.frame-ticks.in::after { animation: mo-tick-b .7s cubic-bezier(.6, 0, .2, 1) .5s forwards; }

  /* A5 · the packet travels and pauses at each step; it only runs while on screen */
  html.js .how-track i { display: block; animation: how-x 8s linear infinite paused; }
  html.js .how-track i::before { animation: how-dot 8s linear infinite; animation-play-state: inherit; }
  html.js .how-steps li::after { content: ""; position: absolute; z-index: 2; top: 12px; inset-inline-start: 16px; width: 20px; height: 20px; border: 1px solid var(--accent); box-shadow: 0 0 14px var(--accent); opacity: 0; animation: how-hit 8s linear infinite paused; animation-delay: calc(var(--k, 0) * 2.08s); }
  html.js .how.in .how-track i, html.js .how.in .how-steps li::after { animation-play-state: running; }
  @media (max-width: 640px) {
    html.js .how-track i { animation-name: how-y; }
    html.js .how-steps li::after { top: calc(50% - 10px); }
  }

  /* A3 + A7 start states */
  html.js .jrail li::before, html.js .jtrack .jhead .jletter::after { opacity: 0; }
  html.js .jrail li i::after { transform: scaleY(0); }
  html.js .jprog i { transform: scaleX(0); }
  html.js .timeline li::before { transform: scaleX(0); }
  html.js .timeline li::after { opacity: 0; transform: scale(.3); }
  /* JavaScript fallback (browsers without scroll-driven animations): --p and .on from site.js */
  html.sdf .jrail li i::after { transform: scaleY(var(--p, 0)); }
  html.sdf .jprog i, html.sdf .timeline li::before { transform: scaleX(var(--p, 0)); }
  html.sdf .jrail li.on::before, html.sdf .jtrack .journey.on .jhead .jletter::after { opacity: 1; transition: opacity .3s; }
  html.sdf .timeline li.on::after { opacity: 1; transform: none; transition: opacity .3s, transform .3s; }
}

/* Scroll-driven version. Each journey's timeline "line" is a thin band 40% down the screen. */
@supports (animation-timeline: view()) and (timeline-scope: --a) {
  @media (prefers-reduced-motion: no-preference) {
    html.js .jtrack { view-timeline: --jsec block; timeline-scope: --j1, --j2, --j3, --j4, --j5, --j6, --j7, --j8; }
    html.js .jtrack .journey { view-timeline-axis: block; view-timeline-inset: 40% 59%; }
    html.js .jtrack .journey:nth-of-type(1) { view-timeline-name: --j1; } html.js .jtrack .journey:nth-of-type(2) { view-timeline-name: --j2; }
    html.js .jtrack .journey:nth-of-type(3) { view-timeline-name: --j3; } html.js .jtrack .journey:nth-of-type(4) { view-timeline-name: --j4; }
    html.js .jtrack .journey:nth-of-type(5) { view-timeline-name: --j5; } html.js .jtrack .journey:nth-of-type(6) { view-timeline-name: --j6; }
    html.js .jtrack .journey:nth-of-type(7) { view-timeline-name: --j7; } html.js .jtrack .journey:nth-of-type(8) { view-timeline-name: --j8; }
    html.js .jrail li::before { animation: mo-lit linear forwards; animation-range: cover 0% cover 2%; }
    html.js .jrail li i::after { animation: mo-grow-y linear both; animation-range: cover 0% cover 100%; }
    html.js .jrail li:nth-child(1)::before, html.js .jrail li:nth-child(1) i::after { animation-timeline: --j1; }
    html.js .jrail li:nth-child(2)::before, html.js .jrail li:nth-child(2) i::after { animation-timeline: --j2; }
    html.js .jrail li:nth-child(3)::before, html.js .jrail li:nth-child(3) i::after { animation-timeline: --j3; }
    html.js .jrail li:nth-child(4)::before, html.js .jrail li:nth-child(4) i::after { animation-timeline: --j4; }
    html.js .jrail li:nth-child(5)::before, html.js .jrail li:nth-child(5) i::after { animation-timeline: --j5; }
    html.js .jrail li:nth-child(6)::before, html.js .jrail li:nth-child(6) i::after { animation-timeline: --j6; }
    html.js .jrail li:nth-child(7)::before, html.js .jrail li:nth-child(7) i::after { animation-timeline: --j7; }
    html.js .jrail li:nth-child(8)::before { animation-timeline: --j8; }
    html.js .jtrack .jhead .jletter::after { animation: mo-lit linear forwards; animation-timeline: view(block 40% 59%); animation-range: cover 0% cover 2%; }
    html.js .jprog i { animation: mo-grow linear both; animation-timeline: --jsec; animation-range: contain 0% contain 100%; }

    html.js .timeline { view-timeline: --roll block; }
    html.js .timeline li::before { animation: mo-grow linear both; animation-timeline: --roll; }
    html.js .timeline li::after { animation: mo-from0 linear both; animation-timeline: --roll; }
    @media (min-width: 641px) {
      html.js .timeline li:nth-child(1)::before { animation-range: cover 12% cover 22%; } html.js .timeline li:nth-child(1)::after { animation-range: cover 12% cover 15%; }
      html.js .timeline li:nth-child(2)::before { animation-range: cover 22% cover 32%; } html.js .timeline li:nth-child(2)::after { animation-range: cover 22% cover 25%; }
      html.js .timeline li:nth-child(3)::before { animation-range: cover 32% cover 42%; } html.js .timeline li:nth-child(3)::after { animation-range: cover 32% cover 35%; }
      html.js .timeline li:nth-child(4)::before { animation-range: cover 42% cover 52%; } html.js .timeline li:nth-child(4)::after { animation-range: cover 42% cover 45%; }
    }
    @media (max-width: 640px) {
      html.js .timeline li::before, html.js .timeline li::after { animation-timeline: view(); animation-range: entry 100% cover 45%; }
      html.js .timeline li::after { animation-range: entry 100% cover 20%; }
    }
  }
}
@media (prefers-reduced-motion: reduce) { .jprog { display: none !important; } }
@media print {
  .jrail, .jprog, .how-track i { display: none !important; }
  .sheet .tag, .sheet::after, .shot .frame img, .cta.frame-ticks::before, .cta.frame-ticks::after, .timeline li::before, .timeline li::after { opacity: 1 !important; transform: none !important; clip-path: none !important; animation: none !important; }
  .shot .frame::after { display: none !important; }
}
