/* sanadex · public website (the one-pager) and the placeholder on the domain — one stylesheet for both.
   Design = the "Split" title slide of the round-2 proposals (navy panel and photo side by side), chosen by the user
   on 21 Oct 2026; below it the one-pager sections (since v3). The logo is the decided wordmark without the S (since 20 Oct).
   Fonts: Inter + IBM Plex Sans Arabic (OFL, self-hosted, subset to WOFF2). No external requests.
   The placeholder (site/domain/placeholder.html) uses .split .panel .top .copy .soon .legal .pic — keep those working. */

@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url(fonts/inter-regular.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url(fonts/inter-medium.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url(fonts/inter-semibold.woff2) format("woff2"); }
@font-face { font-family: "Plex Arabic"; font-weight: 400; font-display: swap; src: url(fonts/plex-arabic-regular.woff2) format("woff2"); }
@font-face { font-family: "Plex Arabic"; font-weight: 500; font-display: swap; src: url(fonts/plex-arabic-medium.woff2) format("woff2"); }
@font-face { font-family: "Plex Arabic"; font-weight: 600; font-display: swap; src: url(fonts/plex-arabic-semibold.woff2) format("woff2"); }

:root {
  --navy: #05113B;          /* decided */
  --gold: #E6BE6C;          /* the gold of TECHNOLOGIES, decided — on navy only (10.4 : 1) */
  --white: #FFFFFF;
  --soft: rgb(255 255 255 / .74);
  --faint: rgb(255 255 255 / .52);
  --line: rgb(255 255 255 / .16);
  --ivory: #F4F1E9;         /* proposed companion (identity proposal) */
  --ink: #3B4566;           /* body text on white 9.4 : 1 */
  --grey: #6B7391;          /* small print on white 4.7 : 1 */
  --hair: #D9DCE6;
  --dgold: #8C6A2C;         /* labels on white 5.0 : 1 (kickoff deck) */
  --dgold-ivory: #7E5F27;   /* the same dark gold one step darker, for ivory: 5.2 : 1 (#8C6A2C would be 4.4) */
  --font: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-ar: "Plex Arabic", "Inter", "Geeza Pro", Arial, sans-serif;
  --pad: clamp(24px, 5vw, 72px);
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--navy); -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; min-height: 100svh; background: var(--navy); color: var(--white); font-family: var(--font);
  font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
html[lang="ar"] body, .ar { font-family: var(--font-ar); }

/* one language at a time (the draft); the placeholder shows both */
html[data-lang="en"] .l-ar, html[data-lang="ar"] .l-en { display: none !important; }

/* the logo: two masks cut from the decided logo image, recoloured — same geometry as the workspace and the brand kit */
.sx-logo { position: relative; display: block; width: var(--w, 280px); aspect-ratio: 1014 / 212; flex: none; }
.sx-logo > i { position: absolute; display: block; }
.sx-logo > .w1 { left: 0; top: 0; width: 100%; height: calc(126 / 212 * 100%); background: var(--white);
  -webkit-mask: url(mask-sanadex.png) 0 0 / 100% 100% no-repeat; mask: url(mask-sanadex.png) 0 0 / 100% 100% no-repeat; }
.sx-logo > .w2 { left: calc(7 / 1014 * 100%); top: calc(169 / 212 * 100%); width: calc(1002 / 1014 * 100%); height: calc(43 / 212 * 100%);
  background: var(--gold); -webkit-mask: url(mask-technologies.png) 0 0 / 100% 100% no-repeat; mask: url(mask-technologies.png) 0 0 / 100% 100% no-repeat; }

/* ---------- the split ---------- */
.split { display: grid; grid-template-columns: minmax(420px, 44%) 1fr; min-height: 100vh; min-height: 100svh; }
.panel { display: flex; flex-direction: column; padding: var(--pad); padding-bottom: clamp(20px, 3vw, 36px); background: var(--navy); }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top .sx-logo { --w: clamp(190px, 19vw, 300px); }
.copy { margin-top: auto; padding-top: clamp(40px, 8vh, 96px); }
h1 { font-weight: 600; font-size: clamp(40px, 4.4vw, 66px); line-height: 1.04; letter-spacing: -.022em; }
html[lang="ar"] h1 { letter-spacing: 0; line-height: 1.32; font-size: clamp(36px, 3.9vw, 58px); }
.hair { width: 64px; height: 2px; background: var(--gold); margin: clamp(22px, 3vh, 34px) 0; }
.sub { color: var(--soft); font-size: clamp(16px, 1.25vw, 19px); line-height: 1.55; max-width: 32ch; }
html[lang="ar"] .sub { line-height: 1.85; max-width: 36ch; }
.contact { margin-top: clamp(22px, 3.2vh, 34px); display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font-size: 15px; }
.contact .k { color: var(--faint); }
.contact a, .contact .ph { color: var(--white); text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.contact .ph { color: var(--faint); border-bottom-style: dashed; }
.soon { margin-top: 2px; font-size: clamp(15px, 1.1vw, 17px); color: var(--soft); }
.soon .l-ar { font-family: var(--font-ar); }

.legal { margin-top: clamp(36px, 6vh, 64px); padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.6; color: var(--faint); }
.legal .co bdi { unicode-bidi: isolate; }
.legal nav { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: center; }
.legal .co .line { display: block; }
.legal button, .legal a { font: inherit; color: var(--soft); background: none; border: 0; cursor: pointer; padding: 0; min-height: 44px;
  min-width: 44px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.legal button:hover, .legal a:hover, .legal button:focus-visible, .legal a:focus-visible { color: var(--white); text-decoration: underline; text-underline-offset: 3px; outline: none; }
.ver { direction: ltr; unicode-bidi: isolate; color: rgb(255 255 255 / .52); }   /* 5.5 : 1 */
.ver a { color: rgb(255 255 255 / .66); padding: 0; min-height: 0; display: inline; }

/* the photo side */
.pic { position: relative; overflow: hidden; background: #061033; }
.pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 74% 50%; }
.pic::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to right, var(--navy) 0%, rgb(5 17 59 / .55) 9%, rgb(5 17 59 / 0) 26%); }
html[dir="rtl"] .pic::after { background: linear-gradient(to left, var(--navy) 0%, rgb(5 17 59 / .55) 9%, rgb(5 17 59 / 0) 26%); }

/* language switch */
.lang { font: 500 14px/1 var(--font); color: var(--white); background: transparent; border: 1px solid rgb(255 255 255 / .34);
  border-radius: 999px; padding: 11px 16px; min-height: 44px; cursor: pointer; white-space: nowrap; }
.lang .l-en { font-family: var(--font-ar); font-size: 15px; }
.lang:hover, .lang:focus-visible { border-color: var(--gold); outline: none; }

/* draft bar (only on the preview behind the PIN) — a slim line above the page, never over it */
.draft { display: flex; justify-content: center; gap: 2px 14px; flex-wrap: wrap; padding: 7px 16px;
  font: 500 12px/1.4 var(--font); color: #2b2103; background: var(--gold); direction: ltr; text-align: center; }
.draft b { font-weight: 600; }
body.has-draft .split { min-height: calc(100vh - 32px); min-height: calc(100svh - 32px); }

/* dialogs: important notice and privacy */
dialog { margin: auto; width: min(640px, calc(100vw - 32px)); max-height: calc(100svh - 48px); border: 0; border-radius: 14px; padding: 0;
  background: #fff; color: var(--navy); box-shadow: 0 24px 80px rgb(0 0 0 / .45); }
dialog::backdrop { background: rgb(3 9 32 / .72); }
dialog .in { padding: 28px clamp(20px, 4vw, 36px) 30px; overflow: auto; max-height: calc(100svh - 48px); }
dialog h2 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 14px; padding-inline-end: 44px; }
dialog p { font-size: 15px; line-height: 1.65; color: #3B4566; margin-top: 10px; }
html[lang="ar"] dialog p { line-height: 1.9; }
dialog .x { position: absolute; inset-inline-end: 12px; top: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: #EEF0F5; color: var(--navy); font: 600 20px/1 var(--font); cursor: pointer; }
dialog .x:hover, dialog .x:focus-visible { background: #E2E5EE; outline: none; }
dialog .ph { color: #6B7391; border-bottom: 1px dashed #A9AFC3; }

/* ---------- phones and narrow windows: logo row, photo band, copy, legal ---------- */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; grid-template-rows: auto minmax(220px, 42svh) auto auto;
    grid-template-areas: "top" "pic" "copy" "legal"; }
  .panel { display: contents; }
  .top { grid-area: top; padding: 18px 20px 16px; }
  .top .sx-logo { --w: min(190px, 52vw); }
  .pic { grid-area: pic; }
  .pic::after, html[dir="rtl"] .pic::after { background: linear-gradient(to bottom, var(--navy) 0%, rgb(5 17 59 / 0) 22%, rgb(5 17 59 / 0) 70%, var(--navy) 100%); }
  .pic img { object-position: 78% 55%; }
  .copy { grid-area: copy; margin-top: 0; padding: 4px 20px 0; }
  .legal { grid-area: legal; margin: 40px 20px 0; padding-bottom: 24px; }
  h1 { font-size: clamp(34px, 9.4vw, 46px); }
  html[lang="ar"] h1 { font-size: clamp(30px, 8.4vw, 42px); }
}
@media (prefers-reduced-motion: no-preference) {
  .copy, .top .sx-logo { animation: rise .7s ease-out both; }
  .copy { animation-delay: .08s; }
  @keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}

/* =====================================================================================================================
   The one-pager (body.onepager, since v3): sticky bar, hero buttons, sections, footer.
   Arabic first: every rule uses logical properties (inline-start/end), so the page mirrors itself in RTL.
   Never letter-spacing on Arabic text — it breaks the joining of the letters.
   ===================================================================================================================== */
.onepager .hero .copy { padding-bottom: clamp(24px, 7vh, 84px); }
.actions { margin-top: clamp(26px, 3.6vh, 38px); display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: inherit; font-size: 15px; font-weight: 500; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s; }
.btn.primary { background: var(--gold); color: var(--navy); }                        /* 10.4 : 1 */
.btn.primary:hover, .btn.primary:focus-visible { background: var(--white); outline: none; }
.btn.ghost { color: var(--white); border: 1px solid rgb(255 255 255 / .34); }
.btn.ghost:hover, .btn.ghost:focus-visible { border-color: var(--gold); outline: none; }

/* the bar: appears once the logo row of the hero has left the screen */
.bar { position: fixed; top: 0; inset-inline: 0; z-index: 40; height: 64px; display: flex; align-items: center; gap: 12px;
  padding: 0 var(--pad); background: rgb(5 17 59 / .94); -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line);
  transform: translateY(-100%); visibility: hidden; transition: transform .28s ease, visibility 0s linear .28s; }
.bar.on { transform: none; visibility: visible; transition: transform .28s ease, visibility 0s; }
.bar-logo { display: flex; align-items: center; min-height: 44px; }
.bar .sx-logo { --w: 132px; }
.bar-nav { margin-inline-start: auto; display: flex; gap: 2px; }
.bar-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; color: var(--soft);
  text-decoration: none; font-size: 14px; font-weight: 500; }
.bar-nav a:hover, .bar-nav a:focus-visible { color: var(--white); background: rgb(255 255 255 / .07); outline: none; }
.bar-nav a.cur { color: var(--white); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.bar .lang { margin-inline-start: 6px; padding: 9px 14px; }

/* sections */
.sec, .cta, .layers { scroll-margin-top: 64px; }
.sec { background: var(--white); color: var(--navy); padding: clamp(64px, 8.5vw, 120px) var(--pad); }
.nw { white-space: nowrap; }        /* keeps co-ownership, non-Saudis … from breaking at the hyphen */
.sec.alt { background: var(--ivory); }
.wrap { max-width: 1180px; margin-inline: auto; }
.eyebrow { font-size: 12px; font-weight: 600; line-height: 1.3; letter-spacing: .16em; text-transform: uppercase; color: var(--dgold); }
.sec.alt .eyebrow { color: var(--dgold-ivory); }
html[lang="ar"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: 15px; }
.sec h2, .cta h2, .layers h2 { margin-top: 14px; font-size: clamp(30px, 3.6vw, 52px); font-weight: 600; line-height: 1.1; letter-spacing: -.022em; max-width: 19ch; }
html[lang="ar"] .sec h2, html[lang="ar"] .cta h2, html[lang="ar"] .layers h2 { letter-spacing: 0; line-height: 1.4; font-size: clamp(28px, 3.2vw, 46px); }
.lead { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.62; color: var(--ink); max-width: 58ch; }
html[lang="ar"] .lead { line-height: 1.95; }

/* What we do: title and paragraph side by side, three tiles below */
.intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 28px clamp(32px, 6vw, 96px); align-items: end; }
.tiles { margin-top: clamp(44px, 5.5vw, 84px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--hair); }
.tile { padding-top: 26px; padding-inline-end: 36px; }
.tile + .tile { border-inline-start: 1px solid var(--hair); padding-inline-start: 36px; }
.ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ivory); color: var(--navy); margin-bottom: 18px; }
.ico svg, .si svg, .arr svg, .own.deed svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tile .k { font-size: 12px; font-weight: 600; line-height: 1.3; letter-spacing: .14em; text-transform: uppercase; color: var(--dgold); }
html[lang="ar"] .tile .k { letter-spacing: 0; text-transform: none; font-size: 15px; }
.tile p { margin-top: 12px; font-size: 17px; line-height: 1.6; color: var(--navy); }
html[lang="ar"] .tile p { line-height: 1.9; }

/* The digital asset: four layers next to the image from the V3 deck (on navy) */
.layers { background: var(--navy); color: var(--white); padding: clamp(64px, 8vw, 112px) var(--pad); overflow: hidden; }
.layers-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.layers .eyebrow { color: var(--gold); }
.layers .lead { margin-top: 18px; color: var(--soft); }
.lay { list-style: none; margin-top: 30px; border-top: 1px solid var(--line); }
.lay li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.lay .n { font: 600 13px/1.6 var(--font); letter-spacing: .06em; color: var(--gold); padding-top: 2px; }
.lay h3 { font-size: 16.5px; font-weight: 600; line-height: 1.4; }
.lay p { margin-top: 4px; font-size: 15px; line-height: 1.6; color: var(--soft); }
html[lang="ar"] .lay p { line-height: 1.9; }
.layers-pic { margin: 0; }          /* the image fades into navy by itself (edges feathered in the file) */
.layers-pic img { display: block; width: 100%; height: auto; }

/* How it is designed: gather → create → link, then the principle */
.flow { list-style: none; margin-top: clamp(40px, 5vw, 68px); display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr) 40px minmax(0, 1fr); align-items: stretch; }
.node { border: 1px solid var(--hair); border-radius: 8px; padding: 26px 24px 24px; background: var(--white); }
.ico.big { width: 52px; height: 52px; background: var(--navy); color: var(--white); }
.ico.big svg { width: 24px; height: 24px; }
.node h3 { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
html[lang="ar"] .node h3 { letter-spacing: 0; }
.node p { margin-top: 8px; font-size: 15.5px; line-height: 1.6; color: var(--ink); }
html[lang="ar"] .node p { line-height: 1.9; }
.srcs { list-style: none; margin-top: 14px; display: grid; gap: 8px; }
.srcs li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; line-height: 1.4; color: var(--ink); }
.srcs b { font-weight: 600; color: var(--navy); }
.si { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ivory); color: var(--navy); }
.si svg { width: 17px; height: 17px; }
.arr { display: grid; place-items: center; color: var(--dgold); }
html[dir="rtl"] .arr svg { transform: scaleX(-1); }
.principle { margin-top: clamp(40px, 5vw, 72px); background: var(--navy); color: var(--white); border-radius: 8px; text-align: center;
  padding: clamp(40px, 5.5vw, 72px) clamp(22px, 4vw, 56px); }
.principle .eyebrow { color: var(--gold); }
.statement { margin: 20px auto 0; max-width: 25ch; font-size: clamp(24px, 2.9vw, 40px); line-height: 1.25; font-weight: 500; letter-spacing: -.015em; }
html[lang="ar"] .statement { letter-spacing: 0; line-height: 1.7; max-width: 30ch; font-size: clamp(22px, 2.6vw, 36px); }
.principle .hair { margin: 28px auto 0; }

/* How it works: five steps on a line (a column on phones) */
.steps { list-style: none; position: relative; margin-top: clamp(44px, 5vw, 76px); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.steps::before { content: ""; position: absolute; top: 21.5px; height: 1px; inset-inline-start: 22px;
  inset-inline-end: calc((100% - 4 * 28px) / 5 - 22px); background: rgb(140 106 44 / .5); }
.steps li { position: relative; }
.steps .num { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: var(--white); font: 600 15px/1 var(--font); box-shadow: 0 0 0 6px var(--ivory); }
.own { display: flex; gap: 3px; width: min(100%, 150px); height: 8px; margin-top: 22px; }
.own i { flex: 1; border-radius: 2px; background: rgb(5 17 59 / .16); }
.own[data-own="1"] i:nth-child(1), .own[data-own="2"] i:nth-child(-n+2), .own[data-own="4"] i { background: var(--dgold); }
.own.deed { height: auto; margin-top: 15px; color: var(--dgold); }
.own.deed svg { width: 22px; height: 22px; }
.own-note { margin-top: 30px; display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 1.6; color: var(--ink); }
.own-note .sw { flex: none; width: 22px; height: 8px; border-radius: 2px; background: var(--dgold); }
.steps h3 { margin-top: 14px; font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
html[lang="ar"] .steps h3 { letter-spacing: 0; }
.steps p { margin-top: 8px; font-size: 15.5px; line-height: 1.6; color: var(--ink); }
html[lang="ar"] .steps p { line-height: 1.9; }
.contracts { margin-top: clamp(40px, 4.5vw, 60px); padding-top: 22px; border-top: 1px solid rgb(5 17 59 / .14); }
.contracts p { font-size: 16px; line-height: 1.7; color: var(--ink); max-width: 72ch; }
html[lang="ar"] .contracts p { line-height: 1.95; }

/* Why now: a timeline — two dated facts, then what Sanadex adds */
.timeline { list-style: none; position: relative; margin-top: clamp(40px, 5vw, 68px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.timeline::before { content: ""; position: absolute; top: 8px; height: 1px; inset-inline-start: 9px;
  inset-inline-end: calc((100% - 2 * 36px) / 3 - 9px); background: var(--hair); }
.timeline li { position: relative; }
.timeline .dot { position: relative; z-index: 1; display: block; width: 17px; height: 17px; border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 6px var(--white); }
.timeline .next .dot { background: var(--gold); box-shadow: 0 0 0 5px var(--white), 0 0 0 6px var(--dgold); }
.timeline .d { margin-top: 22px; font-size: clamp(28px, 2.8vw, 40px); font-weight: 600; line-height: 1.1; letter-spacing: -.02em; color: var(--navy); }
html[lang="ar"] .timeline .d { letter-spacing: 0; line-height: 1.3; }
.timeline .d + p { margin-top: 12px; font-size: 16.5px; line-height: 1.6; color: var(--ink); max-width: 36ch; }
html[lang="ar"] .timeline .d + p { line-height: 1.9; }
.timeline .k { margin-top: 26px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--dgold); }
html[lang="ar"] .timeline .k { letter-spacing: 0; text-transform: none; font-size: 15px; }
.timeline .v { margin-top: 10px; font-size: clamp(20px, 1.9vw, 26px); font-weight: 500; line-height: 1.35; letter-spacing: -.012em; color: var(--navy); }
html[lang="ar"] .timeline .v { letter-spacing: 0; line-height: 1.6; }
.src { margin-top: 20px; font-size: 13px; line-height: 1.6; color: var(--grey); }
.src a { color: var(--ink); text-underline-offset: 3px; }

/* Contact, on navy */
.cta { background: var(--navy); color: var(--white); padding: clamp(72px, 9vw, 128px) var(--pad); }
.cta .eyebrow { color: var(--gold); }
.cta h2 { max-width: 21ch; }
.mail { margin-top: clamp(26px, 3vw, 38px); font-size: clamp(20px, 2.2vw, 30px); line-height: 1.4; }
.mail a { color: var(--white); text-decoration: none; border-bottom: 2px solid var(--gold); }
.mail .ph { color: var(--faint); border-bottom: 2px dashed rgb(255 255 255 / .3); }

/* footer */
.foot { background: var(--navy); padding: 0 var(--pad) 26px; }
.foot .legal { margin-top: 0; padding-top: clamp(30px, 4vw, 44px); }
.foot-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 22px 48px; padding-bottom: 26px; }
.foot-top .sx-logo { --w: 176px; }
.disc { max-width: 54ch; font-size: 13px; line-height: 1.65; color: var(--soft); }
html[lang="ar"] .disc { line-height: 1.9; }

/* sections come in gently (only with JavaScript, and only when motion is welcome) */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  html.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
  html.js .reveal.in { opacity: 1; transform: none; }
}

@media (max-width: 1100px) {
  .bar-nav a { padding: 0 9px; font-size: 13.5px; }
}
@media (max-width: 900px) {
  .onepager .hero { min-height: 0; grid-template-rows: auto minmax(220px, 40svh) auto; grid-template-areas: "top" "pic" "copy"; }
  .onepager .hero .copy { padding-bottom: 52px; }
  .bar { height: 58px; padding: 0 16px; }
  .bar-nav { display: none; }
  .bar .lang { margin-inline-start: auto; }
  .bar .sx-logo { --w: 118px; }
  .sec, .cta { scroll-margin-top: 58px; padding-inline: 20px; }
  .layers { padding-inline: 20px; }
  .layers-grid { grid-template-columns: 1fr; }
  .layers-pic { order: -1; margin-inline: -20px; }
  .flow { grid-template-columns: 1fr; }
  .arr { height: 40px; }
  .arr svg, html[dir="rtl"] .arr svg { transform: rotate(90deg); }
  .timeline { grid-template-columns: 1fr; gap: 30px; }
  .timeline::before { top: 8px; bottom: 8px; inset-inline-start: 8px; inset-inline-end: auto; width: 1px; height: auto; }
  .timeline li { padding-inline-start: 40px; }
  .timeline .dot { position: absolute; inset-inline-start: 0; top: 2px; }
  .timeline .d, .timeline .k { margin-top: 0; }
  .foot { padding-inline: 20px; }
  .intro { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr; }
  .tile { padding-inline-end: 0; padding-bottom: 24px; }
  .tile + .tile { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid var(--hair); }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps::before { top: 22px; bottom: 22px; inset-inline-start: 21.5px; inset-inline-end: auto; width: 1px; height: auto; }
  .steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 18px; align-items: start; }
  .steps .own { margin-top: 18px; }
  .steps h3 { margin-top: 10px; }
}
