/* ============================================================
   Kizivo official website — design system
   Pages: index / advertisers / suppliers / app / legal
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --ink: #0c1122;
  --ink-2: #151c36;
  --body: #3c4359;
  --muted: #6b7288;
  --line: #e7e9f2;
  --bg: #ffffff;
  --bg-alt: #f6f7fb;
  --violet: #6d5bff;
  --blue: #2f80ff;
  --cyan: #12b8cf;
  --gold: #ffb524;
  --mint: #17c964;
  --rose: #ff5b7f;
  --grad: linear-gradient(100deg, #6d5bff 0%, #2f80ff 55%, #12b8cf 100%);
  --grad-warm: linear-gradient(100deg, #ffb524, #ff5b7f);
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(12, 17, 34, .05), 0 4px 14px rgba(12, 17, 34, .06);
  --shadow-md: 0 10px 34px rgba(12, 17, 34, .12);
  --font-head: 'Sora', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--violet); text-decoration: none; }
a:hover { text-decoration: none; }
::selection { background: rgba(109, 91, 255, .18); }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 860px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.22; letter-spacing: -.015em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.35rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.22rem; font-weight: 700; }
h4 { font-size: 1.02rem; font-weight: 700; }
p.lead { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--muted); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--violet); margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--grad); border-radius: 2px; }
.dark .eyebrow { color: #a99cff; }

section.block { padding: 84px 0; }
section.band { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 720px; margin-bottom: 44px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head h2 { margin-bottom: 12px; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-head.scrolled { border-bottom-color: var(--line); box-shadow: 0 2px 16px rgba(12, 17, 34, .06); }
.head-in { display: flex; align-items: center; gap: 26px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 1.28rem; color: var(--ink); }
.brand-mark { width: 32px; height: 32px; border-radius: 9px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav a {
  padding: 8px 13px; border-radius: 10px; font-size: .93rem; font-weight: 600; color: #454d66;
}
.nav a:hover { background: var(--bg-alt); color: var(--ink); }
.nav a.active { color: var(--violet); background: rgba(109, 91, 255, .08); }
.head-cta { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; margin: 5px 0; transition: .25s; }

/* ---------- buttons & chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem;
  padding: 13px 24px; border-radius: 13px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s;
  white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #fff !important; box-shadow: 0 8px 22px rgba(72, 100, 255, .35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(72, 100, 255, .42); }
.btn-dark { background: var(--ink); color: #fff !important; }
.btn-dark:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: #fff; color: var(--ink) !important; border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: #c9cfe4; transform: translateY(-2px); }
.btn-onlight { background: rgba(255,255,255,.1); color: #fff !important; border-color: rgba(255,255,255,.28); }
.btn-onlight:hover { background: rgba(255,255,255,.18); }
.btn-sm { padding: 9px 16px; font-size: .88rem; border-radius: 11px; }
.arrow::after { content: '→'; font-weight: 600; }

.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .8rem; font-weight: 600; color: #4a5169;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px;
  box-shadow: var(--shadow-sm);
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
.dark .chip { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); color: #dfe3f4; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .04em; padding: 3px 10px; border-radius: 999px; }
.tag-violet { background: rgba(109,91,255,.1); color: var(--violet); }
.tag-gold { background: rgba(255,181,36,.16); color: #a86b00; }
.tag-mint { background: rgba(23,201,100,.12); color: #0c8a43; }
.tag-blue { background: rgba(47,128,255,.1); color: var(--blue); }
.tag-rose { background: rgba(255,91,127,.12); color: #d63a60; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.hero .mesh { position: absolute; inset: 0; pointer-events: none; }
.hero .mesh i { position: absolute; display: block; border-radius: 50%; filter: blur(70px); opacity: .5; }
.hero .mesh .m1 { width: 520px; height: 520px; left: -140px; top: -160px; background: #4b3df0; }
.hero .mesh .m2 { width: 480px; height: 480px; right: -120px; top: -80px; background: #0e7ea8; }
.hero .mesh .m3 { width: 380px; height: 380px; left: 34%; bottom: -220px; background: #7c3aed; opacity: .38; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; padding: 88px 0 96px; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero p.lead { color: #b9c0dd; margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-note { margin-top: 18px; font-size: .82rem; color: #8d95b8; }

/* ---------- stats strip ---------- */
.stats { position: relative; background: #fff; border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 30px 26px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-family: var(--font-head); font-size: 1.65rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.stat span { display: block; margin-top: 4px; font-size: .86rem; color: var(--muted); line-height: 1.45; }
.stats-foot { padding: 10px 0 16px; font-size: .74rem; color: #9aa1b9; }

/* ---------- grids & cards ---------- */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); position: relative;
  transition: transform .18s, box-shadow .18s;
}
.card.hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { margin: 16px 0 8px; }
.card h4 { color: var(--ink); margin-bottom: 6px; }
.card p { font-size: .95rem; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; font-size: .92rem; }
.icon-tile {
  width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  background: rgba(109, 91, 255, .1); color: var(--violet);
}
.icon-tile svg { width: 24px; height: 24px; }
.icon-tile.gold { background: rgba(255, 181, 36, .16); color: #b57500; }
.icon-tile.mint { background: rgba(23, 201, 100, .12); color: #0c8a43; }
.icon-tile.blue { background: rgba(47, 128, 255, .1); color: var(--blue); }
.icon-tile.rose { background: rgba(255, 91, 127, .12); color: #d63a60; }
.icon-tile.cyan { background: rgba(18, 184, 207, .12); color: #0a8ea1; }
.dark .icon-tile { background: rgba(255,255,255,.1); color: #cfc6ff; }
.card .num { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: #c3c9dd; position: absolute; top: 22px; right: 24px; }
ul.ticks { list-style: none; margin-top: 12px; }
ul.ticks li { position: relative; padding-left: 26px; margin: 8px 0; font-size: .93rem; }
ul.ticks li::before {
  content: ''; position: absolute; left: 0; top: 6px; width: 15px; height: 15px; border-radius: 50%;
  background: rgba(23, 201, 100, .15);
}
ul.ticks li::after {
  content: ''; position: absolute; left: 4.5px; top: 10.5px; width: 6px; height: 3.5px;
  border-left: 2px solid var(--mint); border-bottom: 2px solid var(--mint); transform: rotate(-45deg);
}

/* ---------- dark sections ---------- */
.dark { background: var(--ink); color: #c6cce6; }
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }
.dark p.lead { color: #aab2d0; }
.dark .card { background: #161d38; border-color: rgba(255, 255, 255, .09); box-shadow: none; }
.dark .card p { color: #aab2d0; }
.dark ul.ticks li { color: #c6cce6; }

/* ---------- flow steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 26px 24px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.step .n {
  width: 34px; height: 34px; border-radius: 11px; background: var(--grad); color: #fff;
  font-family: var(--font-head); font-weight: 800; display: flex; align-items: center; justify-content: center;
  font-size: .95rem; margin-bottom: 14px;
}
.step h4 { margin-bottom: 6px; }
.step p { font-size: .9rem; color: var(--muted); }
.step:not(:last-child)::after {
  content: ''; position: absolute; top: 42px; right: -14px; width: 8px; height: 8px;
  border-top: 2px solid #c9cfe4; border-right: 2px solid #c9cfe4; transform: rotate(45deg);
}

/* ---------- phone mockup ---------- */
.phone-stage { position: relative; display: flex; justify-content: center; }
.phone {
  width: 292px; height: 600px; border-radius: 42px; background: #0a0e1d;
  padding: 10px; box-shadow: 0 30px 80px rgba(4, 8, 30, .55), 0 0 0 1px rgba(255, 255, 255, .09) inset;
  position: relative; z-index: 2;
}
.phone .screen { width: 100%; height: 100%; border-radius: 33px; overflow: hidden; background: #f4f5fb; display: flex; flex-direction: column; position: relative; }
.phone .notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 96px; height: 22px; background: #0a0e1d; border-radius: 12px; z-index: 5; }
.scr-top { background: var(--grad); padding: 44px 16px 16px; color: #fff; }
.scr-top .row1 { display: flex; align-items: center; justify-content: space-between; font-size: .72rem; opacity: .85; }
.scr-top .bal { margin-top: 10px; }
.scr-top .bal b { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.scr-top .bal span { font-size: .74rem; opacity: .85; display: block; }
.scr-chips { display: flex; gap: 6px; margin: 10px 16px 0; }
.scr-chips i { font-style: normal; font-size: .62rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: #fff; color: var(--ink); }
.scr-chips i.on { background: var(--ink); color: #fff; }
.scr-body { padding: 12px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.tcard { background: #fff; border-radius: 14px; padding: 12px; display: flex; gap: 11px; align-items: center; box-shadow: 0 1px 5px rgba(12, 17, 34, .07); position: relative; }
.tcard .app { width: 40px; height: 40px; border-radius: 12px; flex: none; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; }
.tcard .info { min-width: 0; }
.tcard .info b { display: block; font-size: .74rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
.tcard .info span { display: block; font-size: .64rem; color: var(--muted); }
.tcard .rw { margin-left: auto; text-align: right; flex: none; }
.tcard .rw b { font-family: var(--font-head); font-size: .8rem; color: #b57500; display: block; }
.tcard .rw span { font-size: .6rem; color: var(--muted); }
.tcard .badge-ct { position: absolute; top: -7px; left: 10px; font-size: .55rem; font-weight: 800; letter-spacing: .05em; color: #fff; background: var(--grad); padding: 2px 8px; border-radius: 999px; }
.tcard.agg .badge-ct { background: linear-gradient(100deg, #12b8cf, #17c964); }
.scr-homebar { margin-top: auto; padding: 8px 0 10px; display: flex; justify-content: center; }
.scr-homebar i { width: 100px; height: 4px; border-radius: 4px; background: #cdd3e6; }
.float-card {
  position: absolute; z-index: 4; background: #fff; color: var(--ink); border-radius: 14px;
  padding: 12px 15px; box-shadow: var(--shadow-md); font-size: .8rem; font-weight: 600;
  display: flex; align-items: center; gap: 10px; animation: floaty 5.5s ease-in-out infinite;
}
.float-card .ic { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex: none; }
.float-card small { display: block; font-weight: 500; color: var(--muted); font-size: .68rem; }
.float-card.fc1 { top: 12%; left: max(-30px, 2%); animation-delay: .4s; }
.float-card.fc2 { bottom: 20%; right: max(-30px, 2%); }
.float-card.fc3 { bottom: 4%; left: 6%; animation-delay: 1.2s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- tables ---------- */
.tbl-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: auto; box-shadow: var(--shadow-sm); background: #fff; }
table.tbl { width: 100%; border-collapse: collapse; min-width: 680px; }
table.tbl th, table.tbl td { text-align: left; padding: 14px 18px; font-size: .9rem; border-bottom: 1px solid #eef0f7; vertical-align: top; }
table.tbl thead th { background: #f2f4fb; font-family: var(--font-head); font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: #525a75; }
table.tbl tbody tr:last-child td { border-bottom: 0; }
table.tbl td b { color: var(--ink); }
table.tbl .price { font-family: var(--font-head); font-weight: 800; color: var(--ink); white-space: nowrap; }
.dark .tbl-wrap { border-color: rgba(255,255,255,.12); background: #131a33; }
.dark table.tbl th, .dark table.tbl td { border-bottom-color: rgba(255,255,255,.08); color: #c6cce6; }
.dark table.tbl thead th { background: rgba(255,255,255,.05); color: #aab2d0; }
.dark table.tbl td b, .dark table.tbl .price { color: #fff; }

/* ---------- callout / quote ---------- */
.callout { border: 1px solid var(--line); border-left: 4px solid var(--violet); background: #fafaff; border-radius: 14px; padding: 20px 24px; font-size: .95rem; }
.callout.gold { border-left-color: var(--gold); background: #fffaf0; }
.callout.mint { border-left-color: var(--mint); background: #f2fcf6; }
.callout b { color: var(--ink); }
.dark .callout { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); color: #c6cce6; }
.dark .callout b { color: #fff; }
blockquote.mark { font-family: var(--font-head); font-size: clamp(1.2rem, 2.4vw, 1.6rem); font-weight: 700; color: var(--ink); line-height: 1.4; }

/* price ladder */
.ladder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: end; }
.ladder .rung { border-radius: 14px 14px 0 0; padding: 18px 16px 14px; color: #fff; position: relative; }
.ladder .rung b { display: block; font-family: var(--font-head); font-size: 1.05rem; }
.ladder .rung span { font-size: .74rem; opacity: .9; display: block; margin-top: 4px; line-height: 1.4; }
.ladder .rung small { display: block; margin-top: 10px; font-weight: 700; font-size: .8rem; background: rgba(255,255,255,.18); border-radius: 8px; padding: 4px 9px; width: fit-content; }
.ladder .r1 { background: #8f97b3; height: 132px; }
.ladder .r2 { background: #5a648c; height: 158px; }
.ladder .r3 { background: var(--grad); height: 196px; box-shadow: 0 -10px 40px rgba(109,91,255,.35); }
.ladder .r4 { background: #202a52; height: 224px; }

/* ---------- FAQ ---------- */
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; margin-bottom: 12px; overflow: hidden; }
.faq summary { cursor: pointer; list-style: none; padding: 17px 22px; font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: .98rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.3rem; font-weight: 500; color: var(--muted); transition: transform .2s; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details div { padding: 0 22px 18px; font-size: .93rem; color: var(--body); }

/* ---------- CTA banner ---------- */
.cta-banner { position: relative; overflow: hidden; background: var(--ink); border-radius: 26px; padding: 58px 46px; color: #fff; }
.cta-banner::before { content: ''; position: absolute; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(109,91,255,.55), transparent 65%); top: -280px; right: -140px; }
.cta-banner::after { content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(18,184,207,.4), transparent 65%); bottom: -240px; left: -120px; }
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; margin-bottom: 12px; max-width: 640px; }
.cta-banner p { color: #b9c0dd; max-width: 620px; margin-bottom: 28px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- footer ---------- */
.site-foot { background: #0a0e1d; color: #8d95b8; padding: 64px 0 34px; font-size: .9rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.site-foot .brand { color: #fff; margin-bottom: 14px; }
.site-foot h5 { font-family: var(--font-head); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: #5f6885; margin-bottom: 16px; }
.site-foot ul { list-style: none; }
.site-foot li { margin: 9px 0; }
.site-foot a { color: #aab2d0; }
.site-foot a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-size: .8rem; color: #5f6885; }
.foot-bottom a { color: #5f6885; }
.foot-bottom a:hover { color: #aab2d0; }

/* ---------- misc ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.rev > :first-child { order: 2; }
.center { text-align: center; }
.mt8 { margin-top: 8px; } .mt16 { margin-top: 16px; } .mt24 { margin-top: 24px; } .mt32 { margin-top: 32px; } .mt48 { margin-top: 48px; }
.mb12 { margin-bottom: 12px; } .mb16 { margin-bottom: 16px; } .mb24 { margin-bottom: 24px; }
.small { font-size: .84rem; } .xsmall { font-size: .76rem; }
.muted { color: var(--muted); } .dim { color: #9aa1b9; }
.light-ink { color: #aab2d0; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.kbd { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: .8em; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; color: var(--ink); }
.dark .kbd { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); color: #dfe3f4; }
.code-block { background: #0f1530; color: #cbd3f0; border-radius: 14px; padding: 20px 24px; font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: .82rem; line-height: 1.75; overflow: auto; border: 1px solid rgba(255,255,255,.08); }
.code-block .c { color: #6d779e; } .code-block .k { color: #8f9fff; } .code-block .s { color: #6ee7a8; }

/* page-hero (inner pages) */
.page-hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: 74px 0 80px; }
.page-hero .mesh i.m1 { width: 460px; height: 460px; left: -120px; top: -180px; background: #4b3df0; }
.page-hero .mesh i.m2 { width: 420px; height: 420px; right: -100px; bottom: -240px; background: #0e7ea8; }
.page-hero h1 { color: #fff; margin-bottom: 16px; max-width: 820px; }
.page-hero p.lead { max-width: 760px; }
.page-hero .hero-ctas { margin-top: 26px; }
.crumbs { font-size: .8rem; color: #8d95b8; margin-bottom: 22px; }
.crumbs a { color: #aab2d0; } .crumbs a:hover { color: #fff; }

/* language switcher */
.lang-switch { display: inline-flex; align-items: center; gap: 3px; font-family: var(--font-head); font-weight: 700; font-size: .78rem; margin-right: 6px; }
.lang-switch a { padding: 5px 9px; border-radius: 8px; color: #6b7288; letter-spacing: .02em; }
.lang-switch a.on { background: rgba(109, 91, 255, .1); color: var(--violet); }
.lang-switch a:not(.on):hover { background: var(--bg-alt); color: var(--ink); }
.site-foot .lang-switch a { color: #5f6885; }
.site-foot .lang-switch a:hover { color: #fff; }
body[dir] { font-family: var(--font-body); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .float-card { animation: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero-in { grid-template-columns: 1fr; gap: 56px; padding: 66px 0 84px; }
  .hero-visual { max-width: 520px; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none !important; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat { border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.rev > :first-child { order: 0; }
  .ladder { grid-template-columns: repeat(2, 1fr); }
  .ladder .rung { height: auto !important; padding-bottom: 18px; border-radius: 14px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav {
    position: fixed; inset: 68px 0 auto 0; background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 14px 20px 20px; gap: 2px;
    transform: translateY(-130%); transition: transform .25s ease; box-shadow: var(--shadow-md); margin: 0; z-index: 55;
  }
  .nav.open { transform: none; }
  .nav a { padding: 13px 12px; font-size: 1rem; }
  .burger { display: block; }
  .head-cta .btn { display: none; }
  .g2, .g3 { grid-template-columns: 1fr; }
  .g4 { grid-template-columns: 1fr; }
  section.block { padding: 60px 0; }
  .cta-banner { padding: 40px 26px; border-radius: 20px; }
  .steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-left: 0 !important; border-top: 1px solid var(--line); padding: 20px 0; }
  .stat:first-child { border-top: 0; }
  .float-card.fc1 { left: 2%; top: 4%; } .float-card.fc2 { right: 2%; } .float-card.fc3 { display: none; }
  .ladder { grid-template-columns: 1fr; }
}
