/* ============================================================
   TornadoGate —  -
    ,  
   Display: Unbounded · Body: Onest
   ============================================================ */

:root {
  --bg: #f6faf7;
  --surface: #ffffff;
  --ink: #0a1f15;
  --ink-soft: #29463a;
  --muted: #5d7268;
  --accent: #10b981;
  --accent-deep: #047857;
  --accent-dark: #065f46;
  --tint: #e3f5ec;
  --tint-soft: #eef9f3;
  --line: #dfeee6;
  --shadow-sm: 0 1px 2px rgba(6, 78, 59, 0.05), 0 4px 14px rgba(6, 78, 59, 0.06);
  --shadow-md: 0 2px 6px rgba(6, 78, 59, 0.06), 0 18px 44px rgba(6, 78, 59, 0.10);
  --shadow-lg: 0 8px 24px rgba(6, 78, 59, 0.10), 0 32px 80px rgba(6, 78, 59, 0.14);
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 10px;
  --font-display: "Unbounded", sans-serif;
  --font-body: "Onest", sans-serif;
  --speed: 1;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: #fff; }

img { display: block; }

a { color: inherit; text-decoration: none; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ---------- Typography ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 44px); margin-bottom: 18px; }
.section-head p { color: var(--muted); font-size: 18px; max-width: 560px; text-wrap: pretty; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.accent-text { color: var(--accent-deep); }

/* ----------  ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  padding: 15px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(.2,.9,.3,1.4), box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  box-shadow: 0 8px 22px rgba(16, 185, 129, 0.35), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(16, 185, 129, 0.45), inset 0 1px 0 rgba(255,255,255,0.25); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--accent); color: var(--accent-deep); transform: translateY(-2px); }
.btn-light {
  background: #fff;
  color: var(--accent-deep);
  box-shadow: 0 8px 22px rgba(4, 55, 42, 0.25), inset 0 1px 0 rgba(255,255,255,0.6);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(4, 55, 42, 0.35), inset 0 1px 0 rgba(255,255,255,0.6); }
.btn-light:active { transform: translateY(0); }
.btn-sm { padding: 11px 22px; font-size: 15px; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line), 0 8px 30px rgba(6, 78, 59, 0.06);
}
.nav .wrap { max-width: 1440px; }
.nav-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 42px; height: 42px; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.brand-name em { font-style: normal; color: var(--accent-deep); }
.nav-links { display: flex; gap: 32px; margin-left: auto; }
.nav-links a {
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover { color: var(--accent-deep); }
.nav-links a:hover::after { transform: scaleX(1); }

/*   RU / EN */
.lang-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 3px;
  border-radius: 999px;
  background: var(--tint-soft);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 2px rgba(6, 78, 59, 0.05);
}
.lang-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  height: calc(100% - 6px);
  width: 40px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: 0 5px 14px rgba(16, 185, 129, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.34s cubic-bezier(.5, 1.4, .5, 1), width 0.34s cubic-bezier(.5, 1.4, .5, 1);
  z-index: 0;
}
.lang-opt {
  position: relative;
  z-index: 1;
  appearance: none;
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding: 6px 13px;
  border-radius: 999px;
  transition: color 0.28s ease;
}
.lang-opt:hover { color: var(--accent-deep); }
.lang-opt.active { color: #fff; }

/* Legal and privacy pages use a compact two-sided header. */
.tg-legal-page .nav {
  background: rgba(246, 250, 247, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(6, 78, 59, 0.1);
}

.tg-legal-page .nav-inner {
  gap: 16px;
}

.tg-legal-page .lang-toggle {
  margin-left: auto;
}

.tg-legal-page .nav-inner > .btn {
  min-width: 104px;
  margin-left: 4px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 170px 0 80px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg .grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(16,185,129,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,185,129,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%);
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  animation: blob-float calc(14s / var(--speed)) ease-in-out infinite alternate;
}
.blob-1 { width: 520px; height: 520px; background: #b9f0d8; top: -180px; right: -120px; }
.blob-2 { width: 420px; height: 420px; background: #d8f6e6; bottom: -160px; left: -140px; animation-delay: -5s; }
.blob-3 { width: 300px; height: 300px; background: #c9f2df; top: 36%; left: 38%; opacity: 0.4; animation-delay: -9s; }
@keyframes blob-float {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, -34px) scale(1.12); }
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  border-radius: 999px;
  padding: 8px 18px 8px 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-dark);
  margin-bottom: 28px;
}
.hero-badge .dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--tint);
  display: grid;
  place-items: center;
}
.hero-badge .dot::after {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot calc(2s / var(--speed)) ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.45); }
  60% { box-shadow: 0 0 0 7px rgba(16,185,129,0); }
}

.hero h1 {
  font-size: clamp(36px, 4.6vw, 60px);
  margin-bottom: 24px;
}
.hero h1 .gradient-word {
  background: linear-gradient(110deg, var(--accent) 10%, var(--accent-deep) 60%, #0a9e6e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 19px;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 36px;
  text-wrap: pretty;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }

.hero-stats {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  max-width: 520px;
}
.stat { flex: 1; padding-right: 24px; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--accent-deep);
  white-space: nowrap;
}
.stat-label { font-size: 13.5px; color: var(--muted); margin-top: 4px; line-height: 1.4; }

/* ---------- - ---------- */
.hero-scene {
  position: relative;
  height: 600px;
  perspective: 1300px;
}
.tornado {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}
.t-orbit {
  position: absolute;
  left: 50%;
  transform-style: preserve-3d;
  animation: t-spin var(--dur) linear infinite;
  animation-delay: var(--delay);
}
@keyframes t-spin {
  from { transform: rotateY(0deg); }
  to   { transform: rotateY(360deg); }
}
.t-card {
  position: absolute;
  left: 0; top: 0;
  transform: translateZ(var(--radius));
  transform-style: preserve-3d;
  animation: t-depth var(--dur) linear infinite;
  animation-delay: var(--delay);
}
@keyframes t-depth {
  0%   { opacity: 1;    filter: blur(0); }
  28%  { opacity: 0.92; filter: blur(0); }
  50%  { opacity: 0.32; filter: blur(1.4px); }
  72%  { opacity: 0.92; filter: blur(0); }
  100% { opacity: 1;    filter: blur(0); }
}
/* Mobile: stronger back-side fade so the tight funnel stays clean */
@keyframes t-depth-mobile {
  0%   { opacity: 1;    filter: blur(0); }
  32%  { opacity: 0.95; filter: blur(0); }
  50%  { opacity: 0.08; filter: blur(2.4px); }
  68%  { opacity: 0.95; filter: blur(0); }
  100% { opacity: 1;    filter: blur(0); }
}
.t-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(180deg, #ffffff, #f4faf6);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 7px 13px;
  box-shadow: 0 10px 26px rgba(6, 78, 59, 0.15), inset 0 1px 0 rgba(255,255,255,0.9);
  white-space: nowrap;
  animation: t-counter var(--dur) linear infinite;
  animation-delay: var(--delay);
  will-change: transform;
}
@keyframes t-counter {
  from { transform: translateX(-50%) rotateY(0deg); }
  to   { transform: translateX(-50%) rotateY(-360deg); }
}
.t-chip.is-cur {
  background: linear-gradient(180deg, #ffffff, #eef9f2);
  border-radius: 999px;
  padding-left: 8px;
}
.t-chip .t-ico {
  width: 24px; height: 24px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 9.5px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18), 0 2px 5px rgba(0,0,0,0.18);
}
.t-chip .t-ico.t-ico-svg {
  width: 28px;
  height: 28px;
  padding: 4px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid rgba(223, 238, 230, 0.9);
  color: inherit;
}
.t-chip .t-ico.t-ico-svg.is-wide {
  width: 42px;
  border-radius: 8px;
}
.t-chip .t-ico.t-ico-svg.is-sepa {
  width: 34px;
  padding: 2px;
  border-radius: 8px;
}
.t-chip .t-ico.t-ico-svg img,
.t-chip .t-ico.t-ico-svg svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.t-chip .t-ico.t-ico-svg.is-sepa img {
  object-fit: cover;
  transform: scale(1.08);
}
.t-chip .t-ico.t-ico-svg svg[hidden] {
  display: none;
}
.t-chip.is-cur .t-ico {
  border-radius: 50%;
  font-size: 13px;
}
.t-chip .t-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.01em;
}
/*  -  ( ) */
.t-vortex {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  width: 200px;
  height: 130px;
  pointer-events: none;
}
.v-ring { display: none; }
.v-core {
  position: absolute;
  left: 50%;
  bottom: 6px;
  transform: translateX(-50%);
  width: 150px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(16,185,129,0.4) 0%, rgba(16,185,129,0.12) 42%, transparent 70%);
  filter: blur(6px);
  animation: v-core-pulse calc(5s / var(--speed)) ease-in-out infinite alternate;
}
@keyframes v-core-pulse {
  from { transform: translateX(-50%) scale(0.92); opacity: 0.75; }
  to   { transform: translateX(-50%) scale(1.08); opacity: 1; }
}
.t-floor {
  position: absolute;
  left: 50%;
  bottom: 6px;
  transform: translateX(-50%);
  width: 340px;
  height: 56px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(16,185,129,0.28) 0%, rgba(16,185,129,0.07) 55%, transparent 75%);
  animation: floor-pulse calc(5s / var(--speed)) ease-in-out infinite alternate;
}
@keyframes floor-pulse {
  from { transform: translateX(-50%) scale(1); opacity: 0.9; }
  to   { transform: translateX(-50%) scale(1.12); opacity: 0.65; }
}

/* ---------- Matching- ---------- */
.match-scene {
  position: relative;
  height: 600px;
}
.match-standalone {
  height: 480px;
  margin-bottom: 56px;
}
.match-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.match-svg path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  opacity: 0.45;
  stroke-dasharray: 5 8;
  animation: dash-flow calc(1.1s / var(--speed)) linear infinite;
}
.match-svg path.m-line-req {
  stroke-width: 2.2;
  opacity: 0.6;
}
@keyframes dash-flow {
  to { stroke-dashoffset: -13; }
}

.m-node {
  position: absolute;
  left: var(--mx);
  top: var(--my);
  transform: translate(-50%, -50%);
  z-index: 1;
}

.m-request {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: var(--shadow-md);
  width: 168px;
}
.m-req-title {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--ink);
}
.m-req-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.m-req-chips span {
  background: var(--tint-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 11px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-dark);
}

.m-core { text-align: center; width: 130px; }
.m-core-ring {
  position: absolute;
  left: 50%;
  top: 55px;
  width: 110px;
  height: 110px;
  margin: -55px 0 0 -55px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  opacity: 0.5;
  animation: core-ring calc(2.6s / var(--speed)) ease-out infinite;
}
@keyframes core-ring {
  from { transform: scale(1); opacity: 0.5; }
  to   { transform: scale(1.55); opacity: 0; }
}
.m-core-disc {
  position: relative;
  display: grid;
  place-items: center;
  width: 110px;
  height: 110px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 14px 40px rgba(16, 185, 129, 0.28);
}
.m-core-disc img { width: 64px; height: 64px; }
.m-core-label {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: var(--tint);
  border-radius: 999px;
  padding: 6px 14px;
}

.m-dir {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 18px;
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  animation: dir-bob calc(4.5s / var(--speed)) ease-in-out infinite alternate;
  animation-delay: var(--fd, 0s);
}
.m-dir::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
@keyframes dir-bob {
  from { transform: translate(-50%, -50%); }
  to   { transform: translate(-50%, calc(-50% - 7px)); }
}

/* ---------- Ticker ---------- */
.ticker {
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
  background: var(--accent-dark);
  overflow: hidden;
  padding: 20px 0;
  position: relative;
}
.ticker::before, .ticker::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(90deg, var(--accent-dark), transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, var(--accent-dark), transparent); }
.ticker-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: ticker-move calc(36s / var(--speed)) linear infinite;
}
@keyframes ticker-move {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.04em;
}
.ticker-item::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #34d399;
}

/* ----------  ---------- */
section { padding: 110px 0; position: relative; }
section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ----------  ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.why-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px 30px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: #bfe8d4;
}
.why-card::before {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 150px; height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16,185,129,0.10), transparent 70%);
  transition: transform 0.4s ease;
}
.why-card:hover::before { transform: scale(1.5); }
.why-ico {
  width: 52px; height: 52px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--tint), #d4f3e4);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: var(--accent-deep);
}
.why-ico svg { width: 26px; height: 26px; }
.why-card h3 { font-size: 18px; margin-bottom: 10px; font-weight: 500; }
.why-card p { font-size: 15.5px; color: var(--muted); text-wrap: pretty; }

/* ----------   ---------- */
.methods-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.method-group {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.method-group:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.method-group-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.method-group-head .m-ico {
  width: 46px; height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: 0 6px 16px rgba(16,185,129,0.3);
}
.method-group-head .m-ico svg { width: 22px; height: 22px; }
.method-group-head h3 { font-size: 17px; font-weight: 500; }
.method-group-head span { display: block; font-family: var(--font-body); font-size: 13.5px; font-weight: 400; color: var(--muted); margin-top: 3px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--tint-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
  cursor: default;
}
.chip:hover {
  background: var(--tint);
  border-color: var(--accent);
  color: var(--accent-dark);
  transform: translateY(-2px);
}

.risk-banner {
  margin-top: 22px;
  background: linear-gradient(120deg, #07382a 0%, #0a5740 55%, #0c7a55 100%);
  border-radius: var(--r-lg);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.risk-banner::before {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52,211,153,0.25), transparent 70%);
}
.risk-banner h3 { font-size: 20px; font-weight: 500; margin-bottom: 8px; }
.risk-banner p { color: rgba(255,255,255,0.75); font-size: 15.5px; max-width: 420px; }
.risk-pills { display: flex; gap: 10px; margin-left: auto; flex-wrap: wrap; position: relative; }
.risk-pill {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(4px);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.risk-pill em { font-style: normal; color: #5eeab0; }

/* ----------  ---------- */
.geo-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
}
.geo-globe-wrap { position: relative; display: grid; place-items: center; }
#globe { max-width: 100%; }
.geo-globe-caption {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent-dark);
  white-space: nowrap;
}

/*      */
.globe-tip {
  position: absolute;
  z-index: 5;
  transform: translate(-50%, calc(-100% - 16px)) scale(0.94);
  transform-origin: bottom center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 14px 16px;
  min-width: 168px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s cubic-bezier(.2,.9,.3,1.4);
}
.globe-tip.show {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, calc(-100% - 16px)) scale(1);
}
.globe-tip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 14px; height: 14px;
  background: var(--surface);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: translateX(-50%) rotate(45deg);
}
.globe-tip-code {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-deep);
  background: var(--tint);
  border-radius: 7px;
  padding: 4px 9px;
  margin-bottom: 9px;
}
.globe-tip-code.globe-tip-code-img {
  width: 48px;
  height: 48px;
  padding: 6px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}
.globe-tip-code.globe-tip-code-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.globe-tip-code.globe-tip-code-img.flag-cover { padding: 0; }
.globe-tip-code.globe-tip-code-img.flag-cover img { width: 100%; height: 100%; object-fit: cover; }
.globe-tip-name {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 13px;
}
.globe-tip-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 999px;
  padding: 9px 16px;
  box-shadow: 0 6px 16px rgba(16,185,129,0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.globe-tip-btn svg { width: 15px; height: 15px; }
.globe-tip-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(16,185,129,0.42);
}
.geo-row {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.geo-row:hover { transform: translateX(6px); border-color: #bfe8d4; box-shadow: var(--shadow-sm); }
.geo-go {
  margin-left: auto;
  width: 36px; height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--tint-soft);
  color: var(--accent-deep);
  transition: background 0.25s ease, transform 0.25s ease;
}
.geo-go svg { width: 17px; height: 17px; }
.geo-row:hover .geo-go { background: var(--tint); transform: translateX(3px); }
.geo-flag {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent-deep);
  background: var(--tint);
  border-radius: 9px;
  padding: 8px 10px;
  min-width: 54px;
  text-align: center;
}
.geo-flag.geo-flag-stack {
  position: relative;
  width: 62px;
  height: 44px;
  min-width: 62px;
  padding: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff, var(--tint-soft));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.geo-flag.geo-flag-img {
  width: 56px;
  height: 56px;
  min-width: 56px;
  padding: 7px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.geo-flag.geo-flag-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.geo-flag.geo-flag-img.flag-cover { padding: 0; }
.geo-flag.geo-flag-img.flag-cover img { object-fit: cover; }
.geo-stack-code {
  position: relative;
  z-index: 2;
  border-radius: 999px;
  padding: 3px 7px;
  background: rgba(255,255,255,0.88);
  box-shadow: 0 2px 8px rgba(6, 78, 59, 0.08);
}
.geo-stack-flags {
  position: absolute;
  inset: 5px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  opacity: 0.82;
}
.geo-stack-flags span {
  border-radius: 4px;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
}
.geo-name { display: block; font-weight: 600; font-size: 16px; }
.geo-desc { display: block; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.geo-bar {
  margin-left: auto;
  width: 130px;
  height: 6px;
  border-radius: 4px;
  background: var(--tint-soft);
  overflow: hidden;
  flex-shrink: 0;
}
.geo-bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
  transition: width 1.2s cubic-bezier(.25,.8,.3,1);
}
.geo-row.in .geo-bar i { width: var(--fill); }

/* ----------    ---------- */
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.how-step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 26px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.how-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.how-num {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 40px;
  position: relative;
}
.how-num::after {
  content: "";
  position: absolute;
  left: 34px;
  top: 50%;
  right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, var(--tint), transparent);
}
.how-step h3 { font-size: 17px; font-weight: 500; margin-bottom: 10px; }
.how-step p { font-size: 14.5px; color: var(--muted); text-wrap: pretty; }

/* ----------   ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.cat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px 22px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #bfe8d4; }
.cat-ico {
  width: 44px; height: 44px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--tint), #d4f3e4);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: var(--accent-deep);
}
.cat-ico svg { width: 21px; height: 21px; }
.cat-card h3 { font-size: 15px; font-weight: 500; margin-bottom: 6px; }
.cat-card p { font-size: 13.5px; color: var(--muted); }

/* ----------  ---------- */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}
.compare-card {
  border-radius: var(--r-lg);
  padding: 38px 36px;
}
.compare-card h3 {
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 24px;
}
.compare-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.compare-card li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15.5px;
}
.compare-card li::before {
  content: "";
  flex-shrink: 0;
  width: 19px; height: 19px;
  margin-top: 2px;
  border-radius: 50%;
}
.compare-old {
  background: var(--surface);
  border: 1px solid var(--line);
}
.compare-old h3 { color: var(--muted); }
.compare-old li { color: var(--muted); }
.compare-old li::before {
  background: #f1f5f3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23889b91' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center / 9px no-repeat;
}
.compare-new {
  background: linear-gradient(160deg, #07382a 0%, #0a523c 60%, #0c6a4b 100%);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.compare-new li { color: rgba(255,255,255,0.92); }
.compare-new li::before {
  background: rgba(94,234,176,0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235eeab0' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4 10-10'/%3E%3C/svg%3E") center / 10px no-repeat;
}

/* ----------     ---------- */
.cond-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.cond-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.cond-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #bfe8d4; }
.cond-ico {
  width: 44px; height: 44px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--tint), #d4f3e4);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: var(--accent-deep);
}
.cond-ico svg { width: 21px; height: 21px; }
.cond-card h3 { font-size: 15.5px; font-weight: 500; margin-bottom: 6px; }
.cond-card p { font-size: 13.5px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 14px; max-width: 860px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-item:hover, .faq-item.open { border-color: #bfe8d4; box-shadow: var(--shadow-sm); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
}
.faq-x {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--tint-soft);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--accent-deep);
  transition: transform 0.35s cubic-bezier(.25,.8,.3,1), background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.faq-x svg { width: 15px; height: 15px; }
.faq-item.open .faq-x {
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  border-color: transparent;
  color: #fff;
}
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(.25,.8,.3,1);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; min-height: 0; }
.faq-a-inner p {
  padding: 0 64px 22px 24px;
  color: var(--muted);
  font-size: 15.5px;
  text-wrap: pretty;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.faq-item.open .faq-a-inner p { opacity: 1; transform: none; transition-delay: 0.08s; }

@media (max-width: 680px) {
  .faq-list { gap: 10px; }
  .faq-q { padding: 15px 16px; font-size: 13.5px; gap: 12px; }
  .faq-x { width: 28px; height: 28px; }
  .faq-x svg { width: 12px; height: 12px; }
  .faq-a-inner p { padding: 0 16px 16px; font-size: 14px; }
}

/* ----------  /  ---------- */
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
}
.contact-card--solo { grid-template-columns: 1fr; }
.contact-card--solo .contact-info { padding: 56px 56px 60px; }
.contact-card--solo .contact-info > p { max-width: 560px; }
.contact-card--solo .contact-rows { flex-direction: row; flex-wrap: wrap; margin-top: 44px; }
.contact-card--solo .contact-row { flex: 1 1 240px; }
.contact-info {
  background: linear-gradient(160deg, #07382a 0%, #0a523c 60%, #0d7350 100%);
  color: #fff;
  padding: 52px 48px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.contact-info::after {
  content: "";
  position: absolute;
  bottom: -120px; right: -120px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52,211,153,0.3), transparent 70%);
  pointer-events: none;
}
.contact-info h2 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 16px; }
.contact-info > p { color: rgba(255,255,255,0.75); margin-bottom: 36px; font-size: 16px; max-width: 360px; }
.contact-rows { display: flex; flex-direction: column; gap: 16px; position: relative; z-index: 1; margin-top: auto; }
.contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--r-md);
  padding: 14px 18px;
  font-weight: 600;
  font-size: 15.5px;
  transition: background 0.2s, transform 0.2s;
}
.contact-row:hover { background: rgba(255,255,255,0.13); transform: translateX(4px); }
.contact-row .c-ico {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: rgba(94,234,176,0.16);
  color: #5eeab0;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-row .c-ico svg { width: 18px; height: 18px; }
.contact-row span small { display: block; font-size: 12.5px; font-weight: 500; color: rgba(255,255,255,0.55); }

.contact-form { padding: 52px 48px; }
.contact-form h3 { font-size: 21px; font-weight: 500; margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 15.5px;
  color: var(--ink);
  background: var(--tint-soft);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(16,185,129,0.12);
}
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; margin-top: 6px; flex-wrap: wrap; }
.form-foot small { color: var(--muted); font-size: 13px; max-width: 280px; line-height: 1.45; }
.form-success {
  grid-column: 1 / -1;
  display: none;
  align-items: center;
  gap: 16px;
  background: var(--tint);
  border: 1px solid #b5e8d0;
  border-radius: var(--r-md);
  padding: 22px 24px;
}
.form-success.show { display: flex; animation: success-in 0.5s cubic-bezier(.2,.9,.3,1.3); }
@keyframes success-in {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}
.form-success .s-check {
  width: 46px; height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 8px 20px rgba(16,185,129,0.4);
}
.form-success b { font-size: 16px; }
.form-success p { font-size: 14px; color: var(--muted); margin-top: 2px; }

/* ----------  ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 44px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.footer .brand img { width: 34px; height: 34px; }
.footer .brand-name { font-size: 16px; }
.footer-links { display: flex; gap: 26px; margin-left: auto; flex-wrap: wrap; }
.footer-links a { font-size: 14.5px; color: var(--muted); font-weight: 500; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent-deep); }
.footer-disclaimer {
  width: 100%;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 8px;
  max-width: 820px;
  text-wrap: pretty;
}
.footer-copy { width: 100%; font-size: 13px; color: var(--muted); }

/* ---------- Reveal- ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.25,.8,.3,1);
    transition-delay: var(--rd, 0s);
  }
  .reveal.in { opacity: 1; transform: none; }
}

body.no-motion *, body.no-motion *::before, body.no-motion *::after {
  animation-play-state: paused !important;
}

/* ----------  ---------- */
@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-scene { height: 500px; order: 2; max-width: 640px; margin: 0 auto; width: 100%; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .how-grid { grid-template-columns: 1fr 1fr; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .cond-grid { grid-template-columns: 1fr 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .geo-inner { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 680px) {
  .why-grid, .methods-grid, .how-grid, .cat-grid, .cond-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .match-scene { height: 440px; }
  .m-request { width: 140px; }
  .m-dir { font-size: 12.5px; padding: 9px 14px; }
  .hero-stats { flex-direction: column; gap: 18px; }
  .stat + .stat { padding-left: 0; border-left: none; }
  .wrap { padding: 0 20px; }
  section { padding: 72px 0; }
}

/* ---- Mobile card sliders: swipeable cards instead of a tall text stack ---- */
@media (max-width: 680px) {
  .why-grid,
  .cat-grid,
  .cond-grid {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    margin: 0 -20px;
    padding: 8px 20px;
    scroll-padding: 0 20px;
  }
  .why-grid::-webkit-scrollbar,
  .cat-grid::-webkit-scrollbar,
  .cond-grid::-webkit-scrollbar {
    display: none;
  }
  .why-grid > *,
  .cat-grid > *,
  .cond-grid > * {
    flex: 0 0 84%;
    scroll-snap-align: start;
  }
}

.slider-dots {
  display: none;
}
@media (max-width: 680px) {
  .slider-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 22px;
  }
  .slider-dots button {
    width: 7px;
    height: 7px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--line);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease, border-radius 0.25s ease;
  }
  .slider-dots button.active {
    width: 22px;
    border-radius: 4px;
    background: var(--accent);
  }
}

/* Mobile polish */
@media (max-width: 760px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  img,
  canvas,
  svg {
    max-width: 100%;
  }

  .nav.scrolled,
  .nav {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 var(--line);
  }

  .nav-inner {
    height: 66px;
    gap: 12px;
  }

  .nav-inner > .btn {
    display: none;
  }

  .brand {
    min-width: 0;
    gap: 9px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .brand-name {
    font-size: 16px;
    white-space: nowrap;
  }

  .lang-toggle {
    margin-left: auto;
    flex-shrink: 0;
  }

  .lang-thumb {
    width: 36px;
  }

  .lang-opt {
    font-size: 11.5px;
    padding: 5px 11px;
  }

  .hero {
    padding: 112px 0 52px;
  }

  .hero-inner {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .hero-copy {
    display: contents;
  }

  .hero-badge { order: 1; }
  .hero h1 { order: 2; }
  .hero-sub { order: 3; }
  .hero-cta { order: 4; }
  .hero-scene { order: 5; }
  .hero-stats { order: 6; }

  .hero h1 {
    font-size: clamp(30px, 9.2vw, 42px);
    margin-bottom: 16px;
  }

  .hero-sub,
  .section-head p {
    font-size: 16px;
  }

  .hero-sub {
    margin-bottom: 24px;
  }

  .hero-badge {
    max-width: 100%;
    margin-bottom: 20px;
    padding-right: 14px;
    font-size: 12.5px;
  }

  .hero-cta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
    margin-bottom: 18px;
  }

  .hero-cta .btn,
  .form-foot .btn {
    width: 100%;
  }

  /* Keep the desktop 3D tornado on mobile — JS builds a shorter, narrower funnel */
  .hero-scene {
    display: block;
    height: 350px;
    max-width: 360px;
    width: 100%;
    margin: 0 auto 24px;
    perspective: 900px;
  }

  /* On the tight phone funnel, fade the back side much harder so only the
     front column reads clearly (avoids ghost half-chips behind the axis). */
  .t-card { animation-name: t-depth-mobile; }

  .t-chip {
    padding: 6px 10px;
    border-radius: 11px;
  }

  .t-chip .t-ico {
    width: 21px;
    height: 21px;
    font-size: 8.5px;
  }

  .t-chip .t-ico.t-ico-svg {
    width: 24px;
    height: 24px;
    padding: 3px;
  }

  .t-chip .t-ico.t-ico-svg.is-wide {
    width: 34px;
  }

  .t-chip .t-ico.t-ico-svg.is-sepa {
    width: 30px;
    padding: 2px;
  }

  .t-chip .t-label {
    font-size: 11.5px;
  }

  .t-floor {
    width: 260px;
  }

  .t-vortex {
    bottom: 24px;
    transform: translateX(-50%) scale(0.78);
    transform-origin: 50% 100%;
  }

  .ticker {
    padding: 15px 0;
  }

  .ticker-track {
    gap: 28px;
  }

  .ticker-item {
    font-size: 12px;
  }

  .section-head {
    margin-bottom: 34px;
  }

  .section-head h2 {
    font-size: clamp(25px, 7.6vw, 34px);
  }

  .why-card,
  .method-group,
  .how-step,
  .cat-card,
  .cond-card,
  .compare-card {
    border-radius: 18px;
    padding: 24px 20px;
  }

  .risk-banner {
    gap: 20px;
    padding: 28px 22px;
    border-radius: 20px;
  }

  .risk-pills {
    width: 100%;
    margin-left: 0;
  }

  .risk-pill {
    padding: 8px 14px;
    font-size: 12.5px;
  }

  .geo-inner {
    gap: 30px;
  }

  .geo-globe-caption {
    bottom: -6px;
    max-width: calc(100% - 28px);
    white-space: normal;
    text-align: center;
  }

  .geo-row {
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
  }

  .geo-bar {
    display: none;
  }

  .geo-go {
    margin-left: 0;
  }

  /* Matching diagram: keep the full desktop fan, just scaled down to fit (fitMatchScene in app.js) */
  .match-standalone {
    transform-origin: top left;
    will-change: transform;
  }

  .match-standalone .m-request {
    --mx: 15% !important;
  }

  .contact-card {
    border-radius: 20px;
  }

  .contact-info,
  .contact-form {
    padding: 32px 22px;
  }

  .contact-row {
    padding: 13px 14px;
    gap: 12px;
    font-size: 14px;
  }

  .contact-row span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .form-foot small {
    max-width: none;
  }

  .footer {
    padding: 32px 0;
  }

  .footer-inner {
    align-items: flex-start;
    gap: 22px;
  }

  .footer-links {
    width: 100%;
    margin-left: 0;
    gap: 14px 20px;
  }
}

@media (max-width: 430px) {
  .wrap {
    padding: 0 16px;
  }

  .nav-inner {
    height: 62px;
  }

  .brand-name {
    font-size: 14px;
  }

  .brand img {
    width: 30px;
    height: 30px;
  }

  .lang-thumb {
    width: 32px;
  }

  .lang-opt {
    font-size: 10.5px;
    padding: 4px 9px;
  }

  .hero {
    padding-top: 100px;
  }

  .btn {
    padding: 13px 18px;
    font-size: 14.5px;
  }

  .hero-scene {
    height: 330px;
    margin-inline: auto;
  }

  .tornado {
    transform: none;
  }

  .t-vortex {
    bottom: 12px;
    transform: translateX(-50%) scale(0.66);
  }

  .t-floor {
    width: 220px;
  }

  .hero-stats {
    gap: 14px;
    padding-top: 22px;
  }

  .stat-num {
    font-size: 23px;
  }

  .method-group-head {
    align-items: flex-start;
  }

  .compare-card li {
    font-size: 14.5px;
  }


  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
}

/* ============================================================
   MOBILE REDESIGN — matches "TornadoGate Mobile.dc" mockup.
   Keeps the real 3D tornado (#tornado) in the hero and the real
   dot-globe (#globe) in Geography; only the layout/skin changes.
   Placed last so it overrides the earlier mobile rules above
   (incl. the card-slider behaviour) on equal specificity.
   ============================================================ */
@media (max-width: 760px) {
  section { padding: 48px 0; }
  .wrap { padding: 0 22px; }
  .section-head { margin-bottom: 0; }
  .section-head h2 { font-size: clamp(23px, 6.6vw, 28px); margin-bottom: 0; }
  .section-head p { font-size: 14.5px; margin-top: 12px; }
  .section-head .eyebrow { margin-bottom: 12px; }

  /* ---- Hero stats: row of three bordered cards ---- */
  .hero-stats {
    flex-direction: row;
    gap: 10px;
    border-top: none;
    padding-top: 0;
    max-width: 100%;
  }
  .stat {
    flex: 1;
    min-width: 0;
    padding: 14px 8px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    text-align: center;
  }
  .stat + .stat { padding-left: 8px; border-left: 1px solid var(--line); }
  .stat-num { font-size: 22px; }
  .hero-stats .stat:nth-child(3) .stat-num { font-size: 16px; padding-top: 4px; }
  .stat-label { font-size: 11px; margin-top: 4px; }

  /* ---- Ticker: dark green bar like the mockup ---- */
  .ticker { background: var(--accent-dark); border-color: transparent; padding: 13px 0; }
  .ticker::before { background: linear-gradient(90deg, var(--accent-dark), transparent); }
  .ticker::after  { background: linear-gradient(-90deg, var(--accent-dark), transparent); }
  .ticker-item { color: rgba(255,255,255,0.92); font-size: 12px; }
  .ticker-item::before { background: #34d399; }

  /* ---- Hide slider dots: grids are real 2-col grids on mobile now ---- */
  .slider-dots { display: none; }

  /* ---- Advantages: 2-column card grid ---- */
  .why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 24px 0 0;
    padding: 0;
    overflow: visible;
  }
  .why-card { padding: 16px 15px; border-radius: 18px; }
  .why-ico { width: 40px; height: 40px; border-radius: 12px; margin-bottom: 13px; }
  .why-ico svg { width: 21px; height: 21px; }
  .why-card h3 { font-size: 15px; margin-bottom: 6px; }
  .why-card p { font-size: 13px; line-height: 1.5; }

  /* ---- How it works: vertical timeline (mockup), fan hidden ---- */
  #match-scene, .match-scene { display: none; }
  .how-grid {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 24px;
    padding-left: 64px;
  }
  .how-grid::before {
    content: "";
    position: absolute;
    left: 23px; top: 24px; bottom: 24px;
    width: 2px;
    background: linear-gradient(var(--accent), rgba(16,185,129,0.18));
  }
  .how-step {
    position: relative;
    margin: 0;
    padding: 15px 16px;
    border-radius: 18px;
  }
  .how-step:hover { transform: none; box-shadow: none; }
  .how-num {
    position: absolute;
    left: -64px; top: 12px;
    width: 48px; height: 48px;
    margin: 0;
    border-radius: 15px;
    background: linear-gradient(135deg, #10b981, #047857);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px;
    box-shadow: 0 10px 22px rgba(6,78,59,0.28);
  }
  .how-num::after { display: none; }
  .how-step h3 { font-size: 16px; margin-bottom: 6px; }
  .how-step p { font-size: 13.5px; }
  .how-step:last-child {
    background: linear-gradient(150deg, #0a1f15, #063f2e);
    border-color: transparent;
  }
  .how-step:last-child h3 { color: #fff; }
  .how-step:last-child p { color: rgba(255,255,255,0.78); }
  .how-step:last-child .how-num { background: #0a1f15; color: #34d399; }

  /* ---- Solutions: dark green section with rounded overlap ---- */
  #methods {
    position: relative;
    z-index: 1;
    margin-top: -22px;
    padding: 48px 0 44px;
    background: linear-gradient(165deg, #065f46, #04372a);
    border-radius: 30px 30px 0 0;
    box-shadow: 0 -8px 30px rgba(6,78,59,0.18);
  }
  #methods .eyebrow { color: #34d399; }
  #methods .section-head h2 { color: #fff; }
  #methods .section-head p { color: rgba(255,255,255,0.72); }
  #methods .cat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
    margin: 24px 0 0;
    padding: 0;
    overflow: visible;
  }
  #methods .cat-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    padding: 15px 14px;
  }
  #methods .cat-card:hover { transform: none; box-shadow: none; border-color: rgba(255,255,255,0.12); }
  #methods .cat-ico {
    width: auto; height: auto;
    margin-bottom: 11px;
    background: none;
    color: #34d399;
    place-items: start;
  }
  #methods .cat-ico svg { width: 22px; height: 22px; }
  #methods .cat-card h3 { color: #fff; font-size: 14px; }
  #methods .cat-card p { color: rgba(255,255,255,0.6); font-size: 12px; }
  #methods .risk-banner {
    margin-top: 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 18px;
  }
  #methods .risk-banner h3 { font-size: 15px; }
  #methods .risk-banner p { font-size: 12.5px; }
  #methods .risk-pills { margin-left: 0; }

  /* ---- Comparison: stacked cards, red / dark-green accents ---- */
  .compare-grid { gap: 14px; }
  .compare-card { padding: 20px; border-radius: 20px; }
  .compare-old { border-color: #f0d9d9; }
  .compare-old h3 { color: #b91c1c; }
  .compare-old li::before {
    background: #fde8e8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dc2626' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center / 9px no-repeat;
  }
  .compare-new h3 { color: #34d399; }

  /* ---- Conditions: light tint section, 2-col grid ---- */
  #conditions { background: var(--tint-soft); }
  .cond-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
    margin: 24px 0 0;
    padding: 0;
    overflow: visible;
  }
  .cond-card { padding: 15px 14px; border-radius: 16px; }
  .cond-card:hover { transform: none; box-shadow: none; }
  .cond-ico { width: 40px; height: 40px; border-radius: 12px; margin-bottom: 10px; }
  .cond-ico svg { width: 21px; height: 21px; }

  /* ---- Geography: keep the real globe, sized to the column ---- */
  #geo { background: var(--surface); }
  .geo-globe-wrap { margin: 6px 0 2px; }

  /* ---- Contact: green section, floating white form card ---- */
  #contact { padding: 0; }
  #contact .wrap { padding: 0; }
  .contact-card {
    position: relative;
    z-index: 1;
    margin-top: -22px;
    border: none;
    border-radius: 30px 30px 0 0;
    box-shadow: none;
  }
  .contact-info { padding: 40px 22px 6px; }
  .contact-info h2 { font-size: 23px; }
  .contact-form {
    background: var(--surface);
    margin: 16px 18px 38px;
    padding: 20px;
    border-radius: 22px;
    box-shadow: 0 20px 50px rgba(4,55,42,0.25);
  }
}

/* ---------- Cookie consent ---------- */
.cookie-bar {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translate(-50%, 160%);
  z-index: 200;
  width: min(680px, calc(100% - 32px));
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(.2,.9,.3,1.2), opacity 0.4s ease;
}
.cookie-bar.show { transform: translate(-50%, 0); opacity: 1; }
.cookie-bar-text { flex: 1; margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-soft); }
.cookie-bar-actions { display: flex; gap: 10px; flex-shrink: 0; }

@media (max-width: 560px) {
  .cookie-bar {
    flex-direction: column;
    align-items: stretch;
    bottom: 12px;
    gap: 12px;
  }
  .cookie-bar-actions .btn { flex: 1; }
}
