/* Sezgir palette: ink, paper, one blue accent. Inter only, like every Sezgir surface. */
:root {
  --ink: #11110F;
  --ink-2: #1C1C19;
  --paper: #F6F6F4;
  --paper-2: #ECECE8;
  --blue: #3887E4;
  --blue-deep: #2A6FC2;
  --grey: #8A8A83;
  --line: rgba(17, 17, 15, 0.12);
  --kaspi: #F14635;
  --wa: #25D366;
  --pad: clamp(20px, 4vw, 56px);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

h2 {
  font-size: clamp(36px, 5.6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 800;
  max-width: 14ch;
}
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; max-width: 46ch; color: rgba(17, 17, 15, .72); }

/* ---------- Sezgir tile (logo) ---------- */
.tile {
  position: relative; display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: #fff;
  font-weight: 800; font-size: 19px; letter-spacing: -0.02em; line-height: 1;
}
.tile i { position: absolute; top: 6px; right: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.tile-img { width: 34px; height: 34px; }
.tile-img-sm { width: 26px; height: 26px; }
.tile-sm { width: 26px; height: 26px; border-radius: 8px; font-size: 14px; }
.tile-sm i { top: 4px; right: 4px; width: 5px; height: 5px; }

/* ---------- Header ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 16px var(--pad);
  transition: background .3s, box-shadow .3s, padding .3s;
}
.top.scrolled { background: rgba(246, 246, 244, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); padding-block: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: -0.02em; }
.nav { display: flex; gap: clamp(16px, 2.4vw, 36px); }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: rgba(17, 17, 15, .7); }
.nav a:hover { color: var(--ink); }
.top-right { display: flex; align-items: center; gap: 18px; }
.langs { display: flex; background: var(--paper-2); border-radius: 999px; padding: 3px; }
.langs button { border: 0; background: none; padding: 5px 11px; border-radius: 999px; font-size: 13px; font-weight: 600; cursor: pointer; color: rgba(17, 17, 15, .55); }
.langs button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(17, 17, 15, .12); }
.open { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.open i { width: 9px; height: 9px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 4px rgba(37, 211, 102, .18); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(37, 211, 102, 0); } }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 96px var(--pad) 0;
  isolation: isolate;
}
.ghost {
  position: absolute; top: 46px; left: 50%; transform: translateX(-50%); z-index: -1;
  font-size: 17.4vw; font-weight: 900; letter-spacing: -0.06em; line-height: 1; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px rgba(17, 17, 15, .07);
  user-select: none;
}
.name {
  position: relative; z-index: 1; text-align: center;
  font-size: min(13.4vw, 250px); font-weight: 900; letter-spacing: -0.065em; line-height: .78;
  margin-top: clamp(24px, 6vh, 80px);
}
.name-word { display: inline-flex; align-items: flex-end; }
.name-word > span { display: inline-block; }
.name-dot {
  display: inline-block; width: .17em; height: .17em; border-radius: 50%; background: var(--blue);
  margin-left: .04em; margin-bottom: .01em;
}

.stage {
  position: relative; z-index: 2; flex: 1;
  display: grid; grid-template-columns: 1fr minmax(280px, 34vw) 1fr; align-items: end; gap: 24px;
  margin-top: -9vw;
}
.intro { align-self: center; padding-top: 12vw; max-width: 320px; }
.intro p { font-size: 17px; font-weight: 600; line-height: 1.45; letter-spacing: -0.01em; }
.hire {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 28px;
  font-weight: 800; font-size: 15px; letter-spacing: 0.01em; text-decoration: none;
  padding: 12px 18px 12px 16px; border-radius: 999px; background: var(--ink); color: var(--paper);
  transition: background .2s, transform .2s var(--ease);
}
.hire .slashes { color: var(--blue); }
.hire:hover { background: var(--blue); transform: translateY(-2px); }
.hire:hover .slashes { color: var(--paper); }

.portrait { position: relative; justify-self: center; width: 100%; aspect-ratio: 4 / 5; }
.portrait picture { display: block; width: 100%; height: 100%; }
.halftone { position: absolute; left: 50%; top: 46%; width: 190%; height: 150%; transform: translate(-50%, -50%); z-index: -1; pointer-events: none; }
.me, .portrait img { position: relative; width: 100%; height: 100%; object-fit: contain; object-position: bottom; }
.me, .portrait img { -webkit-mask-image: linear-gradient(to bottom, #000 76%, transparent 100%); mask-image: linear-gradient(to bottom, #000 76%, transparent 100%); }

/* Scan: face box from macOS Vision on me.png (x .375, y .129, w .252, h .201), padded. */
.scan { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.scan-line {
  position: absolute; left: -6%; right: -6%; top: 0; height: 2px; opacity: 0;
  background: var(--blue); box-shadow: 0 0 12px 1px rgba(56, 135, 228, .8);
}
.scan-line::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 90px;
  background: linear-gradient(to bottom, rgba(56, 135, 228, 0), rgba(56, 135, 228, .16));
}
.scan-box {
  position: absolute; left: 35.5%; top: 9%; width: 29%; height: 26.5%;
  --c: var(--blue); --l: 16px; --w: 2px;
  background:
    linear-gradient(var(--c), var(--c)) left top / var(--l) var(--w),
    linear-gradient(var(--c), var(--c)) left top / var(--w) var(--l),
    linear-gradient(var(--c), var(--c)) right top / var(--l) var(--w),
    linear-gradient(var(--c), var(--c)) right top / var(--w) var(--l),
    linear-gradient(var(--c), var(--c)) left bottom / var(--l) var(--w),
    linear-gradient(var(--c), var(--c)) left bottom / var(--w) var(--l),
    linear-gradient(var(--c), var(--c)) right bottom / var(--l) var(--w),
    linear-gradient(var(--c), var(--c)) right bottom / var(--w) var(--l);
  background-repeat: no-repeat;
}
.scan-tag {
  position: absolute; left: 0; top: calc(100% + 6px); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: -0.01em;
  padding: 4px 9px 4px 7px; border-radius: 6px;
}
.scan-tag::before {
  content: ""; flex: none; width: 12px; height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Ccircle cx='6' cy='6' r='6' fill='%23fff'/%3E%3Cpath d='M3.4 6.2 5.2 8l3.4-3.6' fill='none' stroke='%233887E4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.scan-note { position: absolute; left: var(--x); top: var(--y); }
.scan-note .pin {
  position: absolute; left: 0; top: 0; width: 11px; height: 11px; transform: translate(-50%, -50%);
  border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--blue), 0 0 0 6px rgba(56, 135, 228, .25);
}
.scan-note::before {
  content: ""; position: absolute; top: -.5px; height: 1px; width: 26px; background: #fff;
  box-shadow: 0 0 0 .5px rgba(17, 17, 15, .2);
}
.scan-note.to-r::before { left: 7px; }
.scan-note.to-l::before { right: 7px; }
.scan-note .chip {
  position: absolute; top: 0; transform: translateY(-50%); white-space: nowrap;
  display: grid; line-height: 1.15; padding: 6px 10px; border-radius: 8px;
  background: rgba(255, 255, 255, .94); color: var(--ink);
  box-shadow: 0 8px 20px -8px rgba(17, 17, 15, .45), 0 0 0 1px rgba(17, 17, 15, .06);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.scan-note.to-r .chip { left: 33px; }
.scan-note.to-l .chip { right: 33px; text-align: right; }
.scan-note small { font-size: 11px; font-weight: 600; color: rgba(17, 17, 15, .55); }
.scan-note b { font-size: 14px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

/* The pass: line sweeps, box locks on, tag and notes come in. JS adds .run once the photo is up. */
.js .scan-box, .js .scan-tag, .js .scan-note { opacity: 0; }
.scan.run .scan-line { animation: sweep 1.25s cubic-bezier(.45, 0, .3, 1) forwards; }
.scan.run .scan-box { animation: lock .5s var(--ease) .75s forwards; }
.scan.run .scan-tag { animation: fade .3s ease 1.15s forwards; }
.scan.run .scan-note { animation: note .45s var(--ease) calc(1.3s + var(--d)) forwards; }
.scan .scan-line.again { animation: sweep-again 1.1s cubic-bezier(.45, 0, .3, 1) forwards; }
@keyframes sweep {
  0% { top: 0; opacity: 0; }
  8% { opacity: 1; }
  88% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
@keyframes sweep-again {
  0% { top: 0; opacity: 0; }
  8% { opacity: 1; }
  88% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
@keyframes lock { from { opacity: 0; transform: scale(1.35); } to { opacity: 1; transform: none; } }
@keyframes note { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.services { align-self: center; justify-self: end; padding-top: 12vw; display: grid; gap: 10px; text-align: right; }
.services a {
  text-decoration: none; font-size: 16px; font-weight: 500; color: rgba(17, 17, 15, .42);
  transition: color .2s; display: inline-block;
}
.services li:first-child a, .services a:hover { color: var(--ink); }
.services a:hover { color: var(--blue); }

.strip {
  position: relative; z-index: 3;
  display: flex; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap;
  padding: 22px 0 26px; border-top: 1px solid var(--line); margin-top: -1px;
  background: var(--paper);
}
.strip li { white-space: nowrap; }
.strip a { text-decoration: none; font-weight: 800; font-size: clamp(16px, 1.5vw, 21px); letter-spacing: -0.035em; color: rgba(17, 17, 15, .38); transition: color .2s; }
.strip a:hover { color: var(--ink); }
.g { width: 20px; height: 20px; border-radius: 6px; display: inline-grid; place-items: center; font-size: 11px; font-weight: 800; background: rgba(17, 17, 15, .14); color: var(--paper); }
.g-s { background: var(--ink); position: relative; }
.g-s::after { content: ""; position: absolute; top: 3px; right: 3px; width: 4px; height: 4px; border-radius: 50%; background: var(--blue); }

/* Load sequence: letters rise, then the blue dot drops in. Only on first paint. */
.js .name-word > span { transform: translateY(105%); opacity: 0; animation: rise .9s var(--ease) forwards; }
.js .name-word > span:nth-child(1) { animation-delay: .05s } .js .name-word > span:nth-child(2) { animation-delay: .1s }
.js .name-word > span:nth-child(3) { animation-delay: .15s } .js .name-word > span:nth-child(4) { animation-delay: .2s }
.js .name-word > span:nth-child(5) { animation-delay: .25s } .js .name-word > span:nth-child(6) { animation-delay: .3s }
.js .name-word > span:nth-child(7) { animation-delay: .35s } .js .name-word > span:nth-child(8) { animation-delay: .4s }
.js .name-word > span:nth-child(9) { animation-delay: .45s }
.js .name-dot { transform: translateY(-140%) scale(.4); opacity: 0; animation: drop .8s cubic-bezier(.3, 1.6, .5, 1) 1s forwards; }
.js .portrait { opacity: 0; transform: translateY(40px); animation: up 1.1s var(--ease) .45s forwards; }
.js .intro, .js .services, .js .strip { opacity: 0; animation: fade .8s ease 1.1s forwards; }
@keyframes rise { to { transform: none; opacity: 1; } }
@keyframes drop { to { transform: none; opacity: 1; } }
@keyframes up { to { transform: none; opacity: 1; } }
@keyframes fade { to { opacity: 1; } }

/* ---------- Agents ---------- */
.agents {
  background: var(--ink); color: var(--paper);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center;
  padding: clamp(80px, 12vw, 160px) var(--pad);
}
.agents .lead { color: rgba(246, 246, 244, .66); margin-top: 24px; }
.tabs { display: inline-flex; gap: 4px; margin-top: 40px; padding: 4px; border-radius: 999px; background: rgba(246, 246, 244, .08); }
.tabs button { border: 0; background: none; cursor: pointer; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 15px; color: rgba(246, 246, 244, .6); transition: background .2s, color .2s; }
.tabs button[aria-selected="true"] { background: var(--blue); color: #fff; }
.tabs button:hover:not([aria-selected="true"]) { color: var(--paper); }
.points { margin-top: 32px; display: grid; gap: 14px; }
.points li { display: flex; gap: 14px; align-items: baseline; font-size: 18px; font-weight: 500; }
.points li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); transform: translateY(-2px); }

.phone-wrap { display: grid; place-items: center; }
.phone {
  width: min(100%, 360px); height: 600px; border-radius: 44px; padding: 12px;
  background: #000; box-shadow: 0 0 0 1px rgba(246, 246, 244, .14), 0 40px 80px -30px rgba(56, 135, 228, .5);
  display: flex; flex-direction: column; overflow: hidden;
}
.phone-head { display: flex; align-items: center; gap: 10px; padding: 26px 14px 12px; background: #1F2C33; border-radius: 32px 32px 0 0; }
.avatar { position: relative; width: 36px; height: 36px; border-radius: 50%; background: var(--paper); color: var(--ink); display: grid; place-items: center; font-weight: 800; font-size: 17px; }
.avatar i { position: absolute; top: 5px; right: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.who { display: grid; line-height: 1.2; }
.who b { font-size: 15px; font-weight: 600; color: #E9EDEF; }
.who small { font-size: 12px; color: #8696A0; }
.chat {
  flex: 1; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  padding: 14px 12px; background: #0B141A;
  background-image: radial-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 14px 14px;
}
.chat > * { flex-shrink: 0; }
.msg {
  max-width: 82%; padding: 8px 11px 6px; border-radius: 10px; font-size: 14.5px; line-height: 1.38; color: #E9EDEF;
  animation: pop .35s var(--ease) both;
}
.msg.in { align-self: flex-start; background: #202C33; border-top-left-radius: 2px; }
.msg.out { align-self: flex-end; background: #005C4B; border-top-right-radius: 2px; }
.msg time { display: block; text-align: right; font-size: 11px; color: rgba(233, 237, 239, .55); margin-top: 2px; }
.msg.out time::after { content: " ✓✓"; color: #53BDEB; }
.typing { align-self: flex-end; display: flex; gap: 4px; padding: 12px 14px; background: #005C4B; border-radius: 10px; border-top-right-radius: 2px; animation: pop .3s var(--ease) both; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: rgba(233, 237, 239, .7); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s } .typing i:nth-child(3) { animation-delay: .3s }
@keyframes blink { 50% { opacity: .25; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.kaspi {
  align-self: flex-end; width: 78%; border-radius: 12px; overflow: hidden; background: #fff; color: #1a1a1a;
  animation: pop .35s var(--ease) both;
}
.kaspi-top { background: var(--kaspi); color: #fff; padding: 9px 12px; font-weight: 800; font-size: 14px; letter-spacing: -0.01em; }
.kaspi-body { padding: 10px 12px 12px; display: grid; gap: 2px; }
.kaspi-body small { font-size: 12px; color: #6b6b6b; }
.kaspi-body b { font-size: 22px; letter-spacing: -0.03em; }
.kaspi-body span { margin-top: 8px; text-align: center; background: var(--kaspi); color: #fff; border-radius: 8px; padding: 7px; font-weight: 700; font-size: 13px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ask { display: flex; gap: 6px; padding: 8px 8px 4px; background: #0B141A; }
.ask[hidden] { display: none; }
.ask input {
  flex: 1; min-width: 0; border: 0; border-radius: 999px; padding: 10px 14px;
  background: #1F2C33; color: #E9EDEF; font: inherit; font-size: 15px;
}
.ask input::placeholder { color: #8696A0; }
.ask input:focus-visible { outline: 2px solid var(--blue); outline-offset: 0; }
.ask button {
  flex: none; width: 42px; height: 42px; border: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; background: #00A884; color: #fff;
}
.ask button svg { width: 20px; height: 20px; }
.ask button:disabled, .ask input:disabled { opacity: .5; cursor: default; }
.msg a { color: #53BDEB; }
.phone-foot { background: #0B141A; border-radius: 0 0 32px 32px; padding: 10px 0 16px; text-align: center; font-size: 12px; color: #8696A0; }

/* ---------- Flow: how an order travels ---------- */
.flow { padding: clamp(80px, 12vw, 160px) var(--pad) 0; }
.flow-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; }
.flow-map {
  position: relative; margin-top: clamp(40px, 6vw, 80px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center;
  gap: clamp(60px, 10vw, 170px);
  padding: clamp(28px, 4vw, 56px); border-radius: 28px; background: #fff; box-shadow: inset 0 0 0 1px var(--line);
  background-image: radial-gradient(rgba(17, 17, 15, .07) 1px, transparent 1px); background-size: 18px 18px;
}
.wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.wires path { fill: none; stroke: rgba(17, 17, 15, .16); stroke-width: 1.5; stroke-dasharray: 4 5; transition: stroke .3s; }
.wires path.on { stroke: var(--blue); stroke-dasharray: none; stroke-width: 2; }
.flow-col { position: relative; display: grid; gap: 14px; }
.flow-in { justify-items: start; }
.flow-out { justify-items: end; }
.node {
  position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center;
  width: min(100%, 260px); padding: 12px 16px 12px 12px; border-radius: 16px;
  background: #fff; box-shadow: 0 0 0 1px var(--line), 0 10px 24px -18px rgba(17, 17, 15, .4);
  transition: box-shadow .3s, transform .3s var(--ease);
}
.node b { font-size: 16px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.node small { grid-column: 2; font-size: 13px; color: rgba(17, 17, 15, .55); line-height: 1.3; }
.node .ico { grid-row: span 2; width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--paper); }
.node[data-node="wa"] .ico { color: var(--wa); }
.node[data-node="ig"] .ico { color: #E1306C; }
.node[data-node="tg"] .ico { color: #229ED9; }
.ico-txt { display: grid; place-items: center; padding: 0 !important; font-size: 12px; font-weight: 800; letter-spacing: -0.03em; }
.ico-kaspi { background: var(--kaspi) !important; color: #fff; font-size: 18px; }
.ico-you { background: var(--ink) !important; position: relative; }
.ico-you::after { content: ""; position: absolute; inset: 13px; border-radius: 50%; background: var(--blue); }
.node.on { box-shadow: 0 0 0 2px var(--blue), 0 14px 30px -16px rgba(56, 135, 228, .7); transform: scale(1.03); }

.core {
  grid-template-columns: 1fr; justify-items: center; text-align: center; row-gap: 2px;
  width: clamp(170px, 15vw, 220px); padding: 26px 18px 22px; border-radius: 28px;
  background: var(--ink); color: var(--paper); box-shadow: 0 30px 60px -30px rgba(17, 17, 15, .6);
}
.core small { grid-column: auto; color: rgba(246, 246, 244, .6); min-height: 1.3em; }
.core b { font-size: 19px; margin-top: 12px; }
.core-mark {
  position: relative; width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center;
  background: var(--paper); color: var(--ink); font-size: 40px; font-weight: 900; letter-spacing: -0.06em;
}
.core-mark i { position: absolute; top: 10px; right: 11px; width: 11px; height: 11px; border-radius: 50%; background: var(--blue); }
.core::before {
  content: ""; position: absolute; inset: -8px; border-radius: 34px; border: 2px solid var(--blue); opacity: 0;
}
.core.on { box-shadow: 0 0 0 2px var(--blue), 0 30px 60px -30px rgba(56, 135, 228, .8); transform: none; }
.core.busy::before { animation: ring 1.1s ease-out infinite; }
.core.busy .core-mark i { animation: blink .5s infinite; }
@keyframes ring { from { opacity: .9; transform: scale(.96); } to { opacity: 0; transform: scale(1.12); } }

.packet {
  position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; opacity: 0;
  transition: opacity .25s;
}
.packet.on { opacity: 1; }
.packet i {
  position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--blue); box-shadow: 0 0 0 5px rgba(56, 135, 228, .22), 0 0 18px rgba(56, 135, 228, .9);
}
.packet span {
  position: absolute; left: 0; bottom: 14px; transform: translateX(-50%); white-space: nowrap;
  background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; padding: 6px 10px; border-radius: 9px;
}

.flow-steps { margin-top: 28px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; counter-reset: f; }
.flow-steps li {
  counter-increment: f; padding-top: 14px; border-top: 2px solid var(--line);
  font-size: 15px; font-weight: 500; line-height: 1.4; color: rgba(17, 17, 15, .5); transition: color .3s, border-color .3s;
}
.flow-steps li::before { content: counter(f); display: block; font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.flow-steps li.on { color: var(--ink); border-color: var(--blue); }
.flow-steps li.on::before { color: var(--blue); }

/* ---------- Clients ---------- */
.clients { padding: clamp(80px, 12vw, 160px) var(--pad) 0; }
.clients-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: clamp(32px, 5vw, 64px); }
.client-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.client {
  display: grid; grid-template-rows: 1fr auto; gap: 48px; min-height: 260px;
  padding: 28px; border-radius: 24px; background: #fff; box-shadow: inset 0 0 0 1px var(--line);
}
.client:nth-child(2) { background: var(--ink); color: var(--paper); }
.client h3 { font-size: clamp(34px, 3.6vw, 56px); font-weight: 850; letter-spacing: -0.045em; line-height: .98; }
.client .av { display: block; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin-bottom: 22px; box-shadow: 0 0 0 1px var(--line); }
.client:nth-child(2) .av { box-shadow: 0 0 0 1px rgba(246, 246, 244, .2); }
.client .where { margin-top: 12px; font-weight: 500; opacity: .6; }
.client-links { display: inline-flex; align-items: center; gap: 8px; }
.client .ig { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); transition: background .2s, color .2s; }
.client .ig svg { width: 18px; height: 18px; }
.client .ig:hover { background: #E1306C; color: #fff; box-shadow: none; }
.client:nth-child(2) .ig { box-shadow: inset 0 0 0 1px rgba(246, 246, 244, .25); }
.client-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pts { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.pts::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.client .go { font-weight: 600; font-size: 15px; white-space: nowrap; text-decoration: none; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); transition: background .2s, color .2s, border-color .2s; }
.client .go:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.client:nth-child(2) .go { border-color: rgba(246, 246, 244, .25); }

/* ---------- Work ---------- */
.work { padding: clamp(80px, 12vw, 160px) var(--pad); position: relative; }
.work-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.products { border-top: 1px solid var(--line); }
.product {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) 170px; gap: 12px 40px; align-items: center;
  padding: 28px 0; border-bottom: 1px solid var(--line);
}
.p-name { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 22px); }
.p-logo { flex: none; width: clamp(44px, 4.2vw, 64px); height: clamp(44px, 4.2vw, 64px); border-radius: 24%; object-fit: cover; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.p-logo-text { display: grid; place-items: center; background: var(--ink); color: var(--paper); font-weight: 800; font-size: clamp(18px, 1.7vw, 26px); letter-spacing: -0.04em; }
.product h3 { font-size: clamp(30px, 3.8vw, 56px); font-weight: 800; letter-spacing: -0.045em; line-height: 1; transition: color .25s, transform .35s var(--ease); }
.product .kind { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.product p { color: rgba(17, 17, 15, .66); max-width: 52ch; }
.product .go { justify-self: end; font-weight: 600; font-size: 15px; white-space: nowrap; text-decoration: none; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); transition: background .2s, color .2s, border-color .2s; }
.product .go:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.product .thumb { display: none; }
@media (hover: hover) {
  .product:hover h3 { color: var(--blue); transform: translateX(10px); }
}
.preview {
  position: fixed; left: 0; top: 0; z-index: 40; width: 340px; pointer-events: none;
  border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(17, 17, 15, .45);
  opacity: 0; transform: translate(-50%, -50%) scale(.9); transition: opacity .25s, transform .25s var(--ease);
}
.preview.tall { width: 200px; }
.preview.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* ---------- Path ---------- */
.path { padding: 0 var(--pad) clamp(80px, 12vw, 160px); }
.path h2 { max-width: 20ch; }
.steps { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: s; }
.steps li { display: grid; gap: 22px; align-content: start; padding-top: 22px; border-top: 2px solid var(--ink); }
.big { font-size: clamp(72px, 9vw, 140px); font-weight: 900; letter-spacing: -0.07em; line-height: .8; color: var(--ink); }
.big-s { position: relative; display: inline-block; width: max-content; }
.big-s i { position: absolute; right: -.18em; top: -.04em; width: .2em; height: .2em; border-radius: 50%; background: var(--blue); }
.steps h3 { font-size: 22px; font-weight: 750; letter-spacing: -0.025em; line-height: 1.2; }
.steps p { margin-top: 8px; color: rgba(17, 17, 15, .66); }

/* ---------- Try (offer) ---------- */
.try {
  margin: 0 var(--pad); border-radius: 32px; background: var(--blue); color: #fff;
  padding: clamp(40px, 7vw, 96px);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center;
  position: relative; overflow: hidden;
}
.try::after {
  content: ""; position: absolute; right: -8%; bottom: -30%; width: 46%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .22) 1.6px, transparent 1.8px) 0 0 / 14px 14px;
  -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%); mask-image: radial-gradient(circle, #000 30%, transparent 70%);
}
.try h2 { max-width: 12ch; }
.try .lead { color: rgba(255, 255, 255, .85); margin-top: 22px; }
.try-cta { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 24px; border-radius: 999px; font-weight: 700; text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s; }
.btn svg, .btn-link svg { width: 20px; height: 20px; }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 12px 30px -12px rgba(17, 17, 15, .4); }
.btn-light svg { color: var(--wa); }
.btn-light:hover { transform: translateY(-2px); }
.btn-link { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; text-underline-offset: 4px; }
.try-steps { position: relative; z-index: 1; display: grid; gap: 14px; counter-reset: t; }
.try-steps li {
  counter-increment: t; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center;
  background: rgba(255, 255, 255, .12); border-radius: 18px; padding: 16px 18px; font-weight: 600; font-size: 17px; line-height: 1.35;
}
.try-steps li::before { content: counter(t); width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--blue); display: grid; place-items: center; font-weight: 800; font-size: 18px; }

/* ---------- Contact ---------- */
.contact { padding: clamp(100px, 14vw, 200px) var(--pad) clamp(60px, 8vw, 100px); text-align: center; display: grid; justify-items: center; }
.contact-title { font-size: min(12vw, 210px); font-weight: 900; letter-spacing: -0.05em; line-height: .85; max-width: none; }
.contact .lead { margin-top: 24px; }
.channels { margin-top: 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; width: min(100%, 980px); }
.channel {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center; text-align: left;
  padding: 24px 26px; border-radius: 24px; text-decoration: none; transition: transform .25s var(--ease);
}
.channel svg { grid-row: span 2; width: 44px; height: 44px; }
.ch-name { font-size: 14px; font-weight: 600; opacity: .7; }
.ch-val { font-size: clamp(17px, 1.6vw, 22px); font-weight: 800; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.ch-wa { background: var(--ink); color: var(--paper); }
.ch-wa svg { color: var(--wa); }
.ch-ig { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.ch-ig svg { color: #E1306C; }
.channel:hover { transform: translateY(-4px); }
.call { margin-top: 28px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: rgba(17, 17, 15, .7); text-underline-offset: 4px; }
.call svg { width: 18px; height: 18px; }

.foot { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 28px var(--pad) 40px; font-size: 14px; color: var(--grey); border-top: 1px solid var(--line); }

.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 45; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 14px 30px -10px rgba(17, 17, 15, .45);
  transform: scale(0); transition: transform .3s var(--ease);
}
.fab svg { width: 28px; height: 28px; }
.fab.on { transform: scale(1); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .open span { display: none; }
  .hero { padding-top: 84px; }
  .ghost { top: 70px; font-size: 22vw; }
  .name { font-size: 14.2vw; margin-top: 18px; }
  .stage { grid-template-columns: 1fr; margin-top: -6vw; gap: 0; }
  .portrait { order: 1; width: min(78vw, 420px); }
  .intro { order: 2; padding-top: 8px; max-width: none; text-align: center; justify-self: center; }
  .intro p { max-width: 34ch; margin-inline: auto; }
  .services { order: 3; justify-self: center; text-align: center; padding: 26px 0 30px; gap: 6px; }
  .services li:first-child a { color: rgba(17, 17, 15, .42); }
  .strip { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); scrollbar-width: none; }
  .strip::-webkit-scrollbar { display: none; }
  .agents { grid-template-columns: 1fr; }
  .tabs { display: flex; width: 100%; }
  .tabs button { flex: 1; padding-inline: 8px; }
  .phone { height: 560px; }
  .work-head, .clients-head, .flow-head { grid-template-columns: 1fr; }
  .flow-map { grid-template-columns: 1fr; gap: 64px; padding: 18px 12px; border-radius: 22px; }
  .flow-in, .flow-out { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; justify-items: stretch; }
  .flow-col .node { width: auto; grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 12px 4px; row-gap: 6px; }
  .flow-col .node .ico { grid-row: auto; width: 34px; height: 34px; padding: 7px; }
  .flow-col .node small { grid-column: auto; font-size: 11.5px; }
  .flow-col .node b { font-size: 14px; }
  .core { justify-self: center; width: 150px; padding: 18px 12px 16px; border-radius: 24px; }
  .core b { font-size: 17px; margin-top: 8px; }
  .core-mark { width: 54px; height: 54px; border-radius: 16px; font-size: 30px; }
  .core-mark i { top: 8px; right: 8px; width: 8px; height: 8px; }
  .flow-steps { grid-template-columns: 1fr 1fr; gap: 14px 12px; }
  .packet span { font-size: 12px; }
  .scan-note b { font-size: 12.5px; }
  .scan-note small { font-size: 10px; }
  .scan-note .chip { padding: 4px 8px; }
  .scan-note.to-r .chip { left: 26px; }
  .scan-note.to-l .chip { right: 26px; }
  .scan-note::before { width: 19px; }
  .scan-tag { font-size: 11px; }
  .client-grid { grid-template-columns: 1fr; }
  .client { min-height: 0; gap: 32px; }
  .product { grid-template-columns: 1fr; gap: 10px; }
  .product .thumb { display: block; border-radius: 12px; overflow: hidden; margin-top: 8px; box-shadow: inset 0 0 0 1px var(--line); }
  .product .thumb.tall { width: 46%; }
  .product .go { justify-self: start; }
  .preview { display: none; }
  .steps { grid-template-columns: 1fr; }
  .try { grid-template-columns: 1fr; margin: 0 12px; border-radius: 26px; }
  .channels { grid-template-columns: 1fr; }
  .channel { padding: 20px; }
  .ch-val { font-size: 16.5px; overflow-wrap: normal; }
  .contact-title { font-size: 16vw; }
}
@media (max-width: 420px) {
  .langs button { padding: 5px 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}
