:root {
  --paper: #edefec;
  --paper-2: #e2e5e1;
  --white: #f8f9f7;
  --ink: #15161c;
  --muted: #5c606b;
  --line: rgba(21, 22, 28, 0.14);
  --stamp: #4535c9;
  --stamp-soft: #d9d5f4;
  --night: #1a1740;

  --f-display: "Tektur", "Golos Text", system-ui, sans-serif;
  --f-body: "Golos Text", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

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

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.mono { font-family: var(--f-mono); }

:focus-visible { outline: 2px solid var(--stamp); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Typography ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font: 500 13px/1 var(--f-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.eyebrow--light { color: rgba(255, 255, 255, 0.6); }
.const {
  color: var(--stamp);
  text-transform: none;
  letter-spacing: 0;
  padding: 5px 8px;
  border: 1px solid currentColor;
  border-radius: 2px;
}
.h2 {
  font: 700 clamp(30px, 4vw, 50px)/1.08 var(--f-display);
  letter-spacing: -0.01em;
  max-width: 18ch;
}
.section__head { margin-bottom: clamp(36px, 5vw, 64px); }
.section__lead { margin-top: 20px; max-width: 54ch; color: var(--muted); font-size: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 28px;
  background: var(--stamp); color: #fff;
  font: 600 16px/1 var(--f-body);
  text-decoration: none;
  border: 1.5px solid var(--stamp);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--ink); border-color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--small { min-height: 42px; padding: 0 18px; font-size: 14px; }
.link { color: var(--stamp); font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(237, 239, 236, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__row { display: flex; align-items: center; gap: 32px; height: 72px; }
.nav { display: flex; gap: 28px; margin-left: auto; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--ink); }

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo__mark {
  position: relative; width: 28px; height: 28px;
  border: 2.5px solid currentColor;
}
.logo__mark::after {
  content: ""; position: absolute; left: -7px; right: -7px; top: 50%;
  height: 3px; margin-top: -1.5px; background: var(--stamp);
}
.logo__word { font: 800 21px/1 var(--f-display); letter-spacing: 0.01em; }
.logo--light { color: #fff; }
.logo--light .logo__mark::after { background: #9d93ff; }

/* Stamp */
.stamp {
  position: absolute;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 210px; height: 128px;
  color: var(--stamp);
  border: 4px solid currentColor;
  border-radius: 14px;
  outline: 1.5px solid currentColor; outline-offset: -11px;
  text-transform: uppercase; text-align: center;
  mix-blend-mode: multiply;
  filter: url(#ink);
  pointer-events: none;
}
.stamp__top, .stamp__bot { font: 500 10.5px/1 var(--f-mono); letter-spacing: 0.14em; }
.stamp__mid { font: 800 34px/1 var(--f-display); letter-spacing: 0.04em; margin: 8px 0; }



/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 0; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__gridlines {
  position: absolute; inset: -40px;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
  opacity: .55;
  animation: grid-drift 28s linear infinite;
}
@keyframes grid-drift { to { transform: translate(56px, 56px); } }
.hero__glow {
  position: absolute; width: 720px; height: 720px; border-radius: 50%;
  left: var(--mx, 70%); top: var(--my, 35%);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(69, 53, 201, 0.22), rgba(69, 53, 201, 0) 62%);
  transition: left .6s cubic-bezier(.2,.7,.2,1), top .6s cubic-bezier(.2,.7,.2,1);
}

.hero__grid {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 80px); align-items: center;
}
.hero__title {
  font: 800 clamp(48px, 7.4vw, 104px)/0.98 var(--f-display);
  letter-spacing: -0.02em;
}
.hero__title .line { position: relative; display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; width: max-content; max-width: 100%; }
.hero__title .ch {
  display: inline-block;
  transform: translateY(110%) rotate(10deg);
  transform-origin: 0 100%;
  animation: ch-up .9s cubic-bezier(.16,1,.3,1) forwards;
  animation-delay: calc(var(--i) * 32ms + 150ms);
}
@keyframes ch-up { to { transform: none; } }
.hero__accent { color: var(--stamp); }
.hero__bar {
  position: absolute; left: 0; right: 0.3em; bottom: 0.06em; height: 0.09em;
  background: var(--stamp);
  transform: scaleX(0); transform-origin: left;
  animation: bar-in 1s cubic-bezier(.7,0,.2,1) 1.15s forwards;
}
@keyframes bar-in { to { transform: scaleX(1); } }
.hero__lead { margin-top: 32px; max-width: 50ch; font-size: 19px; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero__in { opacity: 0; transform: translateY(16px); animation: fade-up .9s cubic-bezier(.16,1,.3,1) forwards; animation-delay: var(--d, 0ms); }
@keyframes fade-up { to { opacity: 1; transform: none; } }
.magnetic { transition: transform .35s cubic-bezier(.2,.8,.2,1), background .2s, color .2s, border-color .2s; }

/* Stack of sheets */
.stack { position: relative; perspective: 1400px; padding: 24px 0 32px; opacity: 0; animation: fade-up 1s cubic-bezier(.16,1,.3,1) .4s forwards; }
.stack__tilt {
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.sheet {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 var(--line), 0 40px 70px -34px rgba(26, 23, 64, 0.45);
  padding: 20px;
  font-size: 13px;
}
.sheet--back { position: absolute; inset: 0; }
.sheet--b1 { transform: translate3d(14px, 12px, -40px) rotate(3.5deg); background: #f1f2ef; animation: back-sway 7s ease-in-out infinite; }
.sheet--b2 { transform: translate3d(28px, 24px, -80px) rotate(7deg); background: #e9ebe7; animation: back-sway 7s ease-in-out -2.5s infinite; }
@keyframes back-sway { 50% { translate: 6px -4px; rotate: 1.5deg; } }
.sheet--front { transform: translateZ(30px) rotate(-1deg); transform-style: preserve-3d; will-change: transform; }
.sheet--front.is-out { animation: sheet-out .75s cubic-bezier(.6,0,.4,1) forwards; }
.sheet--front.is-in { animation: sheet-in .8s cubic-bezier(.16,1,.3,1) forwards; }
.sheet--front.is-hit { animation: sheet-hit .45s cubic-bezier(.3,1.6,.4,1); }
@keyframes sheet-out {
  to { transform: translate3d(-130%, -18%, 30px) rotate(-18deg); opacity: 0; }
}
@keyframes sheet-in {
  from { transform: translate3d(14px, 12px, -40px) rotate(3.5deg); }
  to { transform: translateZ(30px) rotate(-1deg); }
}
@keyframes sheet-hit {
  0% { transform: translateZ(30px) rotate(-1deg) scale(1); }
  30% { transform: translateZ(10px) rotate(-1.6deg) scale(.975); }
  100% { transform: translateZ(30px) rotate(-1deg) scale(1); }
}

.sheet__head {
  display: flex; justify-content: space-between;
  font: 500 12px/1 var(--f-mono); text-transform: uppercase; letter-spacing: 0.06em;
  padding-bottom: 14px; margin-bottom: 14px;
  border-bottom: 2px solid var(--ink);
}
.sheet__head b { font-weight: 500; }
.sheet__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--ink); border-left: 1px solid var(--ink);
}
.box {
  position: relative;
  border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  padding: 22px 12px 12px;
  min-height: 66px;
  display: flex; flex-direction: column; gap: 4px;
}
.box--wide { grid-column: span 2; }
.box--tall { min-height: 104px; }
.box i {
  position: absolute; top: 0; left: 0;
  font: 500 10px/1 var(--f-mono); font-style: normal;
  padding: 4px 6px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
}
.box b { font: 500 10px/1.2 var(--f-mono); text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); padding-left: 22px; margin-top: -18px; margin-bottom: 8px; }
.box > span { font-size: 14px; min-height: 1.4em; }
[data-f].is-typing::after { content: ""; display: inline-block; width: 1.5px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--stamp); animation: caret .6s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.lines { display: grid; gap: 8px; margin-top: 6px; }
.lines em { display: block; height: 6px; background: var(--paper-2); border-radius: 3px; transform-origin: left; }
.lines em.short { width: 55%; }
.sheet.is-filling .lines em { animation: line-grow .6s cubic-bezier(.2,.7,.2,1) both; }
.sheet.is-filling .lines em:nth-child(2) { animation-delay: .12s; }
.sheet.is-filling .lines em:nth-child(3) { animation-delay: .24s; }
@keyframes line-grow { from { transform: scaleX(0); } }

/* Route box */
.track { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.track__line { position: relative; flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 10px); }
.track__fill { position: absolute; inset: 0; background: var(--stamp); transform: scaleX(var(--p, 0)); transform-origin: left; }
.track__dot {
  position: absolute; top: 50%; left: calc(var(--p, 0) * 100%);
  width: 12px; height: 12px; margin: -6px 0 0 -6px;
  border-radius: 50%; background: var(--stamp);
  box-shadow: 0 0 0 5px rgba(69, 53, 201, .18);
}
.track__b { font-weight: 500; }
.track__mode { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-top: 6px; }

/* Stamp on hero */
.stamp--hero { right: -18px; bottom: 70px; opacity: 0; transform: translateZ(60px) rotate(-12deg) scale(1.9); }
.sheet.is-stamped .stamp--hero { animation: stamp-hit .5s cubic-bezier(.2,.9,.3,1.3) forwards; }
@keyframes stamp-hit {
  0% { opacity: 0; transform: translateZ(140px) rotate(-3deg) scale(2.2); }
  55% { opacity: 1; transform: translateZ(40px) rotate(-12deg) scale(.94); }
  100% { opacity: .93; transform: translateZ(40px) rotate(-12deg) scale(1); }
}
.ink-ring {
  position: absolute; width: 260px; height: 160px; border-radius: 50%;
  right: -40px; bottom: 50px;
  border: 2px solid var(--stamp);
  opacity: 0; pointer-events: none;
}
.sheet.is-stamped .ink-ring { animation: ring .7s cubic-bezier(.1,.7,.3,1) .22s; }
@keyframes ring { 0% { opacity: .5; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.5); } }

/* Floating chips */
.chip {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  background: var(--ink); color: #fff;
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  box-shadow: 0 18px 40px -16px rgba(21, 22, 28, .55);
  translate: var(--tx, 0) var(--ty, 0);
  transition: translate .5s cubic-bezier(.2,.7,.2,1);
}
.chip--status { left: -28px; bottom: 6px; animation: bob 5s ease-in-out infinite; }
.chip--count { right: -12px; top: -4px; background: var(--stamp); animation: bob 6s ease-in-out -2s infinite; gap: 12px; }
.chip--count .mono { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; opacity: .75; }
.chip--count b { font: 700 16px/1 var(--f-display); }
@keyframes bob { 50% { transform: translateY(-10px); } }
.chip__pulse { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #8f84ff; }
.chip__pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: pulse 1.6s ease-out infinite; }
@keyframes pulse { to { transform: scale(3); opacity: 0; } }
.chip__label { display: inline-block; min-width: 9.5em; }
.chip__label.is-swap { animation: swap .45s cubic-bezier(.2,.7,.2,1); }
@keyframes swap { 0% { opacity: 0; transform: translateY(8px); } 100% { opacity: 1; transform: none; } }

/* Ticker */
.ticker { background: var(--ink); color: #fff; overflow: hidden; padding: 22px 0; }
.ticker__row { display: flex; overflow: hidden; }
.ticker__row + .ticker__row { margin-top: 14px; }
.ticker__track {
  display: flex; align-items: center; gap: 36px; flex-shrink: 0;
  padding-right: 36px;
  white-space: nowrap;
  animation: tick 38s linear infinite;
}
.ticker__row--rev .ticker__track { animation-direction: reverse; animation-duration: 46s; }
.ticker span { font: 800 clamp(26px, 3.4vw, 46px)/1 var(--f-display); text-transform: uppercase; letter-spacing: .01em; }
.ticker i { font-style: normal; color: #8f84ff; font-size: 22px; }
.ticker em { font: 400 14px/1 var(--f-mono); font-style: normal; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .08em; padding: 8px 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }

/* Facts */
.facts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(56px, 7vw, 96px);
  border-top: 1px solid var(--line);
}
.facts li { padding: 28px 28px 32px 0; display: grid; gap: 6px; }
.facts li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.facts b { font: 700 20px/1.2 var(--f-display); }
.facts span { color: var(--muted); font-size: 15px; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section--tint { background: var(--paper-2); }
.section--ink { background: var(--night); color: #fff; }

/* Header progress — «постоянная линия» прокрутки */
.header { position: sticky; }
.header__progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--stamp);
  transform: scaleX(var(--sp, 0)); transform-origin: left;
}

/* Section heads */
.section { position: relative; }
.section__head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.section__head--row .section__lead { margin-top: 0; max-width: 40ch; }
.section__lead--light { color: rgba(255, 255, 255, .62); }
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-words .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s cubic-bezier(.16,1,.3,1); transition-delay: calc(var(--i) * 45ms); }
.split-words.is-in .w > span { transform: none; }

/* ---------- Services: bento ---------- */
.bento {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.tile {
  --x: 50%; --y: 50%;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 10px;
  padding: 32px 28px 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  color: inherit; text-decoration: none;
  transform: perspective(900px) rotateX(var(--trx, 0deg)) rotateY(var(--try, 0deg)) translateY(var(--lift, 0px));
  transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s, border-color .45s;
}
.tile:hover { --lift: -6px; box-shadow: 0 30px 50px -30px rgba(26, 23, 64, .45); border-color: rgba(69, 53, 201, .35); }
.tile__glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(360px circle at var(--x) var(--y), rgba(69, 53, 201, .14), transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.tile:hover .tile__glow { opacity: 1; }
.tile h3 { font: 700 21px/1.2 var(--f-display); position: relative; }
.tile p { color: var(--muted); font-size: 15.5px; position: relative; }
.tile__icon {
  width: 52px; height: 52px; margin-bottom: 18px; position: relative;
  fill: none; stroke: var(--stamp); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.tile__icon * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s cubic-bezier(.6,0,.2,1) .2s; }
.tile.is-in .tile__icon * { stroke-dashoffset: 0; }
.tile:hover .tile__icon { animation: icon-pop .6s cubic-bezier(.3,1.6,.4,1); }
@keyframes icon-pop { 40% { transform: scale(1.15) rotate(-6deg); } }
.tile__arrow {
  position: absolute; top: 24px; right: 24px;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--muted);
  transition: background .3s, color .3s, transform .45s cubic-bezier(.3,1.6,.4,1), border-color .3s;
}
.tile:hover .tile__arrow { background: var(--stamp); color: #fff; border-color: var(--stamp); transform: rotate(45deg); }

.tile--hero {
  grid-column: span 2; grid-row: span 2;
  background: var(--stamp); color: #fff; border-color: var(--stamp);
  justify-content: flex-end;
  padding: 40px;
  min-height: 420px;
}
.tile--hero::before {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 420px; height: 420px;
  border: 2px solid rgba(255,255,255,.18);
  outline: 2px solid rgba(255,255,255,.1); outline-offset: 40px;
  transform: rotate(18deg);
  animation: spin 40s linear infinite;
}
.tile--hero::after {
  content: ""; position: absolute; left: -10%; right: -10%; top: 38%; height: 3px;
  background: rgba(255,255,255,.35);
}
@keyframes spin { to { transform: rotate(378deg); } }
.tile--hero .tile__glow { background: radial-gradient(420px circle at var(--x) var(--y), rgba(255,255,255,.18), transparent 60%); }
.tile--hero h3 { font-size: clamp(28px, 3vw, 40px); line-height: 1.05; max-width: 14ch; }
.tile--hero p { color: rgba(255,255,255,.78); font-size: 17px; max-width: 40ch; }
.tile .tile__tag {
  align-self: flex-start; margin-bottom: auto;
  font-size: 12px; text-transform: uppercase; letter-spacing: .1em;
  padding: 8px 12px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px;
}
.chain { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; position: relative; }
.chain li {
  font-size: 14px; font-weight: 500;
  padding: 9px 14px; border-radius: 999px;
  background: rgba(255,255,255,.12);
  transition: background .35s, color .35s, transform .35s cubic-bezier(.3,1.6,.4,1);
}
.chain li.is-on { background: #fff; color: var(--stamp); transform: translateY(-3px); }

.tile--cta {
  grid-column: span 3;
  flex-direction: row; align-items: center; justify-content: space-between; gap: 24px;
  background: var(--ink); color: #fff; border-color: var(--ink);
}
.tile--cta p { color: rgba(255,255,255,.65); margin-top: 6px; }
.tile--cta h3 { font-size: 26px; }
.tile__cta-btn {
  flex-shrink: 0;
  width: 72px; height: 72px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--stamp); color: #fff; font-size: 28px;
  transition: transform .5s cubic-bezier(.3,1.6,.4,1), background .3s;
}
.tile--cta:hover .tile__cta-btn { transform: translateX(8px) scale(1.08); background: #8f84ff; }

/* ---------- Cargo ---------- */
.cargo { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.cargo .section__head { margin-bottom: 0; position: sticky; top: 112px; }
.cargo__list { border-top: 1px solid var(--ink); }
.cargo__list li {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 170px 1fr auto; align-items: center; gap: 16px;
  padding: 26px 20px 26px 0;
  border-bottom: 1px solid var(--line);
  cursor: default;
  transition: padding .45s cubic-bezier(.2,.7,.2,1), color .3s;
}
.cargo__list li::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--stamp);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .45s cubic-bezier(.7,0,.2,1);
}
.cargo__list li:hover { color: #fff; padding-left: 24px; }
.cargo__list li:hover::before { transform: scaleY(1); transform-origin: top; }
.cargo__list li:hover .code { color: rgba(255,255,255,.7); }
.cargo__list b { font: 700 clamp(20px, 2.3vw, 28px)/1.15 var(--f-display); }
.code { font: 400 13px/1 var(--f-mono); color: var(--muted); transition: color .3s; }
.cargo__other b { color: var(--stamp); }
.cargo__other:hover b { color: #fff; }
.cargo__go {
  font-size: 22px; opacity: 0; transform: translateX(-12px);
  transition: opacity .3s, transform .45s cubic-bezier(.3,1.6,.4,1);
}
.cargo__list li:hover .cargo__go { opacity: 1; transform: none; }

.peek {
  position: fixed; left: 0; top: 0; z-index: 30; pointer-events: none;
  display: grid; gap: 8px;
  padding: 16px 18px; min-width: 220px; max-width: 280px;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 24px 50px -20px rgba(26, 23, 64, .5);
  opacity: 0;
  transform: translate3d(var(--px, 0), var(--py, 0), 0) rotate(var(--pr, 0deg)) scale(.8);
  transition: opacity .25s, transform .25s cubic-bezier(.2,.7,.2,1);
}
.peek.is-on { opacity: 1; transform: translate3d(var(--px, 0), var(--py, 0), 0) rotate(var(--pr, 0deg)) scale(1); }
.peek__code { font-size: 12px; color: var(--stamp); text-transform: uppercase; letter-spacing: .08em; }
.peek__ex { font-size: 15px; font-weight: 500; }

/* ---------- Route ---------- */
.route {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
  position: relative;
}
.route::before {
  content: ""; position: absolute; left: 0; right: 0; top: 23px;
  height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
}
.route::after {
  content: ""; position: absolute; left: 0; right: 0; top: 23px;
  height: 2px; background: var(--stamp);
  transform: scaleX(var(--rp, 0)); transform-origin: left;
}
.route li { position: relative; display: grid; gap: 22px; align-content: start; }
.route__n {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--paper); color: var(--stamp);
  border: 2px solid var(--stamp); border-radius: 50%;
  font: 500 16px/1 var(--f-mono);
  position: relative; z-index: 1;
  transition: background .4s, color .4s, transform .4s cubic-bezier(.3,1.6,.4,1), box-shadow .4s;
}
.route li.is-on .route__n { background: var(--stamp); color: #fff; transform: scale(1.12); box-shadow: 0 0 0 6px rgba(69, 53, 201, .14); }
.route__card {
  padding: 22px 20px 24px;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  display: grid; gap: 8px;
  opacity: .55; transform: translateY(14px);
  transition: opacity .5s, transform .6s cubic-bezier(.2,.7,.2,1), border-color .5s, box-shadow .5s;
}
.route li.is-on .route__card { opacity: 1; transform: none; border-color: rgba(69, 53, 201, .3); box-shadow: 0 20px 40px -28px rgba(26, 23, 64, .45); }
.route h3 { font: 700 20px/1.2 var(--f-display); }
.route p { color: var(--muted); font-size: 15px; }
.route__parcel {
  position: absolute; top: 23px; left: calc(var(--rp, 0) * 100%); z-index: 2;
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  display: grid; place-items: center;
  background: var(--ink); border-radius: 10px;
  box-shadow: 0 10px 24px -8px rgba(21, 22, 28, .6);
  animation: parcel-bob 1.2s ease-in-out infinite;
}
.route__parcel svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; }
@keyframes parcel-bob { 50% { translate: 0 -4px; } }

/* ---------- Constants ---------- */
.section--ink { overflow: hidden; }
.const-bg {
  position: absolute; left: 0; top: 50%; translate: 0 -50%;
  white-space: nowrap; pointer-events: none;
  font: 800 clamp(120px, 18vw, 260px)/1 var(--f-display);
  color: transparent; -webkit-text-stroke: 1.5px rgba(157, 147, 255, .16);
  transform: translateX(var(--cx, 0px));
}
.constants { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.constants .section__head { margin-bottom: 0; }
.constants__list { border-top: 1px solid rgba(255, 255, 255, 0.2); }
.constants__list li {
  position: relative;
  display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 18px;
  padding: 22px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font: 500 clamp(18px, 2vw, 23px)/1.3 var(--f-body);
  transition: padding .4s cubic-bezier(.2,.7,.2,1);
}
.constants__list li::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: #9d93ff; box-shadow: 0 0 12px #9d93ff;
  transform: scaleX(0); transform-origin: left; transition: transform .6s cubic-bezier(.7,0,.2,1);
}
.constants__list li:hover { padding-left: 10px; }
.constants__list li:hover::after { transform: scaleX(1); }
.constants__list svg { width: 26px; height: 26px; fill: none; stroke: #9d93ff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.constants__list svg path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .6s cubic-bezier(.6,0,.2,1) .35s; }
.constants__list li.is-in svg path { stroke-dashoffset: 0; }
.constants__list code { font: 400 15px/1 var(--f-mono); color: #9d93ff; white-space: nowrap; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq .section__head { margin-bottom: 0; }
.faq__list { display: grid; gap: 12px; }
.qa { background: var(--white); border: 1px solid var(--line); border-radius: 14px; transition: border-color .3s, box-shadow .3s; }
.qa.is-open { border-color: rgba(69, 53, 201, .35); box-shadow: 0 20px 40px -30px rgba(26, 23, 64, .45); }
.qa__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 24px;
  background: none; border: 0; cursor: pointer; text-align: left;
  font: 600 18px/1.35 var(--f-body); color: var(--ink);
  border-radius: 14px;
}
.qa__icon { position: relative; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--paper); transition: background .3s, transform .45s cubic-bezier(.3,1.6,.4,1); }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--ink); transition: background .3s, transform .3s; }
.qa__icon::after { transform: rotate(90deg); }
.qa__q:hover .qa__icon { background: var(--stamp-soft); }
.qa.is-open .qa__icon { background: var(--stamp); transform: rotate(180deg); }
.qa.is-open .qa__icon::before, .qa.is-open .qa__icon::after { background: #fff; }
.qa.is-open .qa__icon::after { transform: rotate(0deg); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.2,.7,.2,1); }
.qa__a > div { overflow: hidden; }
.qa__a p { padding: 0 24px 24px; color: var(--muted); max-width: 60ch; }
.qa.is-open .qa__a { grid-template-rows: 1fr; }

/* ---------- Request ---------- */
.request { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.next { margin-top: 44px; display: grid; gap: 0; position: relative; }
.next::before { content: ""; position: absolute; left: 19px; top: 20px; bottom: 20px; width: 2px; background: repeating-linear-gradient(180deg, rgba(69,53,201,.4) 0 6px, transparent 6px 12px); }
.next li { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 18px; align-items: center; padding: 12px 0; }
.next__n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--stamp); color: #fff; font: 500 14px/1 var(--f-mono); box-shadow: 0 0 0 6px var(--paper-2); }
.next b { display: block; font: 700 18px/1.25 var(--f-display); }
.next span { color: var(--muted); font-size: 15px; }

.form {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 40px 80px -40px rgba(26, 23, 64, 0.45);
  padding: clamp(20px, 3vw, 36px);
}
.form__head {
  display: flex; justify-content: space-between; gap: 16px;
  font: 500 12px/1 var(--f-mono); text-transform: uppercase; letter-spacing: 0.06em;
  padding-bottom: 16px; margin-bottom: 24px; border-bottom: 2px solid var(--ink);
}
.topics { border: 0; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.topics legend { margin-bottom: 12px; padding: 0; }
.topic { position: relative; cursor: pointer; }
.topic input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.topic span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--paper);
  font-size: 14px; font-weight: 500;
  transition: background .25s, color .25s, border-color .25s, transform .35s cubic-bezier(.3,1.6,.4,1);
}
.topic span::before { content: "+"; font-family: var(--f-mono); color: var(--stamp); transition: transform .3s; }
.topic:hover span { border-color: var(--stamp); }
.topic input:checked + span { background: var(--stamp); border-color: var(--stamp); color: #fff; transform: scale(1.04); }
.topic input:checked + span::before { content: "✓"; color: #fff; }
.topic input:focus-visible + span { outline: 2px solid var(--stamp); outline-offset: 3px; }

.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 20px; }
.field { display: grid; gap: 8px; }
.field--wide { grid-column: span 2; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field__label { font: 500 12px/1 var(--f-mono); text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.field input, .field textarea {
  width: 100%;
  font: 400 17px/1.4 var(--f-body); color: var(--ink);
  background: var(--paper);
  border: 1px solid transparent; border-bottom: 1.5px solid var(--ink);
  border-radius: 4px 4px 2px 2px;
  padding: 13px 14px;
  transition: border-color .2s, background .2s, box-shadow .2s;
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: #9a9ea7; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--stamp); box-shadow: 0 0 0 4px rgba(69, 53, 201, .12); }
.field__error { display: none; font-size: 13px; color: #c3263b; }
.field.is-invalid input { border-bottom-color: #c3263b; animation: shake .35s; }
.field.is-invalid .field__error { display: block; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 28px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--stamp); }
.btn--send { gap: 14px; overflow: hidden; }
.btn--send i { font-style: normal; transition: transform .4s cubic-bezier(.3,1.6,.4,1); }
.btn--send:hover i { transform: translateX(6px); }
.form__status { margin-top: 16px; font-size: 15px; min-height: 1.5em; }
.form__status.is-error { color: #c3263b; }
.form.is-sending .btn { opacity: 0.6; pointer-events: none; }

.stamp--form { right: 32px; top: 50%; margin-top: -64px; opacity: 0; transform: rotate(-9deg) scale(1.8); }
.form.is-sent .stamp--form { animation: stamp-form 0.5s cubic-bezier(.2,.9,.3,1.25) both; }
.form.is-sent .form__grid, .form.is-sent .form__foot, .form.is-sent .topics { opacity: 0.35; pointer-events: none; transition: opacity .4s .3s; }
@keyframes stamp-form {
  0% { opacity: 0; transform: rotate(-3deg) scale(1.9); }
  60% { opacity: 1; transform: rotate(-9deg) scale(0.96); }
  100% { opacity: 0.95; transform: rotate(-9deg) scale(1); }
}
.confetti { position: absolute; left: 0; top: 0; width: 10px; height: 6px; pointer-events: none; border-radius: 1px; z-index: 5; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, 0.65); padding: 64px 0 28px; font-size: 14px; overflow: hidden; }
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer__claim { font: 700 clamp(22px, 2.4vw, 30px)/1.1 var(--f-display); color: #fff; }
.footer__nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer__nav a { text-decoration: none; transition: color .2s; }
.footer__nav a:hover { color: #fff; }
.footer .btn:hover { background: #fff; color: var(--ink); border-color: #fff; }
.footer__word {
  font: 800 clamp(52px, 14.4vw, 204px)/.9 var(--f-display);
  letter-spacing: -0.03em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.22);
  margin: 36px 0 20px;
  white-space: nowrap;
  background: linear-gradient(90deg, #9d93ff, #fff 50%, #9d93ff) 0 0 / 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  background-size: 0% 100%; background-repeat: no-repeat;
  transition: background-size 1.4s cubic-bezier(.7,0,.2,1);
}
.footer__word.is-in { background-size: 100% 100%; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.reveal.is-in { opacity: 1; transform: none; }
.tile.reveal.is-in { transform: perspective(900px) rotateX(var(--trx, 0deg)) rotateY(var(--try, 0deg)) translateY(var(--lift, 0px)); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s, border-color .45s; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .nav { display: none; }
  .header__row { justify-content: space-between; }
  .hero__grid, .cargo, .constants, .request, .faq { grid-template-columns: 1fr; }
  .cargo .section__head { position: static; }
  .stack { max-width: 540px; margin: 0 auto; width: 100%; }
  .chip--status { left: 8px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile--hero { grid-row: auto; min-height: 380px; }
  .tile--cta { grid-column: span 2; }
  .route { grid-template-columns: 1fr; gap: 16px; }
  .route::before, .route::after { left: 23px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .route::before { background: repeating-linear-gradient(180deg, var(--line) 0 6px, transparent 6px 12px); }
  .route::after { transform: scaleY(var(--rp, 0)); transform-origin: top; }
  .route li { grid-template-columns: 48px 1fr; column-gap: 20px; }
  .route__parcel { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .header__row { height: 64px; }
  .btn--small { padding: 0 14px; }
  .hero__lead { font-size: 17px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .sheet { padding: 14px; }
  .chip { font-size: 12px; padding: 9px 12px; }
  .chip--status { left: -4px; top: auto; bottom: 4px; }
  .chip--count { right: -4px; }
  .box > span { font-size: 13px; }
  .stamp { width: 172px; height: 108px; }
  .stamp__mid { font-size: 28px; }
  .stamp--hero { right: -6px; bottom: 56px; }
  .facts { grid-template-columns: 1fr; }
  .facts li, .facts li + li { padding: 20px 0; border-left: 0; }
  .facts li + li { border-top: 1px solid var(--line); }
  .bento { grid-template-columns: 1fr; gap: 12px; }
  .tile--hero, .tile--cta { grid-column: auto; }
  .tile--hero { padding: 28px; min-height: 0; }
  .tile .tile__tag { margin-bottom: 48px; }
  .tile--cta h3 { font-size: 21px; }
  .tile__cta-btn { width: 56px; height: 56px; font-size: 22px; }
  .cargo__list li { grid-template-columns: 1fr auto; gap: 6px 12px; padding-right: 12px; }
  .cargo__list .code { grid-column: 1 / -1; }
  .cargo__go { opacity: 1; transform: none; grid-row: 2; grid-column: 2; }
  .peek { display: none; }
  .constants__list li { grid-template-columns: 26px 1fr; }
  .constants__list code { grid-column: 2; }
  .qa__q { font-size: 16px; padding: 18px; }
  .qa__a p { padding: 0 18px 18px; }
  .form__grid { grid-template-columns: 1fr; }
  .field--wide { grid-column: auto; }
  .form__foot .btn { width: 100%; }
  .stamp--form { right: 50%; margin-right: -86px; margin-top: -54px; }
  .footer__top { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__title .ch { transform: none; }
  .hero__in, .stack { opacity: 1; transform: none; }
  .hero__bar { transform: none; }
  .stamp--hero { opacity: .93; transform: rotate(-12deg); }
  .split-words .w > span { transform: none; }
  .tile__icon *, .constants__list svg path { stroke-dashoffset: 0; }
  .route__card { opacity: 1; transform: none; }
  .footer__word { background-size: 100% 100%; }
}

/* ---------- Loader ---------- */
.loader { display: none; }
html.is-loading, html.is-loading body { overflow: hidden; }
html.is-loading .hero *, html.is-loading .hero { animation-play-state: paused !important; }
html.is-loading .loader, html.is-leaving .loader {
  display: block;
  position: fixed; inset: 0; z-index: 100;
  pointer-events: all;
}
html.is-leaving .loader { pointer-events: none; }
.loader__half {
  position: absolute; left: 0; right: 0; height: 50%;
  background: var(--ink); color: #fff;
  display: flex; justify-content: center;
  transition: transform 1s cubic-bezier(.77,0,.18,1);
}
.loader__half--top { top: 0; align-items: flex-end; padding-bottom: 36px; }
.loader__half--bot { bottom: 0; align-items: flex-start; padding-top: 22px; }
html.is-leaving .loader__half--top { transform: translateY(-100%); }
html.is-leaving .loader__half--bot { transform: translateY(100%); }

.loader__brand { display: flex; align-items: center; gap: 18px; }
.loader__mark { width: 64px; height: 64px; overflow: visible; }
.loader__mark rect {
  fill: none; stroke: #fff; stroke-width: 5;
  stroke-dasharray: 100; stroke-dashoffset: 100;
  animation: mark-draw 1s cubic-bezier(.7,0,.2,1) .15s forwards;
}
@keyframes mark-draw { to { stroke-dashoffset: 0; } }
.loader__word {
  font: 800 clamp(34px, 6vw, 64px)/1 var(--f-display);
  letter-spacing: 0.01em;
  display: inline-flex; overflow: hidden; padding: 4px 0;
}
.loader__word .ch { display: inline-block; transform: translateY(105%); animation: ch-up .8s cubic-bezier(.16,1,.3,1) forwards; animation-delay: calc(var(--i) * 45ms + 500ms); }

.loader__meta {
  width: min(560px, calc(100% - 32px));
  display: flex; justify-content: space-between; align-items: baseline;
  font: 500 12px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .1em;
  color: rgba(255, 255, 255, .55);
}
.loader__count { font-size: 14px; color: #fff; }
.loader__count b { font-weight: 500; font-variant-numeric: tabular-nums; }
.loader__step.is-swap { animation: swap .4s cubic-bezier(.2,.7,.2,1); }

.loader__line {
  position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px;
  z-index: 2;
  transition: opacity .3s .35s;
}
.loader__line span {
  position: absolute; inset: 0;
  background: #8f84ff;
  box-shadow: 0 0 18px rgba(143, 132, 255, .8);
  transform: scaleX(var(--lp, 0)); transform-origin: left;
}
html.is-leaving .loader__line { opacity: 0; }
html.is-leaving .loader__line span { animation: line-flash .35s ease-out; }
@keyframes line-flash { 50% { background: #fff; box-shadow: 0 0 40px #fff; } }
html.is-leaving .loader__brand, html.is-leaving .loader__meta { opacity: 0; transition: opacity .3s; }

@media (prefers-reduced-motion: reduce) {
  html.is-loading .loader, html.is-leaving .loader { display: none; }
}
