/* ==========================================================================
   Sway Tech — minimal black & white
   ========================================================================== */
:root {
  --black: #0a0a0a;
  --ink: #111111;
  --white: #f5f5f2;
  --pure: #ffffff;
  --muted: rgba(245, 245, 242, 0.55);
  --muted-dark: rgba(10, 10, 10, 0.55);
  --line: rgba(245, 245, 242, 0.14);
  --line-dark: rgba(10, 10, 10, 0.14);
  --gutter: clamp(16px, 4vw, 64px);
  --ease: cubic-bezier(0.76, 0, 0.24, 1);
  --f-brand: "Syne", "Unbounded", sans-serif; /* Syne has no Cyrillic: Russian letters use Unbounded */
  --f-body: "Inter", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
::selection { background: var(--white); color: var(--black); }

.brand { font-family: var(--f-brand); font-weight: 800; letter-spacing: -0.02em; }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.mask { display: inline-block; overflow: hidden; vertical-align: top; }

@media (hover: hover) and (pointer: fine) {
  body, a, button { cursor: none; }
}

/* ========== LOADER ========== */
.loader { position: fixed; inset: 0; z-index: 1000; pointer-events: none; }
.loader__cols { position: absolute; inset: 0; display: flex; }
.loader__cols span { flex: 1; background: var(--black); margin-right: -1px; }
.loader__inner {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  justify-content: center; align-items: center; padding: var(--gutter);
}
.loader__logo { display: flex; align-items: baseline; gap: 0.25em; font-family: var(--f-brand); font-weight: 800; }
.loader__word { display: inline-block; font-size: clamp(64px, 14vw, 200px); line-height: 1; letter-spacing: -0.03em; }
.loader__tech { display: inline-block; font-size: clamp(18px, 3vw, 40px); }
.loader__bar { width: min(420px, 70vw); height: 1px; background: var(--line); margin-top: 32px; overflow: hidden; }
.loader__bar i { display: block; height: 100%; background: var(--white); transform: scaleX(0); transform-origin: left; }
.loader__foot {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: var(--gutter);
  display: flex; justify-content: space-between; align-items: flex-end;
}
.loader__msg { color: var(--muted); }
.loader__count { font-family: var(--f-brand); font-weight: 800; font-size: clamp(48px, 9vw, 140px); line-height: 0.8; }
.loader__count b { font-weight: 800; }

/* ========== CURSOR ========== */
.cursor, .cursor-dot {
  position: fixed; top: 0; left: 0; z-index: 900; pointer-events: none;
  border-radius: 50%; mix-blend-mode: difference;
}
.cursor {
  width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border: 1px solid var(--pure);
  display: grid; place-items: center;
  transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background-color .3s, border-color .3s;
}
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--pure); }
.cursor__label {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--black); opacity: 0; transform: scale(.6); transition: opacity .3s, transform .4s var(--ease);
}
.cursor.has-label {
  width: 96px; height: 96px; margin: -48px 0 0 -48px;
  background: var(--pure); mix-blend-mode: normal; border-color: transparent;
  box-shadow: 0 0 0 1px rgba(0,0,0,.12);
}
.cursor.has-label .cursor__label { opacity: 1; transform: scale(1); }
.cursor.is-hidden { width: 0; height: 0; margin: 0; border-color: transparent; }
.cursor.is-big { width: 80px; height: 80px; margin: -40px 0 0 -40px; background: var(--pure); }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-dot, .float-img { display: none !important; } }

/* ========== NAV ========== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter);
  mix-blend-mode: difference; color: var(--pure);
}
.nav__logo { font-size: 22px; display: flex; align-items: baseline; gap: 6px; }
.nav__logo span { font-size: 11px; font-family: var(--f-mono); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.nav__links { display: flex; gap: 36px; font-size: 14px; }

.roll { position: relative; display: inline-block; overflow: hidden; vertical-align: top; }
.roll span { display: inline-block; transition: transform .55s var(--ease); }
.roll::after {
  content: attr(data-text); position: absolute; left: 0; top: 0;
  transform: translateY(105%); transition: transform .55s var(--ease);
}
.roll:hover span { transform: translateY(-105%); }
.roll:hover::after { transform: translateY(0); }

.btn-pill {
  position: relative; display: inline-flex; align-items: center; overflow: hidden;
  padding: 12px 22px; border: 1px solid currentColor; border-radius: 100px; font-size: 14px;
}
.btn-pill__fill {
  position: absolute; inset: 0; background: var(--pure); border-radius: inherit;
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn-pill__txt { position: relative; transition: color .5s var(--ease); }
.btn-pill:hover .btn-pill__fill { transform: translateY(0); }
.btn-pill:hover .btn-pill__txt { color: var(--black); }

.nav__right { display: flex; align-items: center; gap: 22px; }
.sound { display: inline-flex; align-items: center; gap: 10px; height: 40px; }
.sound__bars { display: flex; align-items: center; gap: 2px; height: 16px; }
.sound__bars i { width: 2px; height: 100%; background: currentColor; transform: scaleY(.35); transform-origin: 50% 50%; border-radius: 2px; }
.sound.is-on .sound__bars i { animation: eq 1.1s ease-in-out infinite alternate; }
.sound.is-on .sound__bars i:nth-child(2) { animation-delay: -.4s; animation-duration: .9s; }
.sound.is-on .sound__bars i:nth-child(3) { animation-delay: -.7s; animation-duration: 1.3s; }
.sound.is-on .sound__bars i:nth-child(4) { animation-delay: -.2s; animation-duration: .8s; }
@keyframes eq { from { transform: scaleY(.3); } to { transform: scaleY(.85); } }
.sound__txt { font-size: 11px; opacity: .8; }
.sound:not(.is-on) .sound__txt { text-decoration: line-through; text-decoration-thickness: 1px; }
.nav__burger { display: none; width: 40px; height: 40px; position: relative; }
.nav__burger i { position: absolute; left: 8px; right: 8px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease); }
.nav__burger i:first-child { top: 15px; }
.nav__burger i:last-child { top: 24px; }
.menu-open .nav__burger i:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-open .nav__burger i:last-child { transform: translateY(-4.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 400; background: var(--black);
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: var(--gutter); clip-path: inset(0 0 100% 0); visibility: hidden;
}
.menu a { font-family: var(--f-brand); font-weight: 800; font-size: clamp(44px, 13vw, 96px); line-height: 1; }

.progress { position: fixed; top: 0; right: 0; width: 3px; height: 100vh; z-index: 450; mix-blend-mode: difference; }
.progress i { display: block; width: 100%; height: 100%; background: var(--pure); transform: scaleY(0); transform-origin: top; }

/* ========== SHARED ========== */
section { position: relative; }
.label { display: flex; align-items: center; gap: 14px; color: var(--muted); margin-bottom: 40px; }
.label::after { content: ""; flex: 0 0 60px; height: 1px; background: currentColor; order: 1; opacity: .6; }
.label span:last-child { order: 2; }
.big-title { font-size: clamp(48px, 10.5vw, 180px); line-height: .9; letter-spacing: -0.035em; }

/* ========== HERO ========== */
.hero {
  min-height: 100vh; min-height: 100svh;
  padding: 110px var(--gutter) var(--gutter);
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
}
.hero__grid { position: absolute; inset: 0; display: flex; justify-content: space-evenly; pointer-events: none; }
.hero__grid span { width: 1px; height: 100%; background: var(--line); transform-origin: top; }
.hero__meta { display: flex; justify-content: space-between; color: var(--muted); position: relative; }
.hero__title {
  position: relative; display: flex; flex-direction: column;
  font-size: clamp(64px, 20.5vw, 420px); line-height: .8; letter-spacing: -0.045em;
  margin: 4vh 0; white-space: nowrap;
}
.hero__line { display: block; will-change: transform; }
.hero__line--2 { align-self: flex-end; }
.hero__line .char { display: inline-block; will-change: transform; }
.hero__string { width: calc(100% + 2 * var(--gutter)); margin: 0 calc(-1 * var(--gutter)); height: 9vw; min-height: 50px; overflow: visible; }
.hero__hint {
  align-self: flex-end; margin-top: 6px;
  font-family: var(--f-mono); font-size: 11px; font-weight: 400; letter-spacing: .08em; line-height: 1;
  text-transform: uppercase; color: var(--muted); pointer-events: none;
}
.hero__string path { fill: none; stroke: var(--white); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.hero__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; position: relative; }
.hero__lead { font-size: clamp(16px, 1.5vw, 22px); line-height: 1.4; max-width: 460px; color: var(--muted); }
.hero__lead em { font-style: normal; color: var(--white); }
.hero__badge { position: relative; width: clamp(110px, 11vw, 160px); aspect-ratio: 1; flex: none; display: grid; place-items: center; }
.hero__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__badge text { fill: var(--white); font-family: var(--f-mono); font-size: 13.4px; letter-spacing: 2.5px; }
.hero__arrow { font-size: 28px; font-family: var(--f-brand); font-weight: 800; }

/* ========== MARQUEE ========== */
.marquee { padding: 10vw 0; overflow: hidden; }
.marquee__row { white-space: nowrap; overflow: hidden; padding: 1.4vw 0; }
.marquee__row--a { background: var(--white); color: var(--black); transform: rotate(-3deg) scale(1.08); position: relative; z-index: 2; }
.marquee__row--b { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(2deg) scale(1.08); margin-top: -1vw; }
.marquee__track { display: inline-flex; align-items: center; gap: 3vw; padding-right: 3vw; font-family: var(--f-brand); font-weight: 800; font-size: clamp(36px, 7vw, 120px); line-height: 1; letter-spacing: -0.03em; }
.marquee__track i { font-style: normal; font-size: .5em; }
.outline { color: var(--black); -webkit-text-stroke: 2.4px var(--white); paint-order: stroke fill; }

/* ========== ABOUT ========== */
.about { padding: 8vw var(--gutter) 12vw; }
.about__text {
  font-family: var(--f-brand); font-weight: 700;
  font-size: clamp(26px, 4.2vw, 72px); line-height: 1.08; letter-spacing: -0.025em;
  max-width: 18em;
}
.about__text .word { opacity: .14; }
.about__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); margin-top: 10vw; border-top: 1px solid var(--line); padding-top: 32px; }
.stat b { display: block; font-size: clamp(56px, 8vw, 140px); line-height: 1; letter-spacing: -0.04em; }
.stat span { display: block; margin-top: 12px; color: var(--muted); max-width: 220px; }

/* ========== PRODUCTS ========== */
.products { padding: 4vw 0 0; }
.products__head { padding: 0 var(--gutter) 6vw; }
.products__sub { max-width: 440px; margin-top: 32px; color: var(--muted); font-size: 18px; }
.split-chars .char { display: inline-block; }

.cards { position: relative; }
.card { height: 100vh; height: 100svh; padding: 12px; }
.card__inner {
  position: relative; height: 100%; border-radius: 28px; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 4vw;
  padding: clamp(28px, 4.5vw, 80px); padding-top: clamp(80px, 9vh, 120px);
  will-change: transform;
}
.card--light .card__inner { background: var(--white); color: var(--black); }
.card--dark .card__inner { background: var(--ink); color: var(--white); border: 1px solid var(--line); }
.card__info { display: flex; flex-direction: column; justify-content: center; }
.card__tag { opacity: .55; }
.card__logo { font-size: clamp(48px, 7.4vw, 128px); line-height: .9; margin: 18px 0 24px; display: flex; flex-direction: column; letter-spacing: -0.04em; }
.card__logo span { -webkit-text-stroke: 3px var(--black); color: var(--white); paint-order: stroke fill; }
.card--dark .card__logo span { -webkit-text-stroke-color: var(--white); color: var(--ink); }
.card__logo--img img { width: clamp(180px, 22vw, 380px); height: auto; margin: -2% 0 -4% -2%; }
.card__desc { font-size: clamp(16px, 1.35vw, 20px); max-width: 420px; line-height: 1.45; opacity: .75; }
.feats { margin: 32px 0 36px; display: grid; gap: 0; max-width: 440px; }
.feats li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 14%, transparent); font-size: 15px; }
.feats li:last-child { border-bottom: 1px solid color-mix(in srgb, currentColor 14%, transparent); }
.feats svg, .link-arrow svg, .footer__top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 12px; font-weight: 500; align-self: flex-start; padding-bottom: 4px; position: relative; }
.link-arrow::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: right; transition: transform .6s var(--ease); }
.link-arrow:hover::after { transform: scaleX(0); transform-origin: left; }
.link-arrow svg { transition: transform .5s var(--ease); }
.link-arrow:hover svg { transform: translateX(6px) rotate(-45deg); }
.card__links { display: flex; flex-wrap: wrap; gap: 14px 36px; align-items: center; }
.link-arrow--ext > * { opacity: .6; transition: opacity .3s, transform .5s var(--ease); }
.link-arrow--ext::after { opacity: .6; }
.link-arrow--ext:hover > *, .link-arrow--ext:hover::after { opacity: 1; }
.link-arrow--ext:hover svg { transform: translate(3px, -3px); }

.card__visual { position: relative; min-height: 0; }
.card__photo { position: absolute; inset: 0; border-radius: 18px; overflow: hidden; }
.card__photo img { width: 100%; height: 120%; object-fit: cover; filter: grayscale(1) contrast(1.1); transform-origin: center; }

/* POS mockups */
.pos {
  position: absolute; left: -6%; bottom: 8%; width: min(380px, 80%);
  border-radius: 16px; overflow: hidden; font-size: 12px;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.06);
}
.pos__bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; }
.pos--resto { background: var(--black); color: var(--white); }
.pos--resto .pos__bar { border-bottom: 1px solid var(--line); }
.pos--resto .pos__bar .brand { font-size: 15px; }
.pos--resto .pos__bar b { font-weight: 800; -webkit-text-stroke: 1.6px var(--white); color: var(--black); paint-order: stroke fill; margin-left: 3px; }
.pos__time { color: var(--muted); font-size: 11px; }
.pos__body { display: grid; grid-template-columns: 1fr 1.25fr; gap: 12px; padding: 14px; }
.tables { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; align-content: start; }
.tables span {
  aspect-ratio: 1; border-radius: 8px; border: 1px solid var(--line);
  display: grid; place-items: center; font-family: var(--f-mono); font-size: 10px; color: var(--muted);
  transition: background-color .4s, color .4s, border-color .4s;
}
.tables span.busy { background: var(--white); color: var(--black); border-color: var(--white); }
.tables span.order { border-color: var(--white); color: var(--white); border-style: dashed; }
.ticket { border: 1px solid var(--line); border-radius: 10px; padding: 10px; display: flex; flex-direction: column; }
.ticket__head { font-size: 10px; color: var(--muted); padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.ticket__lines li { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 11px; }
.ticket__lines b { font-family: var(--f-mono); font-weight: 400; color: var(--muted); white-space: nowrap; font-size: 10px; }
.ticket__total { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; }
.ticket__total b { font-size: 20px; }
.ticket__total em { font-style: normal; }
.ticket__btn { background: var(--white); color: var(--black); text-align: center; border-radius: 6px; padding: 8px; font-weight: 500; font-size: 11px; }

.pos--zargo { background: var(--white); color: var(--black); padding-bottom: 14px; }
.pos--zargo .pos__bar { border-bottom: 1px solid var(--line-dark); }
.pos__zlogo { height: 26px; width: auto; }
.pos__rate { font-size: 10px; color: var(--muted-dark); }
.pos__rate em { font-style: normal; color: var(--black); }
.item { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 14px 16px 6px; }
.item__img { border-radius: 10px; overflow: hidden; aspect-ratio: 1; background: #000; }
.item__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15); }
.item__sku { font-size: 9.5px; color: var(--muted-dark); }
.item__name { display: block; font-family: var(--f-brand); font-weight: 800; font-size: 17px; margin: 2px 0 6px; letter-spacing: -0.02em; }
.item dl { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; }
.item dt { font-size: 9.5px; color: var(--muted-dark); text-transform: uppercase; letter-spacing: .06em; }
.item dd { font-family: var(--f-mono); font-size: 11.5px; }
.barcode { display: block; width: calc(100% - 32px); height: 34px; margin: 8px 16px 0; }
.barcode line { stroke: var(--black); }
.item__price { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 16px 0; }
.item__price b { font-size: 24px; }
.item__price em { font-style: normal; }

/* ========== SERVICES ========== */
.services { background: var(--white); color: var(--black); padding: 10vw 0 8vw; margin-top: 10vw; }
.services .label { color: var(--muted-dark); }
.services__head { padding: 0 var(--gutter) 6vw; }
.svc { border-bottom: 1px solid var(--line-dark); }
.svc__row {
  position: relative; display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 24px;
  padding: clamp(8px, 1.1vw, 20px) var(--gutter); border-top: 1px solid var(--line-dark); overflow: hidden;
  transition: color .5s var(--ease);
}
.svc__fill { position: absolute; inset: 0; background: var(--black); transform: scaleY(0); pointer-events: none; }
.svc__num, .svc__title, .svc__tags { position: relative; }
.svc__num { color: var(--muted-dark); transition: color .5s; }
.svc__title { font-size: clamp(34px, 5.8vw, 104px); line-height: 1.38; letter-spacing: -0.04em; display: block; overflow: hidden; }
.svc__roll { display: inline-block; position: relative; white-space: nowrap; transition: transform .7s var(--ease); }
.svc__roll::after { content: attr(data-text); position: absolute; left: 0; top: 100%; -webkit-text-stroke: 3px var(--white); color: var(--black); paint-order: stroke fill; white-space: nowrap; }
.svc__tags { color: var(--muted-dark); text-align: right; transition: color .5s; }
.svc__row:hover { color: var(--white); }
.svc__row:hover .svc__num, .svc__row:hover .svc__tags { color: var(--muted); }
.svc__row:hover .svc__roll { transform: translateY(-100%); }

.float-img {
  position: fixed; top: 0; left: 0; z-index: 300; pointer-events: none;
  width: 340px; height: 230px; margin: -115px 0 0 -170px; border-radius: 14px; overflow: hidden;
  transform: scale(0);
}
.float-img__inner { position: absolute; inset: -10%; background-size: cover; background-position: center; filter: grayscale(1) contrast(1.1); }

.stack { margin-top: 8vw; overflow: hidden; }
.stack__label { display: block; padding: 0 var(--gutter); color: var(--muted-dark); margin-bottom: 28px; }
.stack__track { display: flex; gap: clamp(40px, 6vw, 96px); width: max-content; padding-left: var(--gutter); }
.stack__track img { height: clamp(28px, 3vw, 44px); width: auto; opacity: .85; transition: opacity .3s, transform .5s var(--ease); }
.stack__track img:hover { opacity: 1; transform: scale(1.15) rotate(-6deg); }

/* ========== PROCESS ========== */
.process { background: var(--black); }
.process__pin { height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; padding-top: 110px; }
.process__head { padding: 0 var(--gutter); }
.process__head .label { margin-bottom: 18px; }
.process__title { font-size: clamp(40px, 6vw, 110px); line-height: .9; letter-spacing: -0.035em; }
.process__track { position: relative; flex: 1; display: flex; align-items: center; width: max-content; padding: 0 var(--gutter) 0 calc(var(--gutter) + 10vw); gap: 6vw; }
.process__line { position: absolute; left: 0; top: 50%; width: 100%; height: 40%; transform: translateY(-50%); pointer-events: none; }
.process__line path { fill: none; stroke: var(--white); stroke-width: 1.2; vector-effect: non-scaling-stroke; opacity: .35; }
.step { position: relative; width: clamp(300px, 34vw, 520px); flex: none; padding: 36px; border: 1px solid var(--line); border-radius: 22px; background: var(--black); overflow: hidden; }
.step__num { position: absolute; top: 18px; right: 28px; font-size: clamp(64px, 8vw, 130px); line-height: 1; -webkit-text-stroke: 2.4px var(--white); color: var(--black); paint-order: stroke fill; opacity: .5; }
.step__icon { width: 64px; height: 64px; fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 60px; }
.step h3 { font-size: clamp(36px, 4.2vw, 68px); line-height: 1; letter-spacing: -0.035em; margin-bottom: 18px; }
.step p { color: var(--muted); max-width: 380px; }

/* ========== CONTACT ========== */
.contact { background: var(--white); color: var(--black); padding: 12vw var(--gutter) 10vw; overflow: hidden; }
.contact .label { color: var(--muted-dark); }
.contact__title { font-size: clamp(60px, 17vw, 340px); line-height: .82; letter-spacing: -0.05em; white-space: nowrap; }
.contact__line { display: block; }
.contact__line:nth-child(2) { padding-left: 12vw; }
.contact__title .char { display: inline-block; }
.contact__q { display: inline-block; }
.contact__row { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-top: 6vw; }
.contact__lead { max-width: 420px; font-size: clamp(16px, 1.4vw, 20px); color: var(--muted-dark); }
.contact__btn {
  position: relative; flex: none; width: clamp(140px, 15vw, 230px); aspect-ratio: 1; border-radius: 50%;
  background: var(--black); color: var(--white); display: grid; place-items: center; overflow: hidden; text-align: center;
}
.contact__btn-fill { position: absolute; inset: 0; background: #2a2a2a; border-radius: 50%; transform: scale(0); transition: transform .6s var(--ease); }
.contact__btn:hover .contact__btn-fill { transform: scale(1); }
.contact__btn-txt { position: relative; font-family: var(--f-brand); font-weight: 800; font-size: clamp(16px, 1.5vw, 24px); line-height: 1.1; }
.contact__mail {
  display: inline-block; margin-top: 6vw; font-size: clamp(24px, 4.8vw, 88px); letter-spacing: -0.04em;
  border-bottom: 2px solid currentColor; line-height: 1.05; word-break: break-all;
}

/* ========== FOOTER ========== */
.footer { background: var(--black); overflow: hidden; }
.footer__inner { padding: 8vw var(--gutter) 28px; }
.footer__sig { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; margin-right: 9vw; }
.signature { width: clamp(200px, 20vw, 320px); height: auto; overflow: visible; }
.signature path { stroke: var(--white); }
.footer__sig-cap { color: var(--muted); }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: var(--gutter); padding-bottom: 6vw; align-items: start; }
.footer__cols > div { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; font-size: 18px; }
.footer__h { color: var(--muted); margin-bottom: 10px; }
.footer__top { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background-color .4s, color .4s; }
.footer__base-end { display: inline-flex; align-items: center; gap: 16px; }
.footer__top:hover { background: var(--white); color: var(--black); }
.footer__giant { font-size: 20vw; line-height: .8; letter-spacing: -0.05em; white-space: nowrap; text-align: center; margin: 0 calc(-1 * var(--gutter)); }
.footer__giant .char { display: inline-block; }
.footer__base { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 28px; margin-top: 3vw; border-top: 1px solid var(--line); color: var(--muted); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1280px) {
  .svc__row { grid-template-columns: 80px 1fr; row-gap: 0; }
  .svc__tags { grid-column: 2; text-align: left; padding-bottom: 6px; }
}
@media (max-width: 960px) {
  .nav__links, .nav .btn-pill { display: none; }
  .sound__txt { display: none; }
  .nav__right { gap: 8px; }
  .nav__burger { display: block; }
  .hero__meta span:nth-child(2) { display: none; }
  .hero__title { font-size: 20.5vw; }
  .hero__hint { position: static; transform: none; order: 3; align-self: flex-start; margin-top: 22px; }
  .contact__title { font-size: 21vw; }
  .about__stats { grid-template-columns: 1fr; gap: 28px; }
  .card { height: auto; padding: 8px; }
  .card__inner { grid-template-columns: 1fr; padding: 28px 20px; gap: 32px; border-radius: 22px; }
  .card__visual { height: 120vw; max-height: 620px; }
  .pos { left: 4%; bottom: 4%; width: 92%; }
  .svc__row { grid-template-columns: 40px 1fr; }
  .svc__title { line-height: 1.3; }
  .svc__roll, .svc__roll::after { white-space: normal; }
  .svc__tags { display: none; }
  .process__track { padding-left: var(--gutter); gap: 20px; }
  .step { width: 80vw; padding: 28px; }
  .contact__row { flex-direction: column; align-items: flex-start; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__sig { grid-column: 1 / -1; align-items: flex-start; margin-top: 12px; margin-right: 0; }
  .footer__base-end { justify-content: space-between; }
  .footer__base { flex-direction: column; gap: 6px; }
}
@media (max-width: 520px) {
  .hero__bottom { flex-direction: column; align-items: flex-start; }
  .hero__badge { align-self: flex-end; margin-top: -40px; }
  .pos__body { grid-template-columns: 1fr; }
  .tables { grid-template-columns: repeat(6, 1fr); }
  .item { grid-template-columns: 80px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ==========================================================================
   LEGAL PAGES (privacy.html, terms.html)
   ========================================================================== */
.page-curtain { position: fixed; inset: 0; z-index: 1000; background: var(--black); pointer-events: none; }
.legal-hero { background: var(--black); color: var(--white); padding: 170px var(--gutter) 7vw; overflow: hidden; }
.legal-hero__title { font-size: clamp(54px, 12.5vw, 230px); line-height: .86; letter-spacing: -0.045em; }
.legal-hero__title .line { display: block; }
.legal-hero__title .char { display: inline-block; }
.legal-hero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: 56px; flex-wrap: wrap; }
.legal-hero__lead { max-width: 520px; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.5; color: var(--muted); }
.legal-hero__meta { display: flex; gap: 40px; color: var(--muted); }
.legal-hero__meta b { display: block; color: var(--white); font-weight: 500; margin-top: 6px; }

.legal { background: var(--white); color: var(--black); padding: 8vw var(--gutter); display: grid; grid-template-columns: minmax(220px, 1fr) 2.3fr; gap: 6vw; align-items: start; }
.legal__toc { padding-top: 6px; }
.legal__toc-h { display: block; color: var(--muted-dark); margin-bottom: 18px; }
.legal__toc ol { list-style: none; }
.legal__toc a {
  display: flex; gap: 14px; align-items: baseline; padding: 9px 0; font-size: 14px;
  border-top: 1px solid var(--line-dark); color: var(--muted-dark);
  transition: color .3s, padding-left .5s var(--ease);
}
.legal__toc a .mono { width: 22px; flex: none; font-size: 11px; }
.legal__toc a:hover { color: var(--black); }
.legal__toc a.is-active { color: var(--black); padding-left: 10px; }
.legal__toc li:last-child a { border-bottom: 1px solid var(--line-dark); }

.legal__body { max-width: 760px; }
.legal__sec { padding-bottom: 52px; }
.legal__sec + .legal__sec { border-top: 1px solid var(--line-dark); padding-top: 48px; }
.legal__sec h2 {
  display: flex; gap: 18px; align-items: baseline; margin-bottom: 22px;
  font-family: var(--f-brand); font-weight: 800; font-size: clamp(26px, 2.7vw, 42px); line-height: 1.05; letter-spacing: -0.03em;
}
.legal__sec h2 .mono { font-weight: 400; color: var(--muted-dark); flex: none; }
.legal__sec h3 { font-family: var(--f-brand); font-weight: 700; font-size: 19px; margin: 26px 0 10px; letter-spacing: -0.01em; }
.legal__sec p, .legal__sec li { font-size: 17px; line-height: 1.68; color: #2b2b2b; }
.legal__sec p + p { margin-top: 14px; }
.legal__sec ul { margin: 14px 0; display: grid; gap: 10px; }
.legal__sec li { position: relative; padding-left: 28px; }
.legal__sec li::before { content: ""; position: absolute; left: 0; top: .85em; width: 14px; height: 1px; background: var(--black); }
.legal__sec strong { color: var(--black); font-weight: 600; }
.legal__sec a { border-bottom: 1px solid currentColor; }
.ph { font-family: var(--f-mono); font-size: .84em; background: rgba(10,10,10,.07); border-bottom: 1px dashed var(--black); padding: 1px 5px; border-radius: 3px; white-space: nowrap; }
.legal__note { margin-top: 8px; padding: 20px 22px; border: 1px dashed var(--line-dark); border-radius: 14px; font-size: 14px !important; color: var(--muted-dark) !important; }

.legal-next { background: var(--white); color: var(--black); padding: 0 var(--gutter) 8vw; }
.legal-next a {
  position: relative; display: flex; justify-content: space-between; align-items: center; gap: 24px; overflow: hidden;
  padding: 4vw 0; border-top: 1px solid var(--black); border-bottom: 1px solid var(--black);
}
.legal-next__fill { position: absolute; inset: 0; background: var(--black); transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease); }
.legal-next__txt { position: relative; transition: color .5s var(--ease); }
.legal-next__txt .mono { display: block; color: var(--muted-dark); margin-bottom: 10px; transition: color .5s; }
.legal-next__txt b { display: block; font-family: var(--f-brand); font-weight: 800; font-size: clamp(40px, 8vw, 140px); line-height: .95; letter-spacing: -0.045em; }
.legal-next svg { position: relative; width: clamp(44px, 6vw, 100px); height: auto; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .7s var(--ease), color .5s; flex: none; }
.legal-next a:hover .legal-next__fill { transform: scaleY(1); }
.legal-next a:hover, .legal-next a:hover .legal-next__txt .mono { color: var(--white); }
.legal-next a:hover .legal-next__txt .mono { color: var(--muted); }
.legal-next a:hover svg { transform: rotate(-45deg); }

.footer__legal { display: inline-flex; gap: 10px; align-items: center; }
.footer__legal a { color: var(--muted); transition: color .3s; }
.footer__legal a:hover { color: var(--white); }
.legal-foot .footer__inner { padding-top: 6vw; }

@media (max-width: 960px) {
  .legal { grid-template-columns: 1fr; }
  .legal__toc { display: none; }
  .legal-hero { padding-top: 130px; }
  .legal__sec p, .legal__sec li { font-size: 16px; }
}

/* ==========================================================================
   LANGUAGE SWITCH + RUSSIAN TYPE ADJUSTMENTS
   ========================================================================== */
.lang { display: inline-flex; align-items: center; gap: 4px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; }
.lang button { padding: 8px 3px; opacity: .4; transition: opacity .3s; }
.lang button:hover, .lang button.is-active { opacity: 1; }
.lang button.is-active { text-decoration: underline; text-underline-offset: 4px; }
.lang i { font-style: normal; opacity: .3; }
.menu .menu__lang { margin-top: 36px; font-size: 14px; color: var(--white); }

/* Unbounded is wider than Syne, so the big Russian words get a little less size */
html[lang="ru"] .about__text { font-size: clamp(22px, 3.5vw, 60px); letter-spacing: -0.03em; }
html[lang="ru"] .big-title { font-size: clamp(40px, 8.6vw, 150px); }
html[lang="ru"] .process__title { font-size: clamp(32px, 5vw, 92px); }
html[lang="ru"] .svc__title { font-size: clamp(28px, 4.9vw, 88px); }
html[lang="ru"] .step h3 { font-size: clamp(28px, 3vw, 50px); }
html[lang="ru"] .contact__title { font-size: clamp(44px, 13vw, 260px); }
html[lang="ru"] .marquee__track { font-size: clamp(30px, 6vw, 104px); }
html[lang="ru"] .legal-hero__title { font-size: clamp(30px, 5.6vw, 110px); }
html[lang="ru"] .legal-next__txt b { font-size: clamp(28px, 5vw, 90px); }
html[lang="ru"] .legal__sec h2 { font-size: clamp(22px, 2.3vw, 36px); }
@media (max-width: 960px) {
  html[lang="ru"] .legal-hero__title { font-size: 8.4vw; }
}

/* Uzbek: Latin script (Syne), but long words */
html[lang="uz"] .big-title { font-size: clamp(40px, 9vw, 160px); }
html[lang="uz"] .process__title { font-size: clamp(32px, 5.2vw, 96px); }
html[lang="uz"] .svc__title { font-size: clamp(28px, 4.5vw, 82px); }
html[lang="uz"] .step h3 { font-size: clamp(30px, 3.4vw, 56px); }
html[lang="uz"] .contact__title { font-size: clamp(44px, 12.5vw, 250px); }
html[lang="uz"] .legal-hero__title { font-size: clamp(36px, 9vw, 170px); }
html[lang="uz"] .legal-next__txt b { font-size: clamp(30px, 6vw, 110px); }
html[lang="uz"] .about__text { font-size: clamp(24px, 3.9vw, 66px); }
@media (max-width: 960px) {
  html[lang="uz"] .step h3 { font-size: 26px; }
  html[lang="uz"] .contact__title { font-size: 11.5vw; }
}
