:root {
  --ink-950: #07070A;
  --ink-900: #0B0B0F;
  --ink-850: #101016;
  --ink-800: #14141C;
  --flame-400: #FF8A4C;
  --flame-500: #FF6B35;
  --flame-700: #C93E0F;
  --cyan: #22D3EE;
  --txt: #F3F4F6;
  --muted: rgba(255,255,255,0.65);
  --muted-2: rgba(255,255,255,0.45);
  --hair: rgba(255,255,255,0.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--ink-950);
  color: var(--txt);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
header.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(7,7,10,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--hair);
}
.nav-inner {
  max-width: 900px; margin: 0 auto;
  padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--txt);
}
.brand .logo {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(160deg,#FF8A4C,#C93E0F);
  display: inline-flex; align-items: center; justify-content: center;
}
.brand .name { font-weight: 700; letter-spacing: -0.01em; font-size: 17px; }
.nav a.back { color: var(--muted); font-size: 14px; text-decoration: none; }
.nav a.back:hover { color: var(--txt); }

main.article {
  max-width: 760px; margin: 0 auto;
  padding: 64px 24px 96px;
}
.crumbs { font-size: 13px; color: var(--muted-2); margin-bottom: 20px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--txt); text-decoration: underline; }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tag {
  font-size: 11px; font-weight: 500;
  padding: 5px 10px; border-radius: 100px;
  background: rgba(255,138,76,0.08); color: var(--flame-400);
  border: 1px solid rgba(255,138,76,0.2);
}

h1 {
  font-size: 44px; line-height: 1.12; font-weight: 800;
  letter-spacing: -0.02em; margin-bottom: 16px;
}
h1 .grad {
  background: linear-gradient(135deg, #FF8A4C, #FFB88C 50%, #22D3EE);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lede {
  font-size: 19px; color: var(--muted);
  margin-bottom: 24px; line-height: 1.55;
}
.meta {
  display: flex; gap: 20px; font-size: 13px;
  color: var(--muted-2); padding: 14px 0;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  margin-bottom: 32px;
}
h2 {
  font-size: 26px; font-weight: 700; letter-spacing: -0.015em;
  margin-top: 44px; margin-bottom: 14px;
}
h3 {
  font-size: 19px; font-weight: 600; letter-spacing: -0.01em;
  margin-top: 28px; margin-bottom: 10px;
}
p { color: rgba(255,255,255,0.8); margin-bottom: 16px; }
ul, ol { padding-left: 22px; margin-bottom: 16px; color: rgba(255,255,255,0.8); }
ul li, ol li { margin-bottom: 8px; }
strong { color: var(--txt); font-weight: 600; }
code {
  font-family: 'JetBrains Mono', Consolas, monospace;
  font-size: 0.9em; background: rgba(255,255,255,0.06);
  padding: 2px 6px; border-radius: 4px; color: var(--flame-400);
}
pre {
  background: rgba(0,0,0,0.4); border: 1px solid var(--hair);
  padding: 16px 18px; border-radius: 10px; overflow-x: auto;
  margin: 18px 0; font-size: 13px; line-height: 1.55;
}
pre code { background: none; padding: 0; color: var(--txt); }
a { color: var(--flame-400); text-decoration: none; }
a:hover { text-decoration: underline; }
blockquote {
  border-left: 3px solid var(--flame-500);
  padding: 4px 18px;
  margin: 22px 0;
  color: var(--muted);
  font-style: italic;
}
.kpis {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px; margin: 28px 0;
}
.kpi {
  padding: 18px; border: 1px solid var(--hair);
  border-radius: 12px; background: rgba(255,255,255,0.02);
}
.kpi .v {
  font-family: 'JetBrains Mono', monospace;
  font-size: 28px; font-weight: 700; color: var(--flame-400);
  letter-spacing: -0.02em;
}
.kpi .l { font-size: 12px; color: var(--muted-2); margin-top: 4px; }
.cta {
  margin-top: 48px; padding: 28px 28px;
  border: 1px solid var(--hair); border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,107,53,0.08), rgba(34,211,238,0.04));
  display: flex; flex-wrap: wrap; gap: 16px;
  align-items: center; justify-content: space-between;
}
.cta p { margin: 0; }
.cta .btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px;
  background: linear-gradient(135deg,#FF6B35,#C93E0F);
  color: white !important; font-weight: 500; text-decoration: none;
}
footer.site {
  border-top: 1px solid var(--hair);
  padding: 32px 24px;
  color: var(--muted-2);
  font-size: 13px;
}
footer.site .inner {
  max-width: 900px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between;
}
@media (max-width: 640px) {
  h1 { font-size: 32px; }
  .lede { font-size: 16px; }
  main.article { padding: 40px 20px 64px; }
}
