/* TravelOS main site. One file, no build step (it began as the sales page's stylesheet, 2026-11-26).
   Colours are tokens: change them here to re-skin the site. The site-wide parts are at the end. */
@font-face { font-family: 'Plus Jakarta Sans'; src: url(fonts/plus-jakarta-sans-latin-wght.woff2) format('woff2'); font-weight: 200 800; font-display: swap; }

:root {
  --night: #061A38; --night-2: #082A56; --navy: #0B3B77; --blue: #0E63C4;
  --sun: #FFC23C; --sun-deep: #FFB21A;
  --ink: #0F1B2D; --mute: #4F5D75; --line: #DCE4EF; --paper: #F4F7FC; --ok: #0B7A55;
  --on-night: #C3D3EA;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 17px; line-height: 1.6; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.top :focus-visible, .hero :focus-visible, .sec-night :focus-visible, .foot :focus-visible, .lic-pay :focus-visible { outline-color: var(--sun); }
section[id], figure[id] { scroll-margin-top: 84px; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--sun); color: var(--night); font-weight: 700; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 26px; border-radius: 14px; font: inherit; font-weight: 800; font-size: 1.02rem; text-decoration: none; cursor: pointer; border: 0; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; }
.btn-sun { background: linear-gradient(180deg, #FFD36B, var(--sun-deep)); color: var(--night-2); box-shadow: 0 14px 30px -12px rgba(255, 178, 26, .7); }
.btn-sun:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(255, 178, 26, .85); }
.btn-line { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
.btn-line:hover { background: rgba(255, 255, 255, .1); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: .92rem; border-radius: 12px; }
.btn-wide { width: 100%; }
.btn[disabled] { opacity: .7; cursor: default; transform: none; }

/* Logo (the same lockup as the main site) */
.logo { display: inline-flex; align-items: center; gap: 10px; line-height: 1; text-decoration: none; --logo-size: 24px; }
.logo-mark { display: flex; width: 36px; height: 36px; flex: none; align-items: center; justify-content: center; border-radius: 10px; background: var(--sun); box-shadow: 0 4px 12px rgba(255, 194, 60, .35); }
.logo-name { display: block; font-weight: 800; font-size: var(--logo-size); letter-spacing: -.02em; color: #fff; }
.logo-name b { font-weight: 800; color: var(--sun); }
.logo-tag { display: block; white-space: nowrap; margin-top: calc(var(--logo-size) * .17); font-size: calc(var(--logo-size) * .35); font-weight: 700; letter-spacing: calc(var(--logo-size) * .0272); color: #9FC0E6; }

/* Header */
.top { position: sticky; top: 0; z-index: 30; background: rgba(6, 26, 56, .93); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.top-links { display: flex; align-items: center; gap: 6px; }
.top-link { color: #DCE8F8; text-decoration: none; font-weight: 600; font-size: .95rem; padding: 10px 14px; border-radius: 10px; }
.top-link:hover { color: #fff; background: rgba(255, 255, 255, .08); }

/* Shared type */
.eye { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.eye-light { color: var(--sun); }
.h2 { font-size: clamp(1.85rem, 3.7vw, 3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin-top: 14px; text-wrap: balance; }
.mk { background: linear-gradient(transparent 60%, rgba(255, 194, 60, .6) 0); padding: 0 .08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lede { margin-top: 18px; font-size: 1.14rem; color: var(--mute); max-width: 60ch; }
.head { max-width: 860px; }

.sec { padding: clamp(64px, 9vw, 116px) 0; }
.sec-paper { background: var(--paper); }
.sec-night { background: radial-gradient(900px 420px at 85% 0%, rgba(14, 99, 196, .38), transparent 65%), linear-gradient(180deg, var(--night), var(--night-2)); color: #fff; }
.sec-night .h2 span { display: block; color: var(--sun); }

/* Hero */
.hero { background: radial-gradient(1100px 520px at 72% 108%, rgba(18, 115, 216, .5), transparent 62%), linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%); color: #fff; padding: clamp(44px, 5.600vw, 76px) 0 clamp(36px, 4.400vw, 56px); overflow: hidden; }
.scene-title { font-size: clamp(2.4rem, 6.2vw, 5.2rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; margin-top: 16px; text-wrap: balance; }
.scene-title span { display: block; width: fit-content; max-width: 100%; margin-inline: auto; padding-bottom: .08em; color: var(--sun); background: linear-gradient(95deg, #FFE08A 0%, #FFC23C 38%, #FF9E3D 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { margin-top: 26px; font-size: clamp(1.08rem, 1.55vw, 1.3rem); color: var(--on-night); max-width: 62ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 2.6vw, 30px); }
.hero-ticks { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 26px; font-size: .95rem; font-weight: 600; color: #E3ECF9; }
.hero-ticks li { display: flex; align-items: center; gap: 8px; }
.hero-ticks .ico { color: var(--sun); }
/* the hero is words only: centred, so the page opens on the headline */
.hero .wrap { text-align: center; }
.hero-sub { margin-inline: auto; }
.hero-cta, .hero-ticks { justify-content: center; }

/* The hero's four scenes. Every scene sits in the same grid cell, so the hero keeps one height.
   .is-on is the scene on show; .is-switched (set by sales.js) lets the words rise in; .is-playing runs the step's
   progress bar. Without the script, scene 1 shows, still, with the hour written under it. */
/* the line above the headline: one for the first scene, another for the three that follow, in the same place */
.eyes { display: grid; justify-items: center; align-items: center; }
.hero .eyes .eye { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 13px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.hero .eyes .eye::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(255, 194, 60, .2); }
.is-live .eyes .eye::before { animation: eye-beat 2.4s ease-in-out infinite; }
@keyframes eye-beat { 50% { box-shadow: 0 0 0 7px rgba(255, 194, 60, 0); } }
.eyes .eye { grid-area: 1 / 1; transition: opacity .45s ease; }
.eye-later, .is-later .eye-first { opacity: 0; visibility: hidden; }
.is-later .eye-later { opacity: 1; visibility: visible; }
.scenes { display: grid; }
.scene { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s .45s; }
.scene.is-on { opacity: 1; visibility: visible; transition: opacity .45s ease; }
.is-switched .scene.is-on .scene-title { animation: scene-rise .6s cubic-bezier(.2, .8, .2, 1) both; }
.is-switched .scene.is-on .hero-sub { animation: scene-rise .6s .12s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes scene-rise { from { opacity: 0; transform: translateY(18px); } }

/* The particles: one canvas over the whole hero, behind the words (drawn by sales.js). The stage is the place above the
   buttons where each scene is acted out: by the particles in scenes 1 and 2, by these layers in scenes 2, 3 and 4.
   .is-live (set by sales.js) lets the layers animate. */
.hero { position: relative; }
/* a slow light behind everything */
.hero::before { content: ''; position: absolute; left: -10%; top: -45%; width: 70%; height: 110%; background: radial-gradient(closest-side, rgba(18, 115, 216, .34), transparent); pointer-events: none; }
.hero.is-live::before { animation: hero-drift 22s ease-in-out infinite alternate; }
@keyframes hero-drift { to { transform: translate3d(62%, 14%, 0) scale(1.15); } }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero .wrap { position: relative; z-index: 1; }
.hero-stage { display: grid; grid-template-rows: minmax(0, 1fr); align-items: center; height: clamp(150px, 13.500vw, 178px); margin-top: clamp(10px, 1.600vw, 18px); }
.stage-layer { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility 0s .4s; }
.stage-layer.is-on { opacity: 1; visibility: visible; transition: opacity .4s ease; }
/* the sales target: bars that grow month after month and stop under the dashed line */
.stage-target { height: 100%; }
.tg { position: relative; display: flex; align-items: flex-end; gap: clamp(6px, 1vw, 12px); width: min(100%, 540px); height: 100%; margin-inline: auto; padding: 0 8px; border-bottom: 1px solid rgba(255, 255, 255, .3); direction: ltr; }
.tg-bar { flex: 1; height: var(--h); border-radius: 8px 8px 0 0; background: linear-gradient(180deg, #6BBDF5, rgba(18, 115, 216, .28)); transform-origin: bottom; }
.tg-bar.is-last { background: linear-gradient(180deg, #fff, rgba(140, 203, 245, .45)); }
.tg-line { position: absolute; left: 0; right: 0; top: 9%; border-top: 2px dashed var(--sun); transform-origin: left; }
.tg-line b { position: absolute; left: 0; top: -12px; padding: 3px 10px; border-radius: 999px; background: var(--sun); color: var(--night); font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; line-height: 1.5; }
.tg-gap { position: absolute; right: 8px; top: calc(9% + 2px); width: 36%; height: 29%; display: grid; place-items: center; border-radius: 0 0 6px 6px; border: 1px solid rgba(255, 107, 94, .55); border-top: 0; background: repeating-linear-gradient(135deg, rgba(255, 107, 94, .3) 0 6px, rgba(255, 107, 94, .08) 6px 12px); }
.tg-gap b { padding: 2px 9px; border-radius: 999px; background: rgba(6, 26, 56, .78); color: #FFB4AC; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.is-live .stage-target.is-on .tg-bar { animation: tg-grow .7s cubic-bezier(.2, .9, .3, 1) both; animation-delay: calc(var(--i) * .09s + .15s); }
.is-live .stage-target.is-on .tg-line { animation: tg-draw .7s 1s cubic-bezier(.3, .8, .3, 1) both; }
.is-live .stage-target.is-on .tg-gap { animation: fade-in .5s 1.8s both, tg-pulse 1.7s 2.4s ease-in-out infinite; }
@keyframes tg-grow { from { transform: scaleY(0); } }
@keyframes tg-draw { from { transform: scaleX(0); opacity: 0; } }
@keyframes tg-pulse { 50% { opacity: .72; } }
/* selling 24/7 on autopilot: the social networks, joined by lines to the TravelOS admin panel, where the sales arrive
   by themselves. The visitors that travel along the lines are particles (main.js); the rest is drawn here. */
.stage-auto { display: flex; align-items: center; justify-content: center; height: 100%; }
.ap-social { flex: none; display: flex; flex-direction: column; justify-content: space-between; height: 100%; max-height: 178px; }
.ap-soc { display: grid; place-items: center; height: calc((100% - 28px) / 5); aspect-ratio: 1; border-radius: 30%; background: var(--b); color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .24), 0 10px 18px -10px var(--b); }
.ap-soc:nth-child(2) { background: linear-gradient(45deg, #F58529, #DD2A7B 55%, #8134AF); }
.ap-soc svg { width: 60%; height: 60%; }
/* a line from every network to the panel */
/* the drawing is square by nature (its viewBox), and a flex row would grow as tall as the lines are wide and push the scene
   into the buttons below: the ratio here keeps its natural height small, and height: 100% then gives it the stage's */
.ap-lines { flex: 0 1 190px; min-width: 28px; display: block; height: 100%; max-height: 178px; aspect-ratio: 40 / 1; }
.ap-lines path { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 1.5; stroke-dasharray: 5 5; vector-effect: non-scaling-stroke; }
.ap-panel { flex: 0 1 520px; min-width: 0; display: grid; grid-template-columns: 150px minmax(0, 1fr); grid-template-rows: auto 1fr; height: 100%; max-height: 178px; border-radius: 18px; background: linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .05)); border: 1px solid rgba(255, 255, 255, .22); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 24px 44px -26px rgba(0, 0, 0, .7); overflow: hidden; text-align: start; }
.ap-head { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; padding: 8px 14px; border-bottom: 1px solid rgba(255, 255, 255, .14); background: rgba(6, 26, 56, .35); }
.ap-title { display: flex; align-items: center; gap: 9px; min-width: 0; font-size: .8rem; font-weight: 800; white-space: nowrap; }
.ap-brand { display: flex; align-items: center; gap: 6px; font-size: 1rem; font-weight: 800; letter-spacing: -.02em; line-height: 1; direction: ltr; }
.ap-brand i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: var(--sun); color: var(--night-2); }
.ap-brand i svg { width: 12px; height: 12px; }
.ap-brand b { color: var(--sun); font-weight: 800; }
.ap-side { justify-self: end; display: flex; align-items: center; gap: 8px; }
.ap-mode { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 7px; border-radius: 999px; background: rgba(23, 182, 124, .28); color: #A7F3D0; font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.ap-mode i, .ap-live { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #5EE0A6; box-shadow: 0 0 0 3px rgba(94, 224, 166, .25); }
.ap-count { min-width: 28px; padding: 2px 9px; border-radius: 999px; background: var(--sun); color: var(--night); font-size: .78rem; font-weight: 800; text-align: center; font-variant-numeric: tabular-nums; }
.ap-rev { display: grid; align-content: center; gap: 3px; min-width: 0; padding: 8px 12px 8px 14px; border-inline-end: 1px solid rgba(255, 255, 255, .12); }
.ap-rev small { font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--on-night); }
.ap-total { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: #5EE0A6; font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; justify-self: start; }
.ap-spark { display: block; width: 100%; height: 30px; margin-top: 2px; overflow: visible; direction: ltr; }
.ap-spark polyline { fill: none; stroke: var(--sun); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ap-list { display: flex; flex-direction: column; min-width: 0; padding: 2px 12px 0; overflow: hidden; }
.ap-row { flex: none; display: flex; align-items: center; gap: 9px; height: 34px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: .8rem; overflow: hidden; }
.ap-row b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.ap-row time { font-size: .7rem; color: #9FB6D8; font-variant-numeric: tabular-nums; direction: ltr; }
.ap-row em { font-style: normal; font-weight: 800; color: #5EE0A6; font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
.ap-ico { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: rgba(140, 203, 245, .2); color: #8CCBF5; }
.ap-ico .ico { width: 13px; height: 13px; }
.ap-row.is-new { animation: ap-in .5s cubic-bezier(.2, .9, .3, 1) both; }
.ap-row.is-new b { animation: ap-new 1.2s ease both; }
.ap-count.is-bump { animation: ap-bump .42s cubic-bezier(.3, 1.6, .5, 1); }
.hero:not(.is-ready) .stage-auto > * { visibility: hidden; }
.is-live .stage-auto.is-on .ap-soc { animation: pop-in .45s cubic-bezier(.2, 1.3, .4, 1) both; animation-delay: calc(var(--i) * .07s + .05s); }
.is-live .stage-auto.is-on .ap-lines { animation: fade-in .5s .4s both; }
.is-live .stage-auto.is-on .ap-lines path { animation: flow-march .9s linear infinite; }
.is-live .stage-auto.is-on .ap-panel { animation: pop-in .5s cubic-bezier(.2, 1.3, .4, 1) .25s both; }
.is-live .stage-auto.is-on .ap-mode i, .is-live .stage-auto.is-on .ap-live { animation: ap-beat 1.5s ease-in-out infinite; }
@keyframes ap-in { from { height: 0; opacity: 0; } }
@keyframes ap-new { from { color: var(--sun); } }
@keyframes ap-bump { 35% { transform: scale(1.3); } }
@keyframes ap-beat { 50% { box-shadow: 0 0 0 6px rgba(94, 224, 166, 0); } }
/* too many platforms: five separate ones, searched one after the other, and the one nobody opened */
.stage-frag { display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 16px; }
.win { position: relative; display: grid; align-content: start; gap: 8px; width: 164px; padding: 28px 13px 12px; border-radius: 12px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .22); text-align: left; transform: rotate(var(--r)); }
.win::before { content: ''; position: absolute; top: 11px; left: 13px; width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .45); box-shadow: 10px 0 0 rgba(255, 255, 255, .45), 20px 0 0 rgba(255, 255, 255, .45); }
.win b { font-size: .88rem; font-weight: 800; white-space: nowrap; }
.win-load { height: 4px; border-radius: 2px; overflow: hidden; background: rgba(255, 255, 255, .16); }
.win-load i { display: block; height: 100%; background: #8CCBF5; transform-origin: left; }
.win em { font-style: normal; font-size: .74rem; font-weight: 700; color: var(--on-night); white-space: nowrap; }
.win.is-missed { border-color: #FF6B5E; background: rgba(227, 35, 26, .16); }
.win.is-missed .win-load i { transform: scaleX(0); }
.win.is-missed em { color: #FFA69C; }
.is-live .stage-frag.is-on .win { animation: pop-in .45s cubic-bezier(.2, 1.3, .4, 1) both; animation-delay: calc(var(--i) * .08s); }
.is-live .stage-frag.is-on .win-load i { animation: win-load 1s linear both; animation-delay: calc(var(--i) * 1.05s + .5s); }
.is-live .stage-frag.is-on .win em { animation: fade-in .3s both; animation-delay: calc(var(--i) * 1.05s + 1.5s); }
.is-live .stage-frag.is-on .win.is-missed { animation: pop-in .45s cubic-bezier(.2, 1.3, .4, 1) .32s both, win-missed .5s 4.9s both; }
.is-live .stage-frag.is-on .win.is-missed .win-load i { animation: none; }
.is-live .stage-frag.is-on .win.is-missed em { animation-delay: 4.9s; }
@keyframes win-load { from { transform: scaleX(0); } }
@keyframes win-missed { from { border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .07); } 40% { transform: rotate(var(--r)) scale(1.08); } }
/* what TravelOS is: four instruments */
.stage-pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; width: min(100%, 820px); margin-inline: auto; }
.pil { display: grid; justify-items: center; gap: 10px; padding: 16px 8px 14px; border-radius: 20px; background: linear-gradient(180deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .18); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); }
.pil svg { width: clamp(52px, 5vw, 66px); height: clamp(52px, 5vw, 66px); overflow: visible; }
.pil b { font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.pil-track { stroke: rgba(255, 255, 255, .2); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.pil-arc { stroke: var(--sun); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 14; }
.pil-speed .pil-arc, .pil-growth .pil-arc { stroke-dashoffset: 0; }
.pil-fill { fill: #fff; }
.pil-ring { stroke: #8CCBF5; stroke-width: 2.4; stroke-linecap: round; }
.pil-dot { fill: var(--sun); transform-box: fill-box; transform-origin: center; }
.pil-needle { stroke: #fff; stroke-width: 3.2; stroke-linecap: round; transform-box: view-box; transform-origin: 24px 33px; transform: rotate(52deg); }
.is-live .stage-pillars.is-on .pil { animation: pop-in .5s cubic-bezier(.2, 1.3, .4, 1) both; animation-delay: calc(var(--i) * .14s + .1s); }
.is-live .stage-pillars.is-on .pil-arc { animation: pil-draw 1.1s cubic-bezier(.3, .7, .2, 1) both; animation-delay: calc(var(--i) * .5s + .7s); }
.is-live .stage-pillars.is-on .pil-head { animation-delay: calc(var(--i) * .5s + 1.5s); animation-duration: .4s; }
.is-live .stage-pillars.is-on .pil-needle { animation: pil-needle 1.2s cubic-bezier(.3, 1.5, .5, 1) both; animation-delay: calc(var(--i) * .5s + .7s); }
.is-live .stage-pillars.is-on .pil-dot { animation: pil-pop .5s cubic-bezier(.3, 1.8, .5, 1) both; animation-delay: calc(var(--i) * .5s + 1.5s); }
.is-live .stage-pillars.is-on .pil b { animation: fade-in .5s both; animation-delay: calc(var(--i) * .5s + .9s); }
@keyframes pil-draw { from { stroke-dashoffset: 100; } }
@keyframes pil-needle { from { transform: rotate(-68deg); } }
@keyframes pil-pop { from { transform: scale(0); } }
/* the inventory, as cards, before they turn into particles */
.stage-inv { display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 10px; max-width: 880px; margin-inline: auto; }
.inv { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px 0 8px; border-radius: 13px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(var(--c), .55); font-size: .95rem; font-weight: 700; color: #fff; white-space: nowrap; }
.inv-ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: rgba(var(--c), .22); color: rgb(var(--c)); }
.inv-ico .ico { width: 18px; height: 18px; }
.is-live .stage-inv.is-on .inv { animation: pop-in .5s cubic-bezier(.2, 1.3, .4, 1) both; animation-delay: calc(var(--i) * .09s + .1s); }
.is-live .stage-inv.is-gone .inv { animation: inv-out .5s ease-in forwards; animation-delay: calc(var(--i) * .02s); }
/* the TravelOS box and the distribution channels under it, as in the diagram */
.stage-net { display: flex; flex-direction: column; align-items: center; width: min(100%, 1120px); margin-inline: auto; }
.net-core { display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 10px; padding: 10px 20px 10px 12px; border-radius: 16px; background: linear-gradient(165deg, #1273D8, #0B3B77); box-shadow: 0 0 0 1px rgba(255, 255, 255, .28), 0 14px 30px -14px rgba(18, 115, 216, .95); }
.net-mark { grid-row: 1 / span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--sun); }
.net-name { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; line-height: 1; text-align: left; }
.net-name b { color: var(--sun); font-weight: 800; }
.net-core small { font-size: .74rem; font-weight: 600; color: #CFE3FA; text-align: left; }
.net-lines { display: block; width: 100%; height: 30px; }
.net-lines path { fill: none; stroke: rgba(255, 255, 255, .5); stroke-width: 1.5; stroke-dasharray: 5 5; vector-effect: non-scaling-stroke; }
.net-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); width: 100%; }
.net-chip { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; height: 46px; margin-inline: 5px; padding: 0 10px; border-radius: 13px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); font-size: .88rem; font-weight: 700; white-space: nowrap; }
.net-chip .ico { width: 18px; height: 18px; flex: none; color: #8CCBF5; }
.net-chip span { overflow: hidden; text-overflow: ellipsis; }
.net-chip em { flex: none; font-style: normal; font-size: .64rem; font-weight: 800; letter-spacing: .08em; padding: 3px 6px; border-radius: 6px; background: rgba(140, 203, 245, .2); color: #BFE2FB; }
.net-chip em.is-sun { background: rgba(255, 194, 60, .2); color: var(--sun); }
.is-live .stage-net.is-on .net-core { animation: pop-in .5s cubic-bezier(.2, 1.3, .4, 1) both; }
.is-live .stage-net.is-on .net-lines { animation: fade-in .5s .35s both; }
.is-live .stage-net.is-on .net-lines path { animation: flow-march .9s linear infinite; }
.is-live .stage-net.is-on .net-chip { animation: pop-in .5s cubic-bezier(.2, 1.3, .4, 1) both; animation-delay: calc(var(--i) * .22s + .7s); }
/* three rules, switching on */
.stage-rules { display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 14px; }
.rule { display: inline-flex; align-items: center; gap: 14px; padding: 14px 20px 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); text-align: left; }
.rule b { display: block; font-size: 1.02rem; font-weight: 800; line-height: 1.2; }
.rule small { display: block; margin-top: 2px; font-size: .78rem; color: var(--on-night); }
.sw { position: relative; flex: none; width: 46px; height: 26px; border-radius: 999px; background: var(--sun); }
.sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(6, 26, 56, .4); transform: translateX(20px); }
.is-live .stage-rules.is-on .rule { animation: pop-in .5s cubic-bezier(.2, 1.3, .4, 1) both; animation-delay: calc(var(--i) * .15s + .1s); }
.is-live .stage-rules.is-on .sw { animation: sw-track .4s ease both; animation-delay: calc(var(--i) * .85s + .9s); }
.is-live .stage-rules.is-on .sw::after { animation: sw-knob .4s cubic-bezier(.3, 1.4, .5, 1) both; animation-delay: calc(var(--i) * .85s + .9s); }
/* the four gains, ticked one after the other */
.stage-gains { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; width: min(100%, 1000px); margin-inline: auto; }
.gn { position: relative; display: flex; align-items: center; gap: 12px; min-width: 0; padding: 16px 16px; border-radius: 18px; background: linear-gradient(180deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 194, 60, .7); box-shadow: 0 16px 30px -22px rgba(255, 178, 26, .9); text-align: start; }
.gn b { font-size: .98rem; font-weight: 800; line-height: 1.25; }
.gn-ico { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 194, 60, .16); color: var(--sun); }
.gn-ico .ico { width: 22px; height: 22px; }
.gn-tick { position: absolute; top: -9px; inset-inline-end: -7px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #17B67C; color: #fff; box-shadow: 0 0 0 3px var(--night-2); }
.gn-tick .ico { width: 14px; height: 14px; }
.is-live .stage-gains.is-on .gn { animation: pop-in .5s cubic-bezier(.2, 1.3, .4, 1) both, gn-lit .5s ease both; animation-delay: calc(var(--i) * .12s + .1s), calc(var(--i) * .8s + 1.1s); }
.is-live .stage-gains.is-on .gn-tick { animation: pil-pop .45s cubic-bezier(.3, 1.8, .5, 1) both; animation-delay: calc(var(--i) * .8s + 1.1s); }
@keyframes gn-lit { from { border-color: rgba(255, 255, 255, .2); box-shadow: none; } }
@keyframes pop-in { from { opacity: 0; transform: translateY(14px) scale(.9); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes inv-out { to { opacity: 0; transform: scale(.35); filter: blur(6px); } }
@keyframes sw-track { from { background: rgba(255, 255, 255, .22); } }
@keyframes sw-knob { from { transform: translateX(0); } }

.scene-nav { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: center; gap: 6px 14px; margin-top: clamp(26px, 3.4vw, 38px); }
.hero:not(.is-ready) .scene-nav { visibility: hidden; }   /* the steps need the script; their room is kept */
.scene-step { position: relative; flex: 0 1 150px; padding: 10px 2px 8px; border: 0; background: none; font: inherit; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; text-align: left; color: #9FB6D8; cursor: pointer; transition: color .2s ease; }
.scene-step:hover, .scene-step.is-on { color: #fff; }
.scene-step i { position: relative; display: block; height: 4px; margin-top: 9px; border-radius: 999px; overflow: hidden; background: rgba(255, 255, 255, .18); }
.scene-step i::after { content: ''; position: absolute; inset: 0; border-radius: 999px; background: linear-gradient(90deg, #FFE08A, var(--sun-deep)); transform: scaleX(0); transform-origin: left; }
.scene-step.is-on i::after { transform: scaleX(var(--bar-to, 1)); }
.is-playing .scene-step.is-on i::after { animation: step-fill var(--scene-time, 6500ms) linear both; }
@keyframes step-fill { from { transform: scaleX(var(--bar-from, 0)); } to { transform: scaleX(var(--bar-to, 1)); } }
.scene-pause { display: grid; place-items: center; width: 40px; height: 40px; margin-left: 4px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; }
.scene-pause:hover { background: rgba(255, 255, 255, .16); }
.scene-pause .ico { width: 16px; height: 16px; }
.scene-pause .ico-play, .scene-pause[aria-pressed='true'] .ico-pause { display: none; }
.scene-pause[aria-pressed='true'] .ico-play { display: block; }

/* The diagram, a section of its own: travel inventory on the left and on the right of TravelOS, the distribution
   channels in a row below. Under 900 px it is a stack (inventory, TravelOS, channels) without lines.
   Classes is-live / is-send / is-hit / is-recv come from sales.js. */
.head-center { margin-inline: auto; text-align: center; }
.head-center .lede { margin-inline: auto; }
.flow { position: relative; margin-top: clamp(36px, 5vw, 60px); }
.flow-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.flow-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.flow-label { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.flow-label.is-in { order: 1; }
.flow-inv { order: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.flow-label.is-more { order: 3; text-align: center; color: var(--mute); }
.flow-mid { order: 4; }
.flow-label.is-out { color: #8A5200; margin: 0 0 10px; }
.flow-col { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.flow-col li { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 10px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(16, 32, 58, .04), 0 14px 26px -22px rgba(16, 32, 58, .5); transition: border-color .5s, box-shadow .5s; }
.flow-col b { display: block; font-size: .98rem; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.flow-col small { display: block; margin-top: 2px; font-size: .8rem; line-height: 1.3; color: var(--mute); }
.flow-ico { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: #E3EEFC; color: var(--blue); }
.flow-ico .ico { width: 21px; height: 21px; }
.flow-out { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.flow-out li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.flow-out .flow-ico { background: #FFF0C9; color: #8A5200; }
.flow-core { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; margin: 18px 0; padding: 30px 16px 26px; border-radius: 24px; color: #fff; background: radial-gradient(360px 200px at 100% 0%, rgba(18, 115, 216, .7), transparent 70%), linear-gradient(165deg, #0E63C4, #082A56); box-shadow: 0 26px 50px -24px rgba(14, 78, 158, .9); }
.flow-core::before, .flow-core::after { content: ''; position: absolute; left: 50%; height: 18px; border-left: 2px dashed #9DBBE0; }
.flow-core::before { bottom: 100%; }
.flow-core::after { top: 100%; }
.flow-core .logo { --logo-size: 30px; text-align: left; }
.flow-core .logo-mark { width: 50px; height: 50px; border-radius: 14px; }
.flow-core .logo-tag { color: #CFE3FA; }
.flow-core p { margin-top: 14px; font-size: .98rem; font-weight: 700; }
.flow-rules { display: flex; flex-wrap: wrap; justify-content: center; margin-top: 12px; padding: 7px 10px; border-radius: 14px; background: rgba(6, 26, 56, .4); font-size: .74rem; font-weight: 700; color: #DCE8F8; }
.flow-rules li { white-space: nowrap; }
.flow-rules li + li::before { content: '·'; margin: 0 6px; color: var(--sun); }
.flow-lines, .flow-stem, .flow-down { display: none; }
.flow-bottom { margin-top: 16px; }
.flow-col li.is-send { animation: flow-send .9s ease-out; }
.flow-col li.is-recv { animation: flow-recv 1s ease-out; }
.flow-col li.is-send .flow-ico, .flow-col li.is-recv .flow-ico { animation: flow-pop .6s ease-out; }
.flow-core.is-hit { animation: flow-hit .75s ease-out; }
@keyframes flow-march { to { stroke-dashoffset: -10; } }
@keyframes flow-pop { 35% { transform: scale(1.16); } }
@keyframes flow-send { 0% { border-color: #1273D8; box-shadow: 0 0 0 3px rgba(18, 115, 216, .16), 0 14px 26px -22px rgba(16, 32, 58, .5); } }
@keyframes flow-recv { 0% { border-color: var(--sun-deep); box-shadow: 0 0 0 3px rgba(255, 178, 26, .3), 0 14px 26px -22px rgba(16, 32, 58, .5); transform: translateY(-3px); } }
@keyframes flow-hit { 0% { box-shadow: 0 0 0 0 rgba(18, 115, 216, .45), 0 26px 50px -24px rgba(14, 78, 158, .9); } 100% { box-shadow: 0 0 0 14px rgba(18, 115, 216, 0), 0 26px 50px -24px rgba(14, 78, 158, .9); } }
@media (min-width: 900px) {
  .flow-grid { grid-template-columns: minmax(0, 1fr) clamp(48px, 8vw, 116px) minmax(260px, 320px) clamp(48px, 8vw, 116px) minmax(0, 1fr); gap: 0; }
  .flow-label { margin-bottom: 8px; }
  .flow-label.is-in { grid-area: 1 / 1; }
  .flow-label.is-more { grid-area: 1 / 5; text-align: right; color: var(--blue); }
  .flow-inv { display: contents; }
  .flow-in { grid-auto-rows: 1fr; gap: 0; }
  .flow-in.is-left { grid-area: 2 / 1; }
  .flow-in.is-right { grid-area: 2 / 5; }
  .flow-in li { margin-block: 6px; }
  .flow-mid { grid-area: 2 / 3; display: grid; grid-template-rows: 1fr auto 1fr; }
  .flow-core { grid-row: 2; margin: 0; min-height: 200px; }
  .flow-core::before, .flow-core::after { display: none; }
  .flow-stem { display: block; grid-row: 3; justify-self: center; width: 20px; height: 100%; min-height: 0; }
  .flow-lines { display: block; grid-row: 2; grid-column: 2; width: 100%; height: 100%; min-height: 0; }
  .flow-lines.flow-flip { grid-column: 4; transform: scaleX(-1); }
  .flow-lines path, .flow-stem path, .flow-down path { fill: none; stroke: #9DBBE0; stroke-width: 1.5; stroke-dasharray: 5 5; vector-effect: non-scaling-stroke; }
  .flow.is-live .flow-lines path, .flow.is-live .flow-stem path, .flow.is-live .flow-down path { stroke: #86AEDF; animation: flow-march .9s linear infinite; }
  .flow-bottom { position: relative; margin-top: 0; }
  .flow-down { display: block; width: 100%; height: 92px; }
  .flow-label.is-out { position: absolute; top: 26px; left: 6px; margin: 0; }
  .flow-out { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; }
  .flow-out li { margin-inline: 6px; padding: 12px 12px; }
  .flow-out li:last-child:nth-child(odd) { grid-column: auto; }
}
@media (max-width: 1100px) and (min-width: 900px) {
  .flow-out li { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (max-width: 1020px) {
  .ap-lines { flex-basis: 110px; }
  .ap-panel { grid-template-columns: 124px minmax(0, 1fr); }
}
/* under this width the five platform windows stand in two rows: the stage is as tall as on a phone */
@media (max-width: 940px) { .hero-stage { height: 232px; } }
@media (max-width: 900px) {
  .gn { flex-direction: column; justify-content: center; gap: 8px; padding: 14px 8px 12px; text-align: center; }
  .gn b { font-size: .86rem; }
}
@media (max-width: 1100px) and (min-width: 601px) {
  /* the channel row of the hero: names in full on narrower screens */
  .net-chip { gap: 6px; padding: 0 6px; margin-inline: 3px; font-size: .8rem; }
  .net-chip .ico { display: none; }
}
@media (max-width: 480px) {
  .flow-col li { padding: 9px 10px; gap: 9px; }
  .flow-col small { display: none; }
  .flow-col b { font-size: .88rem; }
  .flow-ico { width: 32px; height: 32px; border-radius: 9px; }
}

/* Clients */
.trust { padding: 44px 0 48px; }
.trust-line { text-align: center; font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 26px 48px; margin-top: 28px; }
/* each logo carries its own display size (width / height attributes written by site/tools/images.js): a wide wordmark is
   lower and a square mark narrower, so that the eleven weigh about the same */
.logos img { max-width: 170px; }

/* On the home page the clients' logos pass in one line (the marquee of option B). The list is written twice in the page
   and slides by half its width, so the loop has no seam; it waits while the pointer is on it. Always left to right. The strip is never wider than
   one copy of the list (2,354 px), or the end of the second copy would show on a very wide screen. */
.marquee { max-width: 2200px; margin: 26px auto 0; overflow: hidden; direction: ltr; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee ul { display: flex; gap: 14px; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover ul { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }
.marquee li { display: grid; place-items: center; flex: none; width: 200px; height: 92px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.marquee img { width: auto; height: auto; max-width: 150px; max-height: 56px; }
@media (max-width: 600px) { .marquee li { width: 164px; height: 78px; border-radius: 14px; } .marquee img { max-width: 122px; max-height: 46px; } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; padding: 0 16px; }
  .marquee ul { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee li[aria-hidden='true'] { display: none; }
}

/* Three sales channels, with the web portal and the mobile app side by side */
.channels { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: center; margin-top: clamp(36px, 5vw, 56px); }
.chan-group { display: grid; grid-template-columns: 92px minmax(0, 1fr); column-gap: 22px; padding: 26px 0; border-top: 1px solid var(--line); }
.chan-group:last-child { border-bottom: 1px solid var(--line); }
.chan-tag { align-self: start; padding: 9px 0; border-radius: 14px; text-align: center; font-size: 1.15rem; font-weight: 800; letter-spacing: .02em; background: #E3EEFC; color: var(--blue); }
.chan-tag.is-sun { background: #FFF0C9; color: #7A4B00; }
.chan-items { display: grid; gap: 20px; }
.chan h4 { margin: 0; font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.chan p { margin-top: 6px; color: var(--mute); }
.devices { position: relative; padding-bottom: 9%; }
.dev-web { width: 86%; aspect-ratio: 14 / 9; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 40px 70px -40px rgba(11, 59, 119, .45); }
.dev-web img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.dev-phone { position: absolute; bottom: 0; width: 25%; border: 5px solid var(--ink); border-radius: 24px; overflow: hidden; background: var(--ink); box-shadow: 0 30px 50px -24px rgba(6, 26, 56, .65); }
.dev-phone img { width: 100%; height: auto; }
.dev-phone-1 { right: 21%; }
.dev-phone-2 { right: 0; bottom: 6%; }

/* What agencies ask today, and what they do with TravelOS */
.asks { margin-top: clamp(36px, 5vw, 56px); }
.asks-head, .ask { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 84px); }
.asks-head { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); padding-bottom: 14px; }
.ask { align-items: center; padding: 22px 0; border-top: 1px solid var(--line); }
.msg { justify-self: start; max-width: 430px; background: #E8F0FB; border-radius: 20px 20px 20px 6px; padding: 12px 18px 14px; }
.sec-paper .msg { background: #fff; box-shadow: 0 0 0 1px var(--line); }
.msg time { display: block; font-size: .74rem; font-weight: 800; letter-spacing: .06em; color: var(--mute); font-variant-numeric: tabular-nums; }
.msg p { font-size: 1.06rem; font-weight: 600; line-height: 1.4; margin-top: 2px; }
.ans { position: relative; }
.ans::before { content: ''; position: absolute; top: 14px; left: calc(clamp(28px, 6vw, 84px) * -1 + 12px); width: calc(clamp(28px, 6vw, 84px) - 24px); border-top: 2px dashed #B9C7DB; }
.ans h3 { display: flex; align-items: center; gap: 12px; font-size: 1.28rem; font-weight: 800; letter-spacing: -.015em; line-height: 1.25; }
.ans h3 .ico { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--ok); color: #fff; }
.ans p { margin-top: 6px; padding-left: 38px; color: var(--mute); max-width: 54ch; }

/* Gains: a benefit with a screen of the platform */
.gain { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: center; margin-top: clamp(48px, 7vw, 92px); }
.gain-flip .gain-pic { order: -1; }
.gain-text h3 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); font-weight: 800; letter-spacing: -.028em; line-height: 1.1; }
.gain-text p { margin-top: 16px; font-size: 1.1rem; color: var(--mute); }
.ticks { margin-top: 20px; display: grid; gap: 10px; font-weight: 700; }
.ticks li { display: flex; align-items: flex-start; gap: 10px; }
.ticks .ico { margin-top: .22em; color: var(--ok); }
.gain-pic { aspect-ratio: 14 / 10; border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 40px 70px -40px rgba(11, 59, 119, .45); }
.gain-pic img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.gain-pic-tall { aspect-ratio: 14 / 13; }

/* The owner's three questions */
.qa { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(36px, 5vw, 56px); }
.qa article { display: flex; flex-direction: column; padding: 30px 28px 26px; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.qa h3 { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: var(--sun); }
.qa p { margin-top: 14px; color: var(--on-night); }
.qa .qa-line { margin-top: auto; padding-top: 22px; color: #fff; font-weight: 800; font-size: 1.08rem; }
.qa .qa-line::before { content: ''; display: block; width: 36px; border-top: 3px solid var(--sun); margin-bottom: 14px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: clamp(36px, 5vw, 56px); }
.card { padding: 26px 24px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); }
.card::before { content: ''; display: block; width: 32px; height: 4px; border-radius: 2px; background: var(--sun-deep); margin-bottom: 18px; }
.card h3 { font-size: 1.18rem; font-weight: 800; letter-spacing: -.015em; line-height: 1.25; }
.card p { margin-top: 10px; color: var(--mute); font-size: 1rem; }

/* The licence */
.lic { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); margin-top: clamp(36px, 5vw, 56px); border-radius: 28px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 50px 80px -50px rgba(11, 59, 119, .45); }
.lic-in { padding: clamp(26px, 4vw, 44px); }
.lic-in h3 { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; }
.lic-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; margin-top: 24px; }
.lic-list li { display: flex; align-items: flex-start; gap: 12px; line-height: 1.45; color: var(--mute); }
.lic-list li:last-child { grid-column: 1 / -1; padding-top: 16px; border-top: 1px dashed var(--line); }
.lic-list b { color: var(--ink); font-weight: 800; }
.lic-list .ico { width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: #E3EEFC; color: var(--blue); margin-top: 1px; }
.lic-pay { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(26px, 4vw, 44px); color: #fff; background: radial-gradient(520px 300px at 100% 0%, rgba(14, 99, 196, .55), transparent 70%), linear-gradient(180deg, var(--night), var(--night-2)); }
.lic-tag { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sun); }
.lic-pay h3 { margin-top: 12px; font-size: clamp(1.5rem, 2.4vw, 1.95rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.12; }
.lic-pay > p { margin-top: 14px; color: var(--on-night); }
.pilot { margin: 24px 0; padding: 16px 18px; border-radius: 16px; background: rgba(255, 194, 60, .1); border: 1px dashed rgba(255, 194, 60, .65); }
.pilot b { display: block; color: var(--sun); font-weight: 800; }
.pilot span { display: block; margin-top: 4px; font-size: .96rem; color: #E3ECF9; }
.lic-pay .btn { margin-top: auto; }
.lic-pay .lic-small { margin-top: 14px; font-size: .88rem; color: #A9BEDD; }

/* Who it is for */
.who { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 40px; margin-top: clamp(36px, 5vw, 56px); }
.who article { padding: 22px 0; border-top: 2px solid var(--ink); }
.who h3 { font-size: 1.18rem; font-weight: 800; letter-spacing: -.015em; }
.who p { margin-top: 8px; color: var(--mute); }
.proof { margin: clamp(48px, 7vw, 84px) auto 0; max-width: 34ch; text-align: center; font-size: clamp(1.4rem, 2.8vw, 2.15rem); font-weight: 300; letter-spacing: -.02em; line-height: 1.25; text-wrap: balance; }
.proof b { font-weight: 800; color: var(--navy); }
.proof span { display: block; margin-top: 14px; font-size: 1.1rem; font-weight: 400; letter-spacing: 0; line-height: 1.5; color: var(--mute); }

/* How you start: a real sequence, so it is numbered */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: clamp(36px, 5vw, 56px); }
.steps li { counter-increment: step; position: relative; padding-top: 66px; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--night); color: var(--sun); font-weight: 800; font-size: 1.1rem; }
.steps li::after { content: ''; position: absolute; top: 22px; left: 58px; right: -16px; border-top: 2px dashed #B9C7DB; }
.steps li:last-child::after { display: none; }
.steps b { display: block; font-size: 1.2rem; font-weight: 800; letter-spacing: -.015em; line-height: 1.25; }
.steps p { margin-top: 8px; color: var(--mute); }

/* Questions */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 2px; font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--blue), var(--blue)) center / 100% 2.5px no-repeat, linear-gradient(var(--blue), var(--blue)) center / 2.5px 100% no-repeat; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 2px 22px; color: var(--mute); max-width: 68ch; }

/* Call to action and form */
.cta-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.cta-sub { margin-top: 18px; font-size: 1.14rem; color: var(--on-night); max-width: 46ch; }
.next { margin-top: 28px; display: grid; gap: 14px; }
.next li { position: relative; padding-left: 26px; color: var(--on-night); }
.next li::before { content: ''; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--sun); }
.next b { color: #fff; font-weight: 800; }
.cta-direct { margin-top: 28px; color: var(--on-night); }
.cta-direct a { color: #fff; font-weight: 700; text-underline-offset: 3px; }

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: clamp(22px, 3.4vw, 34px); border-radius: 24px; background: #fff; color: var(--ink); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
.form h3, .form h2 { grid-column: 1 / -1; font-size: 1.4rem; font-weight: 800; letter-spacing: -.02em; }
.field { display: grid; gap: 6px; }
.field span { font-size: .86rem; font-weight: 700; }
.field span i { font-style: normal; font-weight: 500; color: var(--mute); }
.field input, .field select { width: 100%; height: 50px; padding: 0 14px; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid #C3CFDF; border-radius: 12px; }
.field input:focus-visible, .field select:focus-visible { outline: 3px solid rgba(14, 99, 196, .35); outline-offset: 0; border-color: var(--blue); border-radius: 12px; }
.consent { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; color: var(--mute); line-height: 1.45; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--blue); }
.consent a { color: var(--blue); font-weight: 700; }
.form .btn { grid-column: 1 / -1; }
.form-note { grid-column: 1 / -1; text-align: center; font-size: .88rem; color: var(--mute); margin-top: -4px; }
.trap { display: none; }
.ts { grid-column: 1 / -1; min-height: 72px; }
.ts .form-note { margin: 0; text-align: start; }
.form-error { grid-column: 1 / -1; padding: 12px 14px; border-radius: 12px; background: #FDECEC; color: #8A1C1C; font-size: .92rem; font-weight: 600; line-height: 1.45; }
.form-error[hidden] { display: none; }

/* Footer */
.foot { background: var(--night); color: #A9BEDD; font-size: .9rem; padding: 26px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; }
.foot .logo { --logo-size: 20px; }
.foot .logo-mark { width: 30px; height: 30px; border-radius: 9px; }
.foot a:not(.logo) { color: #fff; font-weight: 600; text-underline-offset: 3px; }

/* Narrower windows */
@media (max-width: 1020px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; }
  .steps li:nth-child(2)::after { display: none; }
  .lic { grid-template-columns: minmax(0, 1fr); }
  .lic-pay .btn { margin-top: 0; }
}
@media (max-width: 860px) {
  .top-link { display: none; }
  .gain, .faq-wrap, .cta-grid, .channels { grid-template-columns: minmax(0, 1fr); }
  .gain-flip .gain-pic { order: 0; }
  .qa { grid-template-columns: minmax(0, 1fr); }
  .who { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .asks-head { display: none; }
  .ask { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 24px 0; }
  .ans::before { display: none; }
  .ans { padding-left: 16px; border-left: 3px solid var(--ok); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { width: min(100% - 32px, var(--wrap)); }
  .top .logo { --logo-size: 21px; }
  .top-row { height: 62px; }
  .hero-cta .btn { width: 100%; }
  .hero-ticks { flex-direction: column; align-items: center; }
  .hero-stage { height: 232px; }
  .stage-frag { gap: 10px 8px; }
  .win { width: 104px; padding: 22px 8px 8px; gap: 6px; }
  .win::before { top: 8px; left: 8px; width: 5px; height: 5px; box-shadow: 8px 0 0 rgba(255, 255, 255, .45), 16px 0 0 rgba(255, 255, 255, .45); }
  .win b { font-size: .7rem; }
  .win em { font-size: .62rem; white-space: normal; line-height: 1.2; }
  .stage-inv { gap: 6px; }
  .inv { height: 32px; padding: 0 9px 0 4px; gap: 6px; border-radius: 10px; font-size: .74rem; }
  .inv-ico { width: 24px; height: 24px; border-radius: 7px; }
  .inv-ico .ico { width: 15px; height: 15px; }
  .net-lines { display: none; }
  .net-core { margin-bottom: 12px; }
  .net-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; }
  .net-chip { height: 38px; margin-inline: 4px; font-size: .78rem; }
  .net-chip:last-child { grid-column: 1 / -1; justify-self: center; padding-inline: 18px; }
  .stage-rules { gap: 8px; }
  .rule { width: 100%; max-width: 300px; padding: 9px 14px; gap: 12px; }
  .rule small { display: none; }
  .hero .eyes .eye { border-radius: 14px; padding: 6px 12px 6px 10px; text-align: start; font-size: .64rem; letter-spacing: .08em; line-height: 1.45; }
  .scene-title { font-size: 2.1rem; margin-top: 12px; }
  .hero-sub { margin-top: 16px; }
  .tg { width: min(100%, 320px); height: 82%; }
.ap-social, .ap-lines, .ap-panel { max-height: 190px; }
  .ap-lines { flex: 0 0 30px; min-width: 0; }
  .ap-panel { flex: 1 1 0; grid-template-columns: 84px minmax(0, 1fr); border-radius: 15px; }
  .ap-head { gap: 6px; padding: 7px 9px; }
  .ap-title { gap: 6px; font-size: .58rem; }
  .ap-title span { overflow: hidden; text-overflow: ellipsis; }
  .ap-brand { gap: 4px; font-size: .78rem; }
  .ap-brand i { width: 17px; height: 17px; border-radius: 5px; }
  .ap-brand i svg { width: 9px; height: 9px; }
  .ap-mode, .ap-row .ap-ico, .ap-row time { display: none; }
  .ap-count { min-width: 22px; padding: 1px 7px; font-size: .66rem; }
  .ap-rev { padding: 6px 8px 6px 9px; }
  .ap-rev small { font-size: .5rem; letter-spacing: .06em; }
  .ap-total { font-size: 1.05rem; }
  .ap-spark { height: 24px; }
  .ap-list { padding: 0 9px; }
  .ap-row { height: 30px; gap: 6px; font-size: .64rem; }
  .stage-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .pil { grid-template-columns: auto 1fr; align-items: center; justify-items: start; gap: 8px; padding: 12px 8px 12px 10px; border-radius: 16px; }
  .pil svg { width: 38px; height: 38px; }
  .pil b { font-size: .64rem; letter-spacing: .05em; }
  .stage-gains { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; }
  .gn { padding: 12px 6px 10px; border-radius: 15px; }
  .gn b { font-size: .78rem; }
  .gn-ico { width: 34px; height: 34px; border-radius: 10px; }
  .gn-ico .ico { width: 18px; height: 18px; }
  /* the steps read like a story: five bars in one row, and only the step on show says its name */
  .scene-nav { flex-wrap: nowrap; gap: 6px; }
  .scene-step { flex: 1 1 0; min-width: 0; padding: 22px 0 14px; font-size: .68rem; white-space: nowrap; }
  .scene-step span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .scene-step.is-on { flex: 0 0 auto; padding-top: 6px; }
  .scene-step.is-on span { position: static; width: auto; height: auto; clip-path: none; }
  .scene-pause { flex: none; width: 36px; height: 36px; }
  .scene-pause { margin: 6px auto 0; }
  .logos { gap: 18px 30px; }
  .logos img { width: auto; max-width: 124px; max-height: 46px; }
  .cards, .who, .lic-list, .form { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .steps li { padding: 0 0 0 62px; min-height: 46px; }
  .steps li::after { display: none; }
  .ans p { padding-left: 0; }
  .chan-group { grid-template-columns: 64px minmax(0, 1fr); column-gap: 14px; }
  .chan-tag { font-size: .95rem; padding: 7px 0; border-radius: 12px; }
  .dev-phone { border-width: 4px; border-radius: 18px; }
  .foot-row { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .flow-col li, .faq summary::after, .scene, .scene-step, .eyes .eye { transition: none; }
  .scene-title, .hero-sub, .scene-step i::after, .hero::before, .eyes .eye::before, .tg-bar, .tg-line, .tg-gap, .ap-soc, .ap-panel, .ap-lines, .ap-lines path, .ap-row, .ap-row b, .ap-count, .ap-mode i, .ap-live, .pil, .pil-arc, .pil-needle, .pil-dot, .pil b, .gn, .gn-tick, .win, .win-load i, .win em, .inv, .net-core, .net-lines, .net-lines path, .net-chip, .rule, .sw, .sw::after { animation: none !important; }
  .stage-layer { transition: none; }
  .flow.is-live .flow-lines path, .flow.is-live .flow-stem path, .flow.is-live .flow-down path, .flow-col li, .flow-core, .flow-ico { animation: none !important; }
}


/* ==================================================================================================================
   The main site: navigation, footer, and the parts the inner pages are built from.
   ================================================================================================================== */
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-display: swap; font-weight: 400; src: url(fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-display: swap; font-weight: 500 600; src: url(fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-display: swap; font-weight: 700 800; src: url(fonts/ibm-plex-sans-arabic-arabic-700-normal.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
body { font-family: 'Plus Jakarta Sans', 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', sans-serif; }
html { scroll-padding-top: 84px; }

/* header: the bar, the menu of a phone */
.top-nav { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
/* where we are: the entry of the current section is white with a yellow line under it; the line also grows under the pointer */
.top-nav .top-link { position: relative; }
.top-nav .top-link::after { content: ''; position: absolute; inset-inline: var(--link-pad, 14px); bottom: 3px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #FFE08A, var(--sun-deep)); transform: scaleX(0); transform-origin: center; transition: transform .22s ease; }
.top-nav .top-link:hover::after { transform: scaleX(.45); }
.top-nav .top-link[aria-current='page'] { color: #fff; font-weight: 800; }
.top-nav .top-link[aria-current='page']::after { transform: scaleX(1); }
.menu a[aria-current='page'] { color: var(--sun); background: rgba(255, 255, 255, .06); box-shadow: inset 4px 0 0 var(--sun); }
[dir='rtl'] .menu a[aria-current='page'] { box-shadow: inset -4px 0 0 var(--sun); }
@media (prefers-reduced-motion: reduce) { .top-nav .top-link::after { transition: none; } }
.menu-btn { display: none; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .3); background: none; color: #fff; font: inherit; font-size: .92rem; font-weight: 700; cursor: pointer; }
.menu { border-top: 1px solid rgba(255, 255, 255, .1); background: var(--night); padding: 8px 0 16px; }
.menu a { display: block; padding: 13px 20px; color: #fff; font-weight: 700; text-decoration: none; }
.menu a:hover { background: rgba(255, 255, 255, .08); }
.menu .btn { margin: 10px 20px 0; display: flex; }
.menu .btn-sun, .menu .btn-sun:hover { color: var(--night-2); background: linear-gradient(180deg, #FFD36B, var(--sun-deep)); }
/* seven entries: they never break in two lines; closer together on a small laptop, in two steps; the phone menu at 1,140 px and below */
.top-link, .top .btn { white-space: nowrap; }
/* (each step is written without a lower bound and undone by the next one: a width of 1,140.5 px, as a zoomed browser gives, must not fall between two rules) */
@media (max-width: 1320px) { .top-link { padding: 10px 9px; font-size: .9rem; --link-pad: 9px; } .top-row { gap: 10px; } }
@media (max-width: 1240px) { .top-link { padding: 10px 6px; font-size: .86rem; --link-pad: 6px; } .top-row { gap: 8px; } .top .btn-sm { padding: 0 14px; } .top .logo { --logo-size: 21px; } }
@media (max-width: 1140px) {
  .top-link { padding: 10px 14px; font-size: .95rem; } .top-row { gap: 16px; } .top .btn-sm { padding: 0 18px; } .top .logo { --logo-size: 24px; }
  .top-nav { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
  .top-link { display: inline-flex; }
}
@media (min-width: 1141px) { .menu { display: none !important; } }
@media (max-width: 600px) { .top .btn-sm { display: none; } }
/* the smallest phones (320 px): the header keeps to the screen */
@media (max-width: 360px) {
  .top-row { gap: 6px; }
  .top .logo { --logo-size: 20px; gap: 7px; }
  .top .logo-mark { width: 30px; height: 30px; border-radius: 9px; }
  .top .logo-tag { display: none; }
  .top-link { padding: 10px 6px; font-size: .9rem; }
  .menu-btn { padding: 0 10px; }
}

/* the head of an inner page */
.page-hero { padding: clamp(48px, 7vw, 92px) 0 clamp(44px, 6vw, 76px); text-align: center; color: #fff; background: radial-gradient(900px 420px at 80% 110%, rgba(18, 115, 216, .5), transparent 64%), linear-gradient(180deg, var(--night), var(--night-2)); }
.page-hero h1 { margin: 14px auto 0; max-width: 20ch; font-size: clamp(2.1rem, 4.8vw, 3.7rem); font-weight: 800; letter-spacing: -.036em; line-height: 1.05; text-wrap: balance; }
.page-hero h1 span { color: var(--sun); }
.page-hero .lede { margin: 20px auto 0; color: var(--on-night); max-width: 62ch; }
.page-hero .hero-cta { margin-top: 28px; }

/* grids of cards */
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sec-paper .card { background: #fff; }
.sec-night .card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
.sec-night .card p { color: var(--on-night); }
.sec-night .lede, .sec-night .note, .sec-night .ticks li { color: var(--on-night); }
.sec-night .steps li p, .sec-night .row p { color: var(--on-night); }
.card-ico { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 14px; border-radius: 12px; background: #E3EEFC; color: var(--blue); }
.card-ico + h3 { margin-top: 0; }
.card:has(.card-ico)::before { display: none; }
.card ul.ticks { font-weight: 600; font-size: .98rem; margin-top: 14px; gap: 8px; }
a.card { display: block; color: inherit; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
a.card:hover { transform: translateY(-3px); border-color: #A9C6EC; box-shadow: 0 22px 40px -28px rgba(11, 59, 119, .55); }
.link { color: var(--blue); font-weight: 700; text-underline-offset: 3px; }
.sec-night .link, .page-hero .link { color: #fff; }
.more { margin-top: clamp(24px, 3vw, 36px); display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; }
.head-center + .more, .more-center { justify-content: center; }
.btn-ink { background: var(--night-2); color: #fff; }
.btn-ink:hover { background: var(--navy); transform: translateY(-2px); }
.btn-ghost { color: var(--ink); box-shadow: inset 0 0 0 1.5px #B9C7DB; }
.btn-ghost:hover { background: var(--paper); }

/* a product or a business type: text beside its facts, one after the other */
.rows { display: grid; gap: clamp(36px, 5vw, 64px); margin-top: clamp(36px, 5vw, 56px); }
.row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 64px); align-items: start; padding-top: clamp(28px, 4vw, 44px); border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.row h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.12; }
.row > div > p { margin-top: 12px; color: var(--mute); font-size: 1.06rem; }
.row .ticks { margin-top: 0; font-weight: 600; }
.row .hero-cta, .row .more { margin-top: 22px; justify-content: flex-start; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.page-hero .chips { justify-content: center; }
.chip-link { display: inline-flex; align-items: center; min-height: 40px; padding: 0 15px; border-radius: 999px; font-size: .9rem; font-weight: 700; text-decoration: none; color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.sec .chip-link { color: var(--navy); background: #E3EEFC; border-color: transparent; }
/* under the pointer (or the keyboard) a chip fills with the yellow of the main button */
.chip-link:hover, .chip-link:focus-visible, .sec .chip-link:hover, .sec .chip-link:focus-visible { color: var(--night-2); background: linear-gradient(180deg, #FFD36B, var(--sun-deep)); border-color: var(--sun-deep); box-shadow: 0 10px 22px -12px rgba(255, 178, 26, .8); transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) { .chip-link { transition: none; } .chip-link:hover, .chip-link:focus-visible { transform: none; } }

/* a simple table */
.table-wrap { margin-top: clamp(28px, 4vw, 44px); overflow-x: auto; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.table th, .table td { padding: 15px 20px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--line); }
.table thead th { font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); background: var(--paper); }
.table tbody tr:last-child th, .table tbody tr:last-child td { border-bottom: 0; }
.table tbody th { font-weight: 800; white-space: nowrap; }
.table td { color: var(--mute); }

/* the yellow band of the representative programme */
.band-sun { background: linear-gradient(135deg, #FFD978, var(--sun-deep)); color: var(--night-2); }
.band-sun .eye { color: var(--night-2); }
.band-sun .lede { color: #3B2C05; }
.gsa { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.gsa-points { display: grid; gap: 12px; }
.gsa-points li { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; background: rgba(255, 255, 255, .5); font-weight: 700; }
.gsa-points svg { flex: none; }

/* forms on a light page, long text, notes */
.sec .form, .sec-paper .form { box-shadow: 0 0 0 1px var(--line), 0 40px 70px -46px rgba(11, 59, 119, .45); }
.field textarea { width: 100%; min-height: 120px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid #C3CFDF; border-radius: 12px; resize: vertical; }
.field textarea:focus-visible { outline: 3px solid rgba(14, 99, 196, .35); outline-offset: 0; border-color: var(--blue); }
.field-wide { grid-column: 1 / -1; }
.aside { padding: clamp(22px, 3vw, 30px); border-radius: 20px; background: var(--paper); border: 1px solid var(--line); }
.sec-paper .aside { background: #fff; }
.aside h3, .aside h2 { font-size: 1.2rem; font-weight: 800; letter-spacing: -.015em; }
.aside .next { margin-top: 16px; }
.aside .next li { color: var(--mute); }
.aside .next b { color: var(--ink); }
.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
/* beside a long form, the box stays in view */
@media (min-width: 861px) { .split > .aside { position: sticky; top: 132px; } }
/* news and events: the cards of the list, and the head of one item */
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: .84rem; font-weight: 700; color: var(--mute); }
.post-tag { padding: 3px 11px; border-radius: 999px; background: #E3EEFC; color: var(--navy); font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.post-tag.is-event { background: #FFEDBF; color: #6B4200; }
.card.post { display: flex; flex-direction: column; gap: 12px; }
.card.post h3 { font-size: 1.22rem; line-height: 1.25; }
.card.post .link { margin-top: auto; padding-top: 4px; font-weight: 700; }
.post-where { display: flex; align-items: center; gap: 7px; font-size: .9rem; font-weight: 700; color: var(--ink); }
.post-where svg { flex: none; width: 18px; height: 18px; color: var(--blue); }
.page-hero .post-meta { justify-content: center; margin-bottom: 14px; color: var(--on-night); }
.page-hero .post-tag { background: rgba(255, 255, 255, .14); color: #fff; }
.page-hero .post-tag.is-event { background: var(--sun); color: var(--night); }
.page-hero .post-where { justify-content: center; margin-top: 16px; color: #fff; }
.page-hero .post-where svg { color: var(--sun); }
.page-post .page-hero h1 { font-size: clamp(1.9rem, 4vw, 3.1rem); max-width: 22ch; margin-inline: auto; }
.wrap.prose { margin-inline: auto; }
.prose li { margin-top: 6px; }
.prose b { color: var(--ink); }
/* contacts: the two offices */
.office h3 { margin-top: 14px; font-size: 1.5rem; }
.office h3 small { margin-inline-start: 6px; font-size: .95rem; font-weight: 700; color: var(--mute); }
.office-lines { display: grid; gap: 10px; margin-top: 16px; }
.office-lines div { display: grid; grid-template-columns: 3.4em minmax(0, 1fr); align-items: baseline; gap: 10px; }
.office-lines dt { font-size: .72rem; font-weight: 800; letter-spacing: .1em; color: var(--blue); }
.office-lines dd { font-size: 1.14rem; font-weight: 700; direction: ltr; unicode-bidi: isolate; }
.office-lines a { color: var(--ink); text-decoration: none; }
.office-lines a:hover { color: var(--blue); text-decoration: underline; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 40px; font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin-top: 12px; color: var(--mute); }
.prose ul { list-style: disc; padding-inline-start: 22px; }
.note { margin-top: 18px; font-size: .9rem; color: var(--mute); }

/* screenshots: small pictures that open large */
.thumbs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 22px; max-width: 480px; }
.thumbs-phone { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.thumb { display: block; cursor: zoom-in; border-radius: 10px; text-decoration: none; }
.thumb img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; border-radius: 10px; border: 1px solid #D5E0EE; background: #fff; box-shadow: 0 1px 2px rgba(16, 32, 58, .05), 0 12px 22px -16px rgba(16, 32, 58, .55); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.thumb:hover img, .thumb:focus-visible img { transform: translateY(-3px); border-color: #8DBBEE; box-shadow: 0 1px 2px rgba(16, 32, 58, .05), 0 18px 28px -16px rgba(14, 78, 158, .7); }
.thumb span { display: block; margin-top: 7px; font-size: .72rem; font-weight: 700; line-height: 1.25; color: var(--mute); }
.thumb:hover span { color: var(--blue); }
.thumbs-note { margin-top: 10px; font-size: .8rem; color: var(--mute); }
.thumbs-phone .thumb img { aspect-ratio: 240 / 522; border: 0; border-radius: 14px; background: transparent; box-shadow: 0 14px 24px -14px rgba(16, 32, 58, .6); }
.lightbox { padding: 0; border: 0; border-radius: 16px; width: min(1100px, 94vw); max-width: 94vw; max-height: 92vh; overflow: hidden; background: #fff; color: var(--ink); box-shadow: 0 40px 90px -30px rgba(4, 22, 52, .85); }
.lightbox[open] { display: flex; flex-direction: column; }
.lightbox::backdrop { background: rgba(8, 26, 56, .74); }
.lightbox-bar { display: flex; flex: none; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 18px; border-bottom: 1px solid var(--line); background: var(--paper); font-size: .85rem; font-weight: 800; }
.lightbox-bar button { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 10px; background: none; font-size: 24px; line-height: 1; color: var(--ink); cursor: pointer; }
.lightbox-bar button:hover { background: #E3EEFC; color: var(--blue); }
.lightbox-body { overflow: auto; overscroll-behavior: contain; }
.lightbox-body img { display: block; width: 100%; height: auto; }
.lightbox.is-phone { width: min(400px, 94vw); }
.lightbox.is-phone .lightbox-body { padding: 14px; background: #EEF2F8; }

/* footer of the site, and the analytics notice */
.foot { padding: clamp(36px, 5vw, 56px) 0 28px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 28px 56px; align-items: start; }
.foot-grid p { margin-top: 12px; max-width: 40ch; }
.foot-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 20px; }
/* WhatsApp in the footer: the mark alone, as a round button that opens the chat */
.foot a.foot-wa { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-inline-start: 34px; padding: 0; border-radius: 50%; background: #25D366; color: #fff; vertical-align: middle; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease; }
.foot a.foot-wa svg { width: 28px; height: 28px; }
.foot a.foot-wa:hover, .foot a.foot-wa:focus-visible { background: #1EBE5A; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37, 211, 102, .36); }
@media (prefers-reduced-motion: reduce) { .foot a.foot-wa { transition: none; } .foot a.foot-wa:hover, .foot a.foot-wa:focus-visible { transform: none; } }
/* on a phone a footer link is tall enough for a finger */
@media (max-width: 860px) { .foot-nav { gap: 2px 20px; } .foot-nav a, .foot p a:not(.foot-wa) { display: inline-block; padding-block: 7px; } }
/* the last line of the footer: who owns the site, on one row */
.foot-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 28px; margin-top: clamp(26px, 4vw, 40px); padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .86rem; }
.notice { position: fixed; z-index: 40; bottom: 16px; left: 16px; right: 16px; max-width: 760px; margin-inline: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 16px 18px; border-radius: 16px; background: #fff; color: var(--mute); font-size: .88rem; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -24px rgba(6, 26, 56, .55); }
.notice p { flex: 1 1 320px; }
.notice div { display: flex; gap: 8px; }


@media (max-width: 1020px) { .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .row, .gsa, .split, .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .foot-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .cards-2, .cards-3 { grid-template-columns: minmax(0, 1fr); }

  .table th, .table td { padding: 12px 14px; }
}

/* Arabic: right to left */
[dir='rtl'] body { font-family: 'IBM Plex Sans Arabic', 'Plus Jakarta Sans', system-ui, sans-serif; }
[dir='rtl'] .scene-title, [dir='rtl'] .h2, [dir='rtl'] .page-hero h1 { letter-spacing: 0; line-height: 1.25; }
[dir='rtl'] .eye, [dir='rtl'] .flow-label, [dir='rtl'] .scene-step, [dir='rtl'] .trust-line, [dir='rtl'] .lic-tag, [dir='rtl'] .asks-head { letter-spacing: 0; }
/* Arabic letters read smaller than Latin ones at the same size: one step up for the whole page, two for the small labels */
html[dir='rtl'] { font-size: 106.25%; }
[dir='rtl'] .eye, [dir='rtl'] .flow-label, [dir='rtl'] .trust-line, [dir='rtl'] .lic-tag, [dir='rtl'] .asks-head span { font-size: .9rem; }
[dir='rtl'] .logo, [dir='rtl'] .net-core, [dir='rtl'] .flow-core .logo { direction: ltr; }
[dir='rtl'] .btn .ico { transform: scaleX(-1); }
[dir='rtl'] .scene-step { text-align: right; }
[dir='rtl'] .ap-lines { transform: scaleX(-1); }
[dir='rtl'] .ap-title, [dir='rtl'] .ap-mode { letter-spacing: 0; }
[dir='rtl'] .scene-step i::after { background: linear-gradient(270deg, #FFE08A, var(--sun-deep)); }
[dir='rtl'] .tg-line b, [dir='rtl'] .tg-gap b, [dir='rtl'] .pil b, [dir='rtl'] .ap-rev small { letter-spacing: 0; font-size: .84rem; }
[dir='rtl'] .scene-title span { padding-bottom: .16em; }
[dir='rtl'] .scene-step i::after { transform-origin: right; }
[dir='rtl'] .flow-lines { transform: scaleX(-1); }
[dir='rtl'] .flow-lines.flow-flip { transform: none; }
[dir='rtl'] .flow-label.is-more { text-align: left; }
[dir='rtl'] .flow-label.is-out { left: auto; right: 6px; }
[dir='rtl'] .msg { border-radius: 20px 20px 6px 20px; }
[dir='rtl'] .ans::before { left: auto; right: calc(clamp(28px, 6vw, 84px) * -1 + 12px); }
[dir='rtl'] .ans p { padding-left: 0; padding-right: 38px; }
[dir='rtl'] .steps li::before { left: auto; right: 0; }
[dir='rtl'] .steps li::after { left: -16px; right: 58px; }
[dir='rtl'] .next li { padding-left: 0; padding-right: 26px; }
[dir='rtl'] .next li::before { left: auto; right: 0; }
[dir='rtl'] .rule, [dir='rtl'] .win, [dir='rtl'] .net-name, [dir='rtl'] .net-core small { text-align: right; }
/* Arabic letters join: no tracking on any heading or label */
[dir='rtl'] .card h3, [dir='rtl'] .row h3, [dir='rtl'] .steps b, [dir='rtl'] .table thead th, [dir='rtl'] .lic-in h3, [dir='rtl'] .lic-pay h3, [dir='rtl'] .faq summary, [dir='rtl'] .aside h2, [dir='rtl'] .aside h3, [dir='rtl'] .form h2, [dir='rtl'] .form h3, [dir='rtl'] .post-tag, [dir='rtl'] .prose h2, [dir='rtl'] .office-lines dt { letter-spacing: 0; }
[dir='rtl'] .table thead th, [dir='rtl'] .post-tag { font-size: .86rem; }
[dir='rtl'] .skip { left: auto; right: 12px; }
[dir='rtl'] .lightbox-bar { padding: 8px 18px 8px 8px; }
/* Contacts: the label column is wider in Arabic, and the number stands beside its label */
[dir='rtl'] .office-lines div { grid-template-columns: 6.6em minmax(0, 1fr); }
[dir='rtl'] .office-lines dt { font-size: .86rem; }
[dir='rtl'] .office-lines dd { text-align: right; }
[dir='rtl'] .dev-web { margin-inline-start: auto; }
[dir='rtl'] .dev-phone-1 { right: auto; left: 21%; }
[dir='rtl'] .dev-phone-2 { right: auto; left: 0; }
@media (max-width: 860px) { [dir='rtl'] .ans { padding-left: 0; padding-right: 16px; border-left: 0; border-right: 3px solid var(--ok); } }
@media (max-width: 600px) { [dir='rtl'] .scene-title { font-size: 2.05rem; } [dir='rtl'] .hero .eyes .eye { font-size: .8rem; letter-spacing: 0; } [dir='rtl'] .pil b { font-size: .8rem; } [dir='rtl'] .steps li { padding: 0 62px 0 0; } [dir='rtl'] .ans p { padding-right: 0; } }
