/* ─────────────────────────────────────────────────────────────
   Ekaterina LMS · Liquid Glass design system
   Apple-style aurora canvas + frosted floating surfaces.
   Базовый скилл: ~/.claude/skills/liquid-glass-designer/
   ───────────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Inter+Tight:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Canvas */
  --bg-base: oklch(18% 0.06 200);
  --bg-deep: oklch(13% 0.05 195);

  /* Aurora blobs */
  --aurora-emerald: oklch(75% 0.22 145);
  --aurora-coral:   oklch(72% 0.20 30);
  --aurora-violet:  oklch(70% 0.22 295);
  --aurora-amber:   oklch(80% 0.18 75);
  --aurora-cyan:    oklch(78% 0.18 210);

  /* Text */
  --text-primary:   oklch(98% 0.01 200);
  --text-secondary: oklch(86% 0.02 200);
  --text-muted:     oklch(68% 0.03 200);

  /* Glass */
  --glass-bg:        rgba(255, 255, 255, 0.07);
  --glass-bg-strong: rgba(255, 255, 255, 0.12);
  --glass-bg-hover:  rgba(255, 255, 255, 0.10);
  --glass-border:    rgba(255, 255, 255, 0.12);
  --glass-border-hi: rgba(255, 255, 255, 0.22);
  --glass-highlight: rgba(255, 255, 255, 0.20);
  --glass-shadow-rest:  0 24px 60px rgba(4, 14, 18, 0.45);
  --glass-shadow-hover: 0 32px 80px rgba(4, 14, 18, 0.60);

  /* Accent — warm coral для CTA на сине-зелёной базе */
  --accent:       oklch(72% 0.20 35);
  --accent-soft:  oklch(78% 0.16 50);
  --accent-deep:  oklch(60% 0.18 30);

  /* State pills */
  --ok:   oklch(75% 0.18 150);
  --warn: oklch(78% 0.18 75);
  --info: oklch(78% 0.15 220);

  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --display: "Inter Tight", "Inter", sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, monospace;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;

  --container: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-deep);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Aurora canvas */
body::before {
  content: "";
  position: fixed; inset: -10vh -10vw;
  z-index: -1;
  background:
    radial-gradient(45% 40% at 12% 8%,  var(--aurora-emerald) 0%, transparent 60%),
    radial-gradient(40% 40% at 88% 18%, var(--aurora-coral)   0%, transparent 65%),
    radial-gradient(50% 50% at 78% 92%, var(--aurora-violet)  0%, transparent 60%),
    radial-gradient(35% 35% at 18% 82%, var(--aurora-amber)   0%, transparent 55%),
    radial-gradient(45% 40% at 52% 50%, var(--aurora-cyan)    0%, transparent 70%),
    linear-gradient(180deg, var(--bg-base), var(--bg-deep));
  opacity: 0.55;
  animation: aurora 32s ease-in-out infinite alternate;
}
body::after {
  content: "";
  position: fixed; inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 0%, transparent 0%, rgba(0,0,0,0.10) 100%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.012) 0px, rgba(255,255,255,0.012) 1px, transparent 1px, transparent 3px);
  mix-blend-mode: overlay;
}

@keyframes aurora {
  0%   { transform: translate3d(0%, 0%, 0) scale(1); }
  50%  { transform: translate3d(-3%, 2%, 0) scale(1.05); }
  100% { transform: translate3d(2%, -3%, 0) scale(1.02); }
}

/* ─── Layout ─────────────────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.narrow    { max-width: 860px;          margin: 0 auto; padding: 0 28px; }

/* ─── Header (glass sticky) ──────────────────────────────── */
.site-header {
  position: sticky; top: 16px; z-index: 80;
  margin: 16px auto 0;
  max-width: calc(var(--container) - 56px);
  padding: 14px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;

  background: var(--glass-bg);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 var(--glass-highlight),
    inset 0 -1px 0 rgba(0,0,0,0.25),
    var(--glass-shadow-rest);
}

.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--text-primary);
}
.brand-mark {
  width: 36px; height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--aurora-coral), var(--aurora-emerald));
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 16px;
  color: rgba(20,30,30,0.9);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 4px 12px rgba(0,0,0,0.3);
  letter-spacing: -0.5px;
}
.brand-text {
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.1px;
  line-height: 1.2;
}
.brand-text .sub {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.4px;
  margin-top: 1px;
}

.nav { display: flex; gap: 6px; align-items: center; }
.nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background .2s, color .2s;
}
.nav a:hover { color: var(--text-primary); background: rgba(255,255,255,0.06); }
.nav a.active {
  color: var(--text-primary);
  background: var(--glass-bg-strong);
  box-shadow: inset 0 1px 0 var(--glass-highlight), inset 0 -1px 0 rgba(0,0,0,0.15);
}

@media (max-width: 880px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 22px;
    margin: 12px 14px 0;
    padding: 14px 18px;
    top: 12px;
  }
  .brand-text { font-size: 14px; }
  .brand-text .sub { font-size: 10px; }
  .nav {
    gap: 0;
    flex-wrap: wrap;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a {
    padding: 7px 12px;
    font-size: 13px;
    flex: 0 0 auto;
  }
}
@media (max-width: 880px) {
  .container, .narrow { padding: 0 18px; }
}

/* ─── Hero ───────────────────────────────────────────────── */
.hero {
  padding: 64px 0 48px;
}
@media (max-width: 880px) {
  .hero { padding: 32px 0 24px; }
  section.block { padding: 36px 0; }
  section.block.tight { padding: 24px 0; }
  .site-footer { padding: 32px 0 24px; margin-top: 48px; }
}
.hero .container { display: grid; gap: 28px; }
.hero-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 1fr);
  gap: 48px;
  align-items: center;
}
.hero-text { min-width: 0; display: grid; gap: 22px; }
.hero-video {
  display: flex;
  justify-content: flex-end;
}
.hero-video-card {
  width: 100%;
  max-width: 340px;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid var(--glass-border-hi);
  border-radius: var(--r-xl);
  padding: 14px;
  box-shadow:
    inset 0 1px 0 var(--glass-highlight),
    inset 0 -1px 0 rgba(0,0,0,0.25),
    var(--glass-shadow-rest);
}
.hero-video-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(0,0,0,0.4);
}
.hero-video-card video {
  width: 100%;
  aspect-ratio: 9 / 16;
  display: block;
  background: rgba(0,0,0,0.4);
  object-fit: cover;
}
.hero-video-play {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.30));
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  transition: background .25s, opacity .25s;
}
.hero-video-play::after {
  content: "";
  position: absolute;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(18px) saturate(190%);
  -webkit-backdrop-filter: blur(18px) saturate(190%);
  border: 1px solid var(--glass-border-hi);
  box-shadow:
    inset 0 1px 0 var(--glass-highlight),
    0 18px 40px rgba(0,0,0,0.45);
  z-index: 0;
}
.hero-video-play svg { position: relative; z-index: 1; transform: translateX(2px); filter: drop-shadow(0 2px 6px rgba(0,0,0,0.45)); }
.hero-video-play:hover { background: linear-gradient(180deg, rgba(0,0,0,0.0), rgba(0,0,0,0.18)); }
.hero-video-play:hover::after { background: var(--glass-bg-hover); transform: scale(1.04); transition: transform .25s; }
.hero-video-card.is-playing .hero-video-play { opacity: 0; pointer-events: none; }
.hero-video-cap {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 8px 4px;
  gap: 12px;
}
.hero-video-tag {
  font-family: var(--display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -0.1px;
  color: var(--text-primary);
}
.hero-video-by {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--text-muted);
  font-weight: 500;
}
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-video { justify-content: center; }
  .hero-video-card { max-width: 280px; }
}
@media (max-width: 560px) {
  .hero h1 {
    font-size: 30px !important;
    letter-spacing: -0.6px;
    line-height: 1.1;
    word-break: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
  }
  .hero h1 em { display: inline; }
  .hero-lead { font-size: 16.5px; line-height: 1.55; }
  .hero-eyebrow { font-size: 10px; padding: 7px 12px; letter-spacing: 1.4px; white-space: normal; line-height: 1.4; }
  .hero-video-card { max-width: 240px; padding: 10px; }
  .hero-video-card video { border-radius: 14px; }
  .progress-strip { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .progress-cell .value { font-size: 16px; }
  .page-title { font-size: 30px !important; letter-spacing: -0.5px; }
  .section-title { font-size: 26px !important; letter-spacing: -0.4px; }
  .featured { grid-template-columns: 1fr; }
  .featured-body { padding: 28px 22px; }
  .featured-side { padding: 22px; border-left: none; border-top: 1px solid var(--glass-border); }
  .featured-body h2 { font-size: 24px; }
  .card { padding: 22px 20px; }
  .card .card-title { font-size: 19px; }
  .btn { padding: 12px 18px; font-size: 13.5px; }
  .btn-row { gap: 10px; }
  pre { font-size: 12px; padding: 14px 16px; }
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--text-secondary);
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  padding: 8px 14px;
  border-radius: 999px;
  width: max-content;
  box-shadow: inset 0 1px 0 var(--glass-highlight);
}
.hero-eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--ok); box-shadow: 0 0 12px var(--ok);
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -1.5px;
  color: var(--text-primary);
  max-width: 18ch;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--aurora-coral), var(--aurora-amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 60ch;
}

/* ─── Progress strip ─────────────────────────────────────── */
.progress-strip {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
@media (max-width: 880px) {
  .progress-strip { grid-template-columns: repeat(2, 1fr); }
}
.progress-cell {
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 16px 14px;
  box-shadow: inset 0 1px 0 var(--glass-highlight);
  display: flex; flex-direction: column; gap: 6px;
}
.progress-cell .label {
  font-size: 10px; text-transform: uppercase; letter-spacing: 1.4px;
  color: var(--text-muted); font-weight: 600;
}
.progress-cell .value {
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  color: var(--text-primary);
  letter-spacing: -0.2px;
  line-height: 1.2;
}
.progress-cell.next {
  border-color: rgba(255, 122, 80, 0.35);
  background: linear-gradient(135deg, rgba(255,122,80,0.12), rgba(255,255,255,0.05));
}
.progress-cell.next .label { color: var(--accent-soft); }

/* ─── Continue card (featured) ────────────────────────────── */
.featured {
  margin: 56px auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(32px) saturate(190%);
  -webkit-backdrop-filter: blur(32px) saturate(190%);
  border: 1px solid var(--glass-border-hi);
  border-radius: var(--r-xl);
  box-shadow:
    inset 0 1px 0 var(--glass-highlight),
    inset 0 -1px 0 rgba(0,0,0,0.25),
    var(--glass-shadow-rest);
  overflow: hidden;
}
@media (max-width: 880px) { .featured { grid-template-columns: 1fr; } }

.featured-body { padding: 40px 44px; }
.featured-body .step-num {
  font-size: 11px; text-transform: uppercase; letter-spacing: 1.6px;
  color: var(--accent-soft); font-weight: 600;
}
.featured-body h2 {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.6px;
  color: var(--text-primary);
  margin: 10px 0 12px;
}
.featured-body p {
  color: var(--text-secondary); font-size: 16px; margin-bottom: 22px; max-width: 50ch;
}
.featured-side {
  padding: 36px 36px;
  background: linear-gradient(160deg, rgba(255,255,255,0.04), rgba(0,0,0,0.18));
  border-left: 1px solid var(--glass-border);
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
}
@media (max-width: 880px) { .featured-side { border-left: none; border-top: 1px solid var(--glass-border); } }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li {
  display: flex; gap: 12px; align-items: center;
  font-size: 14px;
  color: var(--text-secondary);
}
.checklist li::before {
  content: ""; flex-shrink: 0;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1px solid var(--glass-border);
  display: grid; place-items: center;
}
.checklist li.done { color: var(--text-primary); }
.checklist li.done::before {
  background: var(--ok); border-color: transparent;
  background-image: linear-gradient(135deg, var(--aurora-emerald), oklch(60% 0.20 145));
  box-shadow: 0 0 12px rgba(120,200,140,0.5);
}
.checklist li.done::after { content: ""; }

/* ─── Section ────────────────────────────────────────────── */
section.block { padding: 56px 0; }
section.block.tight { padding: 36px 0; }

.section-head { display: grid; gap: 10px; margin-bottom: 32px; max-width: 720px; }
.section-eyebrow {
  font-size: 11px; text-transform: uppercase; letter-spacing: 1.8px;
  color: var(--accent-soft); font-weight: 600;
}
.section-title {
  font-family: var(--display);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.6px;
  color: var(--text-primary);
}
.section-lead {
  font-size: 17px;
  color: var(--text-secondary);
}

/* ─── Grid + glass cards ─────────────────────────────────── */
.grid { display: grid; gap: 20px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 880px) {
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
}

.card {
  display: block; text-decoration: none; color: inherit;
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 26px 28px;
  box-shadow:
    inset 0 1px 0 var(--glass-highlight),
    inset 0 -1px 0 rgba(0,0,0,0.18),
    var(--glass-shadow-rest);
  transition: transform .25s cubic-bezier(.22,.61,.36,1),
              border-color .25s, background .25s, box-shadow .25s;
  position: relative;
}
.card:hover {
  transform: translateY(-3px);
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hi);
  box-shadow:
    inset 0 1px 0 var(--glass-highlight),
    inset 0 -1px 0 rgba(0,0,0,0.18),
    var(--glass-shadow-hover);
}
.card .card-num {
  font-size: 11px; text-transform: uppercase; letter-spacing: 1.6px;
  color: var(--accent-soft); font-weight: 600;
  margin-bottom: 10px;
}
.card .card-title {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.3px;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.card .card-body {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.card .card-meta {
  margin-top: 18px;
  font-size: 11px; text-transform: uppercase; letter-spacing: 1.4px;
  color: var(--text-muted); font-weight: 600;
  display: flex; align-items: center; gap: 8px;
}

/* ─── Steps list ─────────────────────────────────────────── */
.steps { display: flex; flex-direction: column; gap: 18px; }
.step {
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  box-shadow: inset 0 1px 0 var(--glass-highlight), var(--glass-shadow-rest);
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 22px;
  align-items: start;
}
.step-num {
  font-family: var(--display);
  font-size: 44px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -1.5px;
  background: linear-gradient(135deg, var(--aurora-coral), var(--aurora-amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step h3 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}
.step p { color: var(--text-secondary); font-size: 15.5px; margin-bottom: 12px; }
.step ul { margin: 8px 0 12px; padding-left: 22px; }
.step li { color: var(--text-secondary); margin-bottom: 6px; }
.step .small { color: var(--text-muted); font-size: 13px; font-style: italic; }

@media (max-width: 720px) {
  .step { grid-template-columns: 1fr; padding: 22px 20px; }
}

/* ─── Inline elements ────────────────────────────────────── */
a.inline {
  color: var(--accent-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,180,140,0.4);
  transition: color .2s, border-color .2s;
}
a.inline:hover { color: var(--accent); border-bottom-color: var(--accent); }

code, kbd {
  font-family: var(--mono);
  font-size: 13px;
  background: rgba(255,255,255,0.10);
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
}
pre {
  font-family: var(--mono);
  font-size: 13px;
  background: rgba(0,0,0,0.32);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  color: var(--text-primary);
  padding: 18px 22px;
  border-radius: var(--r-md);
  border: 1px solid var(--glass-border);
  overflow-x: auto;
  margin: 16px 0;
  line-height: 1.6;
}
pre code { background: none; border: none; padding: 0; color: inherit; }

/* ─── Callout ────────────────────────────────────────────── */
.callout {
  background: var(--glass-bg);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-left: 3px solid var(--accent);
  border-radius: 14px;
  padding: 20px 24px;
  margin: 22px 0;
  box-shadow: inset 0 1px 0 var(--glass-highlight);
}
.callout .callout-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 1.6px;
  color: var(--accent-soft); font-weight: 600; margin-bottom: 8px;
}
.callout p { color: var(--text-secondary); font-size: 14.5px; }
.callout.ok { border-left-color: var(--ok); }
.callout.ok .callout-label { color: var(--ok); }
.callout.info { border-left-color: var(--info); }
.callout.info .callout-label { color: var(--info); }

/* ─── Table ──────────────────────────────────────────────── */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--r-md);
  margin: 22px 0;
  border: 1px solid var(--glass-border);
}
.table-wrap table.clean { margin: 0; border: none; border-radius: 0; }
table.clean {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  margin: 22px 0;
  font-size: 14px;
  background: var(--glass-bg);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  overflow: hidden;
}
@media (max-width: 720px) {
  table.clean { font-size: 13px; }
  table.clean th, table.clean td { padding: 10px 12px; }
}
table.clean th {
  text-align: left;
  font-size: 11px; text-transform: uppercase; letter-spacing: 1.4px;
  color: var(--text-muted); font-weight: 600;
  padding: 14px 16px;
  border-bottom: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.04);
}
table.clean td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--text-secondary);
  vertical-align: top;
}
table.clean tr:last-child td { border-bottom: none; }
table.clean tr:hover td { background: rgba(255,255,255,0.03); }
table.clean strong { color: var(--text-primary); }

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans);
  font-size: 14px; font-weight: 600;
  text-decoration: none;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all .2s;
  letter-spacing: 0.1px;
  cursor: pointer;
}
.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: oklch(15% 0.03 30);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    0 12px 30px rgba(255, 110, 70, 0.30);
}
.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    0 16px 40px rgba(255, 110, 70, 0.45);
}
.btn.ghost {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  color: var(--text-primary);
  border-color: var(--glass-border-hi);
  box-shadow: inset 0 1px 0 var(--glass-highlight);
}
.btn.ghost:hover { background: var(--glass-bg-hover); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 4px; }

/* ─── Tag / Status pill ─────────────────────────────────── */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; text-transform: uppercase; letter-spacing: 1.4px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--glass-bg);
  color: var(--text-secondary);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
}
.tag.coral { color: var(--accent-soft); border-color: rgba(255,170,120,0.3); }
.tag.emerald { color: var(--ok); border-color: rgba(120,200,140,0.3); }

.status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; text-transform: uppercase; letter-spacing: 1.4px;
  font-weight: 600;
}
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.status.planned { color: var(--text-muted); }
.status.planned::before { background: var(--text-muted); }
.status.live { color: var(--ok); }
.status.live::before { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.status.next { color: var(--accent-soft); }
.status.next::before { background: var(--accent); box-shadow: 0 0 10px var(--accent); }

/* ─── Page hero (для inner pages) ────────────────────────── */
.page-hero { padding: 48px 0 28px; }
.breadcrumb {
  font-size: 12px; text-transform: uppercase; letter-spacing: 1.4px;
  color: var(--text-muted); margin-bottom: 18px; font-weight: 500;
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--text-primary); }
.page-title {
  font-family: var(--display);
  font-size: clamp(34px, 4.5vw, 50px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.8px;
  color: var(--text-primary);
  margin-bottom: 18px;
  max-width: 22ch;
}
.page-lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 64ch;
}

/* ─── Article body ───────────────────────────────────────── */
.article {
  padding: 32px 0 80px;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text-secondary);
}
.article h2 {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.4px;
  color: var(--text-primary);
  margin: 40px 0 16px;
}
.article h3 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 28px 0 12px;
}
.article p { margin-bottom: 18px; }
.article ul, .article ol { margin: 0 0 22px 22px; }
.article li { margin-bottom: 8px; }
.article strong { color: var(--text-primary); font-weight: 600; }

/* ─── Roadmap ────────────────────────────────────────────── */
.roadmap {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 14px;
  counter-reset: rmap;
}
.roadmap-step {
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 22px 26px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  align-items: start;
  box-shadow: inset 0 1px 0 var(--glass-highlight), var(--glass-shadow-rest);
}
.roadmap-mark {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--glass-border);
  display: grid; place-items: center;
  font-family: var(--display);
  font-size: 22px; font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: -0.5px;
}
.roadmap-step.done {
  border-color: rgba(120,200,140,0.30);
}
.roadmap-step.done .roadmap-mark {
  background: linear-gradient(135deg, var(--aurora-emerald), oklch(60% 0.20 145));
  color: oklch(15% 0.05 145);
  border-color: transparent;
  box-shadow: 0 0 22px rgba(120,200,140,0.30);
}
.roadmap-step.active {
  border-color: rgba(255,170,120,0.45);
  background: linear-gradient(135deg, rgba(255,122,80,0.10), rgba(255,255,255,0.06));
}
.roadmap-step.active .roadmap-mark {
  background: linear-gradient(135deg, var(--accent-soft), var(--aurora-amber));
  color: oklch(15% 0.05 30);
  border-color: transparent;
  box-shadow: 0 0 22px rgba(255,122,80,0.35);
}
.roadmap-step.next .roadmap-mark {
  background: var(--glass-bg-strong);
  color: var(--accent-soft);
  border-color: rgba(255,170,120,0.30);
}
.roadmap-step.planned .roadmap-mark {
  background: rgba(255,255,255,0.04);
  color: var(--text-muted);
}
.roadmap-body { min-width: 0; }
.roadmap-when {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 6px;
}
.roadmap-step.active .roadmap-when { color: var(--accent-soft); }
.roadmap-step.done .roadmap-when { color: var(--ok); }
.roadmap-body h3 {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.25;
}
.roadmap-body p {
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 6px;
}
.roadmap-body p.roadmap-link {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: 6px;
}
@media (max-width: 720px) {
  .roadmap-step {
    grid-template-columns: 44px 1fr;
    gap: 16px;
    padding: 18px 18px;
  }
  .roadmap-mark { width: 44px; height: 44px; font-size: 17px; }
  .roadmap-body h3 { font-size: 18px; }
}

/* ─── Footer ─────────────────────────────────────────────── */
.site-footer {
  margin-top: 80px;
  padding: 48px 0 32px;
  background: rgba(0,0,0,0.30);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-top: 1px solid var(--glass-border);
  font-size: 14px;
  color: var(--text-secondary);
}
.site-footer a { color: var(--accent-soft); text-decoration: none; border-bottom: 1px dotted rgba(255,170,120,0.4); }
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
@media (max-width: 880px) {
  .site-footer .footer-grid { grid-template-columns: 1fr; }
}
.site-footer h4 {
  font-family: var(--display);
  font-size: 14px; font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.site-footer .copyright {
  border-top: 1px solid var(--glass-border);
  padding-top: 18px;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

/* ─── Accessibility ──────────────────────────────────────── */
@media (prefers-reduced-transparency) {
  .site-header, .card, .step, .callout, .progress-cell, .featured, table.clean, .hero-eyebrow, .tag, .btn.ghost {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(20,30,32,0.85) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before { animation: none !important; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ─── Selection ──────────────────────────────────────────── */
::selection { background: var(--accent); color: oklch(15% 0.03 30); }
