/* ============================================================
   SWOY.AI — GLASS (glassmorphism SaaS, стиль WindPulse)
   Акцент: синий → фиолетовый вместо зелёного.
   Шрифты: Onest (текст) + Geist Mono (мелкие метки)
   ============================================================ */

:root {
  --bg:      #07080D;
  --bg-2:    #0A0B12;
  --ink:     #F4F6FF;
  --ink-2:   #A8AEC4;
  --ink-3:   #6B7188;

  /* стекло */
  --glass:    rgba(255,255,255,0.045);
  --glass-2:  rgba(255,255,255,0.07);
  --glass-bd: rgba(255,255,255,0.09);
  --glass-bd2:rgba(255,255,255,0.16);

  /* акцент: синий → фиолетовый */
  --blue:   #5B8DEF;
  --blue-2: #4D8BFF;
  --purple: #9B6CFF;
  --purple-2:#B79BFF;
  --grad:   linear-gradient(135deg, #4D8BFF 0%, #9B6CFF 100%);
  --grad-soft: linear-gradient(135deg, rgba(77,139,255,0.18), rgba(155,108,255,0.18));
  --glow-blue:   rgba(77,139,255,0.55);
  --glow-purple: rgba(155,108,255,0.50);

  /* статусы (без зелёного) */
  --cyan:  #5FE1FF;   /* положительная динамика */
  --amber: #F5B544;   /* внимание */
  --coral: #FF6B6B;   /* ошибка / минус */

  --maxw: 1240px;
  --radius: 22px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Onest', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 17px; line-height: 1.6;
  overflow-x: hidden; position: relative;
}

/* ---- атмосфера: цветное свечение + сетка-grid + зерно ---- */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(820px circle at 88% -8%, rgba(77,139,255,0.20), transparent 55%),
    radial-gradient(760px circle at 6% 108%, rgba(155,108,255,0.18), transparent 55%),
    radial-gradient(680px circle at 12% 4%, rgba(77,139,255,0.07), transparent 50%);
}
body::after {
  content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.wrap { position: relative; z-index: 1; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* ============ NAV (прозрачная, без подложки) ============ */
.nav {
  position: fixed; top: 18px; left: 50%; transform: translateX(-50%);
  z-index: 100; width: calc(100% - 40px); max-width: var(--maxw);
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 4px;
  transition: padding .3s;
}
.nav.scrolled { padding: 6px 4px; }
.brand {
  position: relative; display: inline-flex; align-items: baseline;
  font-weight: 700; font-size: 22px; letter-spacing: -0.03em;
  color: var(--ink); text-decoration: none; padding: 2px;
}
.brand b {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; font-weight: 700;
}

.nav-right { display: flex; gap: 9px; align-items: center; }
.nav-login {
  color: var(--ink-2); font-size: 15px; font-weight: 600;
  text-decoration: none; padding: 8px 6px; transition: color .2s;
}
.nav-login:hover { color: var(--ink); }

.btn {
  font-family: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer;
  border-radius: 100px; padding: 11px 18px; border: 1px solid transparent;
  display: inline-flex; align-items: center; gap: 9px; transition: all .2s var(--ease);
  text-decoration: none; white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -8px var(--glow-blue), inset 0 1px 0 rgba(255,255,255,0.3); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 42px -8px var(--glow-blue), inset 0 1px 0 rgba(255,255,255,0.35); }
.btn-ghost { background: var(--glass); color: var(--ink); border-color: var(--glass-bd2); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: var(--glass-2); border-color: rgba(255,255,255,0.28); }
.btn-lg { padding: 15px 26px; font-size: 15.5px; }
.btn svg { width: 17px; height: 17px; }

/* ============ HERO ============ */
.hero { position: relative; padding: 184px 0 60px; text-align: center; }
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px 7px 11px;
  border-radius: 100px; background: var(--glass); border: 1px solid var(--glass-bd);
  font-size: 13px; color: var(--ink-2); margin-bottom: 28px; backdrop-filter: blur(8px);
}
.eyebrow-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.eyebrow-pill b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 600; }

.hero h1 {
  font-size: clamp(18px, 4.4vw, 60px); font-weight: 600; letter-spacing: -0.035em;
  line-height: 1.08; margin: 0 auto 36px; max-width: none; white-space: nowrap;
}
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: clamp(17px,1.4vw,20px); color: var(--ink-2); max-width: 780px; margin: 0 auto 54px; }
.hero-sub b { color: var(--ink); font-weight: 600; }
.hero-cta { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; }
.hero-meta { margin-top: 22px; font-size: 13.5px; color: var(--ink-3); }

/* ============ СТЕКЛЯННЫЙ ДАШБОРД-МАКЕТ (hero) ============ */
.glass-panel {
  position: relative; margin-top: 64px; border-radius: 26px; padding: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid var(--glass-bd2); backdrop-filter: blur(24px) saturate(140%);
  box-shadow: 0 60px 130px -50px rgba(0,0,0,0.9), inset 0 1px 0 rgba(255,255,255,0.12);
  z-index: 2;
}
.glass-panel::after { content:''; position:absolute; inset:0; border-radius:26px; pointer-events:none; background: linear-gradient(175deg, rgba(255,255,255,0.08), transparent 20%); }

/* строка KPI-карточек */
.kpi-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 14px; }
.kpi {
  position: relative; text-align: left; border-radius: 16px; padding: 18px;
  background: var(--glass); border: 1px solid var(--glass-bd); overflow: hidden;
}
.kpi-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.kpi-top .lbl { font-size: 13px; color: var(--ink-2); font-weight: 500; }
.kpi-ico { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; }
.kpi-ico svg { width: 17px; height: 17px; }
.kpi-ico.b { background: rgba(77,139,255,0.16); color: var(--blue-2); }
.kpi-ico.p { background: rgba(155,108,255,0.16); color: var(--purple-2); }
.kpi-ico.c { background: rgba(95,225,255,0.14); color: var(--cyan); }
.kpi-ico.a { background: rgba(245,181,68,0.14); color: var(--amber); }
.kpi .val { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
.kpi .val .u { font-size: 14px; color: var(--ink-3); font-weight: 500; margin-left: 3px; }
.kpi .delta { font-size: 12.5px; margin-top: 8px; color: var(--ink-3); }
.kpi .delta .up { color: var(--cyan); font-weight: 600; }
.kpi .delta .down { color: var(--coral); font-weight: 600; }

/* график-площадь + правая стеклянная колонка */
.panel-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 14px; }
.chart-card, .side-card {
  border-radius: 16px; padding: 20px; background: var(--glass); border: 1px solid var(--glass-bd);
}
.chart-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.chart-head h4 { font-size: 15px; font-weight: 600; }
.chart-head .seg { font-size: 12px; color: var(--ink-2); padding: 6px 12px; border-radius: 100px; background: var(--glass); border: 1px solid var(--glass-bd); }
.chart-card svg { display: block; width: 100%; height: auto; }
.legend { display: flex; gap: 18px; margin-top: 8px; font-size: 12px; color: var(--ink-3); }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }

.side-card h4 { font-size: 14px; font-weight: 600; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.side-card h4 .spark { width: 16px; height: 16px; color: var(--purple-2); }
.insight { padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,0.03); border: 1px solid var(--glass-bd); margin-bottom: 10px; }
.insight:last-child { margin-bottom: 0; }
.insight .t { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.insight .t .tag { font-size: 10.5px; font-weight: 600; padding: 2px 8px; border-radius: 100px; margin-left: 6px; }
.tag.cyan { background: rgba(95,225,255,0.14); color: var(--cyan); }
.tag.amber { background: rgba(245,181,68,0.16); color: var(--amber); }
.insight .d { font-size: 12px; color: var(--ink-3); line-height: 1.45; }

/* плавающие стеклянные карточки поверх панели */
.floatcard {
  position: absolute; z-index: 4; border-radius: 14px; padding: 13px 16px;
  background: rgba(14,15,24,0.66); border: 1px solid var(--glass-bd2);
  backdrop-filter: blur(18px); box-shadow: 0 24px 60px -22px rgba(0,0,0,0.85);
  display: flex; flex-direction: column; gap: 4px; will-change: transform;
}
.floatcard .lbl { font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.08em; }
.floatcard .v { font-size: 18px; font-weight: 600; }
.floatcard .v .up { color: var(--cyan); font-size: 12px; margin-left: 6px; }
.fc-a { left: -28px; top: 26%; }
.fc-b { right: -24px; bottom: 16%; }

/* ============ ТИКЕР ============ */
.ticker {
  margin-top: 64px; border-top: 1px solid var(--glass-bd); border-bottom: 1px solid var(--glass-bd);
  padding: 16px 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-row { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker:hover .ticker-row { animation-play-state: paused; }
.ticker-item { font-family: 'Geist Mono', monospace; font-size: 13px; color: var(--ink-2); padding: 0 26px; display: inline-flex; align-items: center; gap: 26px; white-space: nowrap; }
.ticker-item::after { content: '◆'; font-size: 8px; color: var(--blue); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ============ STATS ============ */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-top: 84px; }
.stat { border-radius: 18px; padding: 26px; background: var(--glass); border: 1px solid var(--glass-bd); text-align: left; }
.stat .n { font-size: clamp(32px,3.6vw,46px); font-weight: 600; letter-spacing: -0.03em; }
.stat .n .suf { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .c { font-size: 13px; color: var(--ink-3); margin-top: 6px; }

/* ============ SECTION + BENTO (стеклянные плитки) ============ */
.section { padding: 120px 0; position: relative; }
.sec-head { max-width: 720px; margin-bottom: 50px; }
.sec-head .eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; text-transform: uppercase; }
.sec-head h2 { font-size: clamp(30px,3.6vw,46px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.06; margin: 14px 0 14px; }
.sec-head h2 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sec-head p { color: var(--ink-2); font-size: 18px; max-width: 580px; }

.bento { display: grid; grid-template-columns: repeat(6,1fr); grid-auto-rows: 210px; gap: 16px; }
.tile {
  position: relative; border-radius: 20px; padding: 26px; overflow: hidden;
  background: linear-gradient(180deg, var(--glass-2), var(--glass));
  border: 1px solid var(--glass-bd); backdrop-filter: blur(14px);
  display: flex; flex-direction: column; transition: border-color .3s, transform .3s var(--ease);
}
.tile:hover { border-color: var(--glass-bd2); transform: translateY(-3px); }
.tile::before { content:''; position:absolute; inset:0; opacity:0; transition:opacity .4s; pointer-events:none; background: radial-gradient(360px circle at var(--mx,50%) var(--my,0%), rgba(110,130,255,0.18), transparent 60%); }
.tile:hover::before { opacity: 1; }
.tile .ico { width: 40px; height: 40px; border-radius: 11px; background: var(--grad-soft); border: 1px solid var(--glass-bd2); display: grid; place-items: center; color: var(--purple-2); }
.tile .ico svg { width: 20px; height: 20px; }
.tile .idx { font-size: 12px; color: var(--ink-3); letter-spacing: 0.06em; font-weight: 600; }
.tile h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; margin: auto 0 8px; }
.tile p { color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
.tile .pill { align-self: flex-start; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--purple-2); border: 1px solid rgba(155,108,255,0.4); border-radius: 100px; padding: 5px 11px; }

.tile.col-2 { grid-column: span 2; }
.tile.col-3 { grid-column: span 3; }
.tile.col-4 { grid-column: span 4; }
.tile.row-2 { grid-row: span 2; }
.tile.feature { justify-content: flex-start; }
.tile.feature .shot { margin: 18px -26px -26px; border-top: 1px solid var(--glass-bd); overflow: hidden; }
.tile.feature .shot img { width: 100%; display: block; }
.tile.accent { background: linear-gradient(150deg, rgba(77,139,255,0.16), rgba(155,108,255,0.10)); border-color: rgba(120,120,255,0.32); }

/* showcase в полную ширину (конструктор) */
.showcase { position: relative; margin-top: 8px; }
.showcase .frame { position: relative; z-index: 2; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--glass-bd2); background: rgba(255,255,255,0.03); backdrop-filter: blur(14px); box-shadow: 0 60px 120px -50px rgba(0,0,0,0.9), inset 0 1px 0 rgba(255,255,255,0.1); }
.showcase .frame-bar { display: flex; align-items: center; gap: 7px; padding: 11px 16px; background: rgba(255,255,255,0.03); border-bottom: 1px solid var(--glass-bd); }
.showcase .frame-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--glass-bd2); }
.showcase .frame-bar span { margin-left: 14px; font-family: 'Geist Mono', monospace; font-size: 12px; color: var(--ink-3); }
.showcase .frame img { display: block; width: 100%; }
.showcase .glow { position: absolute; left: 50%; top: 6%; width: 70%; height: 70%; transform: translateX(-50%); background: radial-gradient(closest-side, var(--glow-blue), transparent 70%); filter: blur(70px); opacity: 0.45; z-index: 0; }

/* ============ МОДУЛИ: чередующиеся ряды ============ */
.features { display: flex; flex-direction: column; gap: 168px; margin-top: 24px; }
.feat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feat-row.rev .feat-text { order: 2; }
.feat-row.rev .feat-shot { order: 1; }

.inside-head { text-align: center; max-width: none; margin: 0 auto 64px; }
.inside-title { font-size: clamp(34px, 4.6vw, 60px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; text-transform: uppercase; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.inside-sub { font-size: clamp(18px, 2vw, 26px); font-weight: 500; letter-spacing: -0.01em; color: var(--ink); margin-top: 14px; }

.feat-title {
  display: inline-block; font-size: clamp(28px, 3.4vw, 44px); font-weight: 600;
  letter-spacing: -0.03em; line-height: 1.08; margin-bottom: 14px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.feat-lead { font-size: clamp(18px, 1.5vw, 21px); font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.feat-text p { color: var(--ink-2); font-size: 17px; line-height: 1.68; max-width: 470px; }
.feat-points { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-top: 4px; max-width: 520px; }
.feat-points li { position: relative; padding-left: 24px; color: var(--ink-2); font-size: 16px; line-height: 1.62; }
.feat-points li::before { content: ''; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 2px; background: var(--grad); box-shadow: 0 0 12px var(--glow-blue); }
.feat-points b { color: var(--ink); font-weight: 600; }

.feat-shot { perspective: 1300px; }
.feat-frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--glass-bd2); background: rgba(255,255,255,0.03);
  backdrop-filter: blur(14px);
  box-shadow: 0 40px 90px -42px rgba(0,0,0,0.85), inset 0 1px 0 rgba(255,255,255,0.1);
  transform-style: preserve-3d;
  transition: transform .55s var(--ease), box-shadow .55s var(--ease);
}
.feat-frame::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 3;
  opacity: 0; transition: opacity .4s var(--ease);
  background: radial-gradient(420px circle at var(--mx,50%) var(--my,50%), rgba(155,108,255,0.22), transparent 60%);
}
.feat-shot:hover .feat-frame {
  transform: translateY(-10px) rotateX(3deg) rotateY(-4deg) scale(1.015);
  box-shadow: 0 70px 130px -38px rgba(77,139,255,0.5), inset 0 1px 0 rgba(255,255,255,0.18);
}
.feat-row.rev .feat-shot:hover .feat-frame { transform: translateY(-10px) rotateX(3deg) rotateY(4deg) scale(1.015); }
.feat-shot:hover .feat-frame::after { opacity: 1; }
.feat-frame .frame-bar { display: flex; align-items: center; gap: 7px; padding: 11px 16px; background: rgba(255,255,255,0.03); border-bottom: 1px solid var(--glass-bd); }
.feat-frame .frame-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--glass-bd2); }
.feat-frame .frame-bar span { margin-left: 14px; font-family: 'Geist Mono', monospace; font-size: 12px; color: var(--ink-3); }
.feat-frame img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }
.feat-frame img.shot-left { object-position: top left; }

@media (max-width: 860px) {
  .features { gap: 56px; }
  .feat-row { grid-template-columns: 1fr; gap: 26px; }
  .feat-row.rev .feat-text { order: 1; }
  .feat-row.rev .feat-shot { order: 2; }
  .feat-text p { max-width: none; }
  .feat-points { max-width: none; }
}

/* ============ AI-БАННЕР ============ */
#ai { padding: 30px 0; }
.ai-banner {
  position: relative; overflow: hidden;
  border-radius: 30px;
  padding: 56px 60px;
  background:
    radial-gradient(120% 140% at 88% 0%, rgba(95,225,255,0.14), transparent 55%),
    radial-gradient(120% 160% at 0% 100%, rgba(155,108,255,0.18), transparent 55%),
    linear-gradient(150deg, rgba(20,24,42,0.9), rgba(11,12,20,0.92));
  border: 1px solid rgba(120,140,255,0.22);
  box-shadow: 0 50px 120px -50px rgba(77,139,255,0.5), inset 0 1px 0 rgba(255,255,255,0.08);
  isolation: isolate;
}
/* анимированная неоновая рамка */
.ai-banner::before {
  content: ""; position: absolute; inset: 0; border-radius: 30px; padding: 1px;
  background: linear-gradient(120deg, rgba(95,225,255,0.7), rgba(155,108,255,0.7), rgba(77,139,255,0.0) 60%, rgba(95,225,255,0.6));
  background-size: 280% 280%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: aiBorder 7s linear infinite;
  pointer-events: none; z-index: 4;
}
@keyframes aiBorder { 0% { background-position: 0% 50%; } 100% { background-position: 280% 50%; } }

.ai-banner-grid {
  position: absolute; inset: 0; z-index: 0; opacity: 0.5; pointer-events: none;
  background-image: linear-gradient(rgba(120,140,255,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(120,140,255,0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask: radial-gradient(80% 80% at 70% 30%, #000, transparent 75%);
  mask: radial-gradient(80% 80% at 70% 30%, #000, transparent 75%);
}
.ai-banner-orb { position: absolute; border-radius: 50%; filter: blur(60px); z-index: 0; pointer-events: none; }
.ai-orb-1 { width: 320px; height: 320px; right: -60px; top: -120px; background: radial-gradient(circle, rgba(95,225,255,0.4), transparent 70%); animation: aiFloat 9s var(--ease) infinite alternate; }
.ai-orb-2 { width: 360px; height: 360px; left: -80px; bottom: -160px; background: radial-gradient(circle, rgba(155,108,255,0.42), transparent 70%); animation: aiFloat 11s var(--ease) infinite alternate-reverse; }
@keyframes aiFloat { from { transform: translate3d(0,0,0); } to { transform: translate3d(20px,-26px,0); } }
.ai-scan {
  position: absolute; left: 0; right: 0; height: 160px; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(95,225,255,0.08) 45%, rgba(155,108,255,0.06) 55%, transparent);
  animation: aiScan 6s var(--ease) infinite;
}
@keyframes aiScan { 0% { transform: translateY(-180px); opacity: 0; } 25% { opacity: 1; } 70% { opacity: 1; } 100% { transform: translateY(540px); opacity: 0; } }

.ai-banner-inner { position: relative; z-index: 3; display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.ai-banner-left { max-width: 640px; }
.ai-pill {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono, monospace); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: #cfe3ff; padding: 7px 14px; border-radius: 100px;
  background: rgba(95,225,255,0.08); border: 1px solid rgba(95,225,255,0.32);
}
.ai-pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan, #5FE1FF); box-shadow: 0 0 10px var(--cyan, #5FE1FF); animation: aiPulse 1.8s ease-in-out infinite; }
@keyframes aiPulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.45; transform: scale(0.7); } }
.ai-banner-title {
  font-size: clamp(28px, 3.6vw, 46px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.12;
  margin: 22px 0 16px; color: #fff;
}
.ai-spark { display: inline-block; vertical-align: -0.16em; width: clamp(28px, 3vw, 40px); margin-right: 10px; filter: drop-shadow(0 0 12px rgba(95,225,255,0.6)); animation: aiSpin 9s linear infinite; }
.ai-spark svg { width: 100%; height: auto; display: block; }
@keyframes aiSpin { to { transform: rotate(360deg); } }
.ai-grad-text { background: linear-gradient(110deg, #5FE1FF, #9B6CFF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ai-banner-lead { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; color: var(--ink-2); max-width: 580px; margin: 0 0 26px; }
.ai-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.ai-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: #dfe5f7;
  padding: 9px 15px; border-radius: 12px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}
.ai-chip svg { width: 16px; height: 16px; color: var(--cyan, #5FE1FF); }
.ai-chip:hover { border-color: rgba(95,225,255,0.45); background: rgba(95,225,255,0.08); transform: translateY(-2px); }

/* правый AI- core */
.ai-banner-right { display: flex; justify-content: center; }
.ai-core { position: relative; width: 220px; height: 220px; display: grid; place-items: center; }
.ai-core-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(120,140,255,0.28); }
.ai-ring-1 { width: 100%; height: 100%; border-style: dashed; border-color: rgba(95,225,255,0.3); animation: aiSpin 18s linear infinite; }
.ai-ring-2 { width: 72%; height: 72%; border-color: rgba(155,108,255,0.4); animation: aiSpin 12s linear infinite reverse; }
.ai-ring-3 { width: 46%; height: 46%; border-style: dashed; border-color: rgba(95,225,255,0.45); animation: aiSpin 9s linear infinite; }
.ai-core-glyph { position: relative; z-index: 2; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 20px;
  background: radial-gradient(circle at 30% 30%, rgba(95,225,255,0.25), rgba(11,12,20,0.6));
  border: 1px solid rgba(120,140,255,0.4);
  box-shadow: 0 0 40px rgba(95,225,255,0.4), inset 0 0 20px rgba(155,108,255,0.3);
  animation: aiBreathe 3.4s ease-in-out infinite;
}
.ai-core-glyph svg { width: 38px; height: 38px; }
@keyframes aiBreathe { 0%,100% { box-shadow: 0 0 36px rgba(95,225,255,0.35), inset 0 0 20px rgba(155,108,255,0.3); } 50% { box-shadow: 0 0 64px rgba(95,225,255,0.6), inset 0 0 26px rgba(155,108,255,0.45); } }

@media (prefers-reduced-motion: reduce) {
  .ai-banner::before, .ai-orb-1, .ai-orb-2, .ai-scan, .ai-pill-dot, .ai-spark, .ai-ring-1, .ai-ring-2, .ai-ring-3, .ai-core-glyph { animation: none; }
}
@media (max-width: 860px) {
  .ai-banner { padding: 38px 26px; }
  .ai-banner-inner { grid-template-columns: 1fr; gap: 32px; }
  .ai-banner-right { order: -1; }
  .ai-core { width: 160px; height: 160px; }
}

/* ============ AI КАК 8-Й ПУНКТ (полэкрана) ============ */
.ai-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Geist Mono', monospace; font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: #cfe3ff;
  padding: 6px 13px; border-radius: 100px; margin-bottom: 18px;
  background: rgba(95,225,255,0.08); border: 1px solid rgba(95,225,255,0.32);
}
.ai-titlerow { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.ai-titlerow .feat-title { margin-bottom: 0; }
.ai-titlerow .ai-eyebrow { margin-bottom: 0; }
.ai-row .feat-lead { color: #fff; }
.ai-row .feat-lead .ai-247 {
  background: linear-gradient(110deg, #5FE1FF, #9B6CFF);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-weight: 800; letter-spacing: 0.01em;
}
.ai-desc { color: var(--ink-2); font-size: 17px; line-height: 1.68; max-width: 480px; margin: 0 0 24px; }
.ai-row .ai-chips { margin-top: 4px; }

.ai-shot { perspective: 1300px; }
.ai-stage {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 16 / 12; min-height: 320px; isolation: isolate;
  background:
    radial-gradient(120% 140% at 85% 0%, rgba(95,225,255,0.16), transparent 55%),
    radial-gradient(120% 160% at 0% 100%, rgba(155,108,255,0.20), transparent 55%),
    linear-gradient(150deg, rgba(20,24,42,0.92), rgba(11,12,20,0.94));
  border: 1px solid rgba(120,140,255,0.22);
  box-shadow: 0 40px 90px -42px rgba(0,0,0,0.85), inset 0 1px 0 rgba(255,255,255,0.08);
  display: grid; place-items: center;
  transition: transform .55s var(--ease), box-shadow .55s var(--ease);
}
.ai-stage::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius); padding: 1px;
  background: linear-gradient(120deg, rgba(95,225,255,0.7), rgba(155,108,255,0.7), rgba(77,139,255,0) 60%, rgba(95,225,255,0.6));
  background-size: 280% 280%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: aiBorder 7s linear infinite; pointer-events: none; z-index: 5;
}
.ai-shot:hover .ai-stage {
  transform: translateY(-10px) rotateX(3deg) rotateY(4deg) scale(1.015);
  box-shadow: 0 70px 130px -38px rgba(77,139,255,0.5), inset 0 1px 0 rgba(255,255,255,0.16);
}
.ai-stage .ai-core { z-index: 3; }

/* фоновые «сканируемые» показатели */
.ai-metrics { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.ai-metric {
  position: absolute;
  font-family: 'Geist Mono', monospace; font-size: 11px; font-weight: 500; letter-spacing: 0.01em;
  color: rgba(168,196,238,0.72); white-space: nowrap;
  padding: 5px 10px; border-radius: 9px;
  background: rgba(120,140,255,0.05); border: 1px solid rgba(120,140,255,0.16);
  backdrop-filter: blur(3px);
  opacity: 0; transform: translateY(8px) scale(0.96);
  animation: aiMetricScan 8s ease-in-out infinite;
}
.ai-metric b { color: #dfe9ff; font-weight: 700; margin-left: 2px; }
.ai-metric.m-cyan { border-color: rgba(95,225,255,0.28); }
.ai-metric.m-cyan b { color: #aef0ff; }
.ai-metric.m-purple { border-color: rgba(155,108,255,0.32); }
.ai-metric.m-purple b { color: #d9c6ff; }
@keyframes aiMetricScan {
  0% { opacity: 0; transform: translateY(10px) scale(0.94); }
  14% { opacity: 0.92; transform: translateY(0) scale(1); }
  64% { opacity: 0.92; transform: translateY(0) scale(1); }
  82%,100% { opacity: 0; transform: translateY(-8px) scale(0.97); }
}

.ai-soon-badge {
  position: absolute; top: 16px; right: -10px; z-index: 6;
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 700; color: #fff; white-space: nowrap;
  padding: 9px 16px; border-radius: 100px;
  background: linear-gradient(110deg, #4D8BFF, #9B6CFF);
  box-shadow: 0 14px 34px -10px rgba(95,108,255,0.75), inset 0 0 0 1px rgba(255,255,255,0.14);
  animation: aiBadgeFloat 3.2s ease-in-out infinite;
}
.ai-soon-dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 9px #fff; animation: aiPulse 1.6s ease-in-out infinite; }
@keyframes aiBadgeFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

@media (prefers-reduced-motion: reduce) {
  .ai-stage::before, .ai-soon-badge, .ai-soon-dot { animation: none; }
  .ai-metric { animation: none; opacity: 0.5; transform: none; }
}
@media (max-width: 860px) {
  .ai-stage { width: 100%; aspect-ratio: 4 / 3; min-height: 0; }
  .ai-soon-badge { right: 10px; }
}

/* ============ TELEGRAM-УВЕДОМЛЕНИЯ ============ */
.tg-wrap { padding-left: 72px; }
.tg-block-title { display: block; text-align: center; font-size: clamp(32px, 4vw, 54px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; margin: 0 0 46px; text-transform: uppercase; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tg-cta { display: flex; justify-content: center; margin-top: 56px; }
.tg-row { display: grid; grid-template-columns: auto 1fr; gap: 140px; align-items: center; }
.tg-phone-wrap { order: 1; }
.tg-text { order: 2; max-width: 540px; }
.tg-heading { font-size: clamp(26px, 2.9vw, 40px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 20px; color: #fff; }
.tg-eyebrow { margin: 0 0 24px; }
.tg-eyebrow .tg-ico { color: #4D8BFF; filter: drop-shadow(0 0 6px var(--glow-blue)); }
.tg-lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); line-height: 1.6; margin-bottom: 26px; }
.tg-subtitle { font-size: clamp(19px, 1.8vw, 24px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 20px; }
.tg-text .feat-points { max-width: 500px; }

.tg-phone-wrap { position: relative; perspective: 1400px; padding: 10px; }
.tg-glow { position: absolute; inset: -8% -6% -10% -6%; z-index: 0; background: radial-gradient(60% 55% at 50% 38%, var(--glow-blue), transparent 70%); filter: blur(48px); opacity: 0.65; pointer-events: none; }
.phone {
  position: relative; z-index: 1; width: 296px; aspect-ratio: 296 / 612;
  border-radius: 52px; padding: 13px;
  background: linear-gradient(160deg, #20232e 0%, #0e1018 60%, #14161f 100%);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 50px 110px -36px rgba(0,0,0,0.9), inset 0 1px 0 rgba(255,255,255,0.16), inset 0 0 0 2px rgba(0,0,0,0.5);
  transform: rotateY(9deg) rotateX(3deg);
  transition: transform .7s var(--ease), box-shadow .7s var(--ease);
}
.tg-phone-wrap:hover .phone { transform: rotateY(0deg) rotateX(0deg) translateY(-6px); box-shadow: 0 70px 130px -34px rgba(77,139,255,0.5), inset 0 1px 0 rgba(255,255,255,0.2), inset 0 0 0 2px rgba(0,0,0,0.5); }
.phone-notch { position: absolute; top: 26px; left: 50%; transform: translateX(-50%); width: 104px; height: 24px; border-radius: 14px; background: #05060b; z-index: 3; }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 40px; overflow: hidden; background: #0b0c14; }
.phone-screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }

@media (max-width: 860px) {
  .tg-wrap { padding-left: 0; }
  .tg-block-title { display: block; text-align: center; }
  .tg-row { grid-template-columns: 1fr; gap: 40px; justify-items: center; text-align: center; }
  .tg-text { max-width: none; padding-top: 0; }
  .tg-subtitle { text-align: center; }
  .tg-text .feat-points { max-width: none; text-align: left; }
  .phone { transform: none; }
}

/* ============ CTA ============ */
.cta { position: relative; text-align: center; border: 1px solid var(--glass-bd2); border-radius: 28px; padding: 74px 32px; overflow: hidden; background: linear-gradient(180deg, var(--glass-2), rgba(255,255,255,0.02)); backdrop-filter: blur(18px); }
.cta-glow { position: absolute; left: 50%; bottom: -45%; width: 80%; height: 95%; transform: translateX(-50%); background: radial-gradient(closest-side, var(--glow-purple), transparent 70%); filter: blur(80px); opacity: 0.5; }
.cta h2 { position: relative; font-size: clamp(32px,4vw,52px); font-weight: 600; letter-spacing: -0.03em; margin-bottom: 14px; }
.cta-h2-small { font-size: 0.7em; }
.cta p { position: relative; color: var(--ink-2); font-size: 18px; margin-bottom: 32px; }
.cta-row { position: relative; display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; }

/* ============ FOOTER ============ */
.foot { position: relative; border-top: 1px solid var(--glass-bd); padding: 54px 0 34px; margin-top: 40px; }
.foot::before { content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(120,140,255,0.45), transparent); }
.foot-main { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.foot-logo { font-size: 22px; }
.foot-tagline { font-size: 15px; line-height: 1.5; color: var(--ink-3); margin: 0; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 30px; margin-top: 8px; }
.foot-links a { font-size: 14px; color: var(--ink-3); text-decoration: none; transition: color .2s var(--ease); }
.foot-links a:hover { color: var(--ink); }
.foot-links .foot-mail { color: var(--ink-2); }
.foot-links .foot-mail:hover { color: var(--blue-2); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 28px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--glass-bd); }
.foot-bottom span { font-size: 12.5px; color: var(--ink-3); }
@media (max-width: 720px) {
  .foot-bottom { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
}

/* ============ REVEAL ============ */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-d="1"]{transition-delay:.08s}[data-d="2"]{transition-delay:.16s}[data-d="3"]{transition-delay:.24s}[data-d="4"]{transition-delay:.32s}

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .nav-mid { display: none; }
  .kpi-row { grid-template-columns: 1fr 1fr; }
  .panel-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: repeat(2,1fr); grid-auto-rows: 196px; }
  .tile.col-3,.tile.col-4,.tile.col-2 { grid-column: span 2; }
  .floatcard { display: none; }
}
@media (max-width: 560px) {
  .hero { padding: 150px 0 48px; }
  .kpi-row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .tile.col-3,.tile.col-4,.tile.col-2 { grid-column: span 1; }
  .hero-cta .btn, .cta-row .btn { width: 100%; justify-content: center; }
}
/* ============ FAQ (вопрос-ответ) ============ */
#faq { padding: 30px 0 96px; }
.faq-list { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  border: 1px solid var(--glass-bd); border-radius: 16px;
  background: var(--glass); backdrop-filter: blur(10px);
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.faq-item:hover { border-color: rgba(120,140,255,0.3); }
.faq-item[open] {
  border-color: var(--glass-bd2); background: rgba(255,255,255,0.055);
  box-shadow: 0 24px 60px -36px rgba(77,139,255,0.45);
}
.faq-q {
  list-style: none; cursor: pointer; user-select: none;
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  padding: 22px 26px;
  font-size: clamp(16px, 1.5vw, 19px); font-weight: 600; letter-spacing: -0.01em; color: var(--ink);
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::marker { content: ''; }
.faq-ico {
  position: relative; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--glass-bd2); transition: border-color .3s var(--ease), background .3s var(--ease);
}
.faq-ico::before, .faq-ico::after {
  content: ''; position: absolute; left: 50%; top: 50%; border-radius: 2px;
  background: var(--blue-2); transition: transform .3s var(--ease), opacity .3s var(--ease), background .3s var(--ease);
}
.faq-ico::before { width: 11px; height: 2px; transform: translate(-50%, -50%); }
.faq-ico::after  { width: 2px; height: 11px; transform: translate(-50%, -50%); }
.faq-item[open] .faq-ico { border-color: rgba(95,225,255,0.55); background: rgba(95,225,255,0.08); }
.faq-item[open] .faq-ico::before, .faq-item[open] .faq-ico::after { background: var(--cyan); }
.faq-item[open] .faq-ico::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-a { padding: 0 26px 24px; }
.faq-item[open] .faq-a { animation: faqOpen .34s var(--ease); }
.faq-a p { color: var(--ink-2); font-size: 16px; line-height: 1.68; max-width: 720px; }
@keyframes faqOpen { from { opacity: 0; transform: translateY(-7px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) {
  .faq-q { padding: 18px 18px; gap: 16px; }
  .faq-a { padding: 0 18px 20px; }
}

/* ============ ПЛАВАЮЩИЕ МЕТРИК-КАРТОЧКИ (3D-стекло, декор) ============ */
.mfloat-host { position: relative; }
.mfloat { position: absolute; z-index: -1; width: 234px; pointer-events: none; perspective: 880px; will-change: transform; }
.mfloat-card {
  position: relative; border-radius: 20px; padding: 16px 18px 18px; overflow: hidden;
  background:
    linear-gradient(158deg, rgba(112,92,224,0.40) 0%, rgba(82,98,216,0.32) 55%, rgba(68,84,206,0.30) 100%);
  -webkit-backdrop-filter: blur(13px) saturate(120%); backdrop-filter: blur(13px) saturate(120%);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow:
    0 16px 34px -22px rgba(14,16,52,0.6),
    inset 0 1px 0 rgba(255,255,255,0.20),
    inset 0 -14px 26px -16px rgba(14,16,52,0.5);
  color: #fff; transform-style: preserve-3d;
  opacity: 0.7;
  animation: mfloat3dL 12s ease-in-out infinite;
}
.mfloat-card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: 20px;
  background: linear-gradient(160deg, rgba(255,255,255,0.13), transparent 46%);
}
.mfloat .m-top { position: relative; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.mfloat .m-ico { flex: 0 0 auto; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.16); }
.mfloat .m-ico svg { width: 17px; height: 17px; color: #fff; }
.mfloat .m-val { position: relative; margin-top: 14px; display: flex; align-items: baseline; justify-content: flex-end; gap: 9px; font-size: 21px; font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; text-shadow: 0 1px 8px rgba(20,20,60,0.3); }
.mfloat .m-pill { align-self: center; font-size: 11.5px; font-weight: 600; color: #1c9a51; background: rgba(255,255,255,0.94); border-radius: 100px; padding: 3px 8px; line-height: 1; }
.mfloat .m-unit { font-size: 13px; font-weight: 500; opacity: 0.85; }
/* наклон + плавное 3D-вращение в пределах своей зоны */
@keyframes mfloat3dL {
  0%,100% { transform: rotateX(11deg) rotateY(-22deg) rotateZ(-9deg) translateY(0); }
  50%     { transform: rotateX(-5deg) rotateY(-8deg) rotateZ(-4deg) translateY(-15px); }
}
@keyframes mfloat3dR {
  0%,100% { transform: rotateX(10deg) rotateY(21deg) rotateZ(9deg) translateY(-6px); }
  50%     { transform: rotateX(-6deg) rotateY(8deg) rotateZ(4deg) translateY(9px); }
}
.mfloat.tilt-r .mfloat-card { animation-name: mfloat3dR; }
/* размерные варианты: компактная и квадратная */
.mfloat.sm { width: 200px; }
.mfloat.sm .mfloat-card { padding: 14px 16px 15px; }
.mfloat.sm .m-val { font-size: 19px; }
.mfloat.sq { width: 158px; }
.mfloat.sq .mfloat-card { padding: 15px 16px 16px; }
.mfloat.sq .m-top { font-size: 12.5px; gap: 8px; }
.mfloat.sq .m-ico { width: 26px; height: 26px; }
.mfloat.sq .m-ico svg { width: 15px; height: 15px; }
.mfloat.sq .m-val { margin-top: 12px; justify-content: flex-start; gap: 5px; font-size: 29px; }
.mfloat.sq .m-unit { font-size: 15px; opacity: 0.9; }
@media (max-width: 1400px) { .mfloat { display: none; } }
@media (prefers-reduced-motion: reduce) { .mfloat-card { animation: none; transform: rotateY(-12deg) rotateZ(-5deg); } }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ============ ССЫЛКИ НА ДОКУМЕНТЫ В ПОДВАЛЕ ============ */
.foot-legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 24px 0 4px; padding-top: 20px; border-top: 1px solid var(--glass-bd); }
.foot-legal-links a { font-size: 13px; color: var(--ink-3); text-decoration: none; transition: color .2s var(--ease); }
.foot-legal-links a:hover { color: var(--blue-2); }

/* ============ СТРАНИЦЫ ДОКУМЕНТОВ (legal) ============ */
.legal { padding: 132px 0 90px; position: relative; z-index: 1; }
.legal-wrap { max-width: 840px; margin: 0 auto; padding: 0 24px; }
.legal-back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-3); text-decoration: none; margin-bottom: 26px; transition: color .2s var(--ease); }
.legal-back:hover { color: var(--ink); }
.legal h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 8px; }
.legal-meta { font-size: 14px; color: var(--ink-3); margin-bottom: 36px; }
.legal h2 { font-size: clamp(19px, 2vw, 23px); font-weight: 600; letter-spacing: -0.01em; color: var(--ink); margin: 34px 0 12px; }
.legal h3 { font-size: 17px; font-weight: 600; color: var(--ink); margin: 22px 0 8px; }
.legal p { color: var(--ink-2); font-size: 16px; line-height: 1.72; margin-bottom: 12px; }
.legal ul, .legal ol { margin: 10px 0 16px; padding-left: 22px; }
.legal li { color: var(--ink-2); font-size: 16px; line-height: 1.7; margin-bottom: 7px; }
.legal strong, .legal b { color: var(--ink); font-weight: 600; }
.legal a { color: var(--blue-2); text-decoration: none; }
.legal a:hover { text-decoration: underline; }
.legal-req { margin-top: 28px; padding: 18px 20px; border: 1px solid var(--glass-bd); border-radius: 14px; background: var(--glass); font-size: 15px; line-height: 1.75; color: var(--ink-2); }
.legal-req b { color: var(--ink); }
@media (max-width: 720px) { .legal { padding: 104px 0 60px; } }
