/* NANPay marketing site */

:root {
  --white: #ffffff;
  --mist: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --night: #000000;
  --night-2: #161617;
  --night-3: #1f1f21;
  --night-line: #2c2c2e;
  --night-text: #a1a1a6;
  --band: #a3172f;
  --band-deep: #7d0f22;
  --synced: #1f9d55;
  --queued: #e59a12;

  --font: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  /* type scale */
  --t-hero: clamp(3.25rem, 8.5vw, 7rem);
  --t-display: clamp(2.5rem, 5.6vw, 4.5rem);
  --t-lede: clamp(1.125rem, 1.6vw, 1.375rem);
  --t-h3: 1.3125rem;
  --t-body: 1.0625rem;
  --t-small: 0.875rem;

  --wrap: 1080px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(96px, 14vw, 168px);
  --edge: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
html:not(.js) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, p, dl, dd, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }

:focus-visible { outline: 3px solid var(--band); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 10px;
}
.skip:focus { top: 12px; }

/* ---------- Nav ---------- */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform .45s cubic-bezier(.3,.7,.4,1), background .3s, border-color .3s;
}
.nav.is-dark { background: rgba(0, 0, 0, 0.7); border-bottom-color: rgba(255,255,255,.08); color: var(--white); }
.nav.is-dark .nav__links a { color: var(--night-text); }
.nav.is-dark .nav__links a:hover { color: var(--white); }

.nav__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter);
  height: 52px; display: flex; align-items: center; gap: 32px;
}
.nav__links { display: flex; gap: 24px; margin-left: auto; font-size: var(--t-small); }
.nav__links a { text-decoration: none; color: var(--ink-2); font-weight: 600; transition: color .2s; }
.nav__links a:hover { color: var(--ink); }
/* language switcher */
.lang { display: inline-flex; padding: 2px; border-radius: 980px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.lang__opt {
  padding: 4px 9px; border-radius: 980px; font-size: 12px; font-weight: 600; letter-spacing: .02em;
  color: var(--ink-2); text-decoration: none; transition: background .2s, color .2s;
}
.lang__opt:hover { color: var(--ink); }
.lang__opt.is-current { background: var(--ink); color: var(--white); }
.nav.is-dark .lang { box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.nav.is-dark .lang__opt { color: var(--night-text); }
.nav.is-dark .lang__opt.is-current { background: var(--white); color: var(--ink); }

.nav__progress {
  position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%;
  background: var(--band); transform-origin: left; transform: scaleX(0);
}

.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 650; font-size: 1.0625rem; letter-spacing: -0.02em; text-decoration: none;
}
.np-mark { display: inline-block; flex: none; width: 20px; height: 20px; }
.brand--quiet { color: var(--ink-2); }
.brand__logo { display: block; height: 34px; width: auto; }
.brand__logo--footer { height: 30px; }
.brand__divider { width: 1px; height: 28px; background: currentColor; opacity: .18; }
.brand__name { display: flex; flex-direction: column; line-height: 1.05; color: var(--ink); }
.brand__name small { white-space: nowrap; margin-top: 3px; font-size: 10.5px; font-weight: 500; letter-spacing: 0; color: var(--ink-2); }
.nav.is-dark .brand__name { color: var(--white); }
.nav.is-dark .brand__name small { color: var(--night-text); }
/* the menu bar turns black over dark sections; flip the logo to light, keeping its blue */
.nav .brand__logo { transition: filter .3s; }
.nav.is-dark .brand__logo { filter: invert(1) hue-rotate(180deg); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px; border-radius: 980px;
  background: var(--band); color: var(--white);
  font-weight: 500; font-size: var(--t-body); text-decoration: none; white-space: nowrap;
  transition: background .2s, transform .15s;
}
.btn:hover { background: var(--band-deep); }
.btn:active { transform: scale(.97); }
.btn--small { padding: 7px 16px; font-size: var(--t-small); }
.btn--large { padding: 17px 34px; font-size: 1.1875rem; }

.link { color: var(--band); text-decoration: none; font-size: var(--t-body); font-weight: 500; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Shared type ---------- */

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

.display {
  font-size: var(--t-display);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-align: center;
  text-wrap: balance;
}
.display--left { text-align: left; }
.display--md { font-size: clamp(2.25rem, 4.2vw, 3.5rem); }
.display--sm { font-size: clamp(2rem, 3.6vw, 3rem); }

.lede {
  font-size: var(--t-lede);
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 34em;
  margin-top: 24px;
  letter-spacing: -0.01em;
}
.lede--center { text-align: center; margin-left: auto; margin-right: auto; }

.section { padding: var(--section) 0; }
.section--mist { background: var(--mist); }
.section--dark { background: var(--night); color: var(--white); }
.section--dark .lede { color: var(--night-text); }
.section--tight-top { padding-top: 24px; }

/* ---------- Hero ---------- */

.hero {
  padding: calc(52px + clamp(56px, 8vw, 104px)) var(--gutter) 0;
  text-align: center;
  overflow: hidden;
}
.hero__title {
  font-size: var(--t-hero);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.line__inner { display: block; }
.hero__lede {
  font-size: var(--t-lede);
  color: var(--ink-2);
  max-width: 31em;
  margin: 28px auto 0;
  line-height: 1.45;
}
.hero__ctas {
  display: flex; gap: 28px; align-items: center; justify-content: center;
  margin-top: 36px; flex-wrap: wrap;
}

.stage-wrap { will-change: transform; }
.stage {
  position: relative;
  width: 640px; height: 520px;
  margin: 40px auto 0;
}
.stage__floor {
  position: absolute; left: 50%; bottom: 0; width: 520px; height: 60px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(0,0,0,.14), transparent);
}

.terminal { position: absolute; left: 318px; top: 128px; width: 214px; height: 392px; }

.terminal__body {
  position: absolute; inset: 0; z-index: 2;
  border-radius: 38px;
  background: linear-gradient(160deg, #3a3a3d 0%, #1c1c1e 55%, #0d0d0e 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    inset 0 0 0 1px rgba(255,255,255,.06),
    0 40px 60px -30px rgba(0,0,0,.45);
}
.terminal__slot {
  position: absolute; top: 14px; left: 30px; right: 30px; height: 6px;
  border-radius: 3px; background: #050505;
}
.screen {
  position: absolute; top: 34px; left: 18px; right: 18px; height: 236px;
  border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, #ffffff, #f2f2f4);
  font-family: var(--mono);
}
.screen__state {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.screen__label { font-size: 12px; color: var(--ink-2); letter-spacing: 0.02em; }
.screen__amount { font-family: var(--font); font-size: 34px; font-weight: 650; letter-spacing: -0.03em; color: var(--ink); }
.screen__amount--small { font-size: 18px; font-weight: 500; color: var(--ink-2); }
.screen__nfc {
  margin-top: 14px; width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--band);
  box-shadow: 0 0 0 7px rgba(163, 23, 47, .14), 0 0 0 14px rgba(163, 23, 47, .07);
}
.screen__state--done { background: #f1fbf5; }
.screen__check {
  width: 54px; height: 54px; border-radius: 50%; background: var(--synced);
  position: relative; margin-bottom: 6px;
}
.screen__check::after {
  content: ""; position: absolute; left: 19px; top: 13px; width: 13px; height: 23px;
  border: solid #fff; border-width: 0 4px 4px 0; transform: rotate(45deg);
}
.screen__state--done .screen__label { color: var(--synced); font-size: 14px; font-weight: 500; }

.terminal__keys {
  position: absolute; left: 0; right: 0; bottom: 34px;
  display: flex; justify-content: center; gap: 14px;
}
.terminal__keys i {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(160deg, #2c2c2e, #19191a);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
}

.receipt {
  position: absolute; z-index: 1; left: 34px; right: 34px; top: 16px; height: 136px;
  padding: 14px 12px;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.07), 0 10px 24px rgba(0,0,0,.12);
  font-family: var(--mono); font-size: 10.5px; line-height: 1.6; color: #333; text-align: left;
  display: flex; flex-direction: column;
  mask-image: linear-gradient(180deg, #000 85%, transparent);
}
.receipt__line--strong { font-weight: 500; color: var(--ink); margin-bottom: 4px; }

.ripple {
  position: absolute; z-index: 3; left: -6px; top: 130px;
  width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%;
  border: 2px solid var(--band); opacity: 0; pointer-events: none;
}

.screen__hint { font-size: 11px; color: var(--ink-2); margin-top: 2px; }
.screen__state--reading { opacity: 0; gap: 14px; }
.screen__progress { width: 110px; height: 6px; border-radius: 3px; background: #e3e3e8; overflow: hidden; }
.screen__progress-fill { display: block; height: 100%; background: var(--band); transform-origin: left; transform: scaleX(0); }

/* the wristband: a 3/4 view of a fabric loop with an NFC tag */
.band {
  position: absolute; z-index: 4; left: 0; top: 190px; width: 340px; height: 230px;
  transform-origin: 78% 60%;
  filter: drop-shadow(0 24px 22px rgba(92, 10, 24, .22));
}
.band__svg { display: block; width: 100%; height: 100%; overflow: visible; }
.band__glow { opacity: 0; }

.pay-chip {
  position: absolute; z-index: 5; left: 196px; top: 150px;
  padding: 6px 12px; border-radius: 980px;
  background: var(--ink); color: var(--white);
  font-size: 14px; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums;
  opacity: 0; pointer-events: none;
}

/* Without animation the hero shows its finished state. */
.band { transform: rotate(-12deg); }
.screen__state--ready { opacity: 0; }
.receipt { transform: translateY(-118px); }

/* With animation, start from the beginning; GSAP plays it forward. */
.js .line__inner { transform: translateY(105%); }
.js .hero__lede, .js .hero__ctas { opacity: 0; transform: translateY(18px); }
.js .stage { opacity: 0; transform: translateY(50px); }
.js .band { opacity: 0; transform: translate(-90px, 40px) rotate(-22deg); }
.js .screen__state--ready { opacity: 1; }
.js .screen__state--done { opacity: 0; }
.js .receipt { transform: translateY(0); }

/* ---------- Facts strip ---------- */

.facts { border-top: 1px solid rgba(0,0,0,.08); border-bottom: 1px solid rgba(0,0,0,.08); position: relative; background: var(--white); }
.facts__list {
  max-width: var(--wrap); margin: 0 auto; padding: 28px var(--gutter);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  font-size: var(--t-small); color: var(--ink-2); text-align: center;
}
.facts__list strong { display: block; font-size: 1.1875rem; color: var(--ink); font-weight: 600; letter-spacing: -0.02em; }

/* ---------- Manifesto ---------- */

.manifesto__pin {
  min-height: 100vh; display: grid; place-items: center;
  padding: 120px var(--gutter);
}
.manifesto__text {
  max-width: 19em;
  font-size: clamp(2rem, 4.6vw, 3.875rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.035em;
  text-wrap: pretty;
}
.manifesto__text .word { display: inline-block; white-space: pre; }

/* ---------- Terminals ---------- */

.terms__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 64px; }
.tcard { background: var(--white); border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; }
.tcard--wide { grid-column: 1 / -1; }
.tcard__art { position: relative; height: 360px; overflow: hidden; }
.tcard__text { padding: 28px 32px 34px; }
.tcard__text h3 { font-size: 1.5rem; font-weight: 650; letter-spacing: -0.03em; }
.tcard__text p { margin-top: 8px; color: var(--ink-2); max-width: 40em; }
.tcard__text .tcard__note { color: var(--band); font-weight: 600; }
.terms:not(.is-playing) .tcard__art * { animation-play-state: paused !important; }

/* IP65 handheld in the rain */
.tcard__art--rain { background: linear-gradient(180deg, #1c2734 0%, #34485f 100%); }
.ip-badge {
  position: absolute; z-index: 3; top: 20px; left: 20px; padding: 5px 12px; border-radius: 980px;
  background: rgba(255,255,255,.14); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .02em;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.rain { position: absolute; inset: 0; z-index: 1; }
.rain i {
  position: absolute; top: -40px; left: var(--x); width: 1.5px; height: var(--h, 22px);
  background: linear-gradient(transparent, rgba(255,255,255,.65));
  transform: rotate(12deg); opacity: var(--o, .7);
  animation: rain-fall var(--t, .9s) linear var(--d, 0s) infinite;
}
.rain i.is-front { z-index: 4; }
@keyframes rain-fall { to { transform: translate(-84px, 440px) rotate(12deg); } }

.rugged {
  position: absolute; z-index: 2; left: 50%; top: 40px; width: 160px; height: 290px; margin-left: -80px;
  border-radius: 34px; background: linear-gradient(160deg, #3a3e46, #22252a);
  box-shadow: inset 0 0 0 9px #454b55, inset 0 0 0 10px rgba(255,255,255,.08), 0 34px 50px -22px rgba(0,0,0,.7);
}
.rugged__scanner { position: absolute; top: 15px; left: 50%; width: 56px; height: 9px; margin-left: -28px; border-radius: 5px; background: #0d0f12; box-shadow: inset 0 1px 0 rgba(255,255,255,.15); }
.rugged__screen { position: absolute; top: 36px; left: 18px; right: 18px; height: 196px; border-radius: 16px; background: #f7f7f9; overflow: hidden; }
.rugged__state {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  font-size: 12.5px; color: var(--ink-2); text-align: center;
}
.rugged__state b { color: var(--synced); font-size: 14px; }
.rugged__nfc { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--band); box-shadow: 0 0 0 8px rgba(163,23,47,.12), 0 0 0 16px rgba(163,23,47,.06); margin-bottom: 8px; }
.rugged__photo { width: 64px; height: 64px; border-radius: 50%; margin-bottom: 4px; }
.rugged__state--wait { animation: rug-wait 6s ease infinite; }
.rugged__state--ok { opacity: 0; animation: rug-ok 6s ease infinite; background: #f1fbf5; }
@keyframes rug-wait { 0%, 44% { opacity: 1; } 50%, 94% { opacity: 0; } 100% { opacity: 1; } }
@keyframes rug-ok { 0%, 44% { opacity: 0; } 50%, 94% { opacity: 1; } 100% { opacity: 0; } }
.drop {
  position: absolute; z-index: 3; left: var(--x); top: var(--y); width: 9px; height: 11px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.95) 0 14%, rgba(205,225,255,.4) 42%, rgba(255,255,255,.1) 72%);
  opacity: 0; animation: drop-bead 4.2s ease var(--d) infinite;
}
@keyframes drop-bead {
  0% { opacity: 0; transform: scale(.3); }
  15% { opacity: 1; transform: scale(1); }
  70% { opacity: 1; transform: translateY(6px); }
  100% { opacity: 0; transform: translateY(34px) scale(.8); }
}

/* compact POS on a small bar */
.tcard__art--bar { background: linear-gradient(180deg, #2b1910 0%, #150b06 100%); }
.bar__lamp { position: absolute; top: -90px; left: 50%; width: 360px; height: 300px; margin-left: -180px; background: radial-gradient(closest-side, rgba(255, 186, 104, .32), transparent); }
.bar__shelf {
  position: absolute; left: 28px; right: 28px; height: 70px;
  display: flex; align-items: flex-end; justify-content: space-around;
  border-bottom: 4px solid #5d3c27;
}
.bar__shelf--top { top: 30px; }
.bar__shelf--low { top: 126px; left: 52px; right: 52px; }
.bar__shelf i { position: relative; width: 18px; height: 50px; border-radius: 6px 6px 3px 3px; background: rgba(214, 150, 62, .75); }
.bar__shelf i::before { content: ""; position: absolute; left: 6px; top: -11px; width: 6px; height: 13px; border-radius: 2px; background: inherit; }
.bar__shelf i:nth-child(3n+2) { background: rgba(92, 145, 96, .72); height: 42px; }
.bar__shelf i:nth-child(3n) { background: rgba(225, 225, 235, .45); height: 58px; }
.bar__shelf i:nth-child(4n) { height: 36px; width: 22px; }
.bar__counter {
  position: absolute; left: 0; right: 0; bottom: 0; height: 100px;
  background: linear-gradient(180deg, #a06842 0, #7a4a2c 7px, #4e2e1b 100%);
}
.mini-pos {
  position: absolute; z-index: 2; left: 50%; bottom: 74px; width: 96px; height: 176px; margin-left: -48px;
  border-radius: 22px; background: linear-gradient(160deg, #3a3a3d, #121213);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 18px 26px -12px rgba(0,0,0,.8);
}
.mini-pos__screen { position: absolute; top: 14px; left: 9px; right: 9px; height: 100px; border-radius: 12px; background: #f7f7f9; overflow: hidden; }
.mini-pos__state { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; color: var(--ink-2); }
.mini-pos__state b { font-size: 19px; color: var(--ink); letter-spacing: -0.02em; }
.mini-pos__state--ok { background: #f1fbf5; opacity: 0; }
.mini-pos__state--ok b { color: var(--synced); font-size: 15px; }
.mini-pos__check { width: 30px; height: 30px; border-radius: 50%; background: var(--synced); position: relative; margin-bottom: 4px; }
.mini-pos__check::after { content: ""; position: absolute; left: 10px; top: 6px; width: 8px; height: 14px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.mini-pos__keys { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 8px; }
.mini-pos__keys i { width: 20px; height: 20px; border-radius: 50%; background: #2a2a2d; }
.mini-pos__state--wait { animation: rug-wait 5s ease infinite; }
.mini-pos__state--ok { animation: rug-ok 5s ease infinite; }
.tap-band {
  position: absolute; z-index: 3; left: calc(50% - 196px); bottom: 118px; width: 120px; height: 80px;
  filter: drop-shadow(0 10px 10px rgba(0,0,0,.45));
  animation: mini-tap 5s cubic-bezier(.5,0,.3,1) infinite;
}
@keyframes mini-tap {
  0%, 12% { transform: translate(0, 0) rotate(-10deg); }
  36%, 52% { transform: translate(78px, -34px) rotate(-2deg); }
  76%, 100% { transform: translate(0, 0) rotate(-10deg); }
}

/* 15" dual-screen desktop terminal: base with printer, column, tilted screen with a customer display on its back */
.tcard__art--dual { height: 520px; background: radial-gradient(ellipse at 50% 92%, #3a3a3c 0%, #000 60%); }
.dual3d { position: absolute; inset: 0; perspective: 1700px; perspective-origin: 50% 30%; }

/* a solid block: six faces sized by --w (x), --h (y), --d (z) */
.box {
  position: absolute; left: 0; top: 0; width: var(--w); height: var(--h);
  margin: calc(var(--h) / -2) 0 0 calc(var(--w) / -2);
  transform-style: preserve-3d;
}
.box > * { position: absolute; display: block; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.box__f, .box__b { inset: 0; }
.box__f { transform: translateZ(calc(var(--d) / 2)); }
.box__b { transform: rotateY(180deg) translateZ(calc(var(--d) / 2)); }
.box__l, .box__r { top: 0; height: var(--h); width: var(--d); left: calc((var(--w) - var(--d)) / 2); }
.box__r { transform: rotateY(90deg) translateZ(calc(var(--w) / 2)); }
.box__l { transform: rotateY(-90deg) translateZ(calc(var(--w) / 2)); }
.box__t, .box__u { left: 0; width: var(--w); height: var(--d); top: calc((var(--h) - var(--d)) / 2); }
.box__t { transform: rotateX(90deg) translateZ(calc(var(--h) / 2)); }
.box__u { transform: rotateX(-90deg) translateZ(calc(var(--h) / 2)); }

.t2 { position: absolute; left: 50%; top: 262px; transform-style: preserve-3d; transform: rotateX(-14deg); }
.t2__spin { position: absolute; transform-style: preserve-3d; animation: t2-turn 14s cubic-bezier(.6, 0, .25, 1) infinite; }
@keyframes t2-turn {
  0%, 28% { transform: rotateY(158deg); }
  33%, 44% { transform: rotateY(338deg); }
  49%, 100% { transform: rotateY(518deg); }
}

.t2__base { --w: 300px; --h: 40px; --d: 210px; transform: translate3d(0, 150px, 0); }
.t2__base .box__f, .t2__base .box__b { background: linear-gradient(180deg, #f5f5f7, #d6d6db); border-radius: 0 0 10px 10px; }
.t2__base .box__l, .t2__base .box__r { background: linear-gradient(180deg, #e2e2e6, #c4c4ca); }
.t2__base .box__t { background: linear-gradient(180deg, #e9e9ec, #fbfbfc); }
.t2__base .box__u { background: #8e8e93; }
.t2__printer {
  position: absolute; left: 50%; top: 22px; width: 156px; height: 52px; margin-left: -78px; border-radius: 10px;
  background: linear-gradient(180deg, #dcdce0, #ececef); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
}
.t2__printer::after { content: ""; position: absolute; left: 16px; right: 16px; top: 8px; height: 4px; border-radius: 2px; background: #3a3a3c; }

/* the column rises between the two screens to the hinge at their tops */
.t2__neck { --w: 56px; --h: 310px; --d: 22px; transform: translate3d(0, -25px, 0); }
.t2__neck .box__f, .t2__neck .box__b { background: linear-gradient(90deg, #d4d4d9, #f2f2f4 50%, #d4d4d9); }
.t2__neck .box__l, .t2__neck .box__r { background: #c6c6cc; }
.t2__neck .box__t, .t2__neck .box__u { background: #b8b8be; }

/* two screens back to back, each leaning away from its user, tops meeting at the hinge */
.t2__screen { --w: 440px; --h: 260px; --d: 16px; }
.t2__screen--staff { transform: translate3d(0, -110px, 46px) rotateX(16deg); }
.t2__screen--guest { transform: translate3d(0, -110px, -46px) rotateX(-16deg); }
.t2__back { background: linear-gradient(180deg, #f4f4f6, #d9d9de); border-radius: 6px; }
.t2__screen .box__l, .t2__screen .box__r, .t2__screen .box__t, .t2__screen .box__u { background: linear-gradient(90deg, #cfcfd4, #ededf0); }
.t2__display { overflow: hidden; border: 11px solid #141416; border-radius: 6px; box-shadow: 0 0 0 2px #e4e4e8; }
.t2__display--staff { background: var(--white); }
.t2__display--guest { background: #000; }

.t2__shadow {
  position: absolute; left: 50%; top: 410px; width: 420px; height: 56px; margin-left: -210px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,.1), transparent);
}
.dual3d__caption { position: absolute; left: 0; right: 0; top: 486px; margin: 0; height: 20px; text-align: center; font-size: 13px; color: var(--night-text); }
.dual3d__cap { position: absolute; left: 0; right: 0; }
.dual3d__cap--guest { animation: cap-guest 14s ease infinite; }
.dual3d__cap--staff { opacity: 0; animation: cap-staff 14s ease infinite; }
@keyframes cap-guest { 0%, 28% { opacity: 1; } 31%, 46% { opacity: 0; } 49%, 100% { opacity: 1; } }
@keyframes cap-staff { 0%, 28% { opacity: 0; } 31%, 46% { opacity: 1; } 49%, 100% { opacity: 0; } }

.staff-ui { display: grid; grid-template-columns: 1.45fr 1fr; height: 100%; background: var(--mist); font-size: 11px; }
.staff-ui__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 10px; align-content: start; }
.tile { display: flex; flex-direction: column; justify-content: space-between; height: 58px; padding: 8px; border-radius: 9px; background: var(--white); font-weight: 600; color: var(--ink); }
.tile small { font-weight: 400; color: var(--ink-2); font-size: 10px; }
.tile--a { animation: tile-a 14s ease infinite; }
.tile--b { animation: tile-b 14s ease infinite; }
@keyframes tile-a { 0%, 34% { background: var(--white); color: var(--ink); } 35%, 37% { background: var(--band); color: #fff; } 39%, 100% { background: var(--white); color: var(--ink); } }
@keyframes tile-b { 0%, 37% { background: var(--white); color: var(--ink); } 38%, 40% { background: var(--band); color: #fff; } 42%, 100% { background: var(--white); color: var(--ink); } }
.staff-ui__order { background: var(--white); padding: 10px; display: flex; flex-direction: column; gap: 7px; }
.staff-ui__order em, .ad--order em { font-style: normal; }
.oline, .ototal { display: flex; justify-content: space-between; color: var(--ink); }
.ototal { padding-top: 7px; border-top: 1px solid rgba(0,0,0,.1); font-weight: 700; }
.opaid { align-self: flex-start; margin-top: auto; padding: 3px 9px; border-radius: 980px; background: #e6f6ec; color: #137a40; font-weight: 600; }
.oline--a { animation: show-a 14s ease infinite; }
.oline--b { animation: show-b 14s ease infinite; }
.ototal { animation: show-total 14s ease infinite; }
.opaid { animation: show-paid 14s ease infinite; }
@keyframes show-a { 0%, 35% { opacity: 0; } 36%, 70% { opacity: 1; } 72%, 100% { opacity: 0; } }
@keyframes show-b { 0%, 38% { opacity: 0; } 39%, 70% { opacity: 1; } 72%, 100% { opacity: 0; } }
@keyframes show-total { 0%, 40% { opacity: 0; } 41%, 70% { opacity: 1; } 72%, 100% { opacity: 0; } }
@keyframes show-paid { 0%, 60% { opacity: 0; } 62%, 70% { opacity: 1; } 72%, 100% { opacity: 0; } }

.ad { position: absolute; inset: 0; padding: 22px 24px; display: flex; flex-direction: column; justify-content: center; gap: 6px; color: #fff; opacity: 0; }
.ad small { font-size: 11px; font-weight: 600; opacity: .85; }
.ad b { font-size: 22px; font-weight: 700; line-height: 1.15; letter-spacing: -0.025em; }
.ad--1 { background: linear-gradient(135deg, #ff7a1a 0%, #a3172f 100%); animation: ad-1 14s ease infinite; }
.ad--2 { background: linear-gradient(135deg, #12a383 0%, #0b5747 100%); animation: ad-2 14s ease infinite; }
.ad--4 { background: linear-gradient(135deg, #4a63ff 0%, #1b2a86 100%); animation: ad-4 14s ease infinite; }
.ad__logo { align-self: flex-start; padding: 4px 9px; border: 1.5px dashed rgba(255,255,255,.6); border-radius: 7px; font-size: 10.5px; font-weight: 600; margin-bottom: 4px; }
.ad--order { background: var(--white); color: var(--ink); gap: 5px; animation: ad-order 14s ease infinite; }
.ad--order small { color: var(--ink-2); }
.ad--order span, .ad--order b { display: flex; justify-content: space-between; font-size: 13px; }
.ad--order b { font-size: 16px; padding-top: 6px; margin-top: 2px; border-top: 1px solid rgba(0,0,0,.1); }
.ad__tap { color: var(--band); font-weight: 600; font-size: 12px !important; margin-top: 6px; animation: ad-tap 14s ease infinite; }
.ad__paid {
  position: absolute; left: 24px; right: 24px; bottom: 20px; justify-content: center !important;
  padding: 7px; border-radius: 10px; background: var(--synced); color: #fff; font-weight: 600; font-size: 13px;
  opacity: 0; animation: show-paid 14s ease infinite;
}
@keyframes ad-1 { 0%, 12% { opacity: 1; } 15%, 97% { opacity: 0; } 100% { opacity: 1; } }
@keyframes ad-2 { 0%, 12% { opacity: 0; } 15%, 30% { opacity: 1; } 33%, 100% { opacity: 0; } }
@keyframes ad-order { 0%, 40% { opacity: 0; } 43%, 69% { opacity: 1; } 72%, 100% { opacity: 0; } }
@keyframes ad-4 { 0%, 69% { opacity: 0; } 72%, 97% { opacity: 1; } 100% { opacity: 0; } }
@keyframes ad-tap { 0%, 60% { opacity: 1; } 62%, 100% { opacity: 0; } }

/* ---------- Offline story ---------- */

.flow { background: var(--night); color: var(--white); }
.flow__pin {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(16px, 3vh, 32px);
  padding: 84px var(--gutter) 40px;
}
.flow__title { font-size: clamp(2.25rem, min(5.4vw, 7.4vh), 4.5rem); }

.net { width: 100%; max-width: 900px; max-height: 52vh; overflow: visible; }
.net__link { fill: none; stroke: rgba(255,255,255,.2); stroke-width: 2; transition: stroke .5s; }
.net.is-offline .net__link { stroke: rgba(229,154,18,.45); stroke-dasharray: 3 9; }

.net__hub rect { fill: var(--night-2); stroke: var(--night-line); stroke-width: 1.5; }
.net__hub-label { fill: var(--night-text); font: 500 15px var(--font); }
.net__hub-value { fill: #fff; font: 600 32px var(--font); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.net__hub-dot { fill: var(--synced); transition: fill .4s; }
.net.is-offline .net__hub-dot { fill: var(--queued); }

.net__cut { opacity: 0; transition: opacity .4s; }
.net__cut rect { fill: #241806; stroke: rgba(229,154,18,.6); }
.net__cut text { fill: #ffc65a; font: 500 14px var(--font); }
.net.is-offline .net__cut { opacity: 1; }

.net__term-body { fill: url(#termBody); stroke: #3a3a3c; stroke-width: 1; }
.net__term-screen { fill: #f2f2f4; transition: fill .25s; }
.net__term-screen.is-flash { fill: #ffd9dd; }
.net__term-key { fill: #2c2c2e; }
.net__term-amt { fill: var(--ink); font: 700 14px var(--font); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.net__term-state { fill: var(--synced); font: 600 9px var(--font); }
.net__term-state.is-stored { fill: #b26f00; }
.net__term-dot { fill: var(--synced); transition: fill .4s; }
.net.is-offline .net__term-dot { fill: var(--queued); }
.net__term-name { fill: var(--night-text); font: 500 13px var(--font); }
.net__badge { opacity: 0; transition: opacity .3s; }
.net__badge.is-on { opacity: 1; }
.net__badge rect { fill: var(--queued); }
.net__badge text { fill: #1d1d1f; font: 600 13px var(--font); }

.packet { fill: #6fdc9b; }
.packet--late { fill: #ffc65a; }

.flow__steps {
  position: relative; width: min(640px, 100%);
  text-align: center; font-size: var(--t-lede); line-height: 1.45; color: var(--night-text);
  display: grid;
}
.flow__step strong { color: var(--white); font-weight: 600; }
.flow__step + .flow__step { margin-top: 12px; }
.js .flow__step {
  grid-area: 1 / 1; margin: 0;
  opacity: 0; transform: translateY(12px);
  transition: opacity .5s, transform .5s;
}
.js .flow__step.is-active { opacity: 1; transform: none; }

/* ---------- Simulator ---------- */

.sim {
  margin: 56px auto 0; max-width: 920px;
  background: var(--night-2);
  border: 1px solid var(--night-line);
  border-radius: 28px;
  overflow: hidden;
}
.sim__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 18px 24px; border-bottom: 1px solid var(--night-line);
}
.sim__status { display: flex; align-items: center; gap: 10px; font-size: var(--t-small); color: var(--white); }

.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--synced); flex: none; transition: background .3s; }
.dot--off { background: var(--queued); }
.dot--live { animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }

.switch { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-size: var(--t-small); color: var(--night-text); }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__track {
  width: 51px; height: 31px; border-radius: 16px; background: #39393d; position: relative;
  transition: background .25s;
}
.switch__thumb {
  position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.3); transition: transform .25s cubic-bezier(.3,.7,.4,1);
}
.switch input:checked + .switch__track { background: var(--synced); }
.switch input:checked + .switch__track .switch__thumb { transform: translateX(20px); }
.switch input:focus-visible + .switch__track { outline: 3px solid var(--band); outline-offset: 3px; }

.sim__grid { display: grid; grid-template-columns: 1.4fr 1fr; }
.sim__col { padding: 24px; }
.sim__col--totals { border-left: 1px solid var(--night-line); display: flex; flex-direction: column; gap: 22px; }
.sim__head { font-size: var(--t-small); font-weight: 500; color: var(--night-text); margin-bottom: 14px; }

.feed { display: flex; flex-direction: column; gap: 8px; height: 288px; overflow: hidden; }
.feed li {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px;
  padding: 10px 14px; border-radius: 12px; background: var(--night-3);
  font-size: var(--t-small);
  animation: feed-in .35s ease both;
}
.feed__what { color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed__amt { font-family: var(--mono); color: var(--white); }
.feed__state { font-size: 12px; padding: 3px 9px; border-radius: 980px; white-space: nowrap; }
.feed__state--synced { color: #6fdc9b; background: rgba(31,157,85,.16); }
.feed__state--queued { color: #ffc65a; background: rgba(229,154,18,.16); }
@keyframes feed-in { from { opacity: 0; transform: translateY(-6px); } }

.total { display: flex; flex-direction: column; gap: 2px; }
.total__label { font-size: var(--t-small); color: var(--night-text); }
.total__value { font-size: 2.25rem; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.total--queue .total__value { color: var(--white); transition: color .3s; }
.total--queue.is-waiting .total__value { color: var(--queued); }

/* ---------- Security ---------- */

.wrap--split { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.split__lead { position: sticky; top: 96px; }

.rings { margin-top: 36px; width: min(300px, 100%); }
.rings svg { display: block; width: 100%; height: auto; overflow: visible; }
.ring { fill: none; stroke: #d2d2d7; stroke-width: 2; stroke-dasharray: 1 7; stroke-linecap: round; }
.ring__on {
  fill: none; stroke: var(--band); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 100; stroke-dashoffset: 100;
  transform: rotate(-90deg); transform-box: fill-box; transform-origin: center;
  transition: stroke-dashoffset 1.1s cubic-bezier(.3,.7,.4,1);
}
.ring__on.is-on { stroke-dashoffset: 0; }
.rings__core { fill: var(--white); stroke: rgba(0,0,0,.08); stroke-width: 1.5; }
.rings__caption { margin-top: 18px; font-size: var(--t-small); color: var(--ink-2); text-align: center; min-height: 1.5em; }

.specs { display: flex; flex-direction: column; }
.spec {
  position: relative; padding: 22px 0; border-top: 1px solid rgba(0,0,0,.1);
  cursor: pointer; transition: opacity .45s;
}
.spec:focus-visible { outline-offset: 6px; }
.spec__bar {
  position: absolute; left: 0; top: -1px; height: 2px; width: 100%;
  background: var(--band); transform-origin: left; transform: scaleX(0);
}
.spec.is-active .spec__bar { animation: spec-progress var(--spec-time, 4.5s) linear forwards; }
.specs.is-paused .spec__bar { animation-play-state: paused; }
@keyframes spec-progress { to { transform: scaleX(1); } }
.rings__spin { transform-box: view-box; transform-origin: center; animation: rings-turn 80s linear infinite; }
@keyframes rings-turn { to { transform: rotate(360deg); } }
.spec:last-child { border-bottom: 1px solid rgba(0,0,0,.1); }
.spec dt { font-size: var(--t-h3); font-weight: 600; letter-spacing: -0.02em; }
.spec dd { margin-top: 8px; color: var(--ink-2); max-width: 36em; }
.js .spec { opacity: .42; }
.js .spec.is-active, .js .spec:hover { opacity: 1; }

/* ---------- Dashboard ---------- */

.dash-stage { perspective: 1800px; margin-top: 64px; }
.dash {
  margin: 0 auto; max-width: 960px;
  background: var(--white); border-radius: 28px;
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 30px 80px -40px rgba(0,0,0,.25);
  padding: clamp(20px, 3vw, 36px);
  transform-origin: 50% 0%;
}
.dash__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.dash__label { display: block; font-size: var(--t-small); color: var(--ink-2); }
.dash__big {
  display: block; font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 650; letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums; line-height: 1.1;
}
.live {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 980px;
  background: #eaf7ef; color: var(--synced); font-size: var(--t-small); font-weight: 500;
}
.dash__body { display: grid; grid-template-columns: 1.5fr 1fr; gap: 36px; margin-top: 32px; }

.vendors { display: flex; flex-direction: column; gap: 16px; }
.vendor { display: grid; grid-template-columns: 9.5em 1fr 6.5em; align-items: center; gap: 14px; font-size: var(--t-small); }
.vendor__name { color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vendor__bar { height: 10px; border-radius: 5px; background: var(--mist); overflow: hidden; }
.vendor__fill { display: block; width: 0; height: 100%; border-radius: 5px; background: var(--ink); transition: width .8s cubic-bezier(.3,.7,.4,1); }
.vendor:first-child .vendor__fill { background: var(--band); }
.vendor__amt { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-2); }

.ticker { display: flex; flex-direction: column; gap: 6px; height: 214px; overflow: hidden; border-left: 1px solid rgba(0,0,0,.08); padding-left: 24px; }
.ticker li {
  display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--ink-2);
  padding: 6px 0; border-bottom: 1px solid rgba(0,0,0,.05);
  animation: feed-in .35s ease both;
}
.ticker b { font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }

.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 72px; }
.pillars h3 { font-size: var(--t-h3); font-weight: 600; letter-spacing: -0.02em; }
.pillars p { margin-top: 8px; color: var(--ink-2); font-size: 1rem; }

/* ---------- Payments ---------- */

/* the cards slide in from the sides; keep that inside the section */
#payments { overflow-x: clip; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 64px; }
.duo__item { background: var(--mist); border-radius: 28px; padding: 0 clamp(24px, 3.5vw, 44px) clamp(28px, 3.5vw, 44px); overflow: hidden; }
.duo__item h3 { font-size: 1.75rem; font-weight: 650; letter-spacing: -0.03em; }
.duo__item p { margin-top: 10px; color: var(--ink-2); max-width: 30em; }
.duo__art { height: 260px; display: grid; place-items: center; perspective: 900px; }

.pay-band {
  width: 270px; height: auto; transform: rotate(-8deg);
  filter: drop-shadow(0 22px 20px rgba(92, 10, 24, .22));
}
.mini-card {
  width: 230px; height: 146px; border-radius: 16px;
  background: linear-gradient(135deg, #2c2c2e, #000);
  transform: rotate(-8deg);
  box-shadow: 0 30px 40px -24px rgba(0,0,0,.6);
  position: relative;
}
.mini-card span {
  position: absolute; left: 22px; top: 48px; width: 38px; height: 28px; border-radius: 6px;
  background: linear-gradient(135deg, #e6c87a, #b8954a);
}
.mini-card::after {
  content: ""; position: absolute; right: 22px; top: 22px; width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.6); border-left-color: transparent; border-bottom-color: transparent;
  transform: rotate(45deg);
}

/* ---------- Platform ---------- */

.platform { background: var(--night); color: var(--white); overflow: hidden; }
.platform .lede { color: var(--night-text); }
.platform__pin { padding: var(--section) 0; }
.track {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  max-width: var(--wrap); margin: 64px auto 0; padding: 0 var(--gutter);
}

.panel { flex: 0 0 380px; }

.panel {
  background: var(--night-2);
  border: 1px solid var(--night-line);
  border-radius: 28px;
  padding: 24px 24px 30px;
}
.panel h3 { font-size: 1.5rem; font-weight: 650; letter-spacing: -0.03em; }
.panel p { margin-top: 8px; color: var(--night-text); }
.panel__ui {
  height: 220px; margin-bottom: 26px;
  background: var(--night-3); border-radius: 18px;
  padding: 20px;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px;
  overflow: hidden;
}

.chip {
  display: inline-flex; padding: 4px 11px; border-radius: 980px;
  font-size: 12.5px; color: var(--night-text); background: rgba(255,255,255,.08); white-space: nowrap;
}
.chip--ok { color: #6fdc9b; background: rgba(31,157,85,.16); }
.chip--warn { color: #ffc65a; background: rgba(229,154,18,.16); }
.chip--band { color: #ff8f9c; background: rgba(163, 23, 47,.2); }

.ticket { display: flex; width: 100%; background: var(--white); color: var(--ink); border-radius: 14px; overflow: hidden; }
.ticket__main { flex: 1; min-width: 0; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; border-right: 2px dashed #d2d2d7; }
.ticket__event { font-size: 12px; color: var(--band); font-weight: 600; }
.ticket__type { font-size: 1.0625rem; font-weight: 650; letter-spacing: -0.02em; }
.ticket__meta { font-size: 12px; color: var(--ink-2); }
.ticket__stub { flex: 0 0 64px; display: grid; place-items: center; background: var(--mist); }
.ticket__mark { width: 28px; height: 28px; }

.staff { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.staff li { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px; font-size: var(--t-small); }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: #3a3a3c; display: grid; place-items: center; font-size: 11px; font-weight: 600; }
.pin { display: flex; gap: 10px; align-self: center; }
.pin i { width: 12px; height: 12px; border-radius: 50%; background: var(--white); }

.menu { width: 100%; display: flex; flex-direction: column; }
.menu li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--night-line); font-size: var(--t-small); }
.menu__price { color: #ff8f9c; font-weight: 600; }

.topup__amount { font-size: 2.5rem; font-weight: 650; letter-spacing: -0.04em; }
.tips__label { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; }
.topup__opts { display: flex; gap: 8px; }
.topup__opts span { padding: 8px 14px; border-radius: 12px; background: rgba(255,255,255,.08); font-size: var(--t-small); }
.topup__opts .is-on { background: var(--band); }

.fleet { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; width: 100%; }
.fleet i { aspect-ratio: 3 / 5; border-radius: 7px; background: #3a3a3c; position: relative; }
.fleet i::after { content: ""; position: absolute; left: 4px; right: 4px; top: 5px; height: 45%; border-radius: 3px; background: #6fdc9b; opacity: .85; }
.fleet i.is-off::after { background: var(--queued); }

/* ---------- API ---------- */

.wrap--api { align-items: center; }
.wrap--api .split__lead { position: static; }
.checks { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before {
  content: ""; position: absolute; left: 2px; top: 5px; width: 6px; height: 11px;
  border: solid var(--band); border-width: 0 2px 2px 0; transform: rotate(45deg);
}

.api-visual { position: relative; padding-bottom: 120px; min-width: 0; }
.code { background: var(--night-2); color: #e5e5ea; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,.5); margin-right: 60px; }
.code__bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--night-line); }
.code__bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a3a3c; }
.code__bar span { margin-left: 10px; font-family: var(--mono); font-size: 12px; color: var(--night-text); }
.code pre { margin: 0; padding: 22px 24px 26px; overflow-x: auto; font-family: var(--mono); font-size: 13px; line-height: 1.7; min-height: 360px; }
.code .c { color: #7c7c82; }
.code .k { color: #ff7f8e; }
.code .s { color: #ffb86b; }
.code .f { color: #6bdfff; }
.code .n { color: #d9c97c; }
.code__line { display: block; min-height: 1.7em; }
.code__caret {
  display: inline-block; width: 8px; height: 1.15em; margin-left: 2px; vertical-align: text-bottom;
  background: var(--band); animation: blink 1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.phone {
  --brand: #ff6a13;
  position: absolute; right: 0; bottom: 0;
  width: 210px; height: 420px; padding: 9px;
  border-radius: 40px; background: #000;
  box-shadow: inset 0 0 0 2px #3a3a3c, 0 40px 60px -30px rgba(0,0,0,.55);
}
.phone__screen {
  height: 100%; border-radius: 32px; background: var(--white);
  padding: 34px 18px 18px;
  display: flex; flex-direction: column; gap: 6px;
}
.phone__head { display: flex; align-items: center; gap: 8px; margin-bottom: 26px; }
.phone__logo { width: 26px; height: 26px; border-radius: 8px; background: var(--brand); transition: background .6s; }
.phone__name { font-weight: 650; font-size: 15px; letter-spacing: -0.02em; }
.phone__label { font-size: 12px; color: var(--ink-2); }
.phone__balance { font-size: 2.25rem; font-weight: 650; letter-spacing: -0.04em; line-height: 1.1; }
.phone__opts { display: flex; gap: 6px; margin-top: 18px; }
.phone__opts span { flex: 1; text-align: center; padding: 8px 0; border-radius: 10px; background: var(--mist); font-size: 13px; transition: background .6s, color .6s; }
.phone__opts .is-on { background: var(--brand); color: #fff; }
.phone__btn {
  margin-top: auto; text-align: center; padding: 12px; border-radius: 14px;
  background: var(--brand); color: #fff; font-weight: 600; font-size: 14px; transition: background .6s;
}

/* ---------- Group + CTA + footer ---------- */

.cta { position: relative; overflow: hidden; padding: var(--section) 0 0; background: var(--mist); }

.group .lede a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(0,0,0,.25); text-underline-offset: 3px; }
.group .lede a:hover { text-decoration-color: var(--band); }

.group__stats {
  display: flex; justify-content: center; gap: clamp(32px, 7vw, 96px);
  margin-top: 56px; text-align: center;
}
.group__stats div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.group__stats dd {
  font-size: clamp(2.5rem, 5vw, 3.75rem); font-weight: 650; letter-spacing: -0.04em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.group__stats dt { margin-top: 8px; font-size: var(--t-small); color: var(--ink-2); }

/* family tree: NAN Group branching to its companies */
.tree { margin-top: 72px; display: flex; flex-direction: column; align-items: center; }
.tree__root {
  position: relative; padding: 8px 18px; border-radius: 980px;
  background: var(--ink); color: var(--white); font-size: var(--t-small); font-weight: 600;
}
.tree__root::after {
  content: ""; position: absolute; left: 50%; top: 100%; width: 1.5px; height: 28px; background: #c7c7cc;
}
.tree__brands {
  position: relative; width: 100%; margin-top: 28px; padding-top: 28px;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
}
.tree__brands::before {
  content: ""; position: absolute; top: 0; left: 10%; right: 10%; height: 1.5px; background: #c7c7cc;
}
.tree__brands li { position: relative; display: flex; }
.tree__brands li::before {
  content: ""; position: absolute; left: 50%; top: -28px; width: 1.5px; height: 28px; background: #c7c7cc;
}
.tree__brands a, .tree__brands li > div {
  flex: 1; display: flex; flex-direction: column; gap: 4px;
  padding: 18px 16px; border-radius: 18px; background: var(--white);
  text-decoration: none; text-align: center;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
  transition: box-shadow .2s, transform .2s;
}
.tree__brands a:hover { box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); transform: translateY(-2px); }
.tree__brands b { font-size: 1rem; font-weight: 650; letter-spacing: -0.02em; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.tree__brands li span { font-size: 13px; color: var(--ink-2); line-height: 1.35; }
.tree__brands .is-us > div { box-shadow: inset 0 0 0 2px var(--band); }
.tree__brands .is-us::before { background: var(--band); }

.cta__block { position: relative; margin-top: clamp(80px, 10vw, 128px); padding: clamp(80px, 11vw, 140px) 0 calc(var(--section) * 1.1); }
.cta__inner { position: relative; z-index: 1; }
.cta__rings { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.cta__rings i {
  grid-area: 1 / 1; border-radius: 50%;
  border: 1.5px solid rgba(163, 23, 47, .22);
}
.cta__rings i:nth-child(1) { width: 34vmax; height: 34vmax; }
.cta__rings i:nth-child(2) { width: 58vmax; height: 58vmax; border-color: rgba(163, 23, 47, .14); }
.cta__rings i:nth-child(3) { width: 84vmax; height: 84vmax; border-color: rgba(163, 23, 47, .08); }
.hero__ctas--center { margin-top: 40px; }

.footer { border-top: 1px solid rgba(0,0,0,.08); background: var(--mist); }
.footer__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 28px var(--gutter);
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap; font-size: var(--t-small); color: var(--ink-2);
}
.footer nav { display: flex; gap: 22px; }
.footer nav a { text-decoration: none; }
.footer nav a:hover { color: var(--ink); }
.footer small { margin-left: auto; font-size: 12px; }
.footer small a { color: inherit; }

/* ---------- Book a demo dialog ---------- */

.demo {
  width: min(680px, calc(100% - 32px)); max-height: calc(100dvh - 48px);
  padding: 0; border: 0; border-radius: 28px;
  background: var(--white); color: var(--ink);
  box-shadow: 0 40px 120px -30px rgba(0,0,0,.45);
  overflow: auto; overscroll-behavior: contain;
}
.demo[open] { animation: demo-in .35s cubic-bezier(.3,.7,.4,1); }
.demo::backdrop { background: rgba(0,0,0,.42); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
@keyframes demo-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }

.demo__form, .demo__done { padding: clamp(22px, 3.4vw, 34px); }
.demo__title { font-size: 2rem; font-weight: 650; letter-spacing: -0.035em; line-height: 1.1; }
.demo__intro { margin-top: 8px; color: var(--ink-2); }

.demo__close {
  position: sticky; top: 16px; float: right; margin: 16px 16px -56px 0; z-index: 2;
  width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: var(--mist); cursor: pointer;
}
.demo__close::before, .demo__close::after {
  content: ""; position: absolute; left: 11px; top: 17px; width: 14px; height: 2px; border-radius: 1px; background: var(--ink);
  transform: rotate(45deg);
}
.demo__close::after { transform: rotate(-45deg); }
.demo__close:hover { background: #e8e8ed; }

.demo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; margin-top: 22px; }
.field { display: flex; flex-direction: column; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: var(--t-small); font-weight: 500; margin-bottom: 6px; }
.field__opt { color: var(--ink-2); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 10px 14px; border-radius: 12px;
  border: 1px solid #d2d2d7; background: var(--white);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 72px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--band); box-shadow: 0 0 0 3px rgba(163, 23, 47, .18);
}
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #d70015; }
.field__error { min-height: 1.1em; margin: 2px 0 6px; font-size: 12.5px; line-height: 1.3; color: #d70015; }

.demo__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.demo__captcha { margin-top: 12px; min-height: 65px; }

.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 8px; font-size: var(--t-small); color: var(--ink-2); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--band); flex: none; }

.demo__alert { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: #fff0f1; color: #b0000f; font-size: var(--t-small); }
.demo__actions { margin-top: 20px; display: flex; justify-content: flex-end; }
.demo__actions .btn { border: 0; cursor: pointer; font-family: inherit; }
.demo__actions .btn[disabled] { opacity: .6; cursor: progress; }

.demo__done { text-align: center; padding-top: clamp(48px, 7vw, 64px); }
.demo__done .btn { margin-top: 28px; border: 0; cursor: pointer; font-family: inherit; }
.demo__check {
  display: block; width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: var(--synced); position: relative;
}
.demo__check::after {
  content: ""; position: absolute; left: 23px; top: 15px; width: 15px; height: 27px;
  border: solid #fff; border-width: 0 4px 4px 0; transform: rotate(45deg);
}

html.has-dialog { overflow: hidden; }

@media (max-width: 700px) {
  .demo { width: 100%; max-width: none; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; }
  .demo__grid { grid-template-columns: 1fr; }
  .demo__actions .btn { width: 100%; }
}

/* ---------- Access control ---------- */

.access__stage {
  position: relative; height: 440px; margin: 64px auto 0; max-width: 960px;
  background: var(--white); border-radius: 28px;
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 30px 80px -40px rgba(0,0,0,.22);
  overflow: hidden;
}
.scene {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; gap: 28px;
  opacity: 0; visibility: hidden; transition: opacity .5s, visibility 0s .5s;
}
.scene.is-active { opacity: 1; visibility: visible; transition: opacity .5s; }

.scene__link {
  width: 96px; height: 4px; border-radius: 2px; flex: none;
  background: repeating-linear-gradient(90deg, var(--band) 0 8px, transparent 8px 16px);
  background-size: 32px 4px; opacity: .55;
}
.scene.is-active .scene__link { animation: link-flow .8s linear infinite; }
@keyframes link-flow { to { background-position: 32px 0; } }

/* check-in */
.idcard {
  position: relative; width: 320px; height: 204px; flex: none;
  border-radius: 16px; overflow: hidden;
  background: linear-gradient(135deg, #f4f7fb, #e6edf6);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06), 0 18px 40px -20px rgba(0,0,0,.35);
  transform: rotate(-4deg);
}
.idcard__head { display: block; padding: 10px 16px; font-size: 12px; font-weight: 600; color: #4a5a72; background: rgba(74, 90, 114, .1); }
.idcard__body { display: flex; gap: 16px; padding: 16px; }
.idcard__photo { width: 96px; height: 120px; border-radius: 8px; flex: none; }
.idcard__lines { flex: 1; display: flex; flex-direction: column; gap: 12px; padding-top: 6px; }
.idcard__lines i { height: 8px; border-radius: 4px; background: #c9d3e1; }
.idcard__lines i.is-short { width: 60%; }
.idcard__beam {
  position: absolute; top: 0; bottom: 0; left: -40px; width: 40px;
  background: linear-gradient(90deg, transparent, rgba(163, 23, 47, .35), transparent);
  border-right: 2px solid var(--band);
}
.scene--checkin.is-active .idcard__beam { animation: beam .8s cubic-bezier(.5,0,.5,1) .15s both; }
@keyframes beam { from { left: -40px; } to { left: 100%; } }

.profile {
  width: 250px; flex: none; padding: 24px 20px; border-radius: 22px;
  background: var(--white); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
  display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center;
}
.profile__photo { width: 96px; height: 96px; border-radius: 50%; margin-bottom: 10px; }
.profile b { font-size: 1.125rem; letter-spacing: -0.02em; }
.profile > span { font-size: var(--t-small); color: var(--ink-2); }
.profile .tag { margin-top: 12px; }
.scene--checkin.is-active .profile__photo { animation: pop .4s cubic-bezier(.3,1.4,.5,1) .85s both; }
.scene--checkin.is-active .profile b,
.scene--checkin.is-active .profile > span:not(.tag) { animation: rise .3s ease 1s both; }
.scene--checkin.is-active .profile .tag { animation: rise .3s ease 1.2s both; }

.tag { display: inline-flex; padding: 5px 11px; border-radius: 980px; font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.tag--ok { color: #137a40; background: #e6f6ec; }

@keyframes pop { from { opacity: 0; transform: scale(.6); } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

/* gate */
.visitor {
  margin: 0; width: 230px; flex: none; padding: 14px 14px 18px; border-radius: 24px;
  background: var(--white); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  transition: box-shadow .3s;
}
.visitor__photo { width: 200px; height: 200px; border-radius: 16px; }
.visitor figcaption { font-size: var(--t-small); font-weight: 600; }
.visitor__band {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 980px;
  background: rgba(163, 23, 47, .1); color: var(--band-deep); font-size: 12.5px; font-weight: 500;
}
.scene--gate.is-active .visitor__band { animation: band-ping .3s ease .2s 2 alternate; }
@keyframes band-ping { to { background: rgba(163, 23, 47, .28); } }

.gate {
  position: relative; width: 220px; height: 360px; flex: none; border-radius: 34px;
  background: linear-gradient(160deg, #3a3a3d 0%, #1c1c1e 55%, #0d0d0e 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 30px 50px -28px rgba(0,0,0,.5);
}
.gate__screen {
  position: absolute; top: 18px; left: 14px; right: 14px; height: 250px; border-radius: 20px;
  background: #f7f7f9; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; padding-top: 22px; gap: 2px; text-align: center;
}
.gate__photo { width: 84px; height: 84px; border-radius: 50%; margin-bottom: 8px; }
.gate__screen b { font-size: 15px; letter-spacing: -0.01em; }
.gate__screen > span:not(.verdict) { font-size: 12.5px; color: var(--ink-2); }
.gate__keys { position: absolute; left: 0; right: 0; bottom: 26px; display: flex; justify-content: center; gap: 12px; }
.gate__keys i { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(160deg, #2c2c2e, #19191a); }
.gate__ripple {
  position: absolute; z-index: 2; left: 50%; top: 40%; width: 20px; height: 20px; margin: -10px 0 0 -10px;
  border-radius: 50%; border: 2px solid var(--band); opacity: 0; pointer-events: none;
}
.verdict {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  padding: 9px 10px; border-radius: 12px; font-size: 12.5px; font-weight: 600; line-height: 1.3;
}
.verdict--ok { background: var(--synced); color: #fff; }
.verdict--bad { background: #d70015; color: #fff; }

.scene--gate.is-active .gate__ripple { animation: gate-ripple .8s ease-out .35s both; }
@keyframes gate-ripple { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(12); } }
.scene--gate.is-active .gate__photo { animation: pop .35s cubic-bezier(.3,1.4,.5,1) .55s both; }
.scene--gate.is-active .gate__screen b,
.scene--gate.is-active .gate__screen > span:not(.verdict) { animation: rise .3s ease .7s both; }
.scene--gate.is-active .verdict { animation: verdict-in .4s cubic-bezier(.3,1.3,.5,1) 1.15s both; }
@keyframes verdict-in { from { opacity: 0; transform: translateY(20px); } }
.scene--fraud.is-active .visitor { animation: flag-visitor .3s ease 1.25s both; }
@keyframes flag-visitor { to { box-shadow: inset 0 0 0 3px #d70015; } }
.scene--fraud.is-active .gate { animation: shake .4s ease 1.25s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.scene--valid.is-active .visitor { animation: ok-visitor .3s ease 1.25s both; }
@keyframes ok-visitor { to { box-shadow: inset 0 0 0 3px var(--synced); } }

/* steps under the stage */
.access__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 960px; margin: 32px auto 0; counter-reset: astep; }
.astep { position: relative; padding-top: 18px; cursor: pointer; opacity: .45; transition: opacity .4s; }
.astep:hover, .astep.is-active { opacity: 1; }
.astep::before {
  counter-increment: astep; content: counter(astep);
  display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 10px; border-radius: 50%;
  background: var(--ink); color: var(--white); font-size: 12px; font-weight: 600; vertical-align: 1px;
}
.astep b { font-size: 1.125rem; letter-spacing: -0.02em; }
.astep > span:not(.astep__bar) { display: block; margin-top: 8px; color: var(--ink-2); font-size: 1rem; }
.astep::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 2px; background: rgba(0,0,0,.08); }
.astep__bar {
  position: absolute; z-index: 1; left: 0; top: 0; height: 3px; width: 100%; border-radius: 2px;
  background: var(--band); transform-origin: left; transform: scaleX(0);
}
.astep.is-active .astep__bar { animation: spec-progress 3s linear forwards; }
/* live zone counts */
.zones { width: min(640px, 100% - 48px); display: flex; flex-direction: column; gap: 16px; }
.zones__map { width: 100%; height: auto; display: block; overflow: visible; }
.zone rect { fill: rgba(163, 23, 47, var(--fill, .06)); stroke: rgba(0,0,0,.08); stroke-width: 1.5; transition: fill .3s, stroke .3s; }
.zone__name { font: 600 17px var(--font); fill: var(--ink); letter-spacing: -0.02em; }
.zone__count { font: 500 15px var(--font); fill: var(--ink-2); font-variant-numeric: tabular-nums; }
.zone.is-full rect { fill: #ffe3e6; stroke: #d70015; stroke-width: 2.5; }
.zone.is-full .zone__count { fill: #d70015; font-weight: 600; }
.zones__gate circle { fill: var(--ink); }
.zones__ping { fill: none !important; stroke: var(--band); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.scene--zones.is-active .zones__ping { animation: zone-ping 1.4s ease-out var(--d, 0s) infinite; }
@keyframes zone-ping { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(3.2); } }
.zones__alert {
  align-self: center; padding: 10px 16px; border-radius: 12px;
  background: #d70015; color: #fff; font-size: var(--t-small); font-weight: 600; text-align: center;
  opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .35s cubic-bezier(.3,1.3,.5,1);
}
.zones.is-full .zones__alert { opacity: 1; transform: none; }
.access.is-paused .astep__bar,
.access.is-paused .scene * { animation-play-state: paused; }

/* ---------- Responsive ---------- */

/* small laptops: the full menu, the switcher and the button just fit */
@media (min-width: 901px) and (max-width: 1100px) {
  .nav__inner { gap: 18px; }
  .nav__links { gap: 16px; font-size: 13px; }
  .brand__name small { display: none; }
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .terms__grid { grid-template-columns: 1fr; }
  .nav .lang { margin-left: auto; }
  .facts__list { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .wrap--split { grid-template-columns: 1fr; }
  .split__lead { position: static; }
  .rings { width: 220px; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .track { grid-template-columns: repeat(2, 1fr); }
  .tree__brands { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .access__steps { grid-template-columns: repeat(2, 1fr); }
  .tree__brands::before { left: 16%; right: 16%; }
  .tree__brands li:nth-child(n+4)::before { display: none; }
  .dash__body { grid-template-columns: 1fr; }
  .ticker { border-left: 0; padding-left: 0; height: 170px; }
}

@media (max-width: 700px) {
  .hero__title { font-size: min(11vw, 3.25rem); }
  /* the Romanian title lines are longer; keep each on one row */
  html[lang="ro"] .hero__title { font-size: min(8vw, 3.25rem); }
  .nav__inner { gap: 12px; }
  /* on phones the switcher only offers the other language */
  .lang__opt.is-current { display: none; }
  .brand { gap: 9px; }
  .nav .brand__logo { height: 28px; }
  .brand__divider { height: 24px; }
  .brand__name { font-size: 15px; }
  .brand__name small { font-size: 9.5px; }
  .tcard__art--dual { height: 350px; }
  .dual3d { zoom: .6; }
  .t2 { top: 300px; }
  .t2__shadow { top: 448px; }
  .dual3d__caption { top: 520px; }
  .tcard__text { padding: 22px 22px 28px; }
  .access__stage { height: 600px; }
  .zone__name { font-size: 24px; }
  .zone__count { font-size: 21px; }
  .scene { flex-direction: column; gap: 18px; }
  .scene__link { display: none; }
  .idcard { transform: rotate(-3deg) scale(.88); }
  .visitor { display: grid; grid-template-columns: 84px auto; column-gap: 14px; row-gap: 6px; width: auto; padding: 10px 16px 10px 10px; justify-items: start; }
  .visitor__photo { width: 84px; height: 84px; grid-row: span 2; }
  .gate { height: 320px; }
  .gate__screen { height: 220px; }
  .access__steps { grid-template-columns: 1fr; gap: 18px; }
  .group__stats { gap: 24px; }
  .tree__brands { grid-template-columns: 1fr 1fr; row-gap: 12px; padding-top: 0; margin-top: 20px; }
  .tree__brands::before, .tree__brands li::before, .tree__root::after { display: none; }
  .tree__brands .is-us { grid-column: 1 / -1; order: -1; }
  .track { grid-template-columns: 1fr; }
  .stage { zoom: .52; margin-top: 24px; }
  .net { max-height: 44vh; }
  .net__hub-label { font-size: 18px; }
  .sim__grid { grid-template-columns: 1fr; }
  .sim__col--totals { border-left: 0; border-top: 1px solid var(--night-line); flex-direction: row; flex-wrap: wrap; gap: 18px 28px; }
  .total__value { font-size: 1.75rem; }
  .feed { height: 240px; }
  .duo { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .vendor { grid-template-columns: 7.5em 1fr 5.5em; }
  .code { margin-right: 0; }
  .code pre { font-size: 11.5px; min-height: 0; }
  .api-visual { padding-bottom: 0; }
  .phone { position: relative; margin: -60px 16px 0 auto; }
  .footer small { margin-left: 0; }
}

@media (max-width: 400px) {
  .brand__name small { display: none; }
  .stage { zoom: .47; }
}

@media (prefers-reduced-motion: reduce) {
  .dot--live, .code__caret { animation: none; }
}
