/* Mize Pro landing page.
   Brand: gold #F0C72A + black #121212 (Mize standards guide). Gold as a fill always carries black text;
   gold as text on a light ground uses --gold-ink. Arabic text never gets letter-spacing. */

:root {
  --gold: #F0C72A;
  --ink: #121212;

  --paper: #FAF8F2;
  --surface: #FFFFFF;
  --bone: #F1EDDF;
  --line: #E3DDCB;
  --text: #121212;
  --muted: #5F5B4F;
  --gold-ink: #7A6100;
  --gold-soft: #FBF1C4;

  --band: #121212;
  --band-text: #F3EFE3;
  --band-mut: #A9A391;
  --card-dark: #161614;
  --card-dark-edge: transparent;

  --btn-bg: #121212;
  --btn-fg: #FFFFFF;
  --fill: #121212;
  --fill-text: #F0C72A;
  --focus: #7A6100;
  --ok: #1B7F46;

  --font-display: 'Alexandria', 'IBM Plex Sans Arabic', 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'IBM Plex Sans Arabic', 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 40px);
  --radius: 22px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0E0E0D;
    --surface: #181816;
    --bone: #211F1B;
    --line: #2F2C25;
    --text: #F3EFE3;
    --muted: #A9A391;
    --gold-ink: #F6D96A;
    --gold-soft: rgba(240, 199, 42, .16);

    --band: #181816;
    --card-dark: #1C1B18;
    --card-dark-edge: rgba(240, 199, 42, .5);

    --btn-bg: #F0C72A;
    --btn-fg: #121212;
    --fill: #F0C72A;
    --fill-text: #121212;
    --focus: #F6D96A;
    --ok: #4CC27E;
  }
}

/* Anything sitting on the gold field keeps black ink in both themes. */
.on-gold {
  --btn-bg: #121212;
  --btn-fg: #FFFFFF;
  --focus: #121212;
  color: #121212;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, dt, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
em, i { font-style: normal; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(1180px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
[dir="rtl"] .ic--dir { transform: scaleX(-1); }

.skip { position: absolute; inset-inline-start: 12px; top: -80px; z-index: 100; padding: .6rem 1rem; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 50px; padding: .7rem 1.45rem;
  border: 1.5px solid transparent; border-radius: 999px;
  font: 600 1rem/1.2 var(--font-body); text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn--primary:hover { box-shadow: 0 10px 24px -12px rgba(18, 18, 18, .7); }
.btn--gold { background: var(--gold); color: #121212; }
.btn--line { border-color: currentColor; }
.btn--line:hover { background: color-mix(in srgb, currentColor 9%, transparent); }
.btn--sm { min-height: 40px; padding: .4rem 1.05rem; font-size: .93rem; }

.link { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; text-decoration: none; padding-bottom: .2rem; border-bottom: 2px solid var(--gold); transition: gap .15s ease; }
.link:hover { gap: .75rem; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 90%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__in { display: flex; align-items: center; gap: 1rem; height: 68px; }
.nav__logo { flex: none; }
.nav__logo img { height: 40px; width: auto; }
.nav__links { display: flex; gap: 1.6rem; margin-inline-start: 1.75rem; font-size: .96rem; font-weight: 500; }
.nav__links a { color: var(--muted); text-decoration: none; padding-block: .4rem; border-bottom: 2px solid transparent; transition: color .15s ease, border-color .15s ease; }
.nav__links a:hover { color: var(--text); border-bottom-color: var(--gold); }
.nav__actions { margin-inline-start: auto; display: flex; align-items: center; gap: .55rem; }
.nav__lang { display: inline-flex; align-items: center; min-height: 40px; font-weight: 600; font-size: .9rem; text-decoration: none; color: var(--muted); padding: .3rem .7rem; border-radius: 999px; }
.nav__lang:hover { color: var(--text); background: var(--bone); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; background: var(--gold); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(115deg, rgba(18, 18, 18, .05) 0 2px, transparent 2px 26px); -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%); mask-image: linear-gradient(to bottom, #000, transparent 85%); }
/* torn-ticket edge into the next band */
.hero::after { content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 12px; background: radial-gradient(circle at 12px 12px, var(--band) 8px, transparent 8.6px) 0 0 / 24px 12px repeat-x; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: clamp(2rem, 5vw, 4.5rem); padding-block: clamp(2.75rem, 6vw, 5.5rem) clamp(4rem, 8vw, 7rem); }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .98rem; }
.eyebrow::before { content: ""; width: 30px; height: 2px; background: currentColor; }
.hero h1 { font: 800 clamp(2.35rem, 5.6vw, 4.9rem)/1.28 var(--font-display); margin-block: 1rem 1.4rem; }
.hero h1 > span { display: block; width: fit-content; text-wrap: balance; }
.hero h1 .stk { margin-top: .14em; padding: .02em .3em .12em; border-radius: .16em; background: var(--ink); color: var(--gold); transform: rotate(-1.4deg); box-shadow: .07em .09em 0 rgba(18, 18, 18, .2); }
[dir="ltr"] .hero h1 { font-size: clamp(2.2rem, 4.2vw, 3.7rem); line-height: 1.12; letter-spacing: -.02em; }
[dir="ltr"] .hero h1 .stk { transform: rotate(-1deg); padding: .04em .26em .1em; }
.hero__sub { max-width: 35em; font-size: clamp(1.05rem, 1.35vw, 1.22rem); line-height: 1.85; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.9rem; }
.hero__note { display: flex; align-items: center; gap: .8rem; margin-top: 1.9rem; font-weight: 600; line-height: 1.5; }
.hero__note small { display: block; font-weight: 400; font-size: .86rem; opacity: .78; }
.hero__clock { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--ink); color: var(--gold); }
.hero__demo { position: relative; }

/* ---------- The order ticket (hero demo). Paper stays paper in both themes. ---------- */
.ticket { --t-ink: #121212; --t-mut: #6B675B; --t-line: #E7E2D2; position: relative; max-width: 480px; margin-inline: auto; background: #fff; color: var(--t-ink); border-radius: 24px; font-size: .95rem; line-height: 1.5; transform: rotate(-1.6deg); box-shadow: 0 2px 0 rgba(18, 18, 18, .08), 0 46px 70px -34px rgba(18, 18, 18, .6); }
[dir="ltr"] .ticket { transform: rotate(1.6deg); }
.ticket__inner { padding: 1.3rem 1.4rem 1.35rem; }
.ticket__top { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; }
.ticket__no { font: 600 .92rem var(--font-mono); }
.tag { padding: .08rem .55rem; border-radius: 999px; background: #F1EDDF; color: #5F5B4F; font-size: .74rem; font-weight: 600; }
.timer { margin-inline-start: auto; display: inline-flex; align-items: center; gap: .35rem; padding: .22rem .65rem; border-radius: 999px; background: #121212; color: #F0C72A; font: 600 .9rem var(--font-mono); font-variant-numeric: tabular-nums; }
.timer .ic { width: 1em; height: 1em; }
.ticket__status { flex-basis: 100%; display: flex; align-items: center; gap: .55rem; min-height: 1.7em; font-weight: 600; }
.ticket__status::before { content: ""; width: .6rem; height: .6rem; flex: none; border-radius: 50%; background: #F0C72A; box-shadow: 0 0 0 4px rgba(240, 199, 42, .32); }
.ticket[data-stage="1"] .ticket__status::before { animation: pulse 1s ease-in-out infinite; }
.ticket[data-stage="5"] .ticket__status::before { background: #1B7F46; box-shadow: 0 0 0 4px rgba(27, 127, 70, .18); }
.ticket__car { display: flex; align-items: center; gap: .85rem; margin-top: .8rem; padding: .7rem .8rem; border-radius: 14px; background: #FAF8F2; }
.plate { display: inline-flex; flex-direction: column; align-items: center; min-width: 84px; padding: .22rem .6rem; border: 1.5px solid #121212; border-radius: 8px; background: #fff; line-height: 1.3; }
.plate b { font-size: .92rem; font-weight: 600; }
.plate i { font: 600 .95rem var(--font-mono); }
[dir="ltr"] .plate b { font-family: var(--font-mono); letter-spacing: .12em; }
.ticket__carname strong { display: block; }
.ticket__carname small { font: 500 .76rem var(--font-mono); color: var(--t-mut); }
.part { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .7rem; padding: .7rem 0; border-bottom: 1px solid var(--t-line); }
.part__name { font-weight: 600; }
.lanes { display: flex; gap: .45rem; }
.lane { position: relative; display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: .4rem; min-width: 96px; padding: .32rem .6rem .36rem; border: 1.5px solid var(--t-line); border-radius: 11px; background: #fff; transition: background-color .25s ease, border-color .25s ease; }
.lane em { grid-column: 1 / -1; font-size: .72rem; color: var(--t-mut); }
.lane b { font: 600 1rem var(--font-mono); font-variant-numeric: tabular-nums; }
.lane small { font-size: .72rem; color: var(--t-mut); }
.lane__ck { position: absolute; inset-block-start: -8px; inset-inline-end: -8px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #121212; color: #F0C72A; transform: scale(0); transition: transform .28s cubic-bezier(.3, 1.7, .5, 1); }
.lane__ck .ic { width: 12px; height: 12px; stroke-width: 3.2; }
.lane.is-picked { background: #F0C72A; border-color: #121212; }
.lane.is-picked em, .lane.is-picked small { color: #121212; }
.lane.is-picked .lane__ck { transform: scale(1); }
.part.is-priced .lane b, .part.is-priced .lane small { animation: pop .4s ease both; }
.part:not(.is-priced) .lane b, .part:not(.is-priced) .lane small { color: transparent; border-radius: 4px; background: linear-gradient(90deg, #EEE9D9 25%, #F8F5EC 50%, #EEE9D9 75%) 0 0 / 200% 100%; animation: shimmer 1.1s linear infinite; }
.ticket__total { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-top: .8rem; opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease; }
.ticket.has-total .ticket__total { opacity: 1; transform: none; }
.ticket__total span { color: var(--t-mut); font-size: .88rem; }
.ticket__total b { font: 600 1.55rem var(--font-mono); font-variant-numeric: tabular-nums; }
.ticket__total b small { font: 500 .8rem var(--font-body); }
.ticket__cut { position: relative; margin: .95rem -1.4rem 1rem; border-top: 2px dashed #D9D3BF; }
.ticket__cut::before, .ticket__cut::after { content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); }
.ticket__cut::before { inset-inline-start: -11px; }
.ticket__cut::after { inset-inline-end: -11px; }
.steps5 { display: grid; grid-template-columns: repeat(5, 1fr); }
.steps5 li { position: relative; display: flex; flex-direction: column; align-items: center; gap: .35rem; text-align: center; font-size: .74rem; color: var(--t-mut); transition: color .3s ease; }
.steps5 li i { position: relative; z-index: 1; width: 14px; height: 14px; border: 2px solid #CFC8B2; border-radius: 50%; background: #fff; transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease; }
.steps5 li + li::before { content: ""; position: absolute; top: 6px; inset-inline-start: -50%; width: 100%; height: 2px; background: #E2DCC8; transition: background-color .3s ease; }
.steps5 li.is-done, .steps5 li.is-now { color: #121212; font-weight: 600; }
.steps5 li.is-done i { background: #121212; border-color: #121212; }
.steps5 li.is-now i { background: #F0C72A; border-color: #121212; box-shadow: 0 0 0 4px rgba(240, 199, 42, .35); }
.steps5 li.is-done::before, .steps5 li.is-now::before { background: #121212; }
.stamp { position: absolute; inset-block-start: 5.1rem; inset-inline-end: 1.15rem; display: grid; place-content: center; width: 78px; height: 78px; border: 3px double #1B7F46; border-radius: 50%; background: rgba(255, 255, 255, .8); color: #1B7F46; font: 700 .78rem/1.3 var(--font-body); text-align: center; opacity: 0; transform: rotate(-14deg) scale(1.7); transition: opacity .15s ease, transform .3s cubic-bezier(.2, 1.5, .4, 1); pointer-events: none; }
.stamp span { display: block; }
.ticket[data-stage="5"] .stamp { opacity: .95; transform: rotate(-14deg) scale(1); }

@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(4px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(240, 199, 42, .12); } }

/* ---------- Proof band ---------- */
.proof { background: var(--band); color: var(--band-text); padding-block: clamp(2.75rem, 5.5vw, 4.5rem) clamp(2.25rem, 4vw, 3.25rem); }
.proof__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem clamp(1.25rem, 3vw, 3rem); }
.stat { display: flex; flex-direction: column; }
.stat dd { order: -1; color: var(--gold); font: 800 clamp(2.3rem, 4.6vw, 4rem)/1.15 var(--font-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat dd span { display: inline-block; unicode-bidi: isolate; }
.stat dd small { margin-inline-start: .3em; font-size: .38em; font-weight: 700; }
[dir="ltr"] .stat dd { letter-spacing: -.02em; }
.stat dt { max-width: 15em; margin-top: .45rem; color: var(--band-mut); font-size: .98rem; line-height: 1.6; }
.proof__foot { margin-top: 2.25rem; padding-top: 1.1rem; border-top: 1px solid rgba(243, 239, 227, .14); color: var(--band-mut); font-size: .84rem; }

/* ---------- Sections ---------- */
.sec { padding-block: clamp(4rem, 8vw, 7rem); }
.sec__head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.sec__eyebrow { display: flex; align-items: center; gap: .6rem; margin-bottom: .7rem; color: var(--gold-ink); font-weight: 600; font-size: .98rem; }
.sec__eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--gold); }
.sec h2, .cta h2 { font: 800 clamp(1.75rem, 3.5vw, 2.9rem)/1.4 var(--font-display); text-wrap: balance; }
[dir="ltr"] .sec h2, [dir="ltr"] .cta h2 { line-height: 1.18; letter-spacing: -.02em; }

/* Before / after */
.shift { padding-bottom: 0; }
.shift__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.shift__col { padding: clamp(1.5rem, 3vw, 2.4rem); border-radius: 26px; }
.shift__col--before { background: var(--bone); color: var(--muted); }
.shift__col--after { background: var(--card-dark); color: #F3EFE3; box-shadow: inset 0 0 0 1.5px var(--card-dark-edge); }
.shift__label { display: inline-block; margin-bottom: .8rem; padding: .12rem .9rem; border-radius: 999px; font-weight: 600; font-size: .9rem; }
.shift__col--before .shift__label { border: 1.5px solid currentColor; }
.shift__col--after .shift__label { background: var(--gold); color: #121212; }
.shift__col li { display: flex; align-items: flex-start; gap: .85rem; padding: .9rem 0; font-size: 1.06rem; line-height: 1.65; }
.shift__col li + li { border-top: 1px solid color-mix(in srgb, currentColor 16%, transparent); }
.shift__col li .ic { margin-top: .28em; }
.shift__col--before li span { text-decoration: line-through; text-decoration-thickness: 1px; text-decoration-color: color-mix(in srgb, currentColor 55%, transparent); }
.shift__col--after li .ic { padding: 3px; border-radius: 50%; background: var(--gold); color: #121212; stroke-width: 2.6; }

/* How it works: five stops on a route */
.route { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.2rem; }
.stop__vg { display: grid; align-items: center; height: 158px; padding: .95rem; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.stop__num { display: flex; align-items: center; margin-block: 1.15rem .6rem; }
.stop__num b { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--gold); color: #121212; font: 600 .98rem var(--font-mono); }
.stop__num::after { content: ""; flex: 1; height: 2px; margin-inline: .6rem -1.2rem; background: repeating-linear-gradient(to right, var(--line) 0 7px, transparent 7px 13px); }
.stop:last-child .stop__num::after { display: none; }
.stop h3 { font: 700 1.14rem/1.5 var(--font-display); }
.stop p { margin-top: .35rem; color: var(--muted); font-size: .98rem; line-height: 1.7; }

/* Vignettes: small pieces of the real interface */
.vg { display: flex; flex-direction: column; gap: .5rem; width: 100%; font-size: .8rem; line-height: 1.4; }
.vg__btn { align-self: flex-start; display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .7rem; border-radius: 999px; background: var(--fill); color: var(--fill-text); font-weight: 600; }
.vg__field { display: flex; align-items: center; gap: .4rem; padding: .36rem .55rem; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; font: 500 .72rem var(--font-mono); white-space: nowrap; }
.vg__field em { margin-inline-start: auto; padding: .05rem .45rem; border-radius: 999px; background: var(--gold-soft); color: var(--gold-ink); font: 600 .66rem var(--font-body); }
.vg__chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.vg__chips b { padding: .2rem .6rem; border-radius: 999px; background: var(--bone); font-weight: 500; }
.vg__chips b:last-child { padding: .2rem .35rem; border: 1px dashed var(--muted); background: none; color: var(--muted); }
.vg__chips .ic { width: 1em; height: 1em; }
.vg--tags { flex-direction: row; align-items: flex-start; justify-content: center; gap: .9rem; }
.ptag { position: relative; display: grid; min-width: 82px; padding: 1.15rem .8rem .6rem; background: var(--gold); color: #121212; text-align: center; -webkit-clip-path: polygon(24% 0, 76% 0, 100% 20%, 100% 100%, 0 100%, 0 20%); clip-path: polygon(24% 0, 76% 0, 100% 20%, 100% 100%, 0 100%, 0 20%); transform: rotate(4deg); }
.ptag::before { content: ""; position: absolute; top: 7px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--surface); }
.ptag--alt { background: var(--bone); color: var(--text); transform: rotate(-4deg) translateY(8px); }
.ptag em { font-size: .7rem; font-weight: 600; }
.ptag b { font: 600 1.2rem var(--font-mono); }
.ptag small { font-size: .68rem; opacity: .8; }
.vg--checks { gap: .35rem; }
.ck { display: flex; align-items: center; gap: .5rem; padding: .32rem .55rem; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); }
.ck::before { content: ""; width: 15px; height: 15px; flex: none; border: 1.5px solid currentColor; border-radius: 4px; }
.ck.is-on { border-color: transparent; background: var(--gold-soft); color: var(--text); font-weight: 500; }
.ck.is-on::before { border-color: #121212; background: #121212 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F0C72A' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.note { display: grid; grid-template-columns: 1fr auto; gap: .35rem .6rem; width: min(100%, 190px); margin-inline: auto; padding: .65rem .75rem; border-radius: 8px; background: #fff; color: #121212; box-shadow: 0 10px 20px -12px rgba(0, 0, 0, .5), 0 0 0 1px rgba(18, 18, 18, .06); transform: rotate(-2deg); }
.note b { font-size: .8rem; }
.note__lines { grid-column: 1; height: 24px; background: repeating-linear-gradient(#DDD6C2 0 2px, transparent 2px 8px); }
.note .qr { grid-column: 2; grid-row: 1 / 3; width: 44px; height: 44px; fill: #121212; }
.note__sig { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: .4rem; padding-top: .35rem; border-top: 1px dashed #CFC8B2; color: #1B7F46; font-size: .7rem; font-weight: 600; }
.note__sig svg { width: 70px; height: 20px; fill: none; stroke: #121212; stroke-width: 1.5; stroke-linecap: round; }
.inv { display: grid; gap: .22rem; font-size: .76rem; }
.inv span { display: flex; justify-content: space-between; gap: 1rem; }
.inv i { color: var(--muted); }
.inv b { font: 500 .78rem var(--font-mono); }
.inv__tot { margin-top: .1rem; padding-top: .3rem; border-top: 1.5px solid var(--text); }
.inv__tot i { color: var(--text); font-weight: 600; }
.inv__tot b { font-weight: 600; }
.paychips { display: flex; flex-wrap: wrap; gap: .3rem; }
.paychips b { padding: .1rem .5rem; border: 1px solid var(--line); border-radius: 999px; font-size: .68rem; font-weight: 600; }

/* Features */
.features { padding-top: 0; }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.1rem; }
.feat { grid-column: span 4; display: flex; flex-direction: column; gap: .55rem; padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.feat--a { grid-column: span 7; border-color: var(--card-dark-edge); background: var(--card-dark); color: #F3EFE3; }
.feat--b { grid-column: span 5; }
.feat__ic { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: .5rem; border-radius: 13px; background: var(--gold); color: #121212; }
.feat__ic .ic { width: 24px; height: 24px; }
.feat h3 { font: 700 1.2rem/1.5 var(--font-display); }
.feat p { color: var(--muted); line-height: 1.75; }
.feat--a p { max-width: 30em; color: #B9B3A1; }
.vin { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: auto; padding-top: 1.5rem; font: 600 clamp(1rem, 2.1vw, 1.55rem) var(--font-mono); }
.vin span { padding: .3rem .55rem; border-radius: 9px; background: rgba(243, 239, 227, .09); }
.vin .is-hl { background: var(--gold); color: #121212; }
.vinkeys { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: .7rem; color: #B9B3A1; font-size: .84rem; }
.vinkeys span { display: inline-flex; align-items: center; gap: .45rem; }
.vinkeys span::before { content: ""; width: 9px; height: 9px; border-radius: 3px; background: var(--gold); }
.vinkeys .is-dim::before { background: rgba(243, 239, 227, .28); }
.cmp { display: grid; gap: .5rem; margin-top: auto; padding-top: 1.2rem; }
.cmp__row { display: grid; grid-template-columns: 1fr auto 4.2em; align-items: baseline; gap: 1rem; padding: .6rem .95rem; border: 1.5px solid var(--line); border-radius: 13px; }
.cmp__row b { font: 600 1.15rem var(--font-mono); }
.cmp__row small { color: var(--muted); font-size: .84rem; text-align: end; }
.cmp__row.is-on { border-color: var(--gold); background: var(--gold); color: #121212; }
.cmp__row.is-on small { color: #121212; }

/* Who it is for */
.who { padding-top: 0; }
.who__grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 1.1rem; }
.whoc { display: flex; flex-direction: column; padding: clamp(1.5rem, 2.6vw, 2.2rem); border: 1px solid var(--line); border-radius: 26px; background: var(--surface); }
.whoc--workshop { border-color: transparent; background: var(--gold); }
.whoc__kicker { color: var(--gold-ink); font-weight: 600; font-size: .92rem; }
.whoc--workshop .whoc__kicker { color: #121212; }
.whoc h3 { margin-block: .45rem 1.1rem; font: 800 clamp(1.3rem, 2vw, 1.6rem)/1.45 var(--font-display); }
[dir="ltr"] .whoc h3 { line-height: 1.25; letter-spacing: -.01em; }
.whoc li { display: flex; align-items: flex-start; gap: .65rem; padding: .45rem 0; line-height: 1.65; }
.whoc li .ic { margin-top: .3em; color: var(--gold-ink); stroke-width: 2.4; }
.whoc--workshop li .ic { color: #121212; }
.whoc__cta { margin-top: auto; padding-top: 1.6rem; }

/* FAQ */
.faqsec { padding-top: 0; }
.faq__in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
.faq__in .sec__head { margin-bottom: 0; position: sticky; top: 100px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 0; cursor: pointer; list-style: none; font: 700 1.1rem/1.55 var(--font-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq__ic { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--bone); transition: transform .2s ease, background-color .2s ease, color .2s ease; }
.faq__ic .ic { width: 16px; height: 16px; stroke-width: 2.2; }
.faq details[open] .faq__ic { background: var(--gold); color: #121212; transform: rotate(45deg); }
.faq details p { max-width: 42rem; padding-bottom: 1.3rem; color: var(--muted); }

/* Final call */
.cta { padding-bottom: clamp(4rem, 8vw, 7rem); }
.cta__panel { position: relative; isolation: isolate; overflow: hidden; display: grid; justify-items: start; gap: .9rem; padding: clamp(2.2rem, 6vw, 4.75rem); border-radius: 34px; background: var(--gold); }
.cta__panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(115deg, rgba(18, 18, 18, .05) 0 2px, transparent 2px 26px); -webkit-mask-image: linear-gradient(to top, #000, transparent 80%); mask-image: linear-gradient(to top, #000, transparent 80%); }
.cta h2 { font-size: clamp(2rem, 4.6vw, 3.7rem); }
.cta__panel p { font-size: 1.15rem; }
.cta__panel .hero__cta { margin-top: 1rem; }

/* Footer */
.foot { background: #121212; color: #A9A391; padding-block: 2.4rem; font-size: .93rem; }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.2rem; }
.foot img { height: 34px; width: auto; }
.foot__links { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin-inline-start: auto; }
.foot__links a { color: #F3EFE3; text-decoration: none; border-bottom: 1px solid rgba(243, 239, 227, .3); }
.foot__links a:hover { border-bottom-color: var(--gold); }
.foot__rights { flex-basis: 100%; padding-top: 1.2rem; border-top: 1px solid rgba(243, 239, 227, .12); font-size: .84rem; }

/* Phone: a fixed call button once the hero is out of view */
.sticky { position: fixed; inset-inline: 12px; bottom: 12px; z-index: 60; display: none; visibility: hidden; transform: translateY(160%); transition: transform .3s ease, visibility 0s .3s; }
.sticky .btn { width: 100%; border: 1.5px solid #121212; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .6); }

/* Reveal on scroll (only when the script is running) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.proof__grid .reveal:nth-child(2), .route .reveal:nth-child(2), .who__grid .reveal:nth-child(2), .shift__grid .reveal:nth-child(2) { transition-delay: .08s; }
.proof__grid .reveal:nth-child(3), .route .reveal:nth-child(3), .who__grid .reveal:nth-child(3) { transition-delay: .16s; }
.proof__grid .reveal:nth-child(4), .route .reveal:nth-child(4) { transition-delay: .24s; }
.route .reveal:nth-child(5) { transition-delay: .32s; }

/* ---------- Narrower screens ---------- */
@media (max-width: 1080px) {
  .route { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2.2rem; }
  .stop__num::after { display: none; }
  .who__grid { grid-template-columns: 1fr 1fr; }
  .whoc--workshop { grid-column: 1 / -1; }
  .feat, .feat--a, .feat--b { grid-column: span 6; }
  .feat--a { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .hero__in { grid-template-columns: 1fr; }
  .hero__demo { margin-top: .5rem; }
  .proof__grid { grid-template-columns: 1fr 1fr; }
  .shift__grid { grid-template-columns: 1fr; }
  .faq__in { grid-template-columns: 1fr; }
  .faq__in .sec__head { position: static; margin-bottom: 1.5rem; }
}
@media (max-width: 720px) {
  .route { grid-template-columns: 1fr; row-gap: 2rem; }
  .stop { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: .9rem; }
  .stop__vg { grid-column: 2; height: auto; min-height: 132px; margin-bottom: .9rem; }
  .stop__num { grid-column: 1; grid-row: 1 / 4; align-self: start; margin: 0; }
  .stop h3, .stop p { grid-column: 2; }
  .feat, .feat--a, .feat--b { grid-column: 1 / -1; }
  .who__grid { grid-template-columns: 1fr; }
  .sticky { display: block; }
  .sticky.is-on { visibility: visible; transform: none; transition: transform .3s ease, visibility 0s; }
  .foot { padding-bottom: 6rem; }
  .foot__links { margin-inline-start: 0; }
}
@media (max-width: 560px) {
  .nav__cta { display: none; }
  .nav__logo img { height: 32px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .ticket { font-size: .88rem; transform: rotate(-1deg); }
  [dir="ltr"] .ticket { transform: rotate(1deg); }
  .ticket__inner { padding: 1.05rem 1rem 1.1rem; }
  .ticket__cut { margin-inline: -1rem; }
  .part { grid-template-columns: 1fr; gap: .45rem; }
  .lanes { display: grid; grid-template-columns: 1fr 1fr; }
  .lane { min-width: 0; }
  .stamp { inset-block-start: 4.75rem; inset-inline-end: .8rem; width: 62px; height: 62px; font-size: .66rem; }
  .vin-k { display: none; }
  .ticket__car { padding-inline-end: 4.2rem; }
  .steps5 li { font-size: .68rem; }
  .stat dt { font-size: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
