/* =============================================================================
   Design tokens
   ============================================================================= */
:root {
  --bg: #ffffff;
  --surface: #f5f5f5;
  --surface-2: #ededed;
  --ink: #141414;
  --ink-2: #404040;
  --muted: #707070;
  --faint: #adadad;
  --line: #ebebeb;
  --line-2: #dbdbdb;

  --accent: #0052ff;
  --accent-ink: #0047e0;
  --accent-soft: #ebf3ff;
  --accent-2: #b3d1ff;
  --lime: #ccff00;
  --orange: #ff6b1a;
  --green: #12a150;
  --green-2: #00d64f;
  --red: #e5484d;
  --violet: #635bff;

  --font: 'Switzer', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1136px;
  --gutter: 24px;
  --r-sm: 12px;
  --r-md: 20px;
  --r-card: 28px;
  --r-lg: 36px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --shadow-sm: 0 1px 2px rgba(20, 20, 20, .06), 0 2px 8px rgba(20, 20, 20, .04);
  --shadow-md: 0 1px 2px rgba(20, 20, 20, .05), 0 16px 40px -12px rgba(20, 20, 20, .14);
  --shadow-lg: 0 2px 4px rgba(20, 20, 20, .04), 0 40px 80px -24px rgba(20, 20, 20, .28);
}

/* Switzer has no Cyrillic → use Inter for the whole page in Cyrillic languages,
   so letters and numbers never mix two fonts. */
html:is([lang|="mk"], [lang|="bg"], [lang|="sr"], [lang|="ru"], [lang|="uk"]) {
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* =============================================================================
   Base
   ============================================================================= */
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--accent); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 140px 0 0; scroll-margin-top: 40px; }
[id] { scroll-margin-top: 96px; }

/* icons */
.ic { width: 1em; height: 1em; flex: none; }

/* =============================================================================
   Type
   ============================================================================= */
.h1 {
  font-size: clamp(44px, 7.4vw, 88px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.04em;
}
.h2 {
  font-size: clamp(38px, 5.2vw, 62px);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.045em;
}
.lead {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.45;
  color: var(--muted);
  letter-spacing: -0.01em;
}
.hl { color: var(--accent); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.02em; text-transform: uppercase; }

/* =============================================================================
   Buttons
   ============================================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px;
  border-radius: 999px;
  font-size: 16px; font-weight: 500; letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background .25s var(--ease), transform .2s var(--ease), box-shadow .25s var(--ease), color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn .ic { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover .ic { transform: translateX(2px); }
.btn:active { transform: scale(.97); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2a2a; }
.btn-light { background: var(--surface-2); color: var(--ink); }
.btn-light:hover { background: #e2e2e2; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-ink); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 15px; }
.btn-block { width: 100%; height: 56px; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.btn-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* =============================================================================
   Section tag  ( [1 ⁘] [The job] )
   ============================================================================= */
.tag { display: inline-flex; gap: 6px; margin-bottom: 22px; font-size: 14px; font-weight: 500; }
.tag-num {
  display: inline-flex; align-items: center; gap: 10px;
  height: 34px; padding: 0 10px 0 12px;
  background: var(--accent); color: #fff; border-radius: 7px;
}
.tag-num svg { width: 16px; height: 16px; color: var(--lime); }
.tag-name {
  display: inline-flex; align-items: center;
  height: 34px; padding: 0 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 7px;
}
.tag-dark .tag-name { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #fff; }

.sec-head { margin-bottom: 56px; }
.sec-head.center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.sec-head.center .lead { max-width: 520px; margin-top: 20px; }
.sec-head.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; }
.sec-head.split .lead { max-width: 540px; padding-bottom: 8px; }

/* =============================================================================
   Nav (floating pill that compacts on scroll)
   ============================================================================= */
.nav {
  position: fixed; top: 16px; left: 50%; z-index: 60;
  transform: translateX(-50%);
  display: flex; align-items: center;
  padding: 6px;
  background: rgba(255,255,255,.88);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  border: 1px solid rgba(20,20,20,.06);
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  animation: navIn .9s var(--ease) both;
  max-width: calc(100vw - 24px);
}
@keyframes navIn { from { opacity: 0; transform: translate(-50%, -24px); } }
.nav-logo {
  width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
  background: var(--ink); color: #fff; border-radius: 50%;
}
.nav-logo .ic { width: 22px; height: 22px; }
.nav-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.nav-brand {
  max-width: 0; opacity: 0; overflow: hidden; white-space: nowrap;
  font-size: 20px; font-weight: 500; letter-spacing: -0.03em;
  transition: max-width .6s var(--ease), opacity .4s var(--ease), padding .6s var(--ease);
}
.nav-links {
  display: flex; align-items: center; gap: 2px;
  max-width: 640px; overflow: hidden; white-space: nowrap;
  padding: 0 10px 0 14px;
  transition: max-width .6s var(--ease), opacity .35s var(--ease), padding .6s var(--ease);
}
.nav-links a {
  padding: 8px 10px; border-radius: 999px;
  font-size: 15px; font-weight: 500;
  transition: background .2s;
}
.nav-links a:hover { background: var(--surface); }
.nav.compact .nav-links { max-width: 0; opacity: 0; padding: 0; }
.nav.compact .nav-brand { max-width: 220px; opacity: 1; padding: 0 28px 0 10px; }
.nav-lang {
  position: relative; display: inline-flex; align-items: center; gap: 4px;
  height: 40px; padding: 0 10px; margin-right: 6px;
  border-radius: 999px; background: var(--surface);
  font-size: 14px; font-weight: 500; cursor: pointer;
}
.nav-lang .ic { width: 16px; height: 16px; color: var(--muted); }
.nav-lang select {
  appearance: none; -webkit-appearance: none;
  border: 0; background: transparent; padding: 0 2px; cursor: pointer;
  font-weight: 500; text-transform: uppercase;
}
.nav-lang select:focus { outline: none; }
.nav-cta { flex: none; }

/* =============================================================================
   Hero
   ============================================================================= */
.hero {
  position: relative;
  padding: 290px 0 0;
  background: linear-gradient(180deg, #ececec 0%, #f6f6f6 38%, #fff 72%);
  text-align: center;
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.badge { display: inline-flex; gap: 6px; margin-bottom: 26px; font-size: 14px; font-weight: 500; }
.badge-tag {
  display: inline-flex; align-items: center; gap: 8px;
  height: 34px; padding: 0 9px 0 10px;
  background: var(--accent); color: #fff; border-radius: 7px;
}
.badge-text {
  display: inline-flex; align-items: center;
  height: 34px; padding: 0 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 7px;
}
.burst {
  width: 18px; height: 18px; background: var(--lime);
  clip-path: polygon(50% 0%, 61% 15%, 79% 9%, 79% 28%, 98% 32%, 87% 50%, 98% 68%, 79% 72%, 79% 91%, 61% 85%, 50% 100%, 39% 85%, 21% 91%, 21% 72%, 2% 68%, 13% 50%, 2% 32%, 21% 28%, 21% 9%, 39% 15%);
  animation: spin 9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero .h1 { max-width: 900px; }
.hero-sub { max-width: 540px; margin: 28px 0 36px; }

/* split words (blur-in) */
.w { display: inline-block; white-space: pre; }
html.js .w { opacity: 0; filter: blur(10px); transform: translateY(18px); animation: wordIn .95s var(--ease) forwards; animation-delay: calc(var(--i) * 55ms + 150ms); }
@keyframes wordIn { to { opacity: 1; filter: blur(0); transform: none; } }

/* hanging icons */
.hang-wrap { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.hang {
  --len: var(--dlen);
  position: absolute; top: 0; left: var(--x);
  display: flex; flex-direction: column; align-items: center;
  transform-origin: 50% 0;
  margin-left: calc(var(--size, 60px) / -2);
  width: var(--size, 60px);
  animation: sway var(--dur, 5s) ease-in-out infinite alternate;
  animation-delay: var(--delay, 0s);
}
.hang-inner { display: flex; flex-direction: column; align-items: center; animation: drop 1.4s var(--spring) both; animation-delay: calc(var(--delay, 0s) + .2s); }
.hang .str { width: 20px; height: var(--len); overflow: visible; }
.hang .str path { stroke: #c4c4c4; stroke-width: 1.2; fill: none; vector-effect: non-scaling-stroke; }
.hang .tile { margin-top: -2px; pointer-events: auto; transition: transform .4s var(--spring); }
.hang .tile:hover { transform: scale(1.08) rotate(-4deg); }
@keyframes sway { from { transform: rotate(var(--a1, -2.5deg)); } to { transform: rotate(var(--a2, 2.5deg)); } }
@keyframes drop { from { transform: translateY(calc(var(--len) * -1 - 80px)); } }

/* glossy icon tiles */
.tile {
  --t: 60px;
  width: var(--t); height: var(--t);
  display: grid; place-items: center;
  border-radius: calc(var(--t) * .27);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -3px 6px rgba(0,0,0,.14), 0 12px 24px -10px var(--glow, rgba(0,0,0,.35));
}
.tile .ic { width: 44%; height: 44%; stroke-width: 2.4; }
.tile.blue   { background: linear-gradient(180deg, #2c6cff, #0047e0); --glow: rgba(0,82,255,.55); }
.tile.dark   { background: linear-gradient(180deg, #2d2d2d, #0e0e0e); --glow: rgba(0,0,0,.5); }
.tile.orange { background: linear-gradient(180deg, #ff8a3d, #f25d0b); --glow: rgba(255,107,26,.5); }
.tile.green  { background: linear-gradient(180deg, #22e36a, #00bf45); --glow: rgba(0,214,79,.5); }
.tile.violet { background: linear-gradient(180deg, #8079ff, #5b4ff5); --glow: rgba(99,91,255,.5); }
.tile.lime   { background: linear-gradient(180deg, #ddff4d, #bdf000); color: #141414; --glow: rgba(180,230,0,.55); }

/* VSL */
.vsl {
  --ar: 16 / 9;
  position: relative; margin: 72px auto 0;
  max-width: 960px; aspect-ratio: var(--ar);
  border-radius: var(--r-card); overflow: hidden;
  background: #0d0d0d; color: #fff;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.vsl.vertical { max-width: 380px; border-radius: 36px; }
.vsl iframe, .vsl video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vsl-poster {
  position: absolute; inset: 0; width: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  background:
    radial-gradient(60% 70% at 50% 120%, rgba(0,82,255,.55), transparent 70%),
    radial-gradient(40% 40% at 85% 0%, rgba(204,255,0,.12), transparent 70%),
    #0d0d0d;
  background-size: cover; background-position: center;
  color: #fff; text-align: center;
}
.vsl-poster::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent);
}
.vsl-poster.has-img::before { background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.55)); mask-image: none; -webkit-mask-image: none; z-index: 0; }
.vsl-poster > * { position: relative; z-index: 1; }
.play {
  position: relative; width: 84px; height: 84px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; color: var(--ink);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  transition: transform .35s var(--spring);
}
.play .ic { width: 30px; height: 30px; margin-left: 4px; }
.play::before, .play::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.5);
  animation: ring 2.4s var(--ease) infinite;
}
.play::after { animation-delay: 1.2s; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }
.vsl-poster:hover .play { transform: scale(1.07); }
.vsl-meta { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 500; letter-spacing: -0.02em; }
.vsl-meta .mono { padding: 4px 8px; border-radius: 6px; background: rgba(255,255,255,.12); color: rgba(255,255,255,.85); }
.vsl-missing { font-size: 14px; color: rgba(255,255,255,.55); }

/* highlight pills under video */
.highlights {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  max-width: 960px; margin: 40px auto 0;
}
.highlights li { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.highlights strong { font-size: 18px; font-weight: 500; letter-spacing: -0.02em; }
.highlights span {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  background: var(--surface-2); color: var(--muted);
  font-size: 14px; font-weight: 500;
}

/* =============================================================================
   Statement (scroll-linked word reveal)
   ============================================================================= */
.statement { padding: 200px 0 40px; }
.statement-text {
  max-width: 940px; margin: 0 auto; text-align: center;
  font-size: clamp(30px, 4.2vw, 56px);
  line-height: 1.16; font-weight: 500; letter-spacing: -0.035em;
}
.sw { transition: opacity .4s var(--ease), filter .4s var(--ease); }
html.js .sw { opacity: .14; }
html.js .sw.on { opacity: 1; }
.itile {
  --t: 1.08em;
  display: inline-grid; vertical-align: -0.2em; margin: 0 .06em;
  transition: transform .6s var(--spring), opacity .4s;
}
html.js .itile { transform: scale(.4) rotate(-12deg); opacity: 0; }
html.js .itile.on { transform: none; opacity: 1; }

/* =============================================================================
   Job cards
   ============================================================================= */
.job-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.jc {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 390px; padding: 22px;
  background: var(--surface); border-radius: var(--r-card);
  transition: transform .5s var(--ease);
}
.jc:hover { transform: translateY(-4px); }
.jc-eyebrow { font-size: 13px; color: var(--muted); }
.jc-title { font-size: 26px; font-weight: 500; letter-spacing: -0.035em; line-height: 1.15; margin-top: 2px; }
.jc-visual { flex: 1; display: flex; align-items: center; justify-content: center; padding: 22px 0 36px; }
.jc-plus {
  position: absolute; right: 16px; bottom: 16px; z-index: 3;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0; background: none; border: 0; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink-2);
}
.jc-plus-ic {
  width: 32px; height: 32px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: #fff; box-shadow: var(--shadow-sm);
  transition: transform .45s var(--spring);
}
.jc-plus .ic { width: 16px; height: 16px; }
.jc:not(.open) .jc-plus:hover .jc-plus-ic { transform: scale(1.1); }
.jc.open .jc-plus-ic { transform: rotate(45deg); }
.jc-details {
  position: absolute; inset: 0; z-index: 2;
  padding: 22px 22px 60px;
  background: rgba(255,255,255,.96);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  transform: translateY(101%);
  transition: transform .6s var(--ease);
  font-size: 15px; color: var(--ink-2); line-height: 1.5;
}
.jc-details strong { font-size: 22px; font-weight: 500; letter-spacing: -0.03em; color: var(--ink); }
.jc.open .jc-details { transform: none; }

.mini { width: 100%; background: #fff; border-radius: 18px; box-shadow: var(--shadow-sm); padding: 16px; }

/* pay */
.pay-label { font-size: 12px; color: var(--muted); }
.pay-amount { font-size: 32px; font-weight: 600; letter-spacing: -0.04em; margin: 2px 0 10px; white-space: nowrap; }
.pay-amount small { font-size: 14px; font-weight: 500; letter-spacing: -0.01em; color: var(--muted); }
.pay-row { display: flex; justify-content: space-between; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.pay-row span:last-child { color: var(--green); font-variant-numeric: tabular-nums; }
.pay-note { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 12px; color: var(--muted); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green-2); flex: none; }

/* schedule */
.cal { display: grid; gap: 5px; }
.cal-row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal-cell { aspect-ratio: 1; border-radius: 4px; background: var(--accent); transform: scale(0); transition: transform .5s var(--spring); transition-delay: calc(var(--i) * 12ms); }
.cal-cell.off { background: var(--lime); }
.in .cal-cell, .no-motion .cal-cell { transform: none; }
.cal-head span { font-family: var(--mono); font-size: 11px; color: var(--muted); text-align: center; line-height: 1.6; }
.cal-legend { display: flex; gap: 14px; margin-top: 12px; font-size: 12px; color: var(--muted); }

/* route lane (job card) */
.lane-row { display: flex; align-items: center; gap: 10px; padding: 6px 0 4px; }
.apt b { display: block; font-size: 24px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.apt small { font-size: 12px; color: var(--muted); }
.apt.right { text-align: right; }
.lane-line { position: relative; flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 11px); }
.lane-truck {
  position: absolute; top: 50%; left: 0;
  width: 30px; height: 30px; margin-top: -15px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: #fff; box-shadow: 0 6px 14px -4px rgba(0,82,255,.6);
  animation: lane 3.6s cubic-bezier(.65,0,.35,1) infinite alternate;
}
.lane-truck .ic { width: 15px; height: 15px; }
@keyframes lane { to { left: calc(100% - 30px); } }
.lane-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.lane-tags span { font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--surface); }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal-legend i { width: 9px; height: 9px; border-radius: 3px; background: var(--accent); }
.cal-legend i.off { background: var(--lime); }

/* fleet (stacked cards) */
.stack { position: relative; width: 100%; height: 190px; }
.scard {
  position: absolute; left: 50%; top: 50%;
  width: 170px; height: 106px; margin: -53px 0 0 -85px;
  border-radius: 14px; padding: 14px 16px;
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 14px 28px -12px rgba(0,0,0,.4);
  transition: transform .7s var(--spring);
  font-weight: 600; letter-spacing: -0.03em;
}
.scard .mono { font-weight: 500; opacity: .75; }
.scard-name { font-size: 20px; }
.scard:nth-child(1) { background: var(--lime); color: var(--ink); transform: translate(18px, -34px) rotate(14deg); }
.scard:nth-child(2) { background: var(--accent); color: #fff; transform: translate(-16px, -6px) rotate(-8deg); }
.scard:nth-child(3) { background: var(--ink); color: #fff; transform: translate(6px, 30px) rotate(-3deg); }
.jc:hover .scard:nth-child(1) { transform: translate(34px, -44px) rotate(20deg); }
.jc:hover .scard:nth-child(2) { transform: translate(-30px, -8px) rotate(-14deg); }
.jc:hover .scard:nth-child(3) { transform: translate(8px, 36px) rotate(-1deg); }

/* arrival (toggles) */
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; font-size: 14px; border-top: 1px solid var(--line); }
.toggle-row:first-child { border-top: 0; padding-top: 2px; }
.switch { width: 34px; height: 20px; border-radius: 999px; background: var(--line-2); position: relative; flex: none; transition: background .35s; transition-delay: calc(var(--i) * 120ms + .2s); }
.switch::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform .45s var(--spring); transition-delay: calc(var(--i) * 120ms + .2s); }
.in .switch, .no-motion .switch { background: var(--green-2); }
.in .switch::after, .no-motion .switch::after { transform: translateX(14px); }

/* =============================================================================
   Marquee (perks + testimonials)
   ============================================================================= */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee var(--speed, 50s) linear infinite; }
.marquee-track.rev { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }
.perks { margin-top: 40px; padding: 4px 0; }
.perks .marquee-track + .marquee-track { margin-top: 12px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 18px 0 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  font-size: 15px; font-weight: 500; white-space: nowrap;
  box-shadow: var(--shadow-sm);
}
.pill .tile { --t: 36px; border-radius: 50%; }

/* =============================================================================
   Requirements
   ============================================================================= */
.req-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 16px; }
.req { padding: 28px; border-radius: var(--r-card); background: var(--surface); }
.req.dark-card { background: var(--ink); color: #fff; }
.req h3 { font-size: 24px; font-weight: 500; letter-spacing: -0.03em; margin-bottom: 22px; }
.req li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.4; }
.req.dark-card li { border-color: rgba(255,255,255,.1); }
.req li:first-child { border-top: 0; padding-top: 0; }
.req .tick { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; flex: none; margin-top: -1px; }
.req .tick .ic { width: 14px; height: 14px; stroke-width: 3; }
.req.dark-card .tick { background: var(--lime); color: var(--ink); }
.req.nice .tick { background: var(--accent-soft); color: var(--accent); }
.req.not .tick { background: #fdecec; color: var(--red); }

/* =============================================================================
   Process (sticky step nav)
   ============================================================================= */
.process { display: grid; grid-template-columns: 240px 1fr; gap: 72px; align-items: start; }
.pnav { position: sticky; top: 140px; border-left: 1px solid var(--line); }
.pnav a {
  position: relative; display: block; padding: 9px 0 9px 18px;
  font-size: 15px; font-weight: 500; color: var(--faint);
  transition: color .3s;
}
.pnav a::before { content: ''; position: absolute; left: -2px; top: 6px; bottom: 6px; width: 3px; border-radius: 3px; background: var(--ink); transform: scaleY(0); transition: transform .4s var(--ease); }
.pnav a.active { color: var(--ink); }
.pnav a.active::before { transform: scaleY(1); }
.psteps { display: grid; gap: 16px; }
.pcard {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center;
  min-height: 400px; padding: 32px;
  background: var(--surface); border-radius: var(--r-lg);
}
.pcard-copy .tile { --t: 48px; margin-bottom: 26px; }
.pcard-copy .mono { color: var(--muted); }
.pcard h3 { font-size: 32px; font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; margin: 8px 0 12px; }
.pcard p { color: var(--muted); font-size: 17px; }
.pmock { background: #fff; border-radius: 22px; box-shadow: var(--shadow-sm); padding: 20px; }

.m-progress { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; margin-bottom: 18px; }
.m-progress i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: inherit; transition: width 1.2s var(--ease) .3s; }
.in .m-progress i { width: 72%; }
.m-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.m-chip { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; }
.m-chip .ic { width: 14px; height: 14px; color: var(--lime); stroke-width: 3; }
.m-btn { height: 40px; border-radius: 999px; background: var(--surface-2); display: grid; place-items: center; font-size: 14px; font-weight: 500; }

.m-chat-head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.m-chat-head .avatar { width: 32px; height: 32px; }
.m-chat-head small { display: flex; align-items: center; gap: 5px; color: var(--muted); font-weight: 400; font-size: 12px; }
.bubble { max-width: 85%; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.4; margin-bottom: 8px; opacity: 0; transform: translateY(10px) scale(.96); transition: opacity .5s var(--ease), transform .6s var(--spring); }
.bubble.them { background: var(--surface); border-bottom-left-radius: 5px; transition-delay: .3s; }
.bubble.me { background: var(--accent); color: #fff; margin-left: auto; border-bottom-right-radius: 5px; transition-delay: 1.1s; }
.in .bubble, .no-motion .bubble { opacity: 1; transform: none; }

.m-doc { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.m-doc:first-child { border-top: 0; padding-top: 0; }
.m-doc span:first-child { display: flex; align-items: center; gap: 10px; }
.m-doc span:first-child .ic { color: var(--muted); }
.m-check { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--line); color: #fff; transition: background .4s, transform .5s var(--spring); transform: scale(.7); transition-delay: calc(var(--i) * 250ms + .3s); }
.m-check .ic { width: 12px; height: 12px; stroke-width: 3.5; }
.in .m-check, .no-motion .m-check { background: var(--green-2); transform: none; }

.m-route svg { width: 100%; height: auto; overflow: visible; }
.m-route .path-bg { stroke: var(--line-2); stroke-width: 2; stroke-dasharray: 4 6; fill: none; }
.m-route .path-fg { stroke: var(--accent); stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--ease) .3s; }
.in .m-route .path-fg { stroke-dashoffset: 0; }
.m-route-labels { display: flex; justify-content: space-between; margin-top: 10px; font-size: 14px; font-weight: 500; }
.m-route-labels span:last-child { color: var(--accent); }

/* =============================================================================
   Why us (dark)
   ============================================================================= */
.why-card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center;
  padding: 64px;
  background: #121212; color: #fff;
  border-radius: var(--r-lg);
}
.why-card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(55% 80% at 10% 120%, rgba(0,82,255,.6), transparent 70%), radial-gradient(30% 40% at 100% 0%, rgba(204,255,0,.08), transparent 70%);
}
.why-card > * { position: relative; }
.why-card .lead { color: rgba(255,255,255,.6); margin-top: 22px; max-width: 440px; }
.stats li { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); }
.stats li:first-child { border-top: 0; }
.stat-num { font-size: clamp(48px, 6vw, 76px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-label { color: rgba(255,255,255,.6); font-size: 16px; text-align: right; max-width: 200px; }

/* =============================================================================
   Testimonials
   ============================================================================= */
.rating { display: flex; align-items: center; gap: 10px; margin-top: 22px; color: var(--muted); font-size: 15px; }
.stars { display: inline-flex; gap: 2px; color: var(--orange); }
.stars .ic { width: 17px; height: 17px; }
.quotes { display: grid; gap: 16px; }
.qcard {
  width: 380px; flex: none;
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  padding: 24px; border-radius: 24px;
  background: var(--surface); border: 1px solid var(--line);
}
.qcard-top { display: flex; justify-content: space-between; align-items: center; }
.qcard-top .q { width: 22px; height: 22px; color: var(--accent); }
.qcard-top .stars { color: var(--ink); }
.qcard-top .stars .ic { width: 13px; height: 13px; }
.qcard, .qcard blockquote { margin: 0; }
.qcard p { font-size: 16px; line-height: 1.5; }
.author { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 600;
}
.author strong { display: block; font-size: 15px; font-weight: 500; }
.author small { color: var(--muted); font-size: 13px; }
.quotes-static { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.quotes-static .qcard { width: auto; }

/* =============================================================================
   Apply + form
   ============================================================================= */
.apply { display: grid; grid-template-columns: .82fr 1.18fr; gap: 64px; align-items: start; }
.apply-side { position: sticky; top: 120px; }
.apply-side .lead { margin-top: 22px; max-width: 420px; }
.points { margin-top: 32px; display: grid; gap: 14px; }
.points li { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 500; }
.points .tile { --t: 32px; }
.points .tile .ic { stroke-width: 3; }
.online { display: inline-flex; align-items: center; gap: 10px; margin-top: 34px; padding: 8px 14px 8px 12px; border-radius: 999px; background: var(--surface); font-size: 14px; font-weight: 500; }
.dot-live { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--green-2); }
.dot-live::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--green-2); animation: ping 1.8s ease-out infinite; }
@keyframes ping { to { transform: scale(2.8); opacity: 0; } }

.fcard { padding: 8px; background: var(--surface); border-radius: var(--r-lg); }
.finner { background: #fff; border-radius: 30px; padding: 32px; box-shadow: var(--shadow-sm); }

.f-head { margin-bottom: 8px; }
.f-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.f-meta .mono { color: var(--muted); }
.f-title { font-size: 26px; font-weight: 600; letter-spacing: -0.04em; margin-top: 6px; }
.f-progress { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; margin-top: 18px; }
.f-progress i { height: 4px; border-radius: 4px; background: var(--line); position: relative; overflow: hidden; }
.f-progress i::after { content: ''; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.f-progress i.done::after { transform: none; }

.f-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.f-step.enter { animation: stepIn .55s var(--ease); }
.f-step.enter.back { animation-name: stepBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-24px); } }

.field { padding: 24px 0; border-top: 1px solid var(--line); }
.field:first-child { border-top: 0; }
.f-label { display: block; font-size: 17px; font-weight: 500; letter-spacing: -0.02em; }
.f-opt { margin-left: 6px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; color: var(--faint); letter-spacing: .02em; }
.f-help { margin-top: 4px; font-size: 14px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chips.stack { display: grid; grid-template-columns: 1fr; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.chip-box {
  display: flex; align-items: center; gap: 0;
  min-height: 46px; padding: 10px 16px;
  border: 1px solid var(--line-2); border-radius: 12px; background: #fff;
  font-size: 15px; font-weight: 500; line-height: 1.3;
  cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent;
  transition: background .2s, color .2s, border-color .2s, transform .15s var(--ease);
}
.chip-box:hover { border-color: #b8b8b8; }
.chip-box:active { transform: scale(.98); }
.chip-check { display: grid; place-items: center; width: 0; height: 18px; overflow: hidden; transition: width .3s var(--ease), margin .3s var(--ease); }
.chip-check .ic { width: 14px; height: 14px; stroke-width: 3; color: var(--lime); }
.chip input:checked + .chip-box { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:checked + .chip-box .chip-check { width: 16px; margin-right: 8px; }
.chip input:focus-visible + .chip-box { outline: 2px solid var(--accent); outline-offset: 2px; }

.input, .select, .textarea {
  width: 100%; margin-top: 12px;
  height: 52px; padding: 0 16px;
  border: 1px solid var(--line-2); border-radius: 12px; background: #fff;
  font-size: 16px; /* 16px stops iOS zoom */
  transition: border-color .2s, box-shadow .2s;
}
.textarea { height: auto; min-height: 112px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23707070' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px;
}
.input::placeholder, .textarea::placeholder { color: var(--faint); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }

.consent { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.consent .box { width: 22px; height: 22px; flex: none; border: 1.5px solid var(--line-2); border-radius: 7px; display: grid; place-items: center; transition: background .2s, border-color .2s; margin-top: 1px; }
.consent .box .ic { width: 14px; height: 14px; stroke-width: 3.5; color: #fff; opacity: 0; transform: scale(.5); transition: all .3s var(--spring); }
.consent input:checked + .box { background: var(--ink); border-color: var(--ink); }
.consent input:checked + .box .ic { opacity: 1; transform: none; }
.consent input:focus-visible + .box { outline: 2px solid var(--accent); outline-offset: 2px; }
.consent a { text-decoration: underline; text-underline-offset: 2px; }

.f-err { color: var(--red); font-size: 14px; margin-top: 10px; display: none; }
.field.invalid .f-err { display: block; animation: shake .4s; }
.field.invalid .chip-box, .field.invalid .input, .field.invalid .select, .field.invalid .box { border-color: rgba(229,72,77,.6); }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

.f-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.f-nav .btn-dark, .f-nav .btn-accent { margin-left: auto; }
.f-back:hover .ic { transform: translateX(-2px); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.f-alert { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: #fdecec; color: #b42318; font-size: 14px; display: none; }
.f-alert.show { display: block; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .7s linear infinite; }

.success { text-align: center; padding: 24px 8px 12px; display: flex; flex-direction: column; align-items: center; }
.success-check { width: 76px; height: 76px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; color: #fff; animation: pop .7s var(--spring) both; box-shadow: 0 16px 36px -10px rgba(0,82,255,.6); }
.success-check svg { width: 36px; height: 36px; stroke-width: 3; }
.success-check path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s var(--ease) .35s forwards; }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success h3 { font-size: 32px; font-weight: 600; letter-spacing: -0.04em; margin-top: 26px; }
.success > p { color: var(--muted); margin-top: 10px; max-width: 380px; }
.ref { margin-top: 26px; padding: 16px 20px; border-radius: 16px; background: var(--surface); width: 100%; max-width: 340px; }
.ref .mono { color: var(--muted); }
.ref-row { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 6px; }
.ref-code { font-family: var(--mono); font-size: 28px; font-weight: 500; letter-spacing: .06em; }
.ref small { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; }
.success .btn-row { margin-top: 22px; }
.link-btn { margin-top: 18px; font-size: 14px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

/* =============================================================================
   FAQ
   ============================================================================= */
.faq { display: grid; grid-template-columns: 1fr 1.35fr; gap: 64px; align-items: start; }
.faq-side { position: sticky; top: 120px; }
.ask { margin-top: 40px; padding: 24px; border-radius: 24px; background: var(--surface); max-width: 380px; }
.ask-title { font-size: 20px; font-weight: 500; letter-spacing: -0.03em; }
.ask-text { color: var(--muted); margin: 6px 0 18px; font-size: 15px; }
.ask .btn .ic { width: 18px; height: 18px; }
.ask .btn:hover .ic { transform: none; }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 0; text-align: left;
  font-size: 19px; font-weight: 500; letter-spacing: -0.025em;
}
.qa-icon { width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--surface); display: grid; place-items: center; transition: transform .45s var(--spring), background .2s; }
.qa-icon .ic { width: 16px; height: 16px; }
.qa.open .qa-icon { transform: rotate(45deg); background: var(--ink); color: #fff; }
.qa-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.qa.open .qa-a { grid-template-rows: 1fr; }
.qa-a > div { overflow: hidden; }
.qa-a p { padding: 0 48px 24px 0; color: var(--muted); font-size: 16px; line-height: 1.6; }

/* =============================================================================
   Final CTA + footer
   ============================================================================= */
.final {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px;
  padding: 120px 24px;
  background: var(--surface); border-radius: 40px;
}
.final .h2 { font-size: clamp(42px, 6.4vw, 80px); position: relative; z-index: 1; }
.final .lead, .final .btn { position: relative; z-index: 1; }
.final .btn { margin-top: 8px; }
.final-tiles .tile { position: absolute; animation: float 6s ease-in-out infinite alternate; }
@keyframes float { from { transform: translateY(-8px) rotate(var(--r, -6deg)); } to { transform: translateY(8px) rotate(calc(var(--r, -6deg) * -1)); } }

.footer { padding: 72px 0 40px; margin-top: 120px; border-top: 1px solid var(--line); }
.foot-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-brand { display: inline-flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 500; letter-spacing: -0.03em; }
.foot-brand .nav-logo { width: 40px; height: 40px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 15px; font-weight: 500; }
.foot-links a:hover { color: var(--muted); }
.foot-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.foot-bottom a { text-decoration: underline; text-underline-offset: 2px; }

/* mobile sticky bar */
.mbar { display: none; }

/* =============================================================================
   Scroll reveal
   ============================================================================= */
html.js .rv { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: var(--d, 0s); }
html.js .rv.in { opacity: 1; transform: none; filter: none; }
.hero .rv { transition-duration: 1.1s; }

/* =============================================================================
   Responsive
   ============================================================================= */
@media (max-width: 1080px) {
  .job-grid { grid-template-columns: repeat(2, 1fr); }
  .req-grid { grid-template-columns: 1fr 1fr; }
  .req.dark-card { grid-column: 1 / -1; }
  .process { grid-template-columns: 1fr; gap: 0; }
  .pnav { display: none; }
  .why-card { grid-template-columns: 1fr; padding: 48px; }
  .apply, .faq { grid-template-columns: 1fr; gap: 48px; }
  .apply-side, .faq-side { position: static; }
  .nav-links a { padding: 8px 7px; font-size: 14px; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav .nav-brand { max-width: 220px; opacity: 1; padding: 0 18px 0 10px; }
  .hang:not(.m) { display: none; }
  .hang.m { left: var(--mx); --len: var(--mlen); --size: 44px; }
  .hang.m .tile { --t: 44px; }
}

@media (max-width: 760px) {
  :root { --gutter: 16px; }
  .section { padding-top: 96px; }
  .hero { padding-top: 150px; }
  .badge { margin-bottom: 20px; font-size: 13px; }
  .hero-sub { margin: 20px 0 28px; }
  .btn-row { flex-direction: column; width: 100%; max-width: 360px; }
  .btn-row .btn { width: 100%; height: 54px; }
  .vsl { margin-top: 44px; border-radius: 22px; }
  .play { width: 68px; height: 68px; }
  .play .ic { width: 24px; height: 24px; }
  .vsl-meta { font-size: 15px; }
  .highlights { grid-template-columns: 1fr 1fr; gap: 22px 10px; margin-top: 32px; }
  .highlights strong { font-size: 16px; }
  .highlights span { font-size: 13px; }
  .statement { padding: 120px 0 0; }
  .sec-head { margin-bottom: 36px; }
  .sec-head.split { grid-template-columns: 1fr; gap: 16px; }
  .job-grid { grid-template-columns: 1fr; }
  .jc { min-height: 360px; }
  .req-grid { grid-template-columns: 1fr; }
  .req { padding: 24px; }
  .pcard { grid-template-columns: 1fr; min-height: 0; padding: 24px; border-radius: var(--r-card); }
  .pcard h3 { font-size: 26px; }
  .why-card { padding: 36px 24px; gap: 28px; border-radius: var(--r-card); }
  .stat-label { font-size: 14px; }
  .qcard { width: 300px; }
  .finner { padding: 22px 18px; border-radius: 24px; }
  .fcard { border-radius: 30px; padding: 6px; }
  .f-title { font-size: 22px; }
  .f-nav .btn { height: 52px; }
  .qa-q { font-size: 17px; padding: 20px 0; }
  .qa-a p { padding-right: 0; }
  .final { padding: 88px 20px; border-radius: 28px; }
  .final-tiles .tile { --t: 44px !important; opacity: .9; }
  .footer { margin-top: 96px; padding-bottom: 110px; }
  .mbar {
    display: block; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 55;
    transform: translateY(160%); transition: transform .5s var(--ease);
  }
  .mbar.show { transform: none; }
  .mbar .btn { box-shadow: 0 12px 32px -8px rgba(0,0,0,.45); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  html.js .rv, html.js .w, html.js .sw, html.js .itile { opacity: 1 !important; transform: none !important; filter: none !important; }
  .marquee-track { animation: none !important; }
}

/* =============================================================================
   Late overrides
   ============================================================================= */
.ref-row { flex-wrap: wrap; }
.ref-code { white-space: nowrap; }
.stack { height: 210px; }
.scard:nth-child(1) { transform: translate(22px, -56px) rotate(12deg); }
.scard:nth-child(2) { transform: translate(-14px, -14px) rotate(-8deg); }
.scard:nth-child(3) { transform: translate(6px, 36px) rotate(-3deg); }
.jc:hover .scard:nth-child(1) { transform: translate(36px, -64px) rotate(18deg); }
.jc:hover .scard:nth-child(2) { transform: translate(-28px, -16px) rotate(-13deg); }
.jc:hover .scard:nth-child(3) { transform: translate(8px, 42px) rotate(-1deg); }

@media (max-width: 760px) {
  .nav { width: calc(100vw - 24px); }
  .nav-logo { width: 40px; height: 40px; }
  .nav .nav-brand, .nav.compact .nav-brand {
    flex: 1; min-width: 0; max-width: none; opacity: 1;
    padding: 0 8px 0 10px; font-size: 17px; text-overflow: ellipsis;
  }
  .nav-lang { padding: 0 8px; margin-right: 4px; }
  .nav-lang .ic { display: none; }
  .nav-cta { padding: 0 14px; }
  .nav-cta .ic { display: none; }
  .hero { padding-top: 168px; }
}

/* Longer languages (DE/FR/NL): keep hero badges on one line each, wrap as whole pills */
.badge { flex-wrap: wrap; justify-content: center; }
.badge-tag, .badge-text { white-space: nowrap; }

/* Logo: horse mark (rounded square SVG) + two-line wordmark */
.nav-logo.is-mark { background: none; border-radius: 0; }
.nav-logo.is-mark img { object-fit: contain; border-radius: 0; }
.wm { display: inline-flex; flex-direction: column; justify-content: center; line-height: 1; font-family: 'Montserrat', var(--font); text-transform: uppercase; color: var(--ink); vertical-align: middle; }
.wm-1 { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.wm-2 { margin-top: 3px; font-size: 8.6px; font-weight: 600; letter-spacing: 0.42em; margin-right: -0.42em; }
.foot-brand .wm-1 { font-size: 24px; }
.foot-brand .wm-2 { font-size: 10.8px; margin-top: 4px; }
@media (max-width: 760px) {
  .nav .nav-brand .wm-1 { font-size: 17px; }
  .nav .nav-brand .wm-2 { font-size: 7.7px; }
}

/* Logo v2: smaller blue mark, inset in the pill, lighter wordmark */
.nav-logo.is-mark { width: 36px; height: 36px; margin-left: 4px; }
.wm-1 { font-size: 16px; }
.wm-2 { font-size: 7.3px; margin-top: 3px; }
.foot-brand .nav-logo.is-mark { width: 36px; height: 36px; margin-left: 0; }
.foot-brand .wm-1 { font-size: 20px; }
.foot-brand .wm-2 { font-size: 9.1px; }
@media (max-width: 760px) {
  .nav-logo.is-mark { width: 32px; height: 32px; margin-left: 4px; }
  .nav .nav-brand .wm-1 { font-size: 14.5px; }
  .nav .nav-brand .wm-2 { font-size: 6.6px; margin-top: 2.5px; }
}
