/* ═══ CostFuel Landing — design system ═══ */

@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/inter-cyrillic-400-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0460-052F;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/inter-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/inter-cyrillic-500-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0460-052F;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/inter-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/inter-cyrillic-600-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0460-052F;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/inter-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/inter-cyrillic-700-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0460-052F;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/inter-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("/assets/fonts/inter-cyrillic-800-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0460-052F;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("/assets/fonts/inter-latin-800-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC;
}

:root {
  --lime: #a3e635;
  --lime-dark: #84cc16;
  --dark: #0f172a;
  --dark-2: #1e293b;
  --bg: #f8fafc;
  --white: #fff;
  --text: #0f172a;
  --text-2: #475569;
  --text-3: #94a3b8;
  --border: #e2e8f0;
  --ok: #0dbb81;
  --warn: #f59e0b;
  --radius: 14px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, .08), 0 1px 2px rgba(15, 23, 42, .04);
  --shadow-md: 0 12px 32px -8px rgba(15, 23, 42, .18);
  --shadow-lg: 0 32px 72px -20px rgba(15, 23, 42, .35);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -.02em; }
p { margin: 0; }

.l-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 112px 0; position: relative; }
.dark { background: var(--dark); color: #e2e8f0; }

.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--lime-dark); margin-bottom: 14px;
}
.eyebrow.lime { color: var(--lime); }
.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem); font-weight: 800; line-height: 1.12;
}
.section-title.light { color: var(--white); }
.section-title.center { text-align: center; max-width: 760px; margin: 0 auto; }
.section-sub {
  margin-top: 16px; font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.6; color: var(--text-2); max-width: 620px;
}
.section-sub.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-sub.dim { color: var(--text-3); }

/* ═══ Buttons ═══ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 11px 22px; border-radius: 10px;
  font-weight: 600; font-size: 15px; line-height: 1;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background .25s, border-color .25s, color .25s;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
}
.btn-lg { padding: 16px 30px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--lime); color: var(--dark);
  box-shadow: 0 6px 20px -6px rgba(163, 230, 53, .5);
}
.btn-primary:hover { background: var(--lime-dark); transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(163, 230, 53, .55); }
.btn-ghost { color: #cbd5e1; border-color: rgba(226, 232, 240, .18); background: rgba(255, 255, 255, .04); }
.btn-ghost:hover { color: var(--white); border-color: rgba(226, 232, 240, .4); }
.btn-outline { color: var(--white); border-color: rgba(226, 232, 240, .28); background: transparent; }
.btn-outline:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, button:focus-visible {
  outline: 2px solid var(--lime); outline-offset: 3px;
}

/* ═══ Scroll progress ═══ */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 70;
  height: 3px; width: 0;
  background: linear-gradient(90deg, var(--lime-dark), var(--lime));
  transition: width .12s linear;
}

/* ═══ Header ═══ */
.l-header {
  position: fixed; inset: 0 0 auto; z-index: 60;
  transition: background .35s var(--ease), border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.l-header.scrolled {
  background: rgba(15, 23, 42, .82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: rgba(226, 232, 240, .08);
}
.l-header-inner { display: flex; align-items: center; gap: 32px; height: 76px; }
/* Логотип без тёмной подложки — прозрачный svg на всей высоте шапки */
.l-logo { display: flex; align-items: center; flex: none; }
.l-logo img { height: 42px; width: auto; }
.l-header-login { display: none; }
.l-nav { display: flex; gap: 26px; margin-left: 20px; flex: 1; }
.l-nav a {
  position: relative; font-size: 14.5px; font-weight: 500; color: #cbd5e1;
  transition: color .2s; padding: 4px 0;
}
.l-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; border-radius: 2px; background: var(--lime);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.l-nav a:hover { color: var(--lime); }
.l-nav a:hover::after { transform: scaleX(1); }
.l-header-cta { display: flex; gap: 10px; margin-left: auto; }
.l-burger {
  display: none; flex-direction: column; gap: 5px; padding: 10px;
  background: none; border: 0; cursor: pointer;
}
.l-burger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: .3s var(--ease); }
.l-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.l-burger.open span:nth-child(2) { opacity: 0; }
.l-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.l-mobile-menu {
  position: fixed; inset: 76px 0 auto; z-index: 55;
  background: rgba(15, 23, 42, .97);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, .1);
  padding: 24px; display: none;
  transform: translateY(-8px); opacity: 0;
  /* Закрытое меню невидимо И не перехватывает тапы. */
  visibility: hidden; pointer-events: none;
  transition: transform .3s var(--ease), opacity .3s var(--ease), visibility 0s linear .3s;
}
.l-mobile-menu.open {
  transform: none; opacity: 1;
  visibility: visible; pointer-events: auto;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.l-mobile-menu nav { display: flex; flex-direction: column; gap: 18px; margin-bottom: 24px; }
.l-mobile-menu nav a { font-size: 18px; font-weight: 600; color: #e2e8f0; }
.l-mobile-cta { display: flex; flex-direction: column; gap: 10px; }
.l-mobile-legal {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 22px; padding-top: 18px;
  border-top: 1px solid rgba(226, 232, 240, .1);
}
.l-mobile-legal a { font-size: 13px; color: var(--text-3); }

/* ═══ Hero ═══ */
.hero {
  position: relative; background: var(--dark); color: var(--white);
  padding: 168px 0 96px; overflow: hidden;
}
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(52% 46% at 78% 30%, rgba(163, 230, 53, .14), transparent 70%),
    radial-gradient(40% 36% at 12% 78%, rgba(163, 230, 53, .07), transparent 70%);
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(148, 163, 184, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, .06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 60% at 60% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 60% at 60% 40%, #000 30%, transparent 100%);
}
.hero-inner {
  position: relative; display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(163, 230, 53, .3);
  background: rgba(163, 230, 53, .08);
  font-size: 13px; font-weight: 600; color: var(--lime);
}
.hero-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }
.hero-title {
  margin-top: 26px;
  font-size: clamp(2.5rem, 5.4vw, 4.4rem);
  font-weight: 800; line-height: 1.06; letter-spacing: -.03em;
}
.hero-title span { display: block; }
.hero-title span:nth-child(2) { color: var(--lime); }
.hero-sub {
  margin-top: 24px; font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  line-height: 1.65; color: #94a3b8; max-width: 520px;
}
.hero-cta { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid rgba(226, 232, 240, .3);
  border-radius: 14px; display: flex; justify-content: center;
}
.hero-scroll span {
  width: 4px; height: 8px; border-radius: 4px; background: var(--lime);
  margin-top: 7px; animation: scrollHint 2.2s var(--ease) infinite;
}
@keyframes scrollHint { 0%,100% { transform: translateY(0); opacity: 1 } 55% { transform: translateY(12px); opacity: .25 } }

/* Hero entrance */
.reveal-hero { opacity: 0; transform: translateY(26px); animation: heroIn .9s var(--ease) forwards; }
.hero-badge.reveal-hero { animation-delay: .08s; }
.hero-title .reveal-hero:nth-child(1) { animation-delay: .16s; }
.hero-title .reveal-hero:nth-child(2) { animation-delay: .26s; }
.hero-title .reveal-hero:nth-child(3) { animation-delay: .36s; }
.hero-sub.reveal-hero { animation-delay: .5s; }
.hero-cta.reveal-hero { animation-delay: .64s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* Hero visual */
.hero-visual { position: relative; animation: heroVisual 1s var(--ease) .42s both; }
@keyframes heroVisual { from { opacity: 0; transform: translateY(34px) scale(.96); } to { opacity: 1; transform: none; } }

/* ═══ Product mock ═══ */
.mock { border-radius: var(--radius); }
.mock-frame {
  display: flex; overflow: hidden; border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, .22);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}
.hero-mock { will-change: transform; }
.hero-mock .mock-frame { box-shadow: var(--shadow-lg), 0 0 0 1px rgba(163, 230, 53, .06), 0 0 90px -20px rgba(163, 230, 53, .22); }

.mock-sidebar {
  flex: 0 0 58px; background: var(--dark); padding: 14px 0;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
}
.mock-logo { border-radius: 6px; }
.mock-nav { display: flex; flex-direction: column; gap: 11px; }
.mock-nav-item { width: 26px; height: 4px; border-radius: 3px; background: rgba(226, 232, 240, .22); }
.mock-nav-item.active { background: var(--lime); }

.mock-body { flex: 1; padding: 16px 18px; min-width: 0; background: var(--bg); }
.mock-body.wide { padding: 20px 24px; }
.mock-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mock-title { font-size: 14px; font-weight: 700; color: var(--text); }
.mock-chip {
  font-size: 11px; font-weight: 600; color: var(--text-2);
  border: 1px solid var(--border); border-radius: 999px; padding: 3px 10px;
  background: var(--white);
}
.mock-chip.ok { color: var(--ok); border-color: rgba(13, 187, 129, .35); background: rgba(13, 187, 129, .08); }
.mock-chip.lime { color: var(--dark); background: var(--lime); border-color: transparent; }

.mock-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.mock-kpis.two { grid-template-columns: repeat(2, 1fr); }
.mock-kpi {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 10px; padding: 10px 12px;
  display: flex; flex-direction: column; gap: 4px;
}
.mock-kpi-label { font-size: 10.5px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; }
.mock-kpi-val { font-size: 16px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }

.mock-chart { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px 4px; margin-bottom: 12px; }
.mock-chart svg { width: 100%; height: 110px; display: block; }

.mock-rows { display: flex; flex-direction: column; gap: 7px; }
.mock-row {
  display: flex; align-items: center; gap: 10px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; padding: 8px 10px;
}
.mock-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.mock-dot.ok { background: var(--ok); }
.mock-dot.warn { background: var(--warn); }
.mock-cell { height: 7px; border-radius: 4px; background: #e2e8f0; }
.mock-cell.right { margin-left: auto; background: #cbd5e1; }
.w15 { width: 15%; } .w20 { width: 20%; } .w25 { width: 25%; }
.w30 { width: 30%; } .w35 { width: 35%; } .w40 { width: 40%; } .w45 { width: 45%; }

.mock-table { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.mock-tr {
  display: grid; grid-template-columns: 1.6fr 1.2fr 1fr 1fr;
  gap: 8px; padding: 9px 12px; font-size: 11.5px; color: var(--text-2);
  background: var(--white); border-bottom: 1px solid var(--border);
}
.mock-tr:last-child { border-bottom: 0; }
.mock-tr:nth-child(even) { background: var(--bg); }
.mock-tr.head { background: var(--dark); color: #cbd5e1; font-weight: 600; font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; }
.mock-tr.total { background: #f7fee7; font-weight: 700; color: var(--text); }
.mock-tr .ok { color: var(--ok); font-weight: 600; }
.mock-tr span:last-child { text-align: right; font-variant-numeric: tabular-nums; }

.mock-filters { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.mock-field {
  font-size: 11px; font-weight: 600; color: var(--text-2);
  border: 1px solid var(--border); background: var(--white);
  padding: 5px 12px; border-radius: 8px;
}
.mock-field.btn-like { background: var(--lime); color: var(--dark); border-color: transparent; }

.mock-bars {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px;
  align-items: end; height: 120px; padding: 12px;
  background: var(--white); border: 1px solid var(--border); border-radius: 10px;
}
.mock-bar { position: relative; height: 100%; display: flex; align-items: flex-end; justify-content: center; }
.mock-bar::before {
  content: ""; display: block; width: 100%; height: var(--h);
  border-radius: 6px 6px 3px 3px; background: #cbd5e1;
  transition: height .8s var(--ease);
}
.mock-bar.accent::before { background: var(--lime); }
.mock-bar span { position: absolute; bottom: -2px; font-size: 9.5px; color: var(--text-3); transform: translateY(100%); }

/* Floating cards */
.float-card {
  position: absolute; border-radius: 12px; padding: 14px 16px;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, .8);
  box-shadow: var(--shadow-md); color: var(--text);
  animation: floatIn .9s var(--ease) both; will-change: transform;
}
@keyframes floatIn { from { opacity: 0; transform: translateY(22px) scale(.94); } to { opacity: 1; transform: none; } }
.float-kpi { top: -34px; right: -18px; animation-delay: .8s; }
.float-tx { bottom: 34px; left: -44px; animation-delay: .95s; }
.float-chart { bottom: -30px; right: 12%; animation-delay: 1.1s; display: flex; flex-direction: column; gap: 4px; }
.float-chart svg { width: 140px; height: 56px; }
.float-label { font-size: 10.5px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; }
.float-val { font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; }
.float-val small { font-size: 13px; font-weight: 600; color: var(--text-2); }
.float-trend { font-size: 11px; font-weight: 600; color: var(--ok); }
.float-trend.down { color: var(--ok); }
.float-tx-head { display: flex; align-items: center; gap: 7px; margin-bottom: 8px; }
.float-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime-dark); }
.float-tx-body { display: flex; justify-content: space-between; gap: 18px; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.float-tx-sum { color: var(--text-2); }

/* ═══ Reveal on scroll ═══ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal[data-reveal="left"] { transform: translateX(-34px); }
.reveal[data-reveal="right"] { transform: translateX(34px); }
.reveal[data-reveal="scale"] { transform: scale(.92); }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }
.reveal[data-delay="4"] { transition-delay: .48s; }
.reveal[data-delay="5"] { transition-delay: .6s; }
.reveal.in { opacity: 1; transform: none; }

.text-link { color: var(--lime-dark); font-weight: 600; }
.text-link:hover { text-decoration: underline; }

/* ═══ One platform / dataflow ═══ */
.one-platform { background: var(--white); }
.statement {
  font-size: clamp(1.7rem, 3.2vw, 2.6rem); font-weight: 800;
  line-height: 1.2; max-width: 820px; margin: 0 auto 70px; text-align: center;
}
.statement em { font-style: normal; color: var(--lime-dark); }
.dataflow { position: relative; }
.dataflow-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.df-line {
  fill: none; stroke: var(--lime-dark); stroke-width: 2;
  stroke-dasharray: 300; stroke-dashoffset: 300;
  transition: stroke-dashoffset 1s var(--ease);
}
.df-nodes {
  position: relative; display: grid;
  grid-template-columns: repeat(6, 1fr); gap: 12px;
}
.df-node {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 13.5px; font-weight: 600; color: var(--text-2);
  opacity: 0; transform: translateY(16px); transition: .7s var(--ease);
}
.df-ic {
  width: 52px; height: 52px; border-radius: 14px; display: grid;
  place-items: center; font-weight: 800; font-size: 17px;
  background: var(--white); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); color: var(--dark);
}
.df-node-final .df-ic { background: var(--dark); color: var(--lime); border-color: transparent; }
.dataflow.in .df-line { stroke-dashoffset: 0; }
.dataflow.in .df-line:nth-child(1) { transition-delay: .15s; }
.dataflow.in .df-line:nth-child(2) { transition-delay: .45s; }
.dataflow.in .df-line:nth-child(3) { transition-delay: .75s; }
.dataflow.in .df-line:nth-child(4) { transition-delay: 1.05s; }
.dataflow.in .df-node { opacity: 1; transform: none; }
.dataflow.in .df-node:nth-child(1) { transition-delay: 0s; }
.dataflow.in .df-node:nth-child(2) { transition-delay: .2s; }
.dataflow.in .df-node:nth-child(3) { transition-delay: .5s; }
.dataflow.in .df-node:nth-child(4) { transition-delay: .8s; }
.dataflow.in .df-node:nth-child(5) { transition-delay: 1.1s; }
.dataflow.in .df-node:nth-child(6) { transition-delay: 1.4s; }

/* ═══ Showcase (sticky) ═══ */
.showcase { background: var(--bg); }
.showcase-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.showcase-steps { padding: 20px 0; }
.show-step {
  display: flex; gap: 20px; padding: 34px 0;
  border-bottom: 1px solid var(--border);
  opacity: .38; transition: opacity .45s var(--ease);
}
.show-step:last-child { border-bottom: 0; }
.show-step.active { opacity: 1; }
.show-num {
  font-size: 13px; font-weight: 800; color: var(--lime-dark);
  border: 1px solid rgba(132, 204, 22, .4); border-radius: 8px;
  padding: 4px 9px; height: fit-content; flex: none; font-variant-numeric: tabular-nums;
}
.show-step h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.show-step p { font-size: 14.5px; line-height: 1.6; color: var(--text-2); }
.showcase-stage { position: sticky; top: 110px; }
.showcase-mock .mock-body { min-height: 380px; position: relative; }
.mock-panel {
  position: absolute; inset: 16px 18px;
  opacity: 0; transform: translateY(18px) scale(.985);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
  pointer-events: none;
}
.mock-panel.active { opacity: 1; transform: none; pointer-events: auto; position: relative; inset: auto; }

/* ═══ Fleet (dark, horizontal) ═══ */
.fleet { padding: 0; }
.fleet-sticky { padding: 112px 0; }
.fleet-track {
  display: flex; gap: 20px; margin-top: 54px;
  padding: 0 max(24px, calc((100vw - 1200px) / 2 + 24px));
  will-change: transform;
}
.v-card {
  flex: 0 0 330px; border-radius: var(--radius);
  background: var(--dark-2); border: 1px solid rgba(148, 163, 184, .16);
  padding: 22px; color: #e2e8f0;
  transition: border-color .3s;
}
.v-card:hover { border-color: rgba(163, 230, 53, .4); }
.v-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.v-name { font-size: 17px; font-weight: 700; color: var(--white); }
.v-plate { font-size: 12px; font-weight: 600; color: var(--text-3); font-variant-numeric: tabular-nums; }
.v-meta { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12.5px; color: var(--text-3); }
.v-status { font-weight: 600; padding: 2px 9px; border-radius: 999px; font-size: 11px; }
.v-status.ok { color: var(--lime); background: rgba(163, 230, 53, .12); }
.v-status.warn { color: var(--warn); background: rgba(245, 158, 11, .12); }
.v-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px 0 14px; }
.v-kpis div { display: flex; flex-direction: column; gap: 3px; }
.v-kpis b { font-size: 15px; font-weight: 800; color: var(--white); font-variant-numeric: tabular-nums; }
.v-kpis span { font-size: 10.5px; color: var(--text-3); text-transform: uppercase; letter-spacing: .05em; }
.v-spark { width: 100%; height: 40px; }

/* ═══ Fuel ═══ */
.fuel { background: var(--white); }
.fuel-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.check-list { margin: 26px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 13px; }
.check-list li { position: relative; padding-left: 30px; font-size: 15px; color: var(--text-2); line-height: 1.5; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(163, 230, 53, .18) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2384cc16" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M5 13l4 4L19 7"/></svg>') center/10px no-repeat;
}
.fuel-visual { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.tx-stream { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 380px; }
.tx-card {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 11px; padding: 12px 16px; box-shadow: var(--shadow-sm);
  font-size: 13px; color: var(--text-2);
  opacity: 0; transform: translateY(14px); transition: .6s var(--ease);
}
.tx-card b { font-variant-numeric: tabular-nums; color: var(--text); }
.tx-card i { font-style: normal; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.tx-stream.in .tx-card { opacity: 1; transform: none; }
.tx-stream.in .tx-card:nth-child(1) { transition-delay: .05s; }
.tx-stream.in .tx-card:nth-child(2) { transition-delay: .15s; }
.tx-stream.in .tx-card:nth-child(3) { transition-delay: .25s; }
.tx-stream.in .tx-card:nth-child(4) { transition-delay: .35s; }
.tx-stream.in .tx-card:nth-child(5) { transition-delay: .45s; }
.tx-arrow { color: var(--lime-dark); }
.tx-total {
  width: 100%; max-width: 380px; border-radius: 12px;
  background: var(--dark); color: var(--white); padding: 16px 18px;
  display: flex; flex-direction: column; gap: 4px;
  box-shadow: var(--shadow-md);
}
.tx-total .float-label { color: var(--text-3); }
.tx-total b { font-size: 19px; font-variant-numeric: tabular-nums; }
.tx-total .float-trend { color: var(--lime); }

/* ═══ Suppliers / integrations ═══ */
.suppliers { background: var(--bg); }
.flow-net {
  margin-top: 64px; display: grid;
  grid-template-columns: 1fr minmax(120px, 240px) 170px minmax(120px, 240px) 1fr;
  align-items: center; gap: 0;
}
.flow-col { display: flex; flex-direction: column; gap: 22px; }
.flow-src {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px 18px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 4px;
}
.flow-src b { font-size: 14.5px; }
.flow-src span { font-size: 12px; color: var(--text-3); }
.flow-src.out { border-color: rgba(163, 230, 53, .4); }
.flow-hub {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 26px 18px; border-radius: 18px;
  background: var(--dark); color: var(--white);
  font-weight: 700; box-shadow: var(--shadow-lg), 0 0 70px -18px rgba(163, 230, 53, .4);
  position: relative; z-index: 2;
}
.flow-lines { width: 100%; height: 220px; overflow: visible; }
.fl {
  fill: none; stroke: var(--lime-dark); stroke-width: 2;
  stroke-dasharray: 400; stroke-dashoffset: 400;
}
.flow-net.in .fl { animation: draw .9s var(--ease) forwards; }
.flow-net.in .fl:nth-child(1) { animation-delay: .1s; }
.flow-net.in .fl:nth-child(2) { animation-delay: .35s; }
.flow-net.in .fl:nth-child(3) { animation-delay: .6s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ═══ Analytics ═══ */
.analytics { overflow: hidden; }
.analytics-mock { margin-top: 56px; }
.analytics-mock .mock-body { background: var(--dark-2); border: 1px solid rgba(148, 163, 184, .16); border-radius: var(--radius); }
.analytics-mock .mock-title { color: var(--white); }
.analytics-mock .mock-chip { background: rgba(255, 255, 255, .06); border-color: rgba(226, 232, 240, .16); color: #cbd5e1; }
.analytics-mock .mock-kpi { background: rgba(255, 255, 255, .04); border-color: rgba(148, 163, 184, .18); }
.analytics-mock .mock-kpi-val { color: var(--white); }
.analytics-mock .mock-kpi-label { color: var(--text-3); }
.analytics-grid { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: end; }
.an-kpis { display: flex; flex-direction: column; gap: 12px; }
.an-chart svg { width: 100%; height: 220px; display: block; }
.an-chart .grid line { stroke: rgba(148, 163, 184, .14); stroke-width: 1; }
.scrub-line { fill: none; stroke: var(--lime); stroke-width: 3; stroke-linecap: round; }
.scrub-area { fill: url(#areaG2); fill: rgba(163, 230, 53, .12); opacity: 0; transition: opacity .8s var(--ease); }
.analytics-mock.in .scrub-area { opacity: 1; }
.an-months { display: flex; justify-content: space-between; margin-top: 10px; font-size: 11px; color: var(--text-3); }

/* ═══ Reports ═══ */
.reports { background: var(--white); }
.reports-inner { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 64px; align-items: center; }
.reports-copy .btn { margin-top: 30px; }
.report-mock .mock-body { padding: 20px 22px; }

/* ═══ Benefits ═══ */
.benefits { background: var(--bg); padding: 96px 0; }
.benefit {
  display: flex; gap: 28px; align-items: baseline;
  padding: 40px 0; border-bottom: 1px solid var(--border);
}
.benefit:first-child { padding-top: 0; }
.benefit:last-child { border-bottom: 0; padding-bottom: 0; }
.benefit-num {
  font-size: 15px; font-weight: 800; color: var(--lime-dark);
  font-variant-numeric: tabular-nums; flex: none;
}
.benefit h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 800; }
.benefit p { margin-top: 10px; font-size: 15.5px; color: var(--text-2); line-height: 1.6; max-width: 640px; }

/* ═══ How it works ═══ */
.how { background: var(--white); }
.how-steps { position: relative; margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.how-line {
  position: absolute; top: 26px; left: 0; right: 0; height: 2px;
  background: var(--border); border-radius: 2px;
}
.how-line span {
  display: block; height: 100%; width: 0; border-radius: 2px;
  background: var(--lime); transition: width 1.4s var(--ease);
}
.how-steps.in .how-line span { width: 100%; }
.how-step { position: relative; padding-top: 76px; opacity: 0; transform: translateY(18px); transition: .7s var(--ease); }
.how-steps.in .how-step { opacity: 1; transform: none; }
.how-steps.in .how-step:nth-child(2) { transition-delay: .15s; }
.how-steps.in .how-step:nth-child(3) { transition-delay: .45s; }
.how-steps.in .how-step:nth-child(4) { transition-delay: .75s; }
.how-steps.in .how-step:nth-child(5) { transition-delay: 1.05s; }
.how-num {
  position: absolute; top: 0; left: 0;
  width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--dark); color: var(--lime);
  font-weight: 800; font-size: 16px; font-variant-numeric: tabular-nums;
  box-shadow: var(--shadow-md);
}
.how-step h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 8px; }
.how-step p { font-size: 14px; color: var(--text-2); line-height: 1.55; }

/* ═══ Security ═══ */
.security { background: var(--bg); }
.security-inner { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
.sec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sec-item {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 22px; transition: transform .3s var(--ease), box-shadow .3s;
}
.sec-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.sec-item h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 8px; }
.sec-item p { font-size: 13.5px; color: var(--text-2); line-height: 1.55; }

/* ═══ Final CTA ═══ */
.final-cta { padding: 140px 0; text-align: center; overflow: hidden; }
.cta-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(46% 60% at 50% 100%, rgba(163, 230, 53, .16), transparent 70%);
}
.final-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.final-mark { filter: drop-shadow(0 0 26px rgba(163, 230, 53, .45)); }
.final-title {
  margin-top: 30px; font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  font-weight: 800; color: var(--white); max-width: 780px; line-height: 1.1;
}
.final-sub { margin-top: 18px; font-size: clamp(1rem, 1.5vw, 1.18rem); color: var(--text-3); max-width: 560px; line-height: 1.6; }
.final-cta .hero-cta { justify-content: center; }

/* ═══ Features grid ═══ */
.features { background: var(--white); }
.feat-grid {
  margin-top: 56px; display: grid;
  grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.feat-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 22px;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.feat-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-md);
  border-color: rgba(163, 230, 53, .5);
}
.feat-ic {
  display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 11px; margin-bottom: 16px;
  background: var(--dark); color: var(--lime);
  font-size: 19px; font-weight: 700;
}
.feat-card h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 8px; }
.feat-card p { font-size: 13.5px; color: var(--text-2); line-height: 1.55; }

/* ═══ Segments ═══ */
.segments { overflow: hidden; }
.seg-grid {
  margin-top: 52px; display: grid;
  grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.seg-card {
  position: relative; border-radius: var(--radius); padding: 26px 22px;
  background: var(--dark-2); border: 1px solid rgba(148, 163, 184, .16);
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .3s var(--ease), border-color .3s;
}
.seg-card:hover { transform: translateY(-4px); border-color: rgba(163, 230, 53, .4); }
.seg-card h3 { font-size: 17px; font-weight: 700; color: var(--white); }
.seg-card p { font-size: 13.5px; color: var(--text-3); line-height: 1.55; flex: 1; }
.seg-tag {
  align-self: flex-start; font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--lime); border: 1px solid rgba(163, 230, 53, .3);
  border-radius: 999px; padding: 4px 10px;
}

/* ═══ FAQ ═══ */
.faq { background: var(--bg); }
.faq-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.faq-head { position: sticky; top: 110px; }
.faq-head .section-sub { margin-top: 16px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  transition: border-color .25s;
}
.faq-item[open] { border-color: rgba(163, 230, 53, .5); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 18px 20px;
  font-size: 15.5px; font-weight: 700;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; flex: none; width: 18px; height: 18px; }
.faq-plus::before, .faq-plus::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  background: var(--lime-dark); border-radius: 2px;
  transition: transform .3s var(--ease);
}
.faq-plus::before { width: 16px; height: 2px; }
.faq-plus::after { width: 2px; height: 16px; }
.faq-item[open] .faq-plus::after { transform: rotate(90deg); }
.faq-a { padding: 0 20px 18px; }
.faq-a p { font-size: 14px; color: var(--text-2); line-height: 1.65; }

/* ═══ Footer (dark) ═══ */
.l-footer { background: #0a1128; color: #cbd5e1; }
.footer-inner {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 48px; align-items: start; padding-top: 72px; padding-bottom: 56px;
}
.footer-brand img { height: 44px; width: auto; }
.footer-brand p { margin: 18px 0 24px; font-size: 14px; line-height: 1.6; color: var(--text-3); max-width: 300px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 {
  margin: 0 0 6px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em; color: var(--text-3);
}
.footer-col a { font-size: 14px; color: #cbd5e1; transition: color .2s; width: fit-content; }
.footer-col a:hover { color: var(--lime); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-top: 24px; padding-bottom: 28px;
  border-top: 1px solid rgba(226, 232, 240, .08);
  font-size: 13px; color: var(--text-3);
}
.footer-domains a { color: var(--text-3); }
.footer-domains a:hover { color: var(--lime); }

/* ═══ To-top button ═══ */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 50;
  width: 52px; height: 52px; border-radius: 50%; border: 0;
  padding: 0; /* иначе UA-padding кнопки сдвигает svg с кольца */
  background: var(--dark); color: var(--lime);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(163, 230, 53, .25);
  cursor: pointer; display: grid; place-items: center;
  opacity: 0; transform: translateY(16px) scale(.9);
  pointer-events: none; visibility: hidden;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.to-top.show {
  opacity: 1; transform: none;
  pointer-events: auto; visibility: visible;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.to-top:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(163, 230, 53, .5); }
.to-top svg { width: 44px; height: 44px; display: block; }
.tt-ring { fill: none; stroke: rgba(163, 230, 53, .2); stroke-width: 3; }
.tt-bar {
  fill: none; stroke: var(--lime); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 119.4; /* 2πr, r=19 */
  stroke-dashoffset: 119.4;
  transform: rotate(-90deg);
  transform-box: view-box; transform-origin: center;
}

/* ═══ Responsive ═══ */
@media (max-width: 1080px) {
  /* minmax(0,1fr): контент мокапа не распирает колонку —
     иначе hero-текст уезжает за правый край экрана. */
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 64px; }
  .hero-visual { min-width: 0; }
  .float-tx { left: 0; }
  .float-kpi { right: 0; }
  .showcase-inner { grid-template-columns: 1fr; gap: 30px; }
  .showcase-stage { position: relative; top: 0; order: -1; }
  .show-step { opacity: 1; padding: 20px 0; }
  .fuel-inner, .reports-inner, .security-inner { grid-template-columns: 1fr; gap: 48px; }
  .flow-net { grid-template-columns: 1fr; gap: 22px; }
  .flow-lines { display: none; }
  .flow-hub { order: 0; }
  .analytics-grid { grid-template-columns: 1fr; }
  .an-kpis { flex-direction: row; flex-wrap: wrap; }
  .an-kpis .mock-kpi { flex: 1 1 140px; }
  .feat-grid, .seg-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-inner { grid-template-columns: 1fr; gap: 36px; }
  .faq-head { position: static; }
}
@media (max-width: 860px) {
  .l-nav, .l-header-cta { display: none; }
  /* Мобильная шапка: бургер слева, лого по центру, «Войти» справа */
  .l-header-inner { display: grid; grid-template-columns: auto 1fr auto; height: 68px; }
  .l-burger { display: flex; margin-left: -10px; }
  .l-logo { justify-self: center; }
  .l-logo img { height: 40px; }
  .l-header-login {
    display: block; font-size: 14px; font-weight: 600; color: #cbd5e1;
    padding: 8px 0;
  }
  .l-mobile-menu { display: block; inset: 68px 0 auto; }
  .section { padding: 76px 0; }
  .hero { padding: 124px 0 80px; }
  .df-nodes { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .dataflow-svg { display: none; }
  .fleet-track { overflow-x: auto; margin-top: 36px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 8px; }
  .v-card { scroll-snap-align: start; }
  .how-steps { grid-template-columns: 1fr; gap: 40px; }
  .how-line { display: none; }
  .how-step { padding-top: 0; padding-left: 76px; }
  .sec-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; padding-top: 56px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .float-chart { display: none; }
  .to-top { right: 16px; bottom: 16px; width: 46px; height: 46px; }
  .to-top svg { width: 40px; height: 40px; }
}
@media (max-width: 480px) {
  .float-kpi { top: 0; right: 0; }
  .float-tx { left: 0; bottom: 8px; }
  .hero-cta .btn { width: 100%; }
  .mock-kpis { grid-template-columns: repeat(2, 1fr); }
  .mock-tr { grid-template-columns: 1.5fr .9fr .7fr; padding: 8px 10px; font-size: 11px; }
  .mock-tr span:nth-child(3) { display: none; }
  .feat-grid, .seg-grid { grid-template-columns: 1fr; }
  .l-logo img { height: 38px; }
}

/* ═══ Legal pages ═══ */
.legal { background: var(--bg); min-height: 60vh; padding: 152px 0 96px; }
.legal-inner { max-width: 820px; }
.legal h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; line-height: 1.15; }
.legal .legal-date { margin-top: 12px; font-size: 14px; color: var(--text-3); }
.legal h2 { font-size: 19px; font-weight: 700; margin: 40px 0 14px; }
.legal p { font-size: 15px; line-height: 1.75; color: var(--text-2); margin: 0 0 12px; }
.legal ul, .legal ol { margin: 0 0 14px; padding-left: 22px; font-size: 15px; line-height: 1.75; color: var(--text-2); }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--lime-dark); font-weight: 500; }
.legal a:hover { text-decoration: underline; }
.legal-box {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 26px; margin: 24px 0;
}

/* ═══ Reduced motion ═══ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .15s !important; }
  .reveal, .reveal-hero, .df-node, .tx-card, .how-step, .float-card { opacity: 1 !important; transform: none !important; }
  .df-line, .fl, .scrub-line { stroke-dashoffset: 0 !important; }
  .scrub-area { opacity: 1 !important; }
  .hero-scroll span { animation: none; }
  .scroll-progress, .to-top .tt-bar { transition: none; }
}

/* ═══ Automation mocks ═══ */
.auto { background: var(--white); }
.auto-grid {
  margin-top: 56px; display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
}
.auto-card {
  overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--bg);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.auto-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.mock-top {
  display: flex; align-items: center; gap: 6px;
  background: var(--dark); padding: 12px 16px;
}
.mock-top span { width: 9px; height: 9px; border-radius: 50%; background: rgba(226, 232, 240, .25); }
.mock-top span:first-child { background: rgba(163, 230, 53, .7); }
.mock-top em {
  margin-left: 8px; font-style: normal; font-size: 12px;
  font-weight: 600; color: #cbd5e1; letter-spacing: .04em;
}
.auto-body { padding: 18px; display: flex; flex-direction: column; gap: 12px; min-height: 240px; }

/* import pipeline */
.imp-file {
  display: flex; align-items: center; gap: 12px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 10px; padding: 10px 12px;
}
.imp-ic {
  width: 36px; height: 36px; flex: none; border-radius: 9px;
  display: grid; place-items: center;
  background: var(--dark); color: var(--lime); font-size: 16px;
}
.imp-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.imp-meta b { font-size: 12.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.imp-meta i { font-style: normal; font-size: 11px; color: var(--text-3); }
.imp-badge {
  font-size: 10px; font-weight: 800; letter-spacing: .06em;
  color: var(--lime-dark); border: 1px solid rgba(163, 230, 53, .5);
  border-radius: 6px; padding: 2px 7px;
}
.imp-steps { display: flex; flex-direction: column; gap: 8px; }
.imp-step {
  display: flex; align-items: center; gap: 9px;
  font-size: 12.5px; color: var(--text-3); font-weight: 600;
  transition: color .4s;
}
.imp-dot {
  width: 9px; height: 9px; border-radius: 50%; flex: none;
  border: 2px solid var(--border); transition: .4s;
}
.auto-card.in .imp-step { color: var(--text); }
.auto-card.in .imp-dot { border-color: var(--lime-dark); background: var(--lime); box-shadow: 0 0 0 3px rgba(163, 230, 53, .18); }
.auto-card.in .imp-step:nth-child(1) { transition-delay: .1s; }
.auto-card.in .imp-step:nth-child(2) { transition-delay: .55s; }
.auto-card.in .imp-step:nth-child(3) { transition-delay: 1s; }
.auto-card.in .imp-step:nth-child(4) { transition-delay: 1.45s; }
.auto-card.in .imp-step:nth-child(1) .imp-dot { transition-delay: .1s; }
.auto-card.in .imp-step:nth-child(2) .imp-dot { transition-delay: .55s; }
.auto-card.in .imp-step:nth-child(3) .imp-dot { transition-delay: 1s; }
.auto-card.in .imp-step:nth-child(4) .imp-dot { transition-delay: 1.45s; }
.imp-bar {
  height: 6px; border-radius: 4px; background: var(--border); overflow: hidden;
}
.imp-bar-fill {
  display: block; height: 100%; width: 0; border-radius: 4px;
  background: linear-gradient(90deg, var(--lime-dark), var(--lime));
}
.auto-card.in .imp-bar-fill { animation: impFill 1.9s var(--ease) .1s forwards; }
@keyframes impFill { to { width: 100%; } }
.imp-done {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; color: var(--ok);
  opacity: 0; transform: translateY(6px);
  transition: .5s var(--ease);
}
.auto-card.in .imp-done { opacity: 1; transform: none; transition-delay: 2s; }
.imp-check {
  width: 18px; height: 18px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-size: 11px;
  background: rgba(13, 187, 129, .12); color: var(--ok);
}

/* notifications feed */
.ntf {
  display: flex; align-items: center; gap: 12px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 10px; padding: 11px 12px;
  opacity: 0; transform: translateX(-18px);
}
.auto-card.in .ntf { animation: ntfIn .55s var(--ease) forwards; }
.auto-card.in .ntf-1 { animation-delay: .15s; }
.auto-card.in .ntf-2 { animation-delay: .5s; }
.auto-card.in .ntf-3 { animation-delay: .85s; }
.auto-card.in .ntf-4 { animation-delay: 1.2s; }
@keyframes ntfIn { to { opacity: 1; transform: none; } }
.ntf-ic {
  width: 34px; height: 34px; flex: none; border-radius: 9px;
  display: grid; place-items: center;
  background: var(--bg); color: var(--text-2); font-size: 15px;
}
.ntf-ic.lime { background: rgba(163, 230, 53, .16); color: var(--lime-dark); }
.ntf-ic.warn { background: rgba(245, 158, 11, .14); color: var(--warn); }
.ntf div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ntf b { font-size: 12.5px; font-weight: 700; }
.ntf i { font-style: normal; font-size: 11px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ntf time { font-size: 10.5px; color: var(--text-3); flex: none; font-variant-numeric: tabular-nums; }

/* members & audit */
.mbr {
  display: flex; align-items: center; gap: 12px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 10px; padding: 10px 12px;
  opacity: 0; transform: translateY(12px);
}
.auto-card.in .mbr { animation: ntfIn .5s var(--ease) forwards; }
.auto-card.in .mbr:nth-of-type(1) { animation-delay: .15s; }
.auto-card.in .mbr:nth-of-type(2) { animation-delay: .45s; }
.auto-card.in .mbr:nth-of-type(3) { animation-delay: .75s; }
.mbr-av {
  width: 34px; height: 34px; flex: none; border-radius: 50%;
  display: grid; place-items: center; font-size: 11px; font-weight: 800;
  background: var(--dark); color: var(--lime);
}
.mbr div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mbr b { font-size: 12.5px; font-weight: 700; }
.mbr i { font-style: normal; font-size: 11px; color: var(--text-3); }
.mbr-role {
  font-size: 10px; font-weight: 700; letter-spacing: .05em;
  color: var(--text-2); border: 1px solid var(--border);
  border-radius: 999px; padding: 3px 9px; flex: none;
}
.mbr-role.owner { color: var(--dark); background: var(--lime); border-color: transparent; }
.mbr-role.admin { color: var(--lime-dark); border-color: rgba(163, 230, 53, .5); }
.audit-line {
  display: flex; align-items: center; gap: 10px;
  padding: 4px 4px 0; opacity: 0; transform: translateY(10px);
}
.auto-card.in .audit-line { animation: ntfIn .5s var(--ease) 1.05s forwards; }
.audit-dot {
  width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: var(--lime); box-shadow: 0 0 0 4px rgba(163, 230, 53, .18);
}
.audit-line b { font-size: 12px; font-weight: 700; display: block; }
.audit-line i { font-style: normal; font-size: 11px; color: var(--text-3); }

/* ═══ Contact ═══ */
.contact { background: var(--dark); position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(40% 55% at 85% 20%, rgba(163, 230, 53, .1), transparent 70%);
}
.contact-inner {
  position: relative; display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 64px; align-items: start;
}
.contact-points {
  margin-top: 28px; display: flex; flex-direction: column; gap: 14px;
  list-style: none; padding: 0;
}
.contact-points li {
  position: relative; padding-left: 30px;
  font-size: 15px; color: #cbd5e1; line-height: 1.5;
}
.contact-points li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; font-size: 11px; font-weight: 800;
  background: rgba(163, 230, 53, .16); color: var(--lime);
}
.contact-mails { margin-top: 36px; display: flex; flex-direction: column; gap: 12px; }
.contact-mails a {
  display: flex; flex-direction: column; gap: 2px; width: fit-content;
}
.contact-mails span { font-size: 12px; color: var(--text-3); text-transform: uppercase; letter-spacing: .08em; }
.contact-mails b { font-size: 17px; font-weight: 700; color: var(--white); transition: color .2s; }
.contact-mails a:hover b { color: var(--lime); }

.contact-form {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(226, 232, 240, .14);
  border-radius: 18px; padding: 30px;
  backdrop-filter: blur(8px);
}
.cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf-field { display: flex; flex-direction: column; gap: 7px; }
.cf-field span { font-size: 12.5px; font-weight: 600; color: #cbd5e1; }
.cf-field span i { color: var(--lime); font-style: normal; margin-left: 2px; }
.cf-field input, .cf-field select, .cf-field textarea {
  width: 100%; font: inherit; font-size: 14px; color: var(--white);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(226, 232, 240, .16);
  border-radius: 10px; padding: 11px 13px; outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.cf-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2394a3b8' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center;
  padding-right: 32px;
}
.cf-field select option { color: var(--text); }
.cf-field textarea { resize: vertical; min-height: 88px; }
.cf-field input::placeholder, .cf-field textarea::placeholder { color: #64748b; }
.cf-field input:focus, .cf-field select:focus, .cf-field textarea:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(163, 230, 53, .18);
  background: rgba(255, 255, 255, .08);
}
.cf-field input.cf-err, .cf-field select.cf-err, .cf-field textarea.cf-err {
  border-color: #f87171; box-shadow: 0 0 0 3px rgba(248, 113, 113, .15);
}
.cf-wide { grid-column: 1 / -1; }
.cf-hp {
  position: absolute; left: -9999px; top: -9999px;
  width: 1px; height: 1px; opacity: 0; pointer-events: none;
}
.cf-consent {
  margin-top: 18px; display: flex; gap: 10px; align-items: flex-start;
  cursor: pointer;
}
.cf-consent input {
  margin-top: 3px; width: 16px; height: 16px; flex: none;
  accent-color: var(--lime-dark); cursor: pointer;
}
.cf-consent span { font-size: 12.5px; line-height: 1.55; color: var(--text-3); }
.cf-consent .text-link { color: var(--lime); }
.cf-submit { width: 100%; margin-top: 20px; }
.cf-submit:disabled { opacity: .6; cursor: wait; }
.cf-status { margin-top: 14px; font-size: 13.5px; font-weight: 600; min-height: 20px; text-align: center; }
.cf-status.ok { color: var(--lime); }
.cf-status.err { color: #fca5a5; }
.contact-form.cf-done {
  text-align: center;
  display: flex; align-items: center; justify-content: center;
}
.cf-success {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 56px 20px; flex: 1;
}
.cf-success .cf-check {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; font-size: 26px;
  background: rgba(163, 230, 53, .14); color: var(--lime);
  box-shadow: 0 0 0 8px rgba(163, 230, 53, .07);
}
.cf-success b { font-size: 19px; color: var(--white); }
.cf-success p { font-size: 14px; color: var(--text-3); max-width: 340px; line-height: 1.6; }

/* ═══ Cookie consent ═══ */
.cookie {
  position: fixed; left: 26px; bottom: 26px; z-index: 60;
  max-width: 400px;
  opacity: 0; transform: translateY(20px) scale(.97);
  visibility: hidden; pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s linear .4s;
}
.cookie.show {
  opacity: 1; transform: none; visibility: visible; pointer-events: auto;
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.cookie-inner {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--dark); color: #cbd5e1;
  border: 1px solid rgba(226, 232, 240, .14);
  border-radius: 16px; padding: 20px 22px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(163, 230, 53, .1);
}
.cookie-ic { color: var(--lime); }
.cookie-ic svg { width: 30px; height: 30px; display: block; }
.cookie-text b { display: block; font-size: 15px; color: var(--white); margin-bottom: 5px; }
.cookie-text p { font-size: 12.5px; line-height: 1.55; color: var(--text-3); margin: 0; }
.cookie-text a { color: var(--lime); }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn { flex: 1; padding: 11px 16px; font-size: 13.5px; justify-content: center; }
.cookie-ghost { border-color: rgba(226, 232, 240, .2); }

/* ═══ Responsive additions ═══ */
@media (max-width: 1080px) {
  .auto-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 860px) {
  .contact-form { padding: 22px 18px; }
  .cookie { left: 14px; right: 14px; bottom: 14px; max-width: none; }
  .cookie-actions { flex-direction: column; }
}
@media (max-width: 480px) {
  .cf-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .ntf, .mbr, .audit-line, .imp-done { opacity: 1 !important; transform: none !important; animation: none !important; }
  .imp-step { color: var(--text) !important; }
  .imp-dot { border-color: var(--lime-dark); background: var(--lime); }
  .imp-bar-fill { width: 100% !important; animation: none !important; }
  .cookie { transition: opacity .2s; }
}
