/* ROSHIN Tarjima & Ta’lim — v2 design system
   Apple-inspired: big confident type, rounded tiles, pill controls, liquid-glass surfaces,
   scroll-choreographed motion. Brand blue + white. */

:root {
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --faint: #86868b;
  --line: #d2d2d7;
  --hair: rgba(0, 0, 0, .08);
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --bg-3: #ececf0;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --link: #0066cc;
  --navy: #0a1f44;
  --night: #05070d;
  --night-2: #0b1020;
  --sky: #7cc4ff;
  --error: #e30000;

  --grad: linear-gradient(92deg, #0a5bd8 0%, #2f7bff 38%, #5b8cff 62%, #36b5ff 100%);
  --grad-dark: linear-gradient(92deg, #7db4ff 0%, #a9c7ff 45%, #c7b3ff 100%);

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  --mono: "SF Mono", ui-monospace, "JetBrains Mono", Menlo, monospace;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);

  --r-xl: 32px;
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;
  --pill: 980px;

  --gutter: 32px;
  --max: 1200px;
  --sec: 150px;
  --hdr: 76px;
}
@media (max-width: 767px) { :root { --gutter: 20px; --sec: 96px; --r-xl: 26px; --r-lg: 22px; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.47 var(--sans); letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; letter-spacing: inherit; }
input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: rgba(0, 113, 227, .22); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; }
.skip:focus { top: 16px; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--wide { max-width: calc(1440px + var(--gutter) * 2); }
.sec { padding-block: var(--sec); position: relative; }
.sec--mist { background: var(--bg-2); }
.sec--tight { padding-block: 72px; }
.sec + .sec:not(.sec--mist):not(.sec--dark) { padding-top: 0; }
.sec--mist + .sec, .sec--dark + .sec { padding-top: var(--sec) !important; }
.sec--dark { background: var(--night); color: #f5f5f7; }

/* ---------- Type ---------- */
.display, .h1, .h2, .h3, .h4 { color: var(--ink); font-weight: 700; }
.display { font-size: clamp(40px, 0.6rem + 7.4vw, 112px); line-height: 1.02; letter-spacing: -0.042em; }
.h1 { font-size: clamp(44px, 1.6rem + 4.6vw, 88px); line-height: 1.04; letter-spacing: -0.036em; }
.h2 { font-size: clamp(36px, 1.4rem + 3vw, 64px); line-height: 1.06; letter-spacing: -0.032em; }
.h3 { font-size: clamp(22px, 1rem + .7vw, 28px); line-height: 1.16; letter-spacing: -0.02em; font-weight: 600; }
.h4 { font-size: 21px; line-height: 1.2; letter-spacing: -0.016em; font-weight: 600; }
.display em, .h1 em, .h2 em, .h3 em, .grad {
  font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.on-dark { color: #f5f5f7; }
.on-dark .display, .on-dark .h1, .on-dark .h2, .on-dark .h3, .on-dark .h4 { color: #f5f5f7; }
.on-dark .display em, .on-dark .h1 em, .on-dark .h2 em, .on-dark .h3 em, .on-dark .grad { background-image: var(--grad-dark); }
.lead { font-size: clamp(19px, 1rem + .35vw, 22px); line-height: 1.42; letter-spacing: -0.016em; color: var(--muted); font-weight: 500; max-width: 34em; }
.on-dark .lead { color: #a1a1a6; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-size: 13px; letter-spacing: 0; color: var(--faint); }
.eyebrow { display: inline-block; font: 600 17px/1.2 var(--sans); letter-spacing: -0.01em; margin-bottom: 14px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.on-dark .eyebrow { background-image: var(--grad-dark); }
.prose { max-width: 720px; }
.prose p { margin-bottom: 1.1em; color: var(--ink-2); }
.prose h2 { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; margin: 1.8em 0 .5em; }
.prose ul { margin: 0 0 1.2em; }
.prose li { padding-left: 22px; position: relative; margin-bottom: .55em; color: var(--ink-2); }
.prose li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }

.sec-head { display: grid; justify-items: center; text-align: center; gap: 18px; margin: 0 auto 72px; max-width: 900px; }
.sec-head .eyebrow { margin-bottom: 0; }
.sec-head .lead { margin-inline: auto; }
.sec-head--left { justify-items: start; text-align: left; margin-left: 0; }
.sec-head--left .lead { margin-inline: 0; }
@media (max-width: 767px) { .sec-head { margin-bottom: 48px; } }

/* ---------- Icons ---------- */
.ic { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 26px; border-radius: var(--pill);
  background: var(--blue); color: #fff; font: 500 17px/1 var(--sans); letter-spacing: -0.016em; white-space: nowrap;
  transition: background-color .3s var(--ease), transform .45s var(--spring), box-shadow .3s var(--ease), color .3s;
  will-change: transform;
}
.btn:hover { background: var(--blue-hover); box-shadow: 0 10px 30px -10px rgba(0, 113, 227, .6); }
.btn:active { transform: scale(.96); }
.btn .ic { width: 17px; height: 17px; stroke-width: 2; transition: transform .4s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn--dark { background: var(--ink); }
.btn--dark:hover { background: #000; box-shadow: 0 10px 30px -12px rgba(0,0,0,.5); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #fff; box-shadow: 0 10px 30px -10px rgba(255,255,255,.35); }
.btn--ghost { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue); }
.btn--ghost:hover { background: var(--blue); color: #fff; }
.btn--sm { height: 38px; padding: 0 18px; font-size: 14px; }
.btn--lg { height: 58px; padding: 0 32px; font-size: 18px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

.link { color: var(--link); }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.arrow-link { display: inline-flex; align-items: center; gap: 4px; font: 400 17px/1.2 var(--sans); color: var(--link); letter-spacing: -0.016em; }
.arrow-link .ic { width: 14px; height: 14px; stroke-width: 2.2; transition: transform .4s var(--ease); }
.arrow-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.arrow-link:hover .ic, a:hover > .arrow-link .ic { transform: translateX(3px); }
.on-dark .arrow-link { color: #2997ff; }

/* ---------- Liquid glass ---------- */
.glass {
  --gl-bg: linear-gradient(135deg, rgba(255,255,255,.62), rgba(255,255,255,.26));
  --gl-rim: linear-gradient(135deg, rgba(255,255,255,.95), rgba(255,255,255,.18) 38%, rgba(255,255,255,.08) 62%, rgba(255,255,255,.75));
  --gl-shadow: 0 1px 1px rgba(0,0,0,.03), 0 18px 40px -18px rgba(10,30,80,.35);
  position: relative; isolation: isolate;
  background: var(--gl-bg);
  -webkit-backdrop-filter: blur(22px) saturate(190%); backdrop-filter: blur(22px) saturate(190%);
  box-shadow: var(--gl-shadow), inset 0 1px 1px rgba(255,255,255,.85), inset 0 -1px 2px rgba(255,255,255,.25);
}
.glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 2;
  background: var(--gl-rim);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.glass::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 1;
  background: radial-gradient(260px circle at var(--mx, 30%) var(--my, -20%), rgba(255,255,255,.55), rgba(255,255,255,0) 60%);
  opacity: var(--glare, .55); transition: opacity .5s var(--ease); mix-blend-mode: soft-light;
}
.glass:hover { --glare: 1; }
.glass--dark {
  --gl-bg: linear-gradient(135deg, rgba(40,52,90,.42), rgba(10,16,34,.28));
  --gl-rim: linear-gradient(135deg, rgba(255,255,255,.45), rgba(255,255,255,.06) 40%, rgba(255,255,255,.04) 60%, rgba(255,255,255,.28));
  --gl-shadow: 0 24px 60px -24px rgba(0,0,0,.7);
  color: #f5f5f7;
  box-shadow: var(--gl-shadow), inset 0 1px 1px rgba(255,255,255,.18);
}
.glass--clear { --gl-bg: linear-gradient(135deg, rgba(255,255,255,.28), rgba(255,255,255,.08)); }
/* Chromium only: true refraction through an SVG displacement map */
html.lg .glass--refract { -webkit-backdrop-filter: url(#lg-refract) blur(14px) saturate(190%); backdrop-filter: url(#lg-refract) blur(14px) saturate(190%); }

.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: var(--pill);
  font: 500 14px/1 var(--sans); letter-spacing: -0.01em; color: var(--ink); white-space: nowrap;
}
.chip .ic { width: 16px; height: 16px; stroke-width: 2; color: var(--blue); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: #30d158; box-shadow: 0 0 0 4px rgba(48, 209, 88, .18); }
.on-dark .chip { color: #f5f5f7; }

.tag {
  display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: var(--pill);
  font: 500 12.5px/1 var(--sans); letter-spacing: -0.005em; color: var(--ink-2); background: rgba(0,0,0,.05);
}
.on-dark .tag, .tag--light { background: rgba(255,255,255,.14); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.fi { width: 22px !important; height: 16px; line-height: 16px !important; background-size: cover; border-radius: 3px; box-shadow: 0 0 0 .5px rgba(0,0,0,.18); flex: none; }

/* ---------- Ambient orbs (soft radial gradients, transform-animated only) ---------- */
.orbs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.orb { position: absolute; border-radius: 50%; will-change: transform; }
.orb--1 { width: 70vmax; height: 70vmax; left: -22vmax; top: -30vmax; background: radial-gradient(closest-side, rgba(10, 91, 216, .38), rgba(10,91,216,0)); animation: drift1 22s ease-in-out infinite alternate; }
.orb--2 { width: 60vmax; height: 60vmax; right: -24vmax; top: -12vmax; background: radial-gradient(closest-side, rgba(54, 181, 255, .34), rgba(54,181,255,0)); animation: drift2 26s ease-in-out infinite alternate; }
.orb--3 { width: 55vmax; height: 55vmax; left: 18vw; bottom: -38vmax; background: radial-gradient(closest-side, rgba(94, 92, 230, .26), rgba(94,92,230,0)); animation: drift3 30s ease-in-out infinite alternate; }
.orb--4 { width: 34vmax; height: 34vmax; right: 8vw; bottom: -6vmax; background: radial-gradient(closest-side, rgba(255, 255, 255, .9), rgba(255,255,255,0)); animation: drift2 18s ease-in-out infinite alternate-reverse; }
.orbs--dark .orb--1 { background: radial-gradient(closest-side, rgba(29, 78, 216, .55), rgba(29,78,216,0)); }
.orbs--dark .orb--2 { background: radial-gradient(closest-side, rgba(56, 132, 255, .38), rgba(56,132,255,0)); }
.orbs--dark .orb--3 { background: radial-gradient(closest-side, rgba(124, 92, 255, .32), rgba(124,92,255,0)); }
.orbs--dark .orb--4 { background: radial-gradient(closest-side, rgba(54, 181, 255, .22), rgba(54,181,255,0)); }
@keyframes drift1 { to { transform: translate3d(14vw, 10vh, 0) scale(1.12); } }
@keyframes drift2 { to { transform: translate3d(-12vw, 14vh, 0) scale(.9); } }
@keyframes drift3 { to { transform: translate3d(10vw, -12vh, 0) scale(1.15); } }

/* ---------- Header: floating liquid-glass bar ---------- */
.hdr { position: fixed; left: 0; right: 0; top: 14px; z-index: 80; display: flex; justify-content: center; pointer-events: none; padding-inline: 14px; }
.hdr__bar {
  pointer-events: auto; width: min(1180px, 100%); height: 60px; padding: 0 10px 0 24px; border-radius: var(--pill);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: width .7s var(--ease), height .5s var(--ease), padding .5s var(--ease), box-shadow .5s;
}
.hdr.is-scrolled .hdr__bar { width: min(1120px, 100%); height: 54px; }
.hdr.is-hidden .hdr__bar { transform: translateY(-120%); }
.hdr__bar { transition: width .7s var(--ease), height .5s var(--ease), transform .6s var(--ease); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); line-height: 1; flex: none; }
.brand__mark { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(145deg, #2f7bff, #0a3a9e); display: grid; place-items: center; color: #fff; font: 700 15px/1 var(--sans); box-shadow: inset 0 1px 1px rgba(255,255,255,.5), 0 4px 10px -4px rgba(10,58,158,.6); }
.brand__text { display: flex; flex-direction: column; gap: 3px; }
.brand__word { font: 700 15px/1 var(--sans); letter-spacing: .14em; }
.brand__sub { font: 500 9.5px/1 var(--sans); letter-spacing: .08em; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 4px; align-self: stretch; }
.nav__item { display: flex; align-items: center; }
.nav__link { white-space: nowrap; position: relative; padding: 8px 14px; border-radius: var(--pill); font: 400 14px/1 var(--sans); color: var(--ink); opacity: .82; transition: opacity .25s, background-color .25s; }
.nav__item:hover .nav__link, .nav__link:focus-visible { opacity: 1; background: rgba(0,0,0,.05); }
.nav__link[aria-current] { opacity: 1; font-weight: 600; }
.mega {
  position: absolute; left: 50%; top: calc(100% + 10px); width: min(760px, calc(100vw - 28px)); padding: 14px; border-radius: 26px;
  opacity: 0; visibility: hidden; transform: translate(-50%, -8px) scale(.98); transform-origin: top center;
  transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .35s;
}
.mega::before { }
.nav__item:hover .mega, .nav__item:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); transition-delay: 0s; }
.mega__in { position: relative; z-index: 3; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega__link { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; transition: background-color .25s; }
.mega__link:hover, .mega__link:focus-visible { background: rgba(255,255,255,.6); }
.mega__ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(0,113,227,.1); color: var(--blue); flex: none; }
.mega__ico .ic { width: 20px; height: 20px; }
.mega__ico .fi { width: 24px !important; height: 18px; }
.mega__link b { display: block; font: 600 15px/1.2 var(--sans); color: var(--ink); margin-bottom: 4px; }
.mega__link span { font-size: 13px; color: var(--muted); line-height: 1.4; display: block; }
.mega__card { grid-column: 1 / -1; margin-top: 6px; padding: 18px 20px; border-radius: 18px; background: var(--ink); color: #f5f5f7; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mega__card b { font: 600 17px/1.2 var(--sans); }
.mega__card span { font-size: 13px; color: #a1a1a6; display: block; margin-top: 4px; }
.mega__card .arrow-link { color: #2997ff; font-size: 15px; }

.hdr__right { display: flex; align-items: center; gap: 14px; flex: none; }
.lang { display: flex; gap: 2px; padding: 3px; border-radius: var(--pill); background: rgba(0,0,0,.05); font: 600 11.5px/1 var(--sans); letter-spacing: .02em; color: var(--muted); }
.lang > * { padding: 6px 9px; border-radius: var(--pill); }
.lang [aria-current] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.lang [aria-disabled] { opacity: .5; cursor: default; }
.hdr__phone { font: 500 14px/1 var(--sans); color: var(--ink); }
.hdr__phone:hover { color: var(--blue); }
.burger { display: none; width: 42px; height: 42px; border-radius: 50%; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 24px; }
.menu-open .burger span:nth-child(1) { top: 20.5px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 20.5px; transform: rotate(-45deg); }
@media (max-width: 1180px) { .hdr__phone { display: none; } }
@media (max-width: 1023px) { .nav, .lang--hdr { display: none; } .burger { display: block; } .hdr__bar { padding-left: 18px; padding-right: 8px; } }
@media (max-width: 480px) { .hdr__cta { display: none; } .hdr__bar { height: 56px; } }

/* Mobile sheet */
.mnav {
  position: fixed; inset: 0; z-index: 70; padding: 100px var(--gutter) max(28px, env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto;
  background: rgba(250, 250, 252, .72); -webkit-backdrop-filter: blur(40px) saturate(180%); backdrop-filter: blur(40px) saturate(180%);
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s .45s;
}
.menu-open .mnav { opacity: 1; visibility: visible; transition-delay: 0s; }
.mnav__links a { display: block; font: 700 clamp(34px, 9vw, 44px)/1.18 var(--sans); letter-spacing: -0.03em; padding: 4px 0; color: var(--ink);
  opacity: 0; transform: translateY(18px) scale(.98); filter: blur(6px); transition: opacity .5s var(--ease), transform .7s var(--ease), filter .6s var(--ease); }
.menu-open .mnav__links a { opacity: 1; transform: none; filter: none; transition-delay: calc(.08s + var(--i) * 45ms); }
.mnav__foot { display: grid; gap: 12px; font-size: 15px; color: var(--muted); padding-top: 24px; margin-top: 32px; border-top: 1px solid var(--hair); }
.mnav__foot a { color: var(--link); }

/* ---------- Loader ---------- */
.loader { display: none; }
html.js:not(.seen):not(.no-anim) .loader { position: fixed; inset: 0; z-index: 200; background: #fff; display: grid; place-items: center; }
.loader__mark { width: 72px; height: 72px; border-radius: 22px; background: linear-gradient(145deg, #2f7bff, #0a3a9e); display: grid; place-items: center; color: #fff; font: 700 34px/1 var(--sans); box-shadow: 0 20px 40px -16px rgba(10,58,158,.6), inset 0 1px 1px rgba(255,255,255,.5); }

/* ---------- Home hero (pinned, scroll-choreographed) ---------- */
.ahero { position: relative; background: linear-gradient(180deg, #fbfcff 0%, #eef3fb 100%); }
.anim .ahero { height: 260vh; }
.ahero__sticky { position: relative; min-height: 100svh; overflow: hidden; display: flex; flex-direction: column; align-items: center; padding: 150px var(--gutter) 64px; }
.anim .ahero__sticky { position: sticky; top: 0; height: 100svh; }
.ahero__copy { position: relative; z-index: 3; text-align: center; display: grid; justify-items: center; gap: 22px; max-width: 980px; will-change: transform, opacity, filter; }
.ahero__copy .lead { max-width: 640px; text-align: center; }
.ahero__cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.ahero__kicker { margin-bottom: 4px; }

.stage { position: relative; z-index: 2; width: min(980px, 100%); margin-top: 64px; perspective: 1600px; }
.anim .stage { position: absolute; left: 50%; top: 50%; margin: 0; width: min(980px, calc(100% - 2 * var(--gutter))); transform: translate(-50%, -50%); }
.dev { border-radius: 34px; padding: 14px; transform-origin: 50% 100%; will-change: transform; }
.dev__screen { position: relative; z-index: 3; display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; border-radius: 24px; overflow: hidden; background: linear-gradient(160deg, #f7f9fd, #e9eef8); padding: 14px; aspect-ratio: 16 / 9.4; }
.paper { position: relative; background: #fff; border-radius: 16px; padding: 7% 8%; box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 20px 40px -24px rgba(10,30,80,.35); display: flex; flex-direction: column; }
.paper__top { display: flex; justify-content: space-between; font: 600 10px/1 var(--sans); letter-spacing: .14em; color: var(--ink); }
.paper__top span { color: var(--faint); font-family: var(--mono); letter-spacing: 0; font-weight: 500; }
.paper__title { text-align: center; margin: 12% 0 2%; font: 700 clamp(16px, 2vw, 26px)/1 var(--sans); letter-spacing: .32em; color: var(--ink); }
.paper__sub { text-align: center; font: 600 9px/1 var(--sans); letter-spacing: .2em; color: var(--faint); margin-bottom: 9%; }
.paper__ln { height: 6px; border-radius: 4px; background: #eef1f6; margin-bottom: 9px; }
.paper__ln--b { background: #dde4ef; }
.paper__sign { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; }
.paper__sign svg { width: 42%; color: var(--ink); }
.paper__sign span { font: 500 10px/1 var(--mono); color: var(--faint); }
.paper__seal { position: absolute; right: 7%; bottom: 14%; width: 30%; color: var(--blue); transform: rotate(-12deg); }
.paper__seal svg { width: 100%; height: auto; }
.paper__seal .ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--blue); opacity: 0; }

.track { display: flex; flex-direction: column; gap: 10px; padding: 6px 4px; }
.track__head { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 6px 10px; }
.track__head b { font: 700 clamp(15px, 1.6vw, 21px)/1.1 var(--sans); letter-spacing: -0.02em; }
.track__head span { font: 500 12px/1 var(--sans); color: var(--muted); }
.track__row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.7); box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.track__ico { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #e8ecf3; color: var(--faint); flex: none; transition: background-color .4s var(--ease), color .4s; }
.track__ico .ic { width: 15px; height: 15px; stroke-width: 2.6; opacity: 0; transform: scale(.4); transition: opacity .3s, transform .5s var(--spring); }
.track__row.is-done .track__ico { background: #30d158; color: #fff; }
.track__row.is-done .track__ico .ic { opacity: 1; transform: none; }
.track__row b { display: block; font: 600 14px/1.2 var(--sans); }
.track__row small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.track__row em { margin-left: auto; font: 500 12px/1 var(--mono); font-style: normal; color: var(--faint); }
.track__bar { height: 6px; border-radius: 6px; background: #e3e8f1; overflow: hidden; margin: 8px 6px 0; }
.track__bar i { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: left; transform: scaleX(var(--tp, 1)); border-radius: inherit; }
.anim .track__bar i { transform: scaleX(var(--tp, 0)); }

.floaters { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
html:not(.anim) .floaters { display: none; }
.floater { position: absolute; will-change: transform; }
.floater--1 { left: 4%; top: 50%; }
.floater--2 { right: 4%; top: 55%; }
.floater--3 { left: 7%; top: 64%; }
.floater--4 { right: 6%; top: 67%; }
.floater .chip { height: 46px; padding: 0 18px; font-size: 14.5px; font-weight: 600; }
.floater .flags { display: flex; gap: 4px; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; z-index: 5; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; font: 500 12px/1 var(--sans); color: var(--muted); }
.scroll-cue i { width: 22px; height: 34px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--faint); position: relative; }
.scroll-cue i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--faint); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(11px); opacity: 0; } 100% { opacity: 0; } }
.no-anim .scroll-cue { display: none; }
@media (max-width: 1023px) { .floater--3, .floater--4 { display: none; } .floater--1 { left: 3%; top: auto; bottom: 16%; } .floater--2 { right: 3%; top: auto; bottom: 9%; } }
@media (max-width: 767px) {
  .ahero__sticky { padding-top: 120px; }
  .anim .ahero { height: auto; }
  .anim .ahero__sticky { position: relative; height: auto; }
  .anim .stage { position: relative; left: auto; top: auto; transform: none; width: 100%; margin-top: 48px; }
  .dev { border-radius: 24px; padding: 8px; }
  .dev__screen { grid-template-columns: 1fr; aspect-ratio: auto; border-radius: 18px; padding: 10px; }
  .dev__screen .track { display: none; }
  .paper { aspect-ratio: 1 / 1.1; }
  .floaters { display: none; }
  .ahero__cta .btn { flex: 1 1 100%; }
  .scroll-cue { display: none; }
}

/* ---------- Word-by-word statement ---------- */
.words { padding-block: calc(var(--sec) * 1.05); }
.bigtext { font: 700 clamp(32px, 1rem + 3.4vw, 64px)/1.12 var(--sans); letter-spacing: -0.034em; color: var(--ink); max-width: 1100px; margin: 0 auto; }
.bigtext .w { opacity: var(--o, 1); transition: opacity .25s linear; }
.anim .bigtext .w { --o: .16; }
.anim .bigtext .grad, .anim .vquote .grad, .anim.anim .on-dark .vquote .grad { background: none; color: inherit; }
.anim .bigtext .grad .w, .anim .vquote .grad .w { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.anim .vquote .grad .w { background-image: var(--grad-dark); }
.vquote .w { opacity: var(--o, 1); }
.anim .vquote .w { --o: .18; }
.no-anim .track__row .track__ico { background: #30d158; color: #fff; }
.no-anim .track__row .track__ico .ic { opacity: 1; transform: none; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-xl); background: var(--bg-2); padding: 40px;
  display: flex; flex-direction: column; min-height: 320px;
  transition: transform .7s var(--ease), box-shadow .7s var(--ease);
}
.sec--mist .tile { background: #fff; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .5s var(--ease);
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(0,113,227,.09), transparent 60%); }
.tile:hover::after { opacity: 1; }
a.tile:hover, .tile--lift:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -36px rgba(10,30,80,.35); }
.tile--2 { grid-column: span 2; }
.tile--tall { grid-row: span 2; }
.tile--dark { background: var(--night); color: #f5f5f7; }
.tile--blue { background: linear-gradient(150deg, #2f7bff 0%, #0a5bd8 60%, #0846b3 100%); color: #fff; }
.tile--blue .h3, .tile--blue .h2, .tile--dark .h3, .tile--dark .h2 { color: #fff; }
.tile.tile--blue p, .tile.tile--dark p { color: rgba(255,255,255,.78); }
.tile .ic--tile { width: 44px; height: 44px; color: var(--blue); stroke-width: 1.4; margin-bottom: 26px; }
.tile--dark .ic--tile, .tile--blue .ic--tile { color: #fff; }
.tile .h3 { margin-bottom: 10px; }
.tile p { color: var(--muted); font-size: 17px; }
.tile__foot { margin-top: auto; padding-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tile__big { font: 700 clamp(56px, 3rem + 3vw, 96px)/.95 var(--sans); letter-spacing: -0.05em; }
.tile__big small { font-size: .3em; letter-spacing: -0.01em; font-weight: 600; margin-left: 6px; color: var(--muted); }
.tile--dark .tile__big small, .tile--blue .tile__big small { color: rgba(255,255,255,.7); }
.langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.langs .chip { background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.langs .chip b { font-weight: 700; }
.tile__art { position: absolute; z-index: -1; pointer-events: none; }
.tile__seal { right: -40px; bottom: -40px; width: 230px; color: var(--blue); opacity: .16; }
.tile__seal svg { width: 100%; height: auto; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.tile__globe { right: -90px; bottom: -120px; width: 380px; color: #fff; opacity: .25; }
.tile .flags { display: flex; gap: 8px; margin-top: 18px; }
.tile .flags .fi { width: 30px !important; height: 22px; border-radius: 4px; }
.tile ul.ticks li { display: flex; gap: 10px; align-items: center; padding: 7px 0; font-size: 16px; color: var(--ink-2); }
.tile ul.ticks .ic { width: 18px; height: 18px; color: var(--blue); stroke-width: 2.2; }
@media (max-width: 1023px) { .bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) { .bento { grid-template-columns: 1fr; gap: 14px; } .tile--2 { grid-column: auto; } .tile { padding: 30px 26px; min-height: 0; } }

/* ---------- Facts ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fact { text-align: center; padding: 28px 12px; }
.fact b span { font: inherit; }
.fact b { display: block; font: 700 clamp(56px, 2.5rem + 3.4vw, 104px)/1 var(--sans); letter-spacing: -0.055em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .04em; }
.fact > span { display: block; margin-top: 10px; font-size: 17px; color: var(--muted); font-weight: 500; }
.fact > small { display: block; font-size: 14px; color: var(--faint); margin-top: 2px; }
@media (max-width: 899px) { .facts { grid-template-columns: 1fr 1fr; gap: 8px; } }

/* ---------- Horizontal gallery (countries) ---------- */
.gallery { position: relative; background: var(--night); color: #f5f5f7; overflow: hidden; }
.gallery__head { padding: var(--sec) 0 64px; position: relative; z-index: 2; }
.gallery__viewport { position: relative; }
.anim .gallery__viewport { height: 100svh; display: flex; align-items: center; }
.gallery__track { display: flex; gap: 24px; padding: 0 var(--gutter) var(--sec); will-change: transform; }
.anim .gallery__track { padding-bottom: 0; padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2)); }
.gcard {
  position: relative; flex: 0 0 min(78vw, 860px); aspect-ratio: 16 / 10; border-radius: var(--r-xl); overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(24px, 3.4vw, 48px); color: #fff;
  background: var(--g); transition: transform .8s var(--ease);
}
.gcard:hover { transform: scale(.99); }
.gcard__globe { position: absolute; z-index: -1; width: 92%; right: -22%; top: -32%; color: #fff; opacity: .28; will-change: transform; }
.gcard__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,7,13,0) 35%, rgba(5,7,13,.65) 100%); }
.gcard__code { position: absolute; z-index: -1; right: 4%; bottom: -6%; font: 800 clamp(120px, 20vw, 300px)/1 var(--sans); letter-spacing: -0.06em; color: rgba(255,255,255,.07); will-change: transform; }
.gcard__top { position: absolute; left: clamp(24px, 3.4vw, 48px); right: clamp(24px, 3.4vw, 48px); top: clamp(22px, 3vw, 40px); display: flex; justify-content: space-between; align-items: center; }
.gcard__top .mono { color: rgba(255,255,255,.7); font-size: 12px; letter-spacing: .06em; }
.gcard__pin { position: absolute; left: var(--px, 58%); top: var(--py, 34%); width: 12px; height: 12px; border-radius: 50%; background: #7cc4ff; box-shadow: 0 0 20px 4px rgba(124,196,255,.7); }
.gcard__pin::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1.5px solid #7cc4ff; animation: pin 2.6s var(--ease) infinite; }
@keyframes pin { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(2); opacity: 0; } }
.gcard__name { font: 700 clamp(40px, 1.6rem + 4vw, 88px)/1 var(--sans); letter-spacing: -0.045em; margin-bottom: 14px; }
.gcard__line { font-size: clamp(16px, 1rem + .3vw, 20px); color: rgba(255,255,255,.78); max-width: 30em; margin-bottom: 22px; font-weight: 500; }
.gcard__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.gcard__more { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 20px; border-radius: var(--pill); font: 500 15px/1 var(--sans); }
.gcard__more .ic { width: 15px; height: 15px; stroke-width: 2.2; }
.gcard--end { flex-basis: min(60vw, 520px); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); justify-content: center; align-items: flex-start; gap: 18px; }
.gcard--end .h2 { font-size: clamp(32px, 1rem + 2.4vw, 48px); }
.gallery__progress { position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); width: 160px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.14); overflow: hidden; z-index: 3; }
.gallery__progress i { display: block; height: 100%; background: #fff; transform-origin: left; transform: scaleX(var(--gp, 0)); border-radius: inherit; }
.no-anim .gallery__progress, .gallery--static .gallery__progress { display: none; }
@media (max-width: 1023px) {
  .gallery__track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .gallery__track::-webkit-scrollbar { display: none; }
  .gcard { flex-basis: 84vw; aspect-ratio: 4 / 5; scroll-snap-align: center; }
  .gcard--end { flex-basis: 70vw; }
}

/* Country cards (grid version, used on inner pages) */
.countries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.countries .gcard { flex: none; aspect-ratio: 3 / 4; padding: 28px; border-radius: var(--r-lg); }
.countries .gcard__name { font-size: clamp(28px, 1rem + 1.6vw, 40px); margin-bottom: 8px; }
.countries .gcard__line { font-size: 15px; margin-bottom: 16px; }
.countries .gcard__more { display: none; }
.countries .gcard__top { left: 28px; right: 28px; top: 24px; }
.countries .gcard__code { font-size: 180px; }
.countries .gcard[hidden] { display: none; }
@media (min-width: 1024px) { .countries--3 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1023px) {
  .countries { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .countries::-webkit-scrollbar { display: none; }
  .countries .gcard { flex: 0 0 min(78%, 340px); scroll-snap-align: start; }
}
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 40px; }
.chips .fchip { height: 40px; padding: 0 18px; border-radius: var(--pill); font: 500 15px/1 var(--sans); color: var(--ink); background: var(--bg-2); transition: background-color .3s, color .3s, transform .4s var(--spring); }
.chips .fchip:hover { background: var(--bg-3); }
.chips .fchip:active { transform: scale(.95); }
.chips .fchip[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* ---------- Segmented control + packages ---------- */
.seg-wrap { display: flex; justify-content: center; margin-bottom: 56px; }
.seg { position: relative; display: inline-flex; max-width: 100%; padding: 5px; border-radius: var(--pill); }
.seg .tab { position: relative; z-index: 3; height: 44px; padding: 0 24px; border-radius: var(--pill); font: 500 15px/1 var(--sans); color: var(--ink-2); white-space: nowrap; transition: color .35s; }
.seg .tab[aria-selected="true"] { color: var(--ink); font-weight: 600; }
.seg__thumb { position: absolute; z-index: 2; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: var(--pill); background: #fff; box-shadow: 0 3px 10px -2px rgba(0,0,0,.14), 0 0 0 .5px rgba(0,0,0,.04); transition: transform .6s var(--spring), width .6s var(--spring); }
@media (max-width: 480px) { .seg { border-radius: 22px; } .seg__thumb { border-radius: 18px; } .seg .tab { flex: 1 1 0; height: auto; min-height: 44px; padding: 6px 12px; font-size: 13.5px; line-height: 1.2; white-space: normal; border-radius: 18px; } }
.tabpanels { position: relative; }
.tabpanel[hidden] { display: none; }

.pkgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.pkgs--2 { grid-template-columns: repeat(2, 1fr); max-width: 960px; margin-inline: auto; }
.pkgs--1 { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
.pkg {
  position: relative; display: flex; flex-direction: column; padding: 36px 32px 32px; border-radius: var(--r-lg); background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.04); transition: transform .7s var(--ease), box-shadow .7s var(--ease);
}
.sec:not(.sec--mist) .pkg { background: var(--bg-2); }
.pkg:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -36px rgba(10,30,80,.4); }
.pkg--feat { background: var(--night) !important; color: #f5f5f7; overflow: hidden; isolation: isolate; }
.pkg--feat::before { content: ""; position: absolute; inset: -40% -20% auto; height: 80%; z-index: -1; background: radial-gradient(closest-side, rgba(47,123,255,.45), transparent); }
.pkg__badge { align-self: flex-start; margin-bottom: 18px; height: 28px; padding: 0 12px; border-radius: var(--pill); display: inline-flex; align-items: center; font: 600 12px/1 var(--sans); color: #fff; background: var(--grad); }
.pkg__no { font: 600 13px/1 var(--sans); color: var(--blue); letter-spacing: -0.005em; }
.pkg--feat .pkg__no { color: #7db4ff; }
.pkg__name { font: 700 clamp(26px, 1.2rem + 1vw, 32px)/1.1 var(--sans); letter-spacing: -0.03em; margin: 10px 0 12px; }
.pkg__for { font-size: 15px; line-height: 1.5; color: var(--muted); margin-bottom: 24px; }
.pkg--feat .pkg__for { color: #a1a1a6; }
.pkg__list li { display: flex; gap: 10px; font-size: 15px; line-height: 1.45; padding: 7px 0; color: var(--ink-2); }
.pkg--feat .pkg__list li { color: #e8e8ed; }
.pkg__list .ic { width: 18px; height: 18px; color: var(--blue); stroke-width: 2.2; margin-top: 1px; }
.pkg--feat .pkg__list .ic { color: #7db4ff; }
.pkg__list li.is-extra { display: none; }
.pkg.is-open .pkg__list li.is-extra { display: flex; }
.pkg__more { font: 500 14px/1 var(--sans); color: var(--link); padding: 8px 0 0 28px; text-align: left; }
.pkg--feat .pkg__more { color: #2997ff; }
.pkg__meta { margin-top: auto; padding-top: 24px; }
.pkg__meta div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--hair); font-size: 14px; }
.pkg--feat .pkg__meta div { border-color: rgba(255,255,255,.12); }
.pkg__meta dt { color: var(--muted); }
.pkg--feat .pkg__meta dt { color: #86868b; }
.pkg__meta dd { font-weight: 600; text-align: right; }
.pkg .btn { margin-top: 18px; }
@media (max-width: 1100px) { .pkgs { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } .pkgs--2 { grid-template-columns: 1fr; } .pkg--feat { order: -1; } }

/* ---------- Pinned steps (home) ---------- */
.steps { position: relative; background: var(--bg); }
.anim .steps { height: 380vh; }
.steps__sticky { position: relative; display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; padding-block: var(--sec); }
.anim .steps__sticky { position: sticky; top: 0; height: 100svh; padding-block: 0; }
.steps__nav { display: grid; gap: 4px; margin-top: 40px; }
.steps__nav button { display: flex; align-items: center; gap: 16px; padding: 12px 0; text-align: left; font: 600 19px/1.2 var(--sans); letter-spacing: -0.02em; color: var(--faint); transition: color .5s var(--ease); }
.steps__nav button span { font: 500 13px/1 var(--mono); width: 26px; }
.steps__nav button.is-on { color: var(--ink); }
.steps__bar { position: relative; height: 4px; border-radius: 4px; background: var(--bg-3); margin-top: 28px; max-width: 320px; overflow: hidden; }
.steps__bar i { position: absolute; inset: 0; background: var(--grad); transform-origin: left; transform: scaleX(var(--sp, 1)); border-radius: inherit; }
.steps__stage { position: relative; aspect-ratio: 1 / .78; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; background: linear-gradient(160deg, #f3f6fc, #e4ebf7); }
.steps__stage .orbs .orb { animation-duration: 16s; }
.spanel { position: absolute; inset: 9%; border-radius: 26px; padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; will-change: transform, opacity, filter; }
.spanel__no { font: 700 clamp(64px, 3rem + 4vw, 120px)/.9 var(--sans); letter-spacing: -0.06em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.spanel__ico { position: absolute; right: clamp(24px, 3vw, 44px); top: clamp(24px, 3vw, 44px); width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: rgba(0,113,227,.12); color: var(--blue); z-index: 3; }
.spanel__ico .ic { width: 28px; height: 28px; }
.spanel h3 { position: relative; z-index: 3; margin-top: auto; font: 700 clamp(28px, 1.2rem + 1.6vw, 44px)/1.05 var(--sans); letter-spacing: -0.035em; margin-bottom: 12px; }
.spanel p { position: relative; z-index: 3; font-size: 18px; color: var(--ink-2); max-width: 26em; }
.spanel__no { position: relative; z-index: 3; }
.anim .spanel + .spanel { opacity: 0; }
@media (max-width: 1023px) {
  .anim .steps { height: auto; }
  .steps__sticky, .anim .steps__sticky { grid-template-columns: 1fr; position: relative; height: auto; padding-block: var(--sec); gap: 32px; }
  .steps__stage { aspect-ratio: auto; background: none; overflow: visible; display: grid; gap: 14px; }
  .steps__stage .orbs { display: none; }
  .spanel, .anim .spanel + .spanel { position: relative; inset: auto; opacity: 1; min-height: 260px; background: var(--bg-2); }
  .steps__nav, .steps__bar { display: none; }
}
.no-anim .steps__sticky { grid-template-columns: 1fr; }
.no-anim .steps__stage { aspect-ratio: auto; background: none; overflow: visible; display: grid; gap: 14px; }
.no-anim .steps__stage .orbs, .no-anim .steps__nav, .no-anim .steps__bar { display: none; }
.no-anim .spanel { position: relative; inset: auto; min-height: 240px; background: var(--bg-2); }

/* Process line (inner pages) */
.process { --p: 1; position: relative; display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 20px; }
.anim .process { --p: 0; }
.step { position: relative; padding: 32px 28px 30px; border-radius: var(--r-lg); background: var(--bg-2); overflow: hidden; }
.sec--mist .step { background: #fff; }
.process__track { position: absolute; left: 0; right: 0; top: -22px; height: 4px; border-radius: 4px; background: var(--bg-3); overflow: hidden; }
.process__fill { position: absolute; inset: 0; background: var(--grad); transform-origin: left; transform: scaleX(var(--p)); }
.step__dot { display: none; }
.step__no { font: 700 44px/1 var(--sans); letter-spacing: -0.05em; color: var(--bg-3); transition: color .6s var(--ease); }
.sec--mist .step__no { color: #e5e8ee; }
.step.is-active .step__no, .no-anim .step__no { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step__title { font: 600 22px/1.2 var(--sans); letter-spacing: -0.02em; margin: 18px 0 8px; }
.step p { font-size: 15px; color: var(--muted); }
.process { margin-top: 22px; }
@media (max-width: 899px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .process { grid-template-columns: 1fr; } }

/* ---------- Dark values ---------- */
.values-dark { position: relative; overflow: hidden; background: var(--night); color: #f5f5f7; padding-block: calc(var(--sec) * 1.1); }
.values-dark .container { position: relative; z-index: 2; }
.vquote { font: 700 clamp(44px, 1.4rem + 5.6vw, 120px)/1 var(--sans); letter-spacing: -0.05em; text-align: center; max-width: 1100px; margin: 0 auto; }
.vquote .grad { background-image: var(--grad-dark); }
.vsub { text-align: center; margin: 28px auto 88px; color: #a1a1a6; }
.vgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.vcard { border-radius: var(--r-lg); padding: 30px 26px 32px; min-height: 260px; display: flex; flex-direction: column; }
.vcard > * { position: relative; z-index: 3; }
.vcard .ic { width: 34px; height: 34px; color: #7db4ff; margin-bottom: 64px; }
.vcard h3 { font: 600 22px/1.2 var(--sans); letter-spacing: -0.02em; margin: 0 0 8px; }
.vcard p { font-size: 15px; color: #a1a1a6; }
@media (max-width: 1023px) { .vgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .vgrid { grid-template-columns: 1fr; } .vcard { min-height: 0; } .vcard .ic { margin-bottom: 32px; } }

/* Values list (inner pages) */
.values { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
.quote { position: sticky; top: 130px; }
.quote__mark { display: none; }
.quote blockquote { font: 700 clamp(40px, 1.2rem + 3.6vw, 72px)/1.02 var(--sans); letter-spacing: -0.045em; }
.quote p { margin-top: 28px; color: var(--muted); font-size: 18px; }
.quote cite { display: block; margin-top: 18px; font: 600 15px/1 var(--sans); color: var(--faint); font-style: normal; }
.vrow { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 28px; border-radius: var(--r-md); background: var(--bg-2); margin-bottom: 12px; }
.sec--mist .vrow { background: #fff; }
.vrow__no { font: 700 17px/1.6 var(--sans); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vrow h3 { font: 600 22px/1.2 var(--sans); letter-spacing: -0.02em; margin-bottom: 6px; }
.vrow p { color: var(--muted); }
@media (max-width: 1023px) { .values { grid-template-columns: 1fr; gap: 40px; } .quote { position: static; } .vrow { grid-template-columns: 40px 1fr; padding: 22px; } }

/* ---------- CTA + form (glass) ---------- */
.cta-sec { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, #eef3fb 100%); }
.cta-sec .container { position: relative; z-index: 2; }
.cta { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; padding: clamp(28px, 4.5vw, 64px); border-radius: 40px; }
.cta > * { position: relative; z-index: 3; }
.cta__copy .h2 { margin-top: 4px; }
.cta__copy .lead { margin-top: 18px; }
.cta__free { display: inline-flex; margin-top: 22px; }
.channels { margin-top: 36px; display: grid; gap: 10px; }
.channel { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; border-radius: 18px; background: rgba(255,255,255,.65); box-shadow: 0 1px 2px rgba(0,0,0,.04); transition: transform .5s var(--spring), background-color .3s; }
.channel:hover { background: #fff; transform: scale(1.015); }
.channel small { display: block; font: 500 12.5px/1 var(--sans); color: var(--muted); margin-bottom: 6px; }
.channel b { font: 600 18px/1.1 var(--sans); letter-spacing: -0.02em; }
.channel .ic { width: 18px; height: 18px; color: var(--blue); stroke-width: 2; }
@media (max-width: 1023px) { .cta { grid-template-columns: 1fr; gap: 40px; border-radius: 30px; } }

.form { position: relative; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form__grid .full { grid-column: 1 / -1; }
@media (max-width: 599px) { .form__grid { grid-template-columns: 1fr; } }
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%; height: 58px; padding: 24px 16px 8px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.82);
  font-size: 17px; color: var(--ink); outline: none; appearance: none; -webkit-appearance: none;
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.field textarea { height: 110px; resize: vertical; min-height: 58px; padding-top: 28px; line-height: 1.45; }
.field select { cursor: pointer; padding-right: 40px; background: rgba(255,255,255,.82) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%236e6e73' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M3 5l4 4 4-4'/%3E%3C/svg%3E") right 16px center / 14px no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,113,227,.16); background-color: #fff; }
.field label { position: absolute; left: 17px; top: 19px; font-size: 17px; color: var(--faint); pointer-events: none; transform-origin: left top; transition: transform .3s var(--ease), color .3s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { transform: translateY(-11px) scale(.72); }
.field input::placeholder, .field textarea::placeholder { color: transparent; }
.field.is-invalid input, .field.is-invalid select { border-color: var(--error); box-shadow: 0 0 0 4px rgba(227,0,0,.1); }
.field.is-invalid label { color: var(--error); }
.field__err { display: none; font-size: 12.5px; color: var(--error); padding: 6px 0 0 4px; }
.field.is-invalid .field__err { display: block; }
@keyframes shake { 0%, 100% { transform: none; } 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.shake { animation: shake .45s ease-in-out; }
.pkgpick { display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 14px; background: rgba(0,113,227,.1); margin-bottom: 12px; font-size: 15px; color: var(--ink-2); }
.pkgpick.is-on { display: flex; }
.pkgpick b { color: var(--blue); }
.pkgpick button { display: flex; color: var(--muted); }
.pkgpick button .ic { width: 18px; height: 18px; }
.drop { position: relative; display: flex; align-items: center; gap: 16px; margin-top: 12px; padding: 20px; border-radius: 16px; border: 1.5px dashed #b7c1d1; background: rgba(255,255,255,.55); cursor: pointer; transition: border-color .3s, background-color .3s, transform .45s var(--spring); }
.drop:hover, .drop.is-over { border-color: var(--blue); background: #fff; }
.drop.is-over { transform: scale(1.015); }
.drop .ic { width: 30px; height: 30px; color: var(--blue); }
.drop b { display: block; font-weight: 600; font-size: 15px; }
.drop span { font-size: 13px; color: var(--muted); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.files { display: grid; gap: 8px; margin-top: 10px; }
.file { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: #fff; font-size: 14px; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.05); animation: filein .5s var(--spring); }
@keyframes filein { from { opacity: 0; transform: translateY(8px) scale(.97); } }
.file .ic { width: 18px; height: 18px; color: var(--blue); }
.file__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file__size { color: var(--faint); font: 500 12px/1 var(--mono); }
.file button { display: flex; color: var(--faint); }
.file button:hover { color: var(--error); }
.form__hint { font-size: 13px; color: var(--error); margin-top: 6px; min-height: 1em; }
.check { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid #b7c1d1; background: #fff; margin: 0; display: grid; place-items: center; cursor: pointer; transition: all .25s; }
.check input:checked { background: var(--blue); border-color: var(--blue); }
.check input:checked::after { content: ""; width: 10px; height: 6px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: translate(0, -1px) rotate(-45deg); }
.check.is-invalid input { border-color: var(--error); }
.form__foot { display: flex; align-items: center; gap: 20px; margin-top: 24px; flex-wrap: wrap; }
.form__note { font-size: 14px; color: var(--muted); }
.form__status { margin-top: 16px; padding: 14px 18px; border-radius: 14px; font-size: 14.5px; background: rgba(0,113,227,.08); display: none; }
.form__status.is-on { display: block; }
.form__status.is-error { background: rgba(227,0,0,.07); color: #8a1111; }
.form__status a { color: var(--link); font-weight: 600; }
.hp { position: absolute; left: -9999px; }
.done { display: none; text-align: center; padding: 56px 0; }
.form.is-done .form__body { display: none; }
.form.is-done .done { display: block; }
.done svg { width: 96px; height: 96px; margin: 0 auto 24px; color: #30d158; }
.done h3 { font: 700 40px/1.1 var(--sans); letter-spacing: -0.035em; margin-bottom: 10px; }
.done p { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; margin: 0 auto; display: grid; gap: 10px; }
.faq__item { border-radius: var(--r-md); background: var(--bg-2); transition: background-color .3s; }
.sec--mist .faq__item { background: #fff; }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 28px; text-align: left; font: 600 clamp(17px, 1rem + .3vw, 20px)/1.3 var(--sans); letter-spacing: -0.018em; }
.faq__icon { position: relative; width: 28px; height: 28px; border-radius: 50%; background: rgba(0,0,0,.06); flex: none; transition: transform .6s var(--spring), background-color .3s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 8px; right: 8px; top: 13.25px; height: 1.5px; border-radius: 2px; background: var(--ink); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item.is-open .faq__icon { transform: rotate(45deg); background: var(--blue); }
.faq__item.is-open .faq__icon::before, .faq__item.is-open .faq__icon::after { background: #fff; }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 72px 26px 28px; color: var(--ink-2); opacity: 0; transform: translateY(-6px); transition: opacity .4s, transform .5s var(--ease); }
.faq__item.is-open .faq__a p { opacity: 1; transform: none; transition-delay: .1s; }
.faq-wrap { display: grid; gap: 0; }
.faq-wrap > div:first-child { text-align: center; }
.faq-wrap > div:first-child:not(:has(.sec-head)) { margin-bottom: 56px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 5fr 7fr; gap: 20px; align-items: stretch; }
.contact__info { border-radius: var(--r-xl); background: var(--bg-2); padding: clamp(28px, 4vw, 48px); }
.cinfo { margin-top: 28px; }
.cinfo div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--hair); }
.cinfo dt { font-size: 14px; color: var(--muted); }
.cinfo dd { font-size: 16px; font-weight: 500; }
.cinfo dd a { color: var(--link); }
.contact__info .h2 { font-size: clamp(32px, 1rem + 2vw, 46px); }
.contact__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.map { position: relative; min-height: 520px; border-radius: var(--r-xl); overflow: hidden; background: var(--bg-2); isolation: isolate; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.85) contrast(1.02) brightness(1.03); }
.map__label { position: absolute; left: 18px; bottom: 18px; z-index: 2; padding: 14px 18px; border-radius: 18px; font-size: 14px; }
.map__label > * { position: relative; z-index: 3; }
.map__label b { display: block; font: 700 17px/1.2 var(--sans); letter-spacing: .08em; }
@media (max-width: 1023px) { .contact { grid-template-columns: 1fr; } .map { min-height: 380px; } }
@media (max-width: 599px) { .cinfo div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Footer ---------- */
.ftr { background: var(--bg-2); color: var(--muted); font-size: 13px; padding: 72px 0 calc(32px + env(safe-area-inset-bottom)); }
.ftr__motto { font: 700 clamp(36px, 1rem + 4vw, 72px)/1.02 var(--sans); letter-spacing: -0.045em; color: var(--ink); padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.ftr__motto span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ftr__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding: 48px 0; }
.ftr h4 { font: 600 13px/1 var(--sans); color: var(--ink); margin-bottom: 16px; letter-spacing: -0.01em; }
.ftr li { margin-bottom: 10px; }
.ftr a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.ftr .brand { margin-bottom: 18px; }
.ftr__about { max-width: 24em; line-height: 1.55; }
.ftr__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.ftr__bottom nav { display: flex; gap: 20px; }
@media (max-width: 1023px) { .ftr__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .ftr { padding-bottom: calc(120px + env(safe-area-inset-bottom)); } .ftr__cols { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Floating Telegram + iOS-style tab bar ---------- */
.ftg { position: fixed; right: 28px; bottom: 28px; z-index: 60; height: 56px; min-width: 56px; padding: 0 18px; border-radius: var(--pill); display: flex; align-items: center; gap: 0; color: var(--blue);
  opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none; transition: opacity .5s var(--ease), transform .7s var(--spring); }
.past-hero .ftg { opacity: 1; transform: none; pointer-events: auto; }
.ftg > * { position: relative; z-index: 3; }
.ftg .ic { width: 22px; height: 22px; }
.ftg span { max-width: 0; overflow: hidden; white-space: nowrap; font: 600 15px/1 var(--sans); color: var(--ink); transition: max-width .6s var(--ease), margin .6s var(--ease); }
.ftg:hover span { max-width: 200px; margin-left: 10px; }
.mbar { display: none; }
@media (max-width: 767px) {
  .ftg { display: none; }
  .mbar { position: fixed; left: 14px; right: 14px; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 60; display: grid; grid-template-columns: repeat(3, 1fr); padding: 6px; border-radius: 26px;
    transform: translateY(140%); transition: transform .7s var(--spring); }
  .past-hero .mbar { transform: none; }
  .menu-open .mbar { transform: translateY(140%); }
  .mbar a { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: 54px; border-radius: 20px; font: 600 11px/1 var(--sans); color: var(--ink); transition: background-color .3s, transform .4s var(--spring); }
  .mbar a:active { transform: scale(.94); }
  .mbar a:last-child { background: var(--blue); color: #fff; }
  .mbar .ic { width: 21px; height: 21px; }
}

/* ---------- Inner page hero ---------- */
.phero { position: relative; overflow: hidden; padding: 180px 0 110px; background: linear-gradient(180deg, #fbfcff, #f2f5fb); }
.phero .container { position: relative; z-index: 2; }
.phero__globe { position: absolute; width: 760px; right: -180px; top: 50%; transform: translateY(-50%); color: var(--blue); opacity: .1; pointer-events: none; z-index: 1; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 36px; }
.crumbs a { color: var(--link); }
.crumbs span[aria-hidden] { color: var(--faint); }
.phero .lead { margin-top: 26px; }
.phero__grid { display: grid; grid-template-columns: 7.5fr 4.5fr; gap: 56px; align-items: end; }
.phero__meta { border-radius: 24px; padding: 8px 22px; }
.phero__meta > div { position: relative; z-index: 3; display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; font-size: 15px; }
.phero__meta > div + div { border-top: 1px solid rgba(0,0,0,.07); }
.phero__meta dt { color: var(--muted); }
.phero__meta dd { font-weight: 600; text-align: right; }
.phero__meta dd a { color: var(--link); }
.phero--dark { background: var(--night); }
.phero--dark .crumbs { color: #a1a1a6; }
.phero--dark .crumbs a { color: #2997ff; }
.phero--dark .phero__globe { color: #fff; opacity: .2; }
.phero--dark .phero__meta > div + div { border-color: rgba(255,255,255,.12); }
.phero--dark .phero__meta dt { color: #a1a1a6; }
.phero__flag { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.phero__flag .fi { width: 28px !important; height: 20px; }
.phero__flag .mono { color: #a1a1a6; font-size: 12px; letter-spacing: .06em; }
@media (max-width: 1023px) { .phero { padding: 140px 0 80px; } .phero__grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Inner content blocks ---------- */
.split { display: grid; grid-template-columns: 4fr 8fr; gap: 64px; }
.split__head { position: sticky; top: 120px; align-self: start; }
.split__head .h2 { font-size: clamp(32px, 1.2rem + 2vw, 48px); }
.split__head p { margin-top: 16px; color: var(--muted); }
@media (max-width: 1023px) { .split { grid-template-columns: 1fr; gap: 32px; } .split__head { position: static; } }

.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cols3 > * { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--bg-2); padding: 34px 30px; min-height: 240px; display: flex; flex-direction: column; transition: transform .7s var(--ease); }
.sec--mist .cols3 > * { background: #fff; }
.cols3 > *:hover { transform: translateY(-4px); }
.cols3 .h3 { margin: auto 0 10px; padding-top: 34px; }
.cols3 p { color: var(--muted); font-size: 16px; }
.cols3 .ic { width: 34px; height: 34px; color: var(--blue); }
.cols3 .mono { font: 700 15px/1 var(--sans); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 1023px) { .cols3 { grid-template-columns: 1fr; } .cols3 > * { min-height: 0; } }

.index { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.index li { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 16px; background: var(--bg-2); font-size: 16px; font-weight: 500; }
.index li .mono { font-size: 12px; min-width: 22px; }
@media (max-width: 599px) { .index { grid-template-columns: 1fr; } }

.table-wrap { overflow-x: auto; border-radius: var(--r-lg); background: var(--bg-2); padding: 8px 28px; }
.sec--mist .table-wrap { background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 560px; }
.table th { font: 600 13px/1.3 var(--sans); color: var(--muted); text-align: left; padding: 18px 20px 14px 0; border-bottom: 1px solid var(--line); vertical-align: bottom; }
.table td { padding: 16px 20px 16px 0; border-bottom: 1px solid var(--hair); vertical-align: top; color: var(--ink-2); }
.table tr:last-child td { border-bottom: 0; }
.table td:first-child { color: var(--ink); font-weight: 600; }
.table .yes { color: #30d158; }
.table .yes .ic, .table .no .ic { width: 20px; height: 20px; stroke-width: 2.4; }
.table .no { color: #c7c7cc; }
.table-note { font-size: 14px; color: var(--muted); margin-top: 14px; padding-left: 4px; }

.checklist { display: grid; gap: 8px; }
.checklist li { display: flex; gap: 14px; align-items: center; padding: 16px 20px; border-radius: 16px; background: var(--bg-2); font-weight: 500; }
.checklist .ic { width: 22px; height: 22px; color: #30d158; stroke-width: 2.4; }
.note { border-radius: 16px; background: rgba(0,113,227,.08); padding: 18px 22px; color: var(--ink-2); margin-top: 24px; }

/* Quiz */
.quiz { border-radius: var(--r-xl); padding: clamp(22px, 3.5vw, 40px); background: #fff; }
.quiz__q { padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; border-bottom: 1px solid var(--hair); transition: opacity .5s var(--ease); }
.quiz__q p { font: 600 19px/1.3 var(--sans); letter-spacing: -0.018em; max-width: 28em; }
.quiz__opts { display: inline-flex; gap: 0; padding: 4px; border-radius: var(--pill); background: var(--bg-2); flex-wrap: wrap; }
.quiz__opts label { position: relative; }
.quiz__opts input { position: absolute; opacity: 0; }
.quiz__opts span { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: var(--pill); font: 500 14px/1 var(--sans); color: var(--ink-2); cursor: pointer; transition: background-color .3s, color .3s, box-shadow .3s; }
.quiz__opts input:checked + span { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 2px 8px -2px rgba(0,0,0,.18); }
.quiz__opts input:focus-visible + span { outline: 2px solid var(--blue); }
.quiz__q.is-off { opacity: .3; pointer-events: none; }
.quiz__result { margin-top: 24px; padding: 26px; border-radius: 22px; background: var(--night); color: #a1a1a6; display: grid; gap: 6px; }
.quiz__result small { font: 600 13px/1 var(--sans); color: #7db4ff; }
.quiz__result b { font: 700 28px/1.15 var(--sans); letter-spacing: -0.03em; color: #fff; }

/* Row links (services overview) */
.rows { display: grid; gap: 14px; }
.rowlink { display: grid; grid-template-columns: 60px 4fr 6fr 40px; gap: 28px; align-items: center; padding: 40px 36px; border-radius: var(--r-lg); background: var(--bg-2); transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
.rowlink:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -34px rgba(10,30,80,.35); }
.rowlink .mono { font: 700 16px/1 var(--sans); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rowlink .h2 { font-size: clamp(32px, 1.2rem + 2vw, 52px); }
.rowlink p { color: var(--muted); }
.rowlink .ic { width: 26px; height: 26px; color: var(--blue); transition: transform .5s var(--ease); }
.rowlink:hover .ic { transform: translateX(6px); }
@media (max-width: 1023px) { .rowlink { grid-template-columns: 1fr; gap: 12px; padding: 30px 26px; } }

/* Chain diagram */
.chain { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; position: relative; }
.chain__node { position: relative; padding: 30px 26px; border-radius: var(--r-lg); background: var(--bg-2); }
.chain__node .ic { width: 34px; height: 34px; color: var(--blue); margin-bottom: 40px; }
.chain__node b { display: block; font: 600 22px/1.2 var(--sans); letter-spacing: -0.02em; margin-bottom: 6px; }
.chain__node span { font-size: 15px; color: var(--muted); }
.chain__node:last-child { background: var(--night); }
.chain__node:last-child b { color: #fff; }
.chain__node:last-child span { color: #a1a1a6; }
.chain__node:last-child .ic { color: #7db4ff; }
.chain__node:not(:last-child)::after { content: ""; position: absolute; right: -11px; top: 50%; z-index: 2; width: 8px; height: 8px; border-top: 2px solid #b7c1d1; border-right: 2px solid #b7c1d1; transform: translateY(-50%) rotate(45deg); }
@media (max-width: 767px) { .chain { grid-template-columns: 1fr 1fr; } .chain__node:nth-child(2)::after { display: none; } }

/* Office */
.office { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.office__art { position: relative; min-height: 440px; border-radius: var(--r-xl); background: var(--night); overflow: hidden; color: #fff; padding: 40px; display: flex; flex-direction: column; justify-content: flex-end; }
.office__art .globe-wrap { position: absolute; width: 130%; right: -40%; top: -20%; opacity: .3; color: #7db4ff; }
.office__art b { position: relative; font: 700 56px/1 var(--sans); letter-spacing: -0.05em; }
.office__art span { position: relative; font: 500 12px/1.6 var(--mono); color: #a1a1a6; margin-top: 14px; }
.office__body { border-radius: var(--r-xl); background: var(--bg-2); padding: clamp(28px, 4vw, 52px); }
.office__body .eyebrow { margin-bottom: 8px; }
@media (max-width: 1023px) { .office { grid-template-columns: 1fr; } .office__art { min-height: 300px; } }

/* 404 */
.nf { position: relative; overflow: hidden; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 140px var(--gutter) 80px; background: linear-gradient(180deg, #fbfcff, #eef3fb); }
.nf > div { position: relative; z-index: 2; }
.nf__mark { width: 110px; height: 110px; margin: 0 auto 36px; border-radius: 32px; display: grid; place-items: center; font: 700 44px/1 var(--sans); color: var(--blue); }
.nf__mark span { position: relative; z-index: 3; }
.nf .h1 { max-width: 13em; margin: 0 auto; }
.nf p { margin: 22px auto 36px; color: var(--muted); max-width: 30em; }

/* ---------- Motion start states (only when JS + GSAP are active) ---------- */
html.anim [data-reveal] { opacity: 0; }
html.anim [data-split] { visibility: hidden; }
html.anim [data-pop] { opacity: 0; }
html.anim .chain__node { opacity: 0; }
.split-line { padding: 0 .08em .18em; margin: 0 -.08em -.18em; }

/* ---------- View transitions ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .4s var(--ease-io) both; }
::view-transition-new(root) { animation: vt-in .7s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: scale(.985); filter: blur(4px); } }
@keyframes vt-in { from { opacity: 0; transform: scale(1.01); filter: blur(4px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .15s !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* Glass header over a dark page hero (country pages) until scrolled */
.hdr-dark .hdr:not(.is-scrolled) .hdr__bar {
  --gl-bg: linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,.04));
  --gl-rim: linear-gradient(135deg, rgba(255,255,255,.5), rgba(255,255,255,.06) 40%, rgba(255,255,255,.04) 60%, rgba(255,255,255,.3));
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.6), inset 0 1px 1px rgba(255,255,255,.2);
}
.hdr-dark .hdr:not(.is-scrolled) :is(.brand, .nav__link, .hdr__phone, .burger) { color: #f5f5f7; }
.hdr-dark .hdr:not(.is-scrolled) .brand__sub { color: #a1a1a6; }
.hdr-dark .hdr:not(.is-scrolled) .nav__item:hover .nav__link { background: rgba(255,255,255,.12); }
.hdr-dark .hdr:not(.is-scrolled) .lang { background: rgba(255,255,255,.12); color: #a1a1a6; }
.hdr-dark .hdr:not(.is-scrolled) .mega .nav__link { color: var(--ink); }

/* ---------- Bog‘lanish: messenger cards ---------- */
.sec--msgr { padding-top: 72px; }
.msgrs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.msgr { border-radius: var(--r-xl); padding: clamp(24px, 3.4vw, 40px); }
.msgr > * { position: relative; z-index: 3; }
.msgr__head { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.msgr__ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: #fff; color: var(--blue); box-shadow: 0 1px 2px rgba(0,0,0,.06); flex: none; }
.msgr__ico .ic { width: 28px; height: 28px; stroke-width: 1.6; }
.msgr h3 { font: 700 clamp(24px, 1rem + 1vw, 32px)/1.1 var(--sans); letter-spacing: -0.03em; }
.msgr__head p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.msgr__btns { display: grid; gap: 12px; }
.mbtn { display: flex; align-items: center; gap: 16px; padding: 14px 18px 14px 14px; border-radius: 22px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.05), inset 0 0 0 1px var(--hair); transition: transform .5s var(--spring), box-shadow .4s var(--ease); }
.mbtn:hover { transform: scale(1.015); box-shadow: 0 18px 40px -22px rgba(10,30,80,.45), inset 0 0 0 1px var(--hair); }
.mbtn:active { transform: scale(.98); }
.mbtn__ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff; flex: none; }
.mbtn__ico svg { width: 28px; height: 28px; }
.mbtn--tg .mbtn__ico { background: linear-gradient(160deg, #37aee2, #1e96c8); }
.mbtn--wa .mbtn__ico { background: linear-gradient(160deg, #3ddc6f, #1fb355); }
.mbtn small { display: block; font: 500 13px/1 var(--sans); color: var(--muted); margin-bottom: 6px; }
.mbtn b { font: 600 clamp(17px, 1rem + .3vw, 20px)/1.15 var(--sans); letter-spacing: -0.02em; overflow-wrap: anywhere; }
.mbtn > .ic { margin-left: auto; width: 18px; height: 18px; color: var(--faint); stroke-width: 2; }
.msgr-note { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 28px; color: var(--muted); font-size: 15px; text-align: center; }
.msgr-note .ic { width: 20px; height: 20px; color: var(--blue); }
@media (max-width: 899px) { .msgrs { grid-template-columns: 1fr; } }

/* ---------- Yangiliklar ---------- */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.news-head .eyebrow { margin-bottom: 12px; }
.news-note { color: var(--muted); font-size: 15px; margin-bottom: 28px; }
.ncard { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-2); transition: transform .5s var(--spring), box-shadow .5s var(--ease); }
.sec--mist .ncard { background: #fff; }
.ncard:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -36px rgba(10,30,80,.4); }
.ncard__img { position: relative; aspect-ratio: 16 / 10; background: var(--bg-3); overflow: hidden; }
.ncard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ncard:hover .ncard__img img { transform: scale(1.04); }
.ncard__img--none { display: grid; place-items: center; background: linear-gradient(150deg, #2f7bff 0%, #0a5bd8 60%, #0846b3 100%); }
.ncard__img--none span { font: 800 96px/1 var(--sans); color: rgba(255,255,255,.22); letter-spacing: -0.05em; }
.ncard__play { position: absolute; left: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.55); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.ncard__play svg { width: 18px; height: 18px; fill: currentColor; margin-left: 2px; }
.ncard__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; }
.ncard__date { font-size: 13px; color: var(--faint); font-weight: 500; }
.ncard__title { font: 600 21px/1.22 var(--sans); letter-spacing: -0.02em; }
.ncard__body p { font-size: 15px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-empty { display: grid; justify-items: center; gap: 14px; padding: 72px 24px; border-radius: var(--r-xl); background: var(--bg-2); color: var(--muted); text-align: center; }
.news-empty .ic { width: 40px; height: 40px; color: var(--faint); stroke-width: 1.4; }
@media (max-width: 1023px) { .news { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .news { grid-template-columns: 1fr; } }

.post { padding-bottom: var(--sec); }
.container--post { max-width: calc(760px + var(--gutter) * 2); }
.container--post-wide { max-width: calc(1040px + var(--gutter) * 2); }
.post__head { padding: 170px 0 40px; background: linear-gradient(180deg, #fbfcff, #fff); }
.post__head .crumbs { margin-bottom: 28px; }
.post__date { display: block; font-size: 15px; color: var(--muted); font-weight: 500; margin-bottom: 14px; }
.post__title { font: 700 clamp(34px, 1rem + 3vw, 56px)/1.06 var(--sans); letter-spacing: -0.04em; overflow-wrap: break-word; }
.post__head .lead { margin-top: 18px; }
.post__cover { width: 100%; max-height: 640px; object-fit: cover; border-radius: var(--r-xl); margin-bottom: 48px; }
.post__body { max-width: none; font-size: 18px; line-height: 1.6; }
.post__body p { color: var(--ink-2); }
.post__body strong { color: var(--ink); font-weight: 600; }
.post__media { display: grid; gap: 24px; margin: 40px 0 0; }
.pmedia img { width: 100%; border-radius: var(--r-md); }
.pmedia figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }
.pmedia__frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; background: #000; }
.pmedia__frame iframe, .pmedia__frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: contain; }
.post__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--hair); }
.post__nav a { padding: 18px 20px; border-radius: var(--r-md); background: var(--bg-2); transition: background .3s; }
.post__nav a:hover { background: var(--bg-3); }
.post__nav a.is-next { text-align: right; }
.post__nav small { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.post__nav b { font: 600 16px/1.3 var(--sans); }
.post__back { margin-top: 28px; }
@media (max-width: 599px) { .post__head { padding-top: 130px; } .post__nav { grid-template-columns: 1fr; } .post__nav a.is-next { text-align: left; } .post__cover { border-radius: var(--r-md); margin-bottom: 32px; } }

/* ---------- Universitetlar ---------- */
.grant-hero { display: grid; grid-template-columns: 5fr 7fr; gap: 32px; align-items: end; min-height: 0; margin-bottom: 20px; padding: clamp(28px, 3.6vw, 44px); }
.grant-hero .h3 { margin: 10px 0 0; color: #fff; }
.grant-hero__k { display: inline-block; font: 600 13px/1 var(--sans); padding: 7px 12px; border-radius: var(--pill); background: rgba(255,255,255,.18); }
.grant-hero p { font-size: 17px; }
.unis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.uni { display: flex; flex-direction: column; gap: 10px; padding: 26px 26px 24px; border-radius: var(--r-lg); background: var(--bg-2); transition: transform .5s var(--spring); }
.uni:hover { transform: translateY(-4px); }
.uni__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.uni__type { font: 600 12.5px/1 var(--sans); padding: 7px 11px; border-radius: var(--pill); background: #fff; color: var(--ink-2); }
.uni__type--state { color: #0a5bd8; }
.uni__type--private { color: #7a3fd8; }
.uni__type--research, .uni__type--branch { color: #0f7b52; }
.uni__city { display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; color: var(--muted); }
.uni__city .ic { width: 15px; height: 15px; stroke-width: 2; }
.uni__name { font: 700 22px/1.18 var(--sans); letter-spacing: -0.025em; }
.uni p { font-size: 15px; color: var(--muted); flex: 1; }
.uni .tags { margin-top: 8px; }
.uni-note { display: flex; gap: 12px; align-items: flex-start; max-width: 820px; margin: 0 auto; padding: 20px 24px; border-radius: var(--r-md); background: var(--bg-2); color: var(--muted); font-size: 15px; }
.uni-note .ic { width: 22px; height: 22px; color: var(--blue); }
@media (max-width: 1023px) { .unis { grid-template-columns: 1fr 1fr; } .grant-hero { grid-template-columns: 1fr; gap: 14px; } }
@media (max-width: 599px) { .unis { grid-template-columns: 1fr; } }

/* ---------- Hamkorlarimiz ---------- */
.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.partner { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border-radius: var(--r-lg); background: var(--bg-2); }
.sec--mist .partner { background: #fff; }
.partner__logo { width: 72px; height: 72px; flex: none; border-radius: 20px; display: grid; place-items: center; background: #fff; color: var(--faint); box-shadow: inset 0 0 0 1.5px var(--line); }
.sec--mist .partner__logo { background: var(--bg-2); }
.partner__logo .ic { width: 30px; height: 30px; stroke-width: 1.4; }
.partner__where { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.partner h3 { font: 600 19px/1.25 var(--sans); letter-spacing: -0.02em; margin: 8px 0 4px; }
.partner p { font-size: 14px; color: var(--faint); }
.partner-cta { display: flex; flex-direction: row; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; min-height: 0; padding: clamp(32px, 4vw, 56px); }
.partner-cta .h2 { font-size: clamp(32px, 1rem + 2.4vw, 52px); color: #fff; }
.partner-cta .h2 em { background: none; -webkit-text-fill-color: currentColor; color: rgba(255,255,255,.8); }
.partner-cta p { margin-top: 12px; max-width: 34em; }
@media (max-width: 1023px) { .partners { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .partners { grid-template-columns: 1fr; } }

/* Six top-level nav items since News + Partners: tighten, then switch to the burger earlier */
@media (max-width: 1360px) { .nav { gap: 0; } .nav__link { padding: 8px 10px; } .hdr__phone { display: none; } }
@media (max-width: 1199px) { .nav, .lang--hdr { display: none; } .burger { display: block; } .hdr__bar { padding-left: 18px; padding-right: 8px; } .hdr__phone { display: inline; } }
@media (min-width: 1200px) { .hdr__phone { display: none; } } /* no room next to six nav items; the number stays in the menu, footer and contact page */
@media (max-width: 640px) { .hdr__phone { display: none; } }
@media (max-width: 599px) { .msgr { padding: 20px 16px; } .msgr__head { gap: 12px; margin-bottom: 18px; } .msgr__ico { width: 46px; height: 46px; border-radius: 14px; } .mbtn { gap: 12px; padding: 10px 12px 10px 10px; border-radius: 18px; } .mbtn__ico { width: 44px; height: 44px; border-radius: 13px; } .mbtn__ico svg { width: 24px; height: 24px; } .mbtn > span:not(.mbtn__ico) { min-width: 0; } .mbtn b { display: block; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; overflow-wrap: normal; } }
