/* Article shell for ai-sprints.bles-software.com. Same tokens as index.html,
   narrower measure, no hero. One file so a new article is one JSON, not a new
   stylesheet. */
:root {
  color-scheme: dark;
  --bg: #070c12;
  --bg-deep: #04070b;
  --panel: #0d151f;
  --panel-soft: #111d2a;
  --ink: #eef4f8;
  --muted: #9fb0bf;
  --muted-strong: #c6d4de;
  --line: rgba(224, 240, 255, 0.12);
  --line-strong: rgba(224, 240, 255, 0.24);
  --acid: #c9ff64;
  --acid-ink: #0f1707;
  --gold: #f5c86b;
  --blue: #76cfff;
  --page: min(760px, calc(100% - 40px));
  --radius-md: 18px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--bg-deep); overflow-x: clip; }

body {
  min-width: 320px;
  margin: 0;
  font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
  background:
    radial-gradient(900px 520px at 88% -10%, rgba(118, 207, 255, 0.12), transparent 62%),
    var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.68;
}

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

.wrap { width: var(--page); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 12px 0;
  backdrop-filter: blur(14px);
  background: rgba(7, 12, 18, 0.86);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--acid), #8fe03c);
  color: var(--acid-ink);
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 900;
}

.brand small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--acid);
  color: var(--acid-ink);
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
}

.button-secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.button-sm { padding: 9px 16px; font-size: 14px; }

article { padding: 46px 0 20px; }

.crumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted-strong); text-decoration: none; }

article h1 {
  margin: 0;
  font-size: clamp(30px, 4.6vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 900;
}

.meta { margin: 14px 0 0; font-size: 13.5px; color: var(--muted); }

.standfirst { margin: 22px 0 0; font-size: 18.5px; color: var(--muted-strong); }

article h2 {
  margin: 42px 0 0;
  font-size: clamp(21px, 2.8vw, 28px);
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-weight: 800;
}

article h3 { margin: 28px 0 0; font-size: 18.5px; letter-spacing: -0.01em; }

article p { margin: 16px 0 0; color: var(--muted-strong); font-size: 17px; }

article ul, article ol { margin: 16px 0 0; padding-left: 22px; color: var(--muted-strong); font-size: 17px; }
article li { margin-top: 8px; }

article strong { color: var(--ink); }

blockquote {
  margin: 26px 0 0;
  padding: 18px 22px;
  border-left: 3px solid var(--acid);
  background: var(--panel);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--muted-strong);
  font-size: 17px;
}

.fact-table {
  width: 100%;
  margin-top: 24px;
  border-collapse: collapse;
  font-size: 15.5px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.fact-table th, .fact-table td {
  padding: 13px 15px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  color: var(--muted-strong);
}

.fact-table th { color: var(--ink); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; background: rgba(224, 240, 255, 0.04); }
.fact-table tr:last-child td { border-bottom: 0; }
.fact-table td:first-child { color: var(--ink); font-weight: 600; }

.cta-card {
  margin: 46px 0 0;
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(245, 200, 107, 0.32);
  background: linear-gradient(150deg, #1b1710, var(--panel));
}

.cta-card h2 { margin: 0 0 10px; font-size: 24px; }
.cta-card p { margin: 0 0 18px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

footer {
  margin-top: 54px;
  padding: 30px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; }
.footer-links a { color: var(--muted-strong); text-decoration: none; }

.more { margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); }
.more h2 { margin: 0 0 14px; font-size: 20px; }
.more ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.more a { text-decoration: none; font-weight: 600; }
.more span { display: block; color: var(--muted); font-size: 14.5px; font-weight: 400; }

@media (max-width: 720px) {
  :root { --page: min(100% - 26px, 760px); }
  article { padding: 30px 0 10px; }
  .nav-hide { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
