/* SyCraft — лендинг-портфолио. Без внешних ресурсов: системные шрифты, CSS-графика, инлайновый SVG.
   Направление: dark-tech / precise (Linear/Vercel-архетип), без glow-slop и Inter/Roboto. */

:root {
  --bg: #07090e;
  --bg-2: #0c1018;
  --surface: #111722;
  --surface-2: #171f2e;
  --line: rgba(160, 180, 210, .14);
  --line-strong: rgba(160, 180, 210, .26);
  --text: #eef2f8;
  --muted: #9aabc0;
  --dim: #6f7f96;
  --accent: #3ddec8;
  --accent-ink: #041512;
  --accent-2: #7aa2ff;
  --wa: #25d366;
  --wa-ink: #053b1a;
  --glow-a: rgba(61, 222, 200, .14);
  --glow-b: rgba(122, 162, 255, .1);
  --shadow: 0 24px 60px rgba(0, 0, 0, .55);
  --radius: 12px;
  --radius-s: 8px;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 36px);
  --font: "Avenir Next", "Segoe UI Variable", "Segoe UI", "Helvetica Neue", Helvetica, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(.22, .8, .2, 1);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f3f5f8;
    --bg-2: #e9eef4;
    --surface: #ffffff;
    --surface-2: #f0f4f9;
    --line: rgba(28, 40, 60, .1);
    --line-strong: rgba(28, 40, 60, .2);
    --text: #0e1520;
    --muted: #445266;
    --dim: #5c6a7e;
    --accent: #0b7a68;
    --accent-ink: #ffffff;
    --accent-2: #2a57c7;
    --wa: #128c7e;
    --wa-ink: #ffffff;
    --glow-a: rgba(11, 122, 104, .12);
    --glow-b: rgba(42, 87, 199, .1);
    --shadow: 0 20px 48px rgba(18, 30, 50, .1);
  }
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.62;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 12% -10%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 55%),
    radial-gradient(900px 500px at 92% 8%, color-mix(in srgb, var(--accent-2) 7%, transparent), transparent 50%),
    var(--bg);
  overflow-x: hidden;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -.03em; font-weight: 700; overflow-wrap: anywhere; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
svg { display: block; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.ic { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 8px 12px; background: var(--accent); color: var(--accent-ink); border-radius: 8px; }
.skip:focus { left: 8px; }
b { font-weight: 700; }

/* ---------- Шапка ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
@supports not (color: color-mix(in srgb, red, blue)) { .site-head { background: var(--bg); } }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.01em; font-size: 1.1rem; }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(135deg, var(--surface-2), var(--surface)); border: 1px solid var(--line-strong); display: grid; place-items: center; flex: none; }
.brand-mark svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 8px 12px; border-radius: 10px; color: var(--muted); font-size: .95rem; transition: color .2s, background .2s; }
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav .nav-cta { margin-left: 8px; color: var(--accent); border: 1px solid var(--line-strong); font-family: var(--mono); font-size: .85rem; }
.nav .nav-cta:hover { border-color: var(--accent); background: transparent; }
/* Переключатель языка: две страницы, русская и английская. Третьей нет. */
.lang { display: inline-flex; margin-left: 8px; padding: 2px; gap: 2px; border: 1px solid var(--line); border-radius: 10px; }
.nav .lang-b { padding: 6px 10px; border-radius: 8px; font-family: var(--mono); font-size: .78rem; letter-spacing: .04em; color: var(--muted); }
.nav .lang-b.is-on { color: var(--accent-ink); background: var(--accent); }
.nav .lang-b.is-on:hover { background: var(--accent); }

.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 10px; background: transparent; color: var(--text); cursor: pointer; place-items: center; }
.burger .ic { width: 22px; height: 22px; }
.burger .ic-close { display: none; }
.burger[aria-expanded="true"] .ic-open { display: none; }
.burger[aria-expanded="true"] .ic-close { display: block; }

@media (max-width: 900px) {
  .burger { display: grid; }
  .nav {
    position: absolute; left: 0; right: 0; top: 64px;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px var(--gutter) 16px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform .25s var(--ease), opacity .2s, visibility .2s;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .nav a { padding: 12px 14px; font-size: 1.05rem; }
  .nav .nav-cta { margin: 8px 0 0; text-align: center; }
  .nav .lang { margin: 10px 0 0; justify-content: center; }
  .nav .lang-b { padding: 10px 16px; font-size: .9rem; }
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 20px; border-radius: var(--radius-s);
  font: inherit; font-weight: 600; font-size: .98rem; cursor: pointer;
  border: 1px solid transparent; transition: transform .18s var(--ease), background .18s, border-color .18s, box-shadow .18s, color .18s;
  text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-wa { background: var(--wa); color: var(--wa-ink); border-color: transparent; }
.btn-wa:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--accent); background: var(--surface); }
.btn .ic { width: 20px; height: 20px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.actions-center { justify-content: center; }
@media (max-width: 520px) { .actions .btn { width: 100%; } }

/* ---------- Первый экран ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(72px, 11vw, 132px) 0 clamp(52px, 7vw, 88px); isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 75% 55% at 40% 35%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse 75% 55% at 40% 35%, #000 10%, transparent 72%);
  opacity: .55;
}
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .85; }
.glow-a { width: 48vw; height: 48vw; max-width: 560px; max-height: 560px; left: -8vw; top: -18%; background: radial-gradient(circle, var(--glow-a), transparent 68%); }
.glow-b { width: 40vw; height: 40vw; max-width: 480px; max-height: 480px; right: -6vw; bottom: -22%; background: radial-gradient(circle, var(--glow-b), transparent 68%); }
.hero-in { max-width: 820px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .86rem; color: var(--muted); margin-bottom: 22px; padding: 7px 12px 7px 10px; border: 1px solid var(--line); border-radius: var(--radius-s); background: color-mix(in srgb, var(--surface) 72%, transparent); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.hero h1 { font-size: clamp(2.15rem, 6.4vw, 4.35rem); line-height: 1.02; letter-spacing: -.04em; max-width: 18ch; }
.accent { color: var(--accent); }
.lead { margin-top: 22px; font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--muted); max-width: 58ch; line-height: 1.55; }
.hero .actions { margin-top: 32px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.hero-tags li { font-size: .84rem; color: var(--muted); padding: 6px 11px; border-radius: var(--radius-s); border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 55%, transparent); }

/* ---------- Цифры ---------- */
.stats { border-block: 1px solid var(--line); background: var(--bg-2); }
.stats-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); }
.stat { padding: 28px 20px; display: flex; flex-direction: column; gap: 8px; background: var(--bg-2); }
.stat-num { font-size: clamp(2.3rem, 3.8vw, 3.15rem); font-weight: 780; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--text); display: flex; align-items: baseline; }
.stat-num .approx { font-size: .55em; color: var(--dim); margin-right: 4px; font-weight: 600; }
.stat-label { color: var(--muted); font-size: .9rem; line-height: 1.4; }
.stat-label b { color: var(--text); }
@media (max-width: 1000px) {
  .stats-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 22px 14px; }
  .stat:last-child { grid-column: 1 / -1; }
}

/* ---------- Секции ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.kicker { font-family: var(--mono); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); letter-spacing: -.025em; }
.sub { margin-top: 14px; color: var(--muted); font-size: 1.05rem; max-width: 60ch; }

/* ---------- Карточки ---------- */
.cards { display: grid; gap: 18px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .cards-3, .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards-3, .cards-4 { grid-template-columns: 1fr; } }
.card {
  position: relative;
  padding: 24px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .25s var(--ease), border-color .25s, background .25s;
  display: flex; flex-direction: column; gap: 12px;
}
.card::before { display: none; }
.card:hover { transform: translateY(-3px); border-color: var(--line-strong); background: var(--surface-2); }
.card:hover::before { opacity: 0; }
.card h3 { font-size: 1.18rem; }
.card > p { color: var(--muted); font-size: .97rem; }
.card-icon { width: 42px; height: 42px; border-radius: var(--radius-s); display: grid; place-items: center; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); border: 1px solid var(--line); }
.card-icon .ic { width: 24px; height: 24px; }
.bullets { display: grid; gap: 8px; margin-top: auto; padding-top: 6px; }
.bullets li { position: relative; padding-left: 20px; color: var(--text); font-size: .93rem; line-height: 1.45; }
.bullets li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); opacity: .8; }

/* Продукты */
.product { gap: 12px; padding: 22px 20px; }
.product-head { display: flex; align-items: center; gap: 12px; color: var(--accent); }
.product-head .ic { width: 24px; height: 24px; }
.product-head h3 { color: var(--text); font-size: 1.1rem; }
.product .what { color: var(--text); font-size: .95rem; }
.product .how, .product .result { font-size: .88rem; color: var(--muted); line-height: 1.45; padding-top: 10px; border-top: 1px dashed var(--line); }
.product .how span, .product .result span { display: block; font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-bottom: 3px; }
.product .result { color: var(--text); }
.product .result span { color: var(--accent); }
.product .result { margin-top: auto; }

/* ---------- Кейсы ---------- */
.cases { display: grid; gap: 22px; }
.case {
  display: grid; grid-template-columns: minmax(240px, 1fr) 2fr; gap: clamp(24px, 4vw, 56px);
  grid-template-areas: "shot shot" "side body";
  padding: clamp(22px, 3.5vw, 40px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  position: relative; overflow: hidden;
}
.case-shot { grid-area: shot; margin: 0 0 8px; }
.case-shot img, .gallery-shot img {
  display: block; width: auto; max-width: 100%; height: auto;
  margin-inline: auto; border-radius: var(--radius-s);
  border: 1px solid var(--line-strong); background: #07090e;
}
.case-side { grid-area: side; }
.case-body { grid-area: body; }
.case::after { display: none; }
.case-num { display: inline-block; font-family: var(--mono); font-size: .8rem; color: var(--accent); letter-spacing: .08em; margin-bottom: 12px; padding: 4px 9px; border: 1px solid var(--line-strong); border-radius: 6px; }
.case-side h3 { font-size: clamp(1.3rem, 2.3vw, 1.7rem); letter-spacing: -.03em; }
.facts { display: grid; gap: 10px; margin-top: 22px; }
.facts li { color: var(--muted); font-size: .92rem; padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 10px; line-height: 1.35; }
.facts li:first-child { border-top: 0; padding-top: 0; }
.facts b { display: block; color: var(--text); font-size: 1.22rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.case-body { display: grid; gap: 22px; position: relative; z-index: 1; }
.step { position: relative; padding-left: 26px; }
.step::before { content: ""; position: absolute; left: 0; top: 8px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--dim); background: var(--surface); z-index: 1; }
.step::after { content: ""; position: absolute; left: 4px; top: 22px; bottom: -22px; width: 2px; background: var(--line); }
.step:last-child::after { display: none; }
.step h4 { font-family: var(--mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; font-weight: 600; }
.step p { color: var(--muted); }
.step-result::before { border-color: var(--accent); background: var(--accent); box-shadow: none; }
.step-result h4 { color: var(--accent); }
.step-result p { color: var(--text); font-weight: 500; }
.gallery { margin-top: 28px; }
.gallery > h3 { font-family: var(--mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); font-weight: 600; margin-bottom: 16px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-card { padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.gallery-shot { margin: 0 0 12px; }
.gallery-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.gallery-card p { color: var(--muted); font-size: .9rem; line-height: 1.45; }
@media (max-width: 1000px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) {
  .case { grid-template-columns: 1fr; grid-template-areas: "shot" "side" "body"; }
  .facts { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }

/* ---------- Свежие работы ---------- */
/* Список прирастает сам: каждая закрытая работа проходит НДА-сито и ложится
   сюда (scripts/keysy.py). Поэтому оформление лёгкое — карточкой на каждую
   строку секция расползлась бы на экран. */
.recent { margin-top: 26px; padding: clamp(20px, 3vw, 32px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.recent h3 { font-family: var(--mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); font-weight: 600; margin-bottom: 16px; }
.recent-list { display: grid; gap: 12px; }
.recent-list li { color: var(--muted); font-size: .95rem; line-height: 1.5; padding-left: 0; border-left: 0; padding-block: 10px; border-bottom: 1px solid var(--line); }
.recent-list li:last-child { border-bottom: 0; }
.recent-list b { color: var(--text); font-weight: 600; }

/* ---------- Стек ---------- */
.stack-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1000px) { .stack-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .stack-grid { grid-template-columns: 1fr; } }
.stack-group { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--surface); }
.stack-group h3 { font-family: var(--mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); font-weight: 600; margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: .9rem; padding: 6px 11px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text); line-height: 1.3; }

/* ---------- Как работаю ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step-card { position: relative; padding: 24px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); display: flex; flex-direction: column; gap: 12px; }
.step-n { width: 36px; height: 36px; border-radius: var(--radius-s); display: grid; place-items: center; font-weight: 760; font-family: var(--mono); color: var(--accent-ink); background: var(--accent); }
.step-card h3 { font-size: 1.12rem; }
.step-card p { color: var(--muted); font-size: .94rem; }
@media (min-width: 1001px) {
  .step-card:not(:last-child)::after { content: ""; position: absolute; right: -19px; top: 40px; width: 20px; height: 1px; background: var(--line-strong); }
}

/* ---------- Призыв ---------- */
.cta { padding: clamp(48px, 8vw, 100px) 0 clamp(64px, 9vw, 120px); }
.cta-box {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(36px, 6vw, 68px) clamp(20px, 5vw, 56px);
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
}
.cta-box .sub { margin-inline: auto; }
.cta-box h2 { font-size: clamp(1.55rem, 3.8vw, 2.4rem); letter-spacing: -.03em; }
.cta-mail {
  display: inline-block; margin: 30px 0 26px;
  font-family: var(--mono); font-weight: 700; letter-spacing: -.02em;
  font-size: clamp(1.25rem, 4.6vw, 2.6rem); color: var(--text);
  border-bottom: 2px solid var(--accent); padding-bottom: 4px;
  transition: color .2s;
  max-width: 100%;
}
.cta-mail:hover { color: var(--accent); }
.cta-contacts {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline;
  gap: 8px 22px; margin: 28px 0 24px;
}
.cta-contacts .cta-mail { margin: 0; }
.cta-tg { font-size: clamp(1.1rem, 3.2vw, 1.7rem); }
.cta-wa { font-size: clamp(1.1rem, 3.2vw, 1.7rem); border-bottom-color: var(--wa); }
.cta-wa:hover { color: var(--wa); }
.btn.copied { border-color: var(--accent); color: var(--accent); }

/* ---------- Плавающий WhatsApp ---------- */
.wa-float {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 60; display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 12px 16px 12px 14px; border-radius: 999px;
  background: var(--wa); color: var(--wa-ink); font-weight: 700; font-size: .95rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .35);
  transition: transform .18s var(--ease), filter .18s;
}
.wa-float:hover { transform: translateY(-2px); filter: brightness(1.05); }
.wa-float:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wa-float .ic { width: 24px; height: 24px; }
.wa-float-label { padding-right: 2px; }
@media (max-width: 520px) {
  .wa-float { padding: 14px; border-radius: 50%; }
  .wa-float-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* ---------- Подвал ---------- */
.site-foot { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: .92rem; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; }
.foot-links { display: inline-flex; flex-wrap: wrap; gap: 10px; }
.foot-links a { color: var(--muted); border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.foot-links a:hover { color: var(--text); border-color: var(--accent); }

/* ---------- Появление при скролле ---------- */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
html.js .cards .reveal:nth-child(2), html.js .stack-grid .reveal:nth-child(2), html.js .steps .reveal:nth-child(2) { transition-delay: .06s; }
html.js .cards .reveal:nth-child(3), html.js .stack-grid .reveal:nth-child(3), html.js .steps .reveal:nth-child(3) { transition-delay: .12s; }
html.js .cards .reveal:nth-child(4), html.js .stack-grid .reveal:nth-child(4), html.js .steps .reveal:nth-child(4) { transition-delay: .18s; }
html.js .stats-row .reveal:nth-child(2) { transition-delay: .05s; }
html.js .stats-row .reveal:nth-child(3) { transition-delay: .1s; }
html.js .stats-row .reveal:nth-child(4) { transition-delay: .15s; }
html.js .stats-row .reveal:nth-child(5) { transition-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  html.js .reveal { opacity: 1; transform: none; }
  .card:hover, .btn-primary:hover { transform: none; }
}
