:root {
  --bg: #0a0a0b;
  --bg-elevated: #111113;
  --bg-card: #161618;
  --border: #232326;
  --border-light: #2e2e33;
  --text: #ececf0;
  --text-dim: #9a9aa5;
  --text-muted: #6b6b76;
  --accent: #e8a838;
  --accent-dim: rgba(232, 168, 56, 0.12);
  --accent-glow: rgba(232, 168, 56, 0.25);
  --ok: #4ccf7d;
  --ok-dim: rgba(76, 207, 125, 0.12);
  --beta: #e8a838;
  --beta-dim: rgba(232, 168, 56, 0.12);
  --dev: #8d8dff;
  --dev-dim: rgba(141, 141, 255, 0.12);
  --desk: #5aa9ff;
  --desk-dim: rgba(90, 169, 255, 0.10);
  --radius: 14px;
  --radius-sm: 8px;
  --mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', ui-monospace, monospace;
  --serif: 'Instrument Serif', Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--accent);
}

code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 1px 6px;
  border-radius: 5px;
  color: var(--text);
  overflow-wrap: anywhere;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.narrow {
  max-width: 760px;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}

.logo-icon {
  display: flex;
  color: var(--accent);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.lang-switch {
  display: flex;
  border: 1px solid var(--border-light);
  border-radius: 100px;
  padding: 2px;
}

.lang-switch button {
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  background: none;
  border: 0;
  border-radius: 100px;
  padding: 5px 10px;
  cursor: pointer;
}

.lang-switch button:hover {
  color: var(--text);
}

.lang-switch button[aria-pressed='true'] {
  background: var(--accent);
  color: #0a0a0b;
}

/* ---------- Sections ---------- */
section {
  padding: 96px 0;
}

.section-alt {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 48px);
  letter-spacing: -0.02em;
  font-weight: 400;
  line-height: 1.12;
  margin-bottom: 16px;
}

.section-sub {
  color: var(--text-dim);
  font-size: 17px;
  line-height: 1.7;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 150px 0 80px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--accent-dim);
  border: 1px solid rgba(232, 168, 56, 0.25);
  border-radius: 100px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 28px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(44px, 6.4vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 400;
  margin-bottom: 24px;
}

.hero-line {
  display: block;
}

.hero-accent {
  color: var(--accent);
  font-style: italic;
}

.hero-sub {
  color: var(--text-dim);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-actions,
.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-glow {
  position: absolute;
  top: -220px;
  right: -120px;
  width: 820px;
  height: 640px;
  background: radial-gradient(ellipse, rgba(232, 168, 56, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.hero-caption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 100px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #0a0a0b;
}

.btn-primary:hover {
  background: #f0b848;
  box-shadow: 0 0 30px var(--accent-glow);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-light);
}

.btn-secondary:hover {
  background: var(--bg-card);
  border-color: var(--text-muted);
}

/* ---------- Chat mock ---------- */
.chat {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  max-width: 460px;
  margin: 0 auto;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
  font-weight: 600;
  font-size: 14px;
}

.chat-header small {
  display: block;
  font-weight: 400;
  color: var(--text-muted);
  font-size: 12px;
}

.chat-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #0a0a0b;
  display: grid;
  place-items: center;
  font-weight: 700;
  flex: none;
}

.chat-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.msg {
  max-width: 92%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.55;
}

.msg-user {
  align-self: flex-end;
  background: #2b4a6b;
  border-bottom-right-radius: 4px;
}

.msg-bot {
  align-self: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}

.msg-file {
  display: flex;
  align-items: center;
  gap: 10px;
}

.msg-file-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  flex: none;
}

.msg-file small {
  display: block;
  opacity: 0.7;
  font-size: 12px;
}

.msg-stats {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 12px;
  margin-top: 6px;
}

.msg-stats dt {
  color: var(--text-muted);
}

.sec-list {
  list-style: none;
  margin-top: 6px;
  font-size: 13px;
}

.sec-list li {
  display: grid;
  grid-template-columns: 18px 1fr auto 26px;
  gap: 8px;
  align-items: center;
  padding: 3px 0;
}

.sec-list .n {
  color: var(--text-muted);
}

.sec-list .tc {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-dim);
}

.energy {
  display: inline-flex;
  gap: 2px;
  align-items: flex-end;
  height: 12px;
}

.energy i {
  width: 4px;
  background: var(--border-light);
  border-radius: 1px;
}

.energy i:nth-child(1) {
  height: 4px;
}
.energy i:nth-child(2) {
  height: 8px;
}
.energy i:nth-child(3) {
  height: 12px;
}

.energy.low i:nth-child(1),
.energy.medium i:nth-child(-n + 2),
.energy.high i {
  background: var(--accent);
}

.msg-files {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.file-chip {
  font-family: var(--mono);
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-dim);
}

/* ---------- Cards ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.card p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.7;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-dim);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
}

.step-number {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.step p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.65;
}

/* ---------- Status badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
}

.badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.badge-ok {
  color: var(--ok);
  background: var(--ok-dim);
}

.badge-beta {
  color: var(--beta);
  background: var(--beta-dim);
}

.badge-dev {
  color: var(--dev);
  background: var(--dev-dim);
}

/* ---------- Notes ---------- */
.note {
  margin-top: 28px;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  background: var(--bg-card);
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.7;
}

.note strong {
  color: var(--text);
}

/* ---------- Files ---------- */
.file-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.file-card .file-name {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.file-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
}

pre.sample {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.7;
  color: #c9c9d2;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  overflow-x: auto;
  white-space: pre;
  margin-top: auto;
}

/* ---------- Two columns ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.check-list {
  list-style: none;
  margin: 20px 0;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--text-dim);
  font-size: 15px;
}

.check-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ---------- Status table ---------- */
.status-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
}

.status-table th,
.status-table td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  font-size: 15px;
}

.status-table th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
  background: var(--bg-elevated);
}

.status-table tr:last-child td {
  border-bottom: 0;
}

.status-table td:last-child {
  color: var(--text-dim);
  font-size: 14px;
}

/* ---------- Consoles ---------- */
.console-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  margin-bottom: 4px;
}

.console-card .versions {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.console-card ul {
  list-style: none;
}

.console-card li {
  font-size: 14px;
  color: var(--text-dim);
  padding: 6px 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.console-card li span:last-child {
  color: var(--text);
  text-align: right;
}

.console-card li .no {
  color: var(--text-muted);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ---------- Lists ---------- */
.plain-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.plain-list li {
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-dim);
  font-size: 15px;
}

.plain-list li strong {
  color: var(--text);
}

.roadmap {
  list-style: none;
  counter-reset: road;
  display: grid;
  gap: 12px;
}

.roadmap li {
  counter-increment: road;
  position: relative;
  padding: 16px 20px 16px 60px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-dim);
  font-size: 15px;
}

.roadmap li::before {
  content: counter(road);
  position: absolute;
  left: 20px;
  top: 15px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--dev);
  color: var(--dev);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
}

.roadmap li strong {
  color: var(--text);
}

/* ---------- FAQ ---------- */
.faq details {
  border-bottom: 1px solid var(--border);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 36px 20px 0;
  font-size: 17px;
  font-weight: 600;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 16px;
  font-size: 24px;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.2s;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.75;
  padding: 0 0 20px;
}

/* ---------- CTA ---------- */
.cta {
  text-align: center;
}

.cta .section-title {
  margin-bottom: 12px;
}

.cta p {
  color: var(--text-dim);
  font-size: 17px;
  margin-bottom: 32px;
}

.cta-actions {
  justify-content: center;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-logo {
  font-weight: 600;
  font-size: 15px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--text);
}

/* ---------- Guide page ---------- */
.guide {
  padding: 130px 0 80px;
}

.guide-header {
  margin-bottom: 40px;
}

.guide-header h1 {
  font-family: var(--serif);
  font-size: clamp(38px, 6vw, 56px);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.guide-header p {
  color: var(--text-dim);
  font-size: 17px;
}

.toc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-bottom: 56px;
}

.toc ol {
  columns: 2;
  column-gap: 32px;
  padding-left: 20px;
}

.toc li {
  margin: 4px 0;
  color: var(--text-muted);
  break-inside: avoid;
}

.toc a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 15px;
}

.toc a:hover {
  color: var(--accent);
}

.guide-body section {
  padding: 0 0 48px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.guide-body section:last-child {
  border-bottom: 0;
}

.guide-body h2 {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.guide-body h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 28px 0 12px;
}

.guide-body p,
.guide-body li {
  color: var(--text-dim);
  font-size: 15.5px;
  line-height: 1.75;
}

.guide-body p {
  margin-bottom: 14px;
}

.guide-body ol,
.guide-body ul {
  padding-left: 22px;
  margin-bottom: 14px;
}

.guide-body li {
  margin-bottom: 8px;
}

.guide-body strong {
  color: var(--text);
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .steps,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-links {
    display: none;
  }
}

@media (max-width: 860px) {
  .hero-grid,
  .split {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 16px;
  }
  section {
    padding: 72px 0;
  }
  .hero {
    padding: 112px 0 56px;
  }
  .steps,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 22px;
  }
  .logo-text {
    display: none;
  }
  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }
  .status-table thead {
    display: none;
  }
  .status-table,
  .status-table tbody,
  .status-table tr,
  .status-table td {
    display: block;
    width: 100%;
  }
  .status-table tr {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
  }
  .status-table tr:last-child {
    border-bottom: 0;
  }
  .status-table td {
    padding: 2px 0;
    border: 0;
  }
  .toc ol {
    columns: 1;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-links {
    justify-content: center;
  }
  .sec-list li {
    grid-template-columns: 16px 1fr auto 22px;
    gap: 6px;
  }
}

[hidden] {
  display: none !important;
}

/* Let grid cells shrink below their content (long code samples scroll inside). */
.grid-2 > *,
.grid-3 > *,
.grid-4 > *,
.steps > *,
.split > *,
.hero-grid > * {
  min-width: 0;
}

/* ---------- Bot vs desktop comparison ---------- */
.compare-table {
  margin-top: 40px;
}
.compare-table td:last-child {
  color: inherit;
  font-size: 15px;
}
.compare-table th:not(:first-child),
.compare-table td:not(:first-child) {
  width: 24%;
}
@media (max-width: 600px) {
  /* Keep it a real table on phones: the column headers carry the meaning. */
  .compare-table { display: table; }
  .compare-table thead { display: table-header-group; }
  .compare-table tbody { display: table-row-group; }
  .compare-table tr { display: table-row; }
  .compare-table th,
  .compare-table td { display: table-cell; padding: 12px 10px; font-size: 14px; }
  .compare-table td:last-child { font-size: 14px; }
  .compare-table th { font-size: 11px; }
  .compare-table { table-layout: fixed; }
  .compare-table th:first-child, .compare-table td:first-child { width: 36%; }
  .compare-table th:not(:first-child), .compare-table td:not(:first-child) { width: 32%; padding-left: 6px; padding-right: 6px; }
  .compare-table th { letter-spacing: 0; }
  .compare-table .badge { white-space: normal; line-height: 1.3; letter-spacing: 0; padding: 3px 7px; font-size: 10px; }
}

/* ---------- Two products: desktop app and Telegram bot ---------- */
.hero-intro {
  max-width: 760px;
}
.paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}
.path {
  display: block;
  position: relative;
  padding: 28px 28px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
  min-width: 0;
}
.path::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
}
.path-desktop::before { background: var(--desk); }
.path-bot::before { background: var(--accent); }
.path:hover { transform: translateY(-2px); }
.path-desktop:hover { border-color: var(--desk); }
.path-bot:hover { border-color: var(--accent); }
.path-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.path-num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-muted);
}
.path h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 34px;
  line-height: 1.1;
  margin: 0;
}
.path-kicker {
  margin: 6px 0 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.path-desktop .path-kicker { color: var(--desk); }
.path-bot .path-kicker { color: var(--accent); }
.path ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.path li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  color: var(--text-dim);
  font-size: 15px;
}
.path li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.path-desktop li::before { background: var(--desk); }
.path-bot li::before { background: var(--accent); }
.path-link {
  font-weight: 600;
  font-size: 15px;
}
.path-desktop .path-link { color: var(--desk); }
.path-bot .path-link { color: var(--accent); }

/* Part headers */
.part {
  border-top: 3px solid var(--border);
}
.part-desktop {
  border-top-color: var(--desk);
  background: linear-gradient(180deg, var(--desk-dim), transparent 360px);
}
.part-bot {
  border-top-color: var(--accent);
  background: linear-gradient(180deg, var(--accent-dim), var(--bg-elevated) 360px);
}
.part-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.part-desktop .part-tag { color: var(--desk); }
.part-bot .part-tag { color: var(--accent); }
.part-tag .path-num { color: inherit; opacity: 0.7; }
.part-sep { opacity: 0.5; }

/* Sections that belong to the bot */
.part-chip {
  display: inline-block;
  margin-right: 10px;
  padding: 2px 8px;
  border-radius: 100px;
  background: var(--accent-dim);
  border: 1px solid rgba(232, 168, 56, 0.3);
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.04em;
}
.in-bot {
  box-shadow: inset 3px 0 0 rgba(232, 168, 56, 0.35);
}

@media (max-width: 860px) {
  .paths { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .path { padding: 22px 20px 20px; }
  .path h2 { font-size: 28px; }
  .part-tag { flex-wrap: wrap; gap: 6px; font-size: 12px; }
}

.label-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 0;
  margin-bottom: 12px;
}
.label-row .section-label { margin-bottom: 0; }
.part .hero-actions { margin-top: 28px; }

/* ---------- Download page ---------- */
.dl-version {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-muted);
}
.dl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 8px 0 24px;
}
.dl-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}
.dl-card:hover {
  border-color: var(--desk);
  transform: translateY(-2px);
}
.dl-card.is-rec {
  border-color: var(--desk);
  background: linear-gradient(var(--desk-dim), var(--desk-dim)), var(--bg-card);
}
.dl-os {
  font-size: 20px;
  font-weight: 600;
}
.dl-req {
  font-size: 13px;
  color: var(--text-dim);
}
.dl-file {
  margin-top: auto;
  padding-top: 10px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--desk);
}
.dl-file::before {
  content: '↓ ';
}
.dl-rec {
  display: none;
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 11px;
  font-weight: 600;
  color: var(--desk);
}
.dl-card.is-rec .dl-rec {
  display: block;
}
.guide-body pre {
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.7;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  overflow-x: auto;
  margin: 8px 0 16px;
}
.guide-body pre code {
  background: none;
  border: 0;
  padding: 0;
}
@media (max-width: 700px) {
  .dl-grid {
    grid-template-columns: 1fr;
  }
}
