@import url('/fonts.css'); /* automation articles link only blog.css — fonts must come along */
@import url('/fonts.css?v=2'); /* automation articles link only blog.css — fonts must come along */
/* HeltAIum — Blog (Index + Article)
   Editorial reading layout, same brand tokens as the main site. */

:root {
  --bg: #03050b;
  --bg-elev: #0a0f1c;
  --bg-deep: #010207;
  --ink: #e9eef6;
  --ink-mute: #a7b2c6;
  --ink-dim: #747f98; /* Orbit #6f7a93 → +3% for AA on --bg-elev */
  --ink-faint: #283043;
  --accent: #2f8bff;
  --accent-hot: #7cc8ff;
  --rule: rgba(150, 185, 255, 0.10);
  --rule-mid: rgba(150, 185, 255, 0.18);
  --rule-strong: rgba(150, 185, 255, 0.32);

  --font-display: "Sora", "Instrument Sans", system-ui, sans-serif;
  --font-sans: "Instrument Sans", -apple-system, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --max: 1200px;
  --max-prose: 720px;
  --gutter: clamp(20px, 4vw, 64px);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

body::before {
  content: '';
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent);
  z-index: 100;
}
body::after {
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: 99;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── NAV ─────────────────────────────────────────────────────────── */
.blog-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px var(--gutter);
  border-bottom: 1px solid var(--rule);
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 17px; font-weight: 500; color: var(--ink);
}
.brand .mark {
  width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--accent), var(--accent-hot) 60%, #0b2c63);
  box-shadow: 0 0 12px rgba(47,139,255,0.4);
}
.brand sup {
  font-family: var(--font-mono); font-size: 9px; color: var(--ink-dim);
  margin-left: 2px; vertical-align: super;
}
.blog-nav .right {
  display: flex; align-items: center; gap: 18px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-dim);
}
.blog-nav .right a { transition: color 0.3s; }
.blog-nav .right a:hover { color: var(--ink); }
.blog-nav .right a.cta {
  background: var(--accent); color: var(--bg);
  padding: 8px 14px; border-radius: 3px;
  transition: background 0.3s;
}
.blog-nav .right a.cta:hover { background: var(--ink); }

/* ── BLOG INDEX ──────────────────────────────────────────────────── */
.blog-head {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(60px, 10vw, 120px) var(--gutter) clamp(40px, 6vw, 64px);
}
.blog-head .meta {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 28px;
}
.blog-head .meta b { color: var(--ink); font-weight: 500; }
.blog-head .meta .num { color: var(--accent); }
.blog-head h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  max-width: 14ch;
}
.blog-head h1 em { font-style: normal; color: var(--ink-mute); font-weight: inherit; }
.blog-head .lead {
  margin-top: 24px;
  color: var(--ink-mute);
  font-size: 18px;
  max-width: 60ch;
}

.blog-list {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(80px, 10vw, 140px);
  border-top: 1px solid var(--rule);
}
.blog-card {
  display: grid;
  grid-template-columns: 140px 1fr 200px auto;
  gap: clamp(20px, 3vw, 48px);
  padding: clamp(28px, 4vw, 48px) 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
  transition: background 0.4s ease;
}
.blog-card:hover { background: linear-gradient(90deg, transparent, rgba(47,139,255,0.025), transparent); }
@media (max-width: 1000px) {
  .blog-card { grid-template-columns: 140px 1fr auto; }
  .blog-card .card-img { display: none; }
}
@media (max-width: 800px) {
  .blog-card { grid-template-columns: 1fr; gap: 14px; }
  .blog-card .card-img { display: block; order: -1; }
  .blog-card .card-img img { max-height: 240px; }
}
.blog-card .card-img {
  align-self: stretch;
  display: block;
  border-radius: 3px;
  overflow: hidden;
  background: var(--bg-elev);
  border: 1px solid var(--rule-mid);
  aspect-ratio: 1200 / 630;
}
.blog-card .card-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out), opacity 0.4s ease;
}
.blog-card:hover .card-img img { transform: scale(1.04); }
.blog-card .card-meta {
  display: flex; flex-direction: column; gap: 4px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-dim);
  padding-top: 6px;
}
.blog-card .card-meta .date { color: var(--accent); }
.blog-card .card-meta .read { color: var(--ink-dim); }
.blog-card .card-body h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  color: var(--ink);
  transition: color 0.3s;
}
.blog-card:hover .card-body h2 { color: var(--accent); }
.blog-card .card-body h2 em { font-style: normal; color: var(--ink-mute); font-weight: inherit; }
.blog-card:hover .card-body h2 em { color: var(--ink-mute); }
.blog-card .card-body p {
  color: var(--ink-mute);
  font-size: 15px;
  line-height: 1.55;
  max-width: 60ch;
}
.blog-card .card-tag {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-dim);
  padding: 6px 12px;
  border: 1px solid var(--rule-mid);
  border-radius: 3px;
  white-space: nowrap;
  transition: color 0.3s, border-color 0.3s;
  align-self: start;
  margin-top: 6px;
}
.blog-card:hover .card-tag { color: var(--accent); border-color: var(--accent); }
@media (max-width: 800px) {
  .blog-card .card-tag { justify-self: start; margin-top: 8px; }
}

.blog-empty {
  padding: clamp(60px, 8vw, 100px) 0;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-dim);
  text-align: center;
  border-bottom: 1px solid var(--rule);
}

/* ── ARTICLE ─────────────────────────────────────────────────────── */
.article-head {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(60px, 10vw, 100px) var(--gutter) clamp(36px, 5vw, 56px);
  position: relative;
}
.article-head .crumb {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 28px;
  display: inline-flex; gap: 12px; align-items: center;
}
.article-head .crumb a { transition: color 0.3s; }
.article-head .crumb a:hover { color: var(--ink); }
.article-head .crumb .sep { color: var(--ink-dim); }
.article-head .crumb .current { color: var(--accent); }
.article-head .meta {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 32px;
}
.article-head .meta .date { color: var(--accent); }
.article-head .meta .read { color: var(--ink-dim); }
.article-head .meta .tag {
  border: 1px solid var(--rule-mid);
  padding: 4px 10px; border-radius: 3px;
  color: var(--ink-mute);
}
.article-head h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.4vw, 68px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 22ch;
  color: var(--ink);
}
.article-head h1 em { font-style: normal; color: var(--ink-mute); font-weight: inherit; }
.article-head .deck {
  margin-top: 24px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-mute);
  max-width: 56ch;
}
.article-head .deck em { color: var(--ink); font-style: normal; }

.article-byline {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--rule);
}

/* Hero image after header (auto-inserted from og:image) */
.article-hero {
  max-width: var(--max);
  margin: clamp(24px, 4vw, 40px) auto 0;
  padding: 0 var(--gutter);
}
.article-hero img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 540px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--rule-mid);
  background: var(--bg-elev);
  aspect-ratio: 1200 / 630;
}
.article-byline-inner {
  padding: 20px 0;
  display: flex; gap: 14px; align-items: center;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-dim);
  flex-wrap: wrap;
}
.article-byline-inner .author { color: var(--ink); font-weight: 500; }
.article-byline-inner .author::before {
  content: '';
  display: inline-block;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--accent), var(--accent-hot) 60%, #0b2c63);
  vertical-align: middle;
  margin-right: 10px;
}
.article-byline-inner .sep { color: var(--ink-dim); }

/* TOC sidebar */
.article-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) var(--gutter);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 1000px) {
  .article-wrap { grid-template-columns: 1fr; gap: 32px; }
}
.article-toc {
  position: sticky;
  top: 30px;
  align-self: start;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
@media (max-width: 1000px) {
  .article-toc { position: relative; top: 0; padding-bottom: 24px; border-bottom: 1px solid var(--rule); }
}
.article-toc .toc-label {
  color: var(--ink-dim);
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}
.article-toc ol {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 10px;
  counter-reset: toc;
}
.article-toc ol li {
  counter-increment: toc;
  position: relative;
  padding-left: 28px;
}
.article-toc ol li::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute;
  left: 0; top: 1px;
  font-size: 10px;
  color: var(--ink-dim);
}
.article-toc ol li a {
  color: var(--ink-dim);
  line-height: 1.4;
  transition: color 0.3s;
  display: block;
}
.article-toc ol li a:hover { color: var(--ink); }

/* PROSE */
.article-prose {
  max-width: var(--max-prose);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
}
.article-prose h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: clamp(48px, 6vw, 72px) 0 18px;
  scroll-margin-top: 28px;
  position: relative;
}
.article-prose h2 em { font-style: normal; color: var(--ink-mute); font-weight: inherit; }
.article-prose h2::before {
  content: '§';
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  position: absolute;
  left: -28px;
  top: 18px;
}
@media (max-width: 700px) { .article-prose h2::before { display: none; } }
.article-prose h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 500;
  margin: 32px 0 14px;
  color: var(--ink);
}
.article-prose h3 em { font-style: normal; color: var(--ink-mute); font-weight: inherit; }

.article-prose p {
  margin: 0 0 18px;
  color: var(--ink-mute);
}
.article-prose p strong, .article-prose p b { color: var(--ink); font-weight: 500; }
.article-prose p em { color: var(--ink); font-style: normal; }
.article-prose a {
  color: var(--accent);
  border-bottom: 1px solid rgba(47,139,255,0.3);
  transition: border-color 0.3s, color 0.3s;
}
.article-prose a:hover { border-color: var(--accent); color: var(--ink); }

.article-prose ul, .article-prose ol {
  margin: 8px 0 22px;
  padding-left: 0;
  list-style: none;
}
.article-prose li {
  margin: 8px 0;
  padding-left: 22px;
  position: relative;
  color: var(--ink-mute);
  line-height: 1.55;
}
.article-prose ul li::before {
  content: '+';
  position: absolute;
  left: 0; top: 0;
  font-family: var(--font-mono);
  color: var(--accent);
}
.article-prose ol {
  counter-reset: olc;
}
.article-prose ol li {
  counter-increment: olc;
}
.article-prose ol li::before {
  content: counter(olc, decimal-leading-zero);
  position: absolute;
  left: 0; top: 1px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
}
.article-prose li b { color: var(--ink); }
.article-prose li em { color: var(--ink); font-style: normal; }

.article-prose blockquote {
  margin: clamp(28px, 4vw, 40px) 0;
  padding: clamp(24px, 3vw, 32px) clamp(28px, 4vw, 40px);
  border-left: 2px solid var(--accent);
  background: linear-gradient(90deg, rgba(47,139,255,0.04), transparent);
  font-family: var(--font-display);
  font-style: normal;
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 300;
  line-height: 1.45;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.article-prose blockquote cite {
  display: block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-style: normal;
  color: var(--ink-dim);
  font-weight: 400;
}

.article-prose .callout {
  margin: clamp(28px, 4vw, 40px) 0;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--rule-mid);
  background: var(--bg-elev);
  border-radius: 4px;
}
.article-prose .callout .callout-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}
.article-prose .callout p:last-child { margin-bottom: 0; }

.article-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-family: var(--font-sans);
  font-size: 14px;
}
.article-prose table th, .article-prose table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.article-prose table th {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-dim);
  font-weight: 400;
  border-bottom-color: var(--rule-mid);
}
.article-prose table td {
  color: var(--ink-mute);
}
.article-prose table td b { color: var(--ink); font-weight: 500; }
.article-prose table tr:hover td { background: rgba(47,139,255,0.02); }

/* ── TL;DR-Box (Auto-generated articles) ─────────────────────── */
.article-prose .post-tldr {
  margin: 0 0 clamp(36px, 5vw, 56px);
  padding: clamp(24px, 3vw, 32px) clamp(28px, 3vw, 36px);
  background: linear-gradient(180deg, var(--bg-elev), var(--bg-deep));
  border: 1px solid var(--rule-mid);
  border-left: 2px solid var(--accent);
  border-radius: 4px;
  position: relative;
}
.article-prose .post-tldr .tldr-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.article-prose .post-tldr ul,
.article-prose .post-tldr ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
.article-prose .post-tldr li {
  position: relative;
  padding-left: 22px;
  margin: 6px 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
}
.article-prose .post-tldr li::before {
  content: '→';
  position: absolute;
  left: 0; top: 0;
  font-family: var(--font-mono);
  color: var(--accent);
  font-weight: 500;
}
.article-prose .post-tldr p:first-child { margin-top: 0; }
.article-prose .post-tldr p:last-child { margin-bottom: 0; }

/* ── FAQ-Block (details/summary accordion) ───────────────────── */
.article-prose .post-faq {
  margin: clamp(48px, 6vw, 72px) 0 0;
  padding-top: clamp(28px, 4vw, 40px);
  border-top: 1px solid var(--rule);
}
.article-prose .post-faq h2 {
  margin-top: 0;
  margin-bottom: 24px;
}
.article-prose .post-faq details {
  border-bottom: 1px solid var(--rule);
  padding: 0;
  margin: 0;
}
.article-prose .post-faq details:first-of-type { border-top: 1px solid var(--rule); }
.article-prose .post-faq summary {
  font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
  padding: 20px 36px 20px 0;
  cursor: pointer;
  position: relative;
  list-style: none;
  transition: color 0.3s;
}
.article-prose .post-faq summary::-webkit-details-marker { display: none; }
.article-prose .post-faq summary::after {
  content: '+';
  position: absolute;
  right: 8px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 300;
  color: var(--ink-dim);
  transition: transform 0.3s var(--ease-out), color 0.3s;
  line-height: 1;
}
.article-prose .post-faq summary:hover { color: var(--accent); }
.article-prose .post-faq summary:hover::after { color: var(--accent); }
.article-prose .post-faq details[open] summary {
  color: var(--accent);
  padding-bottom: 12px;
}
.article-prose .post-faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
  color: var(--accent);
}
.article-prose .post-faq details > p,
.article-prose .post-faq details > div {
  padding: 0 36px 24px 0;
  margin: 0;
  color: var(--ink-mute);
  font-size: 15px;
  line-height: 1.6;
  animation: faq-in 0.4s var(--ease-out);
}
@keyframes faq-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── nav-links (some auto-gen articles use this instead of .right) ── */
.blog-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.blog-nav .nav-links a { transition: color 0.3s; }
.blog-nav .nav-links a:hover { color: var(--ink); }

/* CTA in article */
.article-cta {
  margin: clamp(60px, 8vw, 100px) 0 0;
  padding: clamp(32px, 5vw, 56px);
  background: linear-gradient(180deg, var(--bg-elev), var(--bg-deep));
  border: 1px solid var(--rule-mid);
  border-radius: 4px;
  text-align: center;
}
.article-cta .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  display: block;
}
.article-cta h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 14px;
  color: var(--ink);
}
.article-cta h3 em { font-style: normal; color: var(--ink-mute); font-weight: inherit; }
.article-cta p {
  color: var(--ink-mute);
  max-width: 56ch;
  margin: 0 auto 28px;
}
.article-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: background 0.3s, transform 0.3s var(--ease-out);
}
.article-cta .btn:hover { background: var(--ink); transform: translateY(-2px); }
.article-cta .btn .arr {
  font-family: var(--font-display); font-style: normal; font-size: 14px;
  transition: transform 0.3s var(--ease-out);
}
.article-cta .btn:hover .arr { transform: translateX(4px); }

/* ── FOOTER ──────────────────────────────────────────────────────── */
.blog-footer {
  border-top: 1px solid var(--rule);
  padding: 32px var(--gutter);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.blog-footer .dot {
  display: inline-block; width: 4px; height: 4px;
  background: var(--accent); border-radius: 50%;
  margin: 0 12px; vertical-align: middle;
}
.blog-footer .links {
  display: inline-flex; gap: 18px;
}
.blog-footer .links a {
  color: var(--ink-dim); transition: color 0.3s;
}
.blog-footer .links a:hover { color: var(--ink); }

/* Reading progress bar */
.reading-progress {
  position: fixed;
  top: 3px; left: 0;
  width: 0%;
  height: 1px;
  background: var(--accent);
  z-index: 101;
  transition: width 0.05s linear;
}

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

/* ═════════════════════════════════════════════════════════════════════
   ORBIT — Brand layer (Logo 2026: Deep Space · Chrome · Electric Blue)
   Shared with the main page (de/index.html inline). Overrides rules above.
   ═════════════════════════════════════════════════════════════════════ */
:root {
  --accent-cold: #5a7fa8;
  --accent-fill: linear-gradient(180deg, #1f6fe6 0%, #1557c4 100%);
  --gold: #f2c27b;
  --chrome: linear-gradient(180deg, #ffffff 0%, #dfe4ec 38%, #8e97a6 56%, #eef1f5 78%, #b9c0cb 100%);
  --grad-accent: linear-gradient(100deg, var(--accent) 0%, var(--accent-hot) 100%);
  --glow: 0 0 24px rgba(47,139,255,.45);
  --stars-a: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='620' height='620'%3E%3Ccircle cx='465' cy='575' r='0.9' fill='%23bcd6ff' fill-opacity='0.5'/%3E%3Ccircle cx='191' cy='526' r='0.9' fill='%23e9eef6' fill-opacity='0.35'/%3E%3Ccircle cx='459' cy='312' r='0.6' fill='%23e9eef6' fill-opacity='0.35'/%3E%3Ccircle cx='611' cy='407' r='0.9' fill='%23e9eef6' fill-opacity='0.35'/%3E%3Ccircle cx='543' cy='66' r='0.5' fill='%23e9eef6' fill-opacity='0.5'/%3E%3Ccircle cx='249' cy='616' r='0.5' fill='%23bcd6ff' fill-opacity='0.65'/%3E%3Ccircle cx='453' cy='607' r='0.6' fill='%23e9eef6' fill-opacity='0.65'/%3E%3Ccircle cx='513' cy='6' r='0.5' fill='%23bcd6ff' fill-opacity='0.65'/%3E%3Ccircle cx='418' cy='566' r='0.5' fill='%23bcd6ff' fill-opacity='0.65'/%3E%3Ccircle cx='237' cy='527' r='0.7' fill='%23e9eef6' fill-opacity='0.35'/%3E%3Ccircle cx='578' cy='112' r='0.9' fill='%23e9eef6' fill-opacity='0.65'/%3E%3Ccircle cx='397' cy='70' r='0.5' fill='%23e9eef6' fill-opacity='0.5'/%3E%3Ccircle cx='216' cy='55' r='0.9' fill='%23bcd6ff' fill-opacity='0.8'/%3E%3Ccircle cx='431' cy='76' r='0.6' fill='%23bcd6ff' fill-opacity='0.65'/%3E%3Ccircle cx='91' cy='320' r='0.7' fill='%23e9eef6' fill-opacity='0.8'/%3E%3Ccircle cx='122' cy='139' r='0.6' fill='%23e9eef6' fill-opacity='0.35'/%3E%3Ccircle cx='63' cy='478' r='0.9' fill='%23e9eef6' fill-opacity='0.5'/%3E%3Ccircle cx='460' cy='523' r='0.6' fill='%23e9eef6' fill-opacity='0.8'/%3E%3Ccircle cx='394' cy='121' r='0.9' fill='%23bcd6ff' fill-opacity='0.5'/%3E%3Ccircle cx='2' cy='278' r='0.7' fill='%23e9eef6' fill-opacity='0.5'/%3E%3Ccircle cx='193' cy='405' r='0.5' fill='%23e9eef6' fill-opacity='0.5'/%3E%3Ccircle cx='220' cy='454' r='0.7' fill='%23e9eef6' fill-opacity='0.65'/%3E%3Ccircle cx='305' cy='397' r='0.5' fill='%23e9eef6' fill-opacity='0.35'/%3E%3Ccircle cx='215' cy='598' r='0.6' fill='%23e9eef6' fill-opacity='0.65'/%3E%3Ccircle cx='382' cy='466' r='0.6' fill='%23bcd6ff' fill-opacity='0.5'/%3E%3Ccircle cx='397' cy='189' r='0.6' fill='%23bcd6ff' fill-opacity='0.5'/%3E%3Ccircle cx='257' cy='196' r='0.6' fill='%23e9eef6' fill-opacity='0.8'/%3E%3Ccircle cx='496' cy='82' r='0.9' fill='%23e9eef6' fill-opacity='0.35'/%3E%3Ccircle cx='113' cy='41' r='0.7' fill='%23e9eef6' fill-opacity='0.8'/%3E%3Ccircle cx='265' cy='432' r='0.9' fill='%23bcd6ff' fill-opacity='0.5'/%3E%3Ccircle cx='72' cy='131' r='0.6' fill='%23bcd6ff' fill-opacity='0.35'/%3E%3Ccircle cx='288' cy='219' r='0.6' fill='%23e9eef6' fill-opacity='0.35'/%3E%3Ccircle cx='277' cy='423' r='0.9' fill='%23e9eef6' fill-opacity='0.35'/%3E%3Ccircle cx='49' cy='182' r='0.7' fill='%23bcd6ff' fill-opacity='0.5'/%3E%3Ccircle cx='96' cy='372' r='0.6' fill='%23bcd6ff' fill-opacity='0.65'/%3E%3Ccircle cx='536' cy='600' r='0.6' fill='%23e9eef6' fill-opacity='0.35'/%3E%3Ccircle cx='488' cy='368' r='0.7' fill='%23e9eef6' fill-opacity='0.35'/%3E%3Ccircle cx='614' cy='78' r='0.9' fill='%23e9eef6' fill-opacity='0.65'/%3E%3Ccircle cx='328' cy='141' r='0.5' fill='%23e9eef6' fill-opacity='0.8'/%3E%3Ccircle cx='561' cy='378' r='0.5' fill='%23e9eef6' fill-opacity='0.65'/%3E%3Ccircle cx='362' cy='88' r='0.9' fill='%23e9eef6' fill-opacity='0.8'/%3E%3Ccircle cx='32' cy='513' r='0.5' fill='%23bcd6ff' fill-opacity='0.8'/%3E%3Ccircle cx='598' cy='14' r='0.5' fill='%23e9eef6' fill-opacity='0.35'/%3E%3Ccircle cx='120' cy='265' r='0.9' fill='%23bcd6ff' fill-opacity='0.8'/%3E%3Ccircle cx='596' cy='470' r='0.9' fill='%23bcd6ff' fill-opacity='0.35'/%3E%3Ccircle cx='533' cy='528' r='0.5' fill='%23bcd6ff' fill-opacity='0.35'/%3E%3Ccircle cx='494' cy='24' r='0.6' fill='%23e9eef6' fill-opacity='0.8'/%3E%3Ccircle cx='499' cy='263' r='0.5' fill='%23bcd6ff' fill-opacity='0.65'/%3E%3Ccircle cx='148' cy='209' r='0.6' fill='%23bcd6ff' fill-opacity='0.8'/%3E%3Ccircle cx='512' cy='249' r='0.7' fill='%23bcd6ff' fill-opacity='0.65'/%3E%3Ccircle cx='205' cy='443' r='0.6' fill='%23e9eef6' fill-opacity='0.8'/%3E%3Ccircle cx='226' cy='599' r='0.7' fill='%23e9eef6' fill-opacity='0.5'/%3E%3Ccircle cx='139' cy='510' r='0.7' fill='%23e9eef6' fill-opacity='0.35'/%3E%3Ccircle cx='285' cy='175' r='0.5' fill='%23bcd6ff' fill-opacity='0.8'/%3E%3Ccircle cx='283' cy='221' r='0.9' fill='%23bcd6ff' fill-opacity='0.8'/%3E%3C/svg%3E");
  --orbit-arc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 90' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%232f8bff' stop-opacity='0'/%3E%3Cstop offset='.45' stop-color='%232f8bff' stop-opacity='.55'/%3E%3Cstop offset='.72' stop-color='%23ffffff' stop-opacity='.9'/%3E%3Cstop offset='1' stop-color='%237cc8ff' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 88 Q800 -6 1600 88' fill='none' stroke='url(%23g)' stroke-width='1.2' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
}

html { scrollbar-color: #1c2a47 var(--bg-deep); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: #1c2a47; border-radius: 10px; border: 2px solid var(--bg-deep); }
::selection { background: rgba(47,139,255,.45); color: #fff; }
:focus-visible { outline: 2px solid var(--accent-hot); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { hyphens: manual; -webkit-hyphens: manual; overflow-wrap: break-word; }
h2, h3, h4 { text-wrap: balance; }
h1, h2 { letter-spacing: -.035em; }

/* em accents → electric gradient (no italics) */
h1 em, h2 em, h3 em, h4 em, .lead-text em, .code em, .name em {
  font-style: normal; color: var(--accent-hot);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  h1 em, h2 em, h3 em, h4 em, .lead-text em, .code em, .name em {
    background: var(--grad-accent);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
  }
}
p em, li em, .lead em, .deck em { font-style: normal; font-weight: 600; color: var(--ink); }

/* ── Wordmark (3 markups: .wordmark | legacy .mark+span | automation .mark>sup) ── */
.brand { font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em; align-items: baseline; gap: 2px; }
.wordmark, .brand .mark:empty + span, .brand .mark:not(:empty) { color: #dfe4ec; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .wordmark, .brand .mark:empty + span, .brand .mark:not(:empty) {
    background: var(--chrome); background-size: 100% 1.05em; background-position: 0 .1em;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}
.wordmark .ai, .brand .mark:not(:empty) sup {
  -webkit-text-fill-color: var(--accent-hot); color: var(--accent-hot);
  text-shadow: 0 0 10px rgba(47,139,255,.85), 0 0 22px rgba(47,139,255,.45);
  font: inherit; vertical-align: baseline; margin: 0 .01em;
}
.brand .mark:not(:empty) {
  width: auto; height: auto; border-radius: 0; box-shadow: none;
  font-size: 20px; line-height: 1;
}
.brand .mark:empty {
  width: 12px; height: 12px; border-radius: 50%; align-self: center; margin-right: 6px;
  background: radial-gradient(circle at 65% 30%, #fff 0 8%, var(--accent-hot) 22%, #0b2c63 70%);
  box-shadow: 0 0 0 1px rgba(124,200,255,.5), 0 0 14px rgba(47,139,255,.7);
}
.brand sup { color: var(--ink-dim); font-weight: 400; }

/* ── Buttons ──────────────────────────────────────────────────────── */
.btn-primary, .article-cta .btn, .blog-nav .right a.cta {
  background: var(--accent-fill); color: #fff;
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 0 0 1px rgba(124,200,255,.35), 0 10px 32px -10px rgba(47,139,255,.8);
  transition: box-shadow .35s, filter .35s, transform .35s;
}
.btn-primary::after { display: none; }
.btn-primary:hover, .article-cta .btn:hover, .blog-nav .right a.cta:hover {
  background: var(--accent-fill); color: #fff; filter: brightness(1.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 0 0 1px rgba(124,200,255,.7), 0 0 28px rgba(47,139,255,.65);
}
.btn-text {
  padding: 15px 24px;
  border: 1px solid rgba(190,205,228,.28); border-radius: 999px;
  color: var(--ink); background: rgba(10,15,28,.35);
  transition: color .3s, border-color .3s, box-shadow .3s;
}
.btn-text:hover { color: #fff; border-color: rgba(124,200,255,.75); box-shadow: 0 0 22px -4px rgba(47,139,255,.55); }
.nav-cta { border-radius: 999px; border-color: rgba(124,200,255,.45); box-shadow: 0 0 18px -6px rgba(47,139,255,.5); }
.nav-cta::before { background: var(--accent-fill); }
.nav-cta:hover span { color: #fff; }
.lang-switch { border-radius: 999px; }
.lang-switch a { border-radius: 999px; }
.lang-switch a.active { color: #fff; background: var(--accent-fill); }

.reading-progress { background: var(--grad-accent); box-shadow: 0 0 8px rgba(47,139,255,.8); }

/* ── forced colors + print: never leave text transparent ── */
@media (forced-colors: active) {
  h1, h1 em, h2 em, h3 em, h4 em, .lead-text em, .code, .code em, .name em, .wordmark, .wordmark .ai,
  .brand .mark:empty + span, .brand .mark:not(:empty), .brand .mark:not(:empty) sup, .num {
    background: none !important; color: CanvasText !important;
    -webkit-text-fill-color: currentColor !important; text-shadow: none !important;
  }
}
@media print {
  h1, h1 em, h2 em, h3 em, h4 em, .lead-text em, .code, .code em, .name em, .wordmark, .wordmark .ai,
  .brand .mark:empty + span, .brand .mark:not(:empty), .brand .mark:not(:empty) sup, .num {
    background: none !important; color: #000 !important;
    -webkit-text-fill-color: currentColor !important; text-shadow: none !important;
  }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* skip link (visible on focus) */
.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 10002;
  padding: 10px 16px; border-radius: 999px;
  background: var(--accent-fill); color: #fff;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  transform: translateY(-180%);
}
.skip-link:focus, .skip-link:focus-visible { transform: none; outline: 2px solid #fff; outline-offset: 2px; }
#inhalt:focus { outline: none; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-iteration-count: 1 !important; } }
body::before { background: linear-gradient(90deg, transparent, var(--accent) 30%, var(--accent-hot) 70%, transparent); height: 2px; box-shadow: 0 0 12px rgba(47,139,255,.6); }

/* ── Blog / News / Erstgespräch specifics ── */

/* Deep-space header band with orbit arc */
.blog-head { position: relative; isolation: isolate; }
.blog-head::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    var(--orbit-arc) center bottom / 120% 120px no-repeat,
    radial-gradient(70% 90% at 85% 0%, rgba(47,139,255,.16), transparent 60%),
    var(--stars-a) 0 0 / 620px 620px;
}

/* Deep-space header band with orbit arc */
.article-head { position: relative; isolation: isolate; }
.article-head::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    var(--orbit-arc) center bottom / 120% 120px no-repeat,
    radial-gradient(70% 90% at 85% 0%, rgba(47,139,255,.16), transparent 60%),
    var(--stars-a) 0 0 / 620px 620px;
}

.blog-head h1 { font-weight: 500; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .blog-head h1 { background: var(--chrome); background-size: 100% 1em; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
}
.article-head h1, .article-prose h2, .blog-card .card-body h2, .article-cta h3 { font-weight: 500; letter-spacing: -.025em; }
.article-prose h3 { font-weight: 600; letter-spacing: -.015em; }
.blog-card { transition: background .4s, box-shadow .4s; }
.blog-card:hover { background: linear-gradient(90deg, rgba(47,139,255,.06), rgba(10,15,28,.4)); box-shadow: inset 0 0 0 1px rgba(124,200,255,.2); }
.blog-card:hover .card-body h2 { color: #fff; }
.blog-card .card-img, .article-hero img { border-color: rgba(124,200,255,.18); border-radius: 6px; }
.blog-card .card-tag, .article-head .meta .tag { border-radius: 999px; }
.article-prose blockquote { font-weight: 300; background: linear-gradient(90deg, rgba(47,139,255,.07), transparent); }
.article-prose a { color: var(--accent-hot); border-bottom-color: rgba(124,200,255,.35); }
.article-prose .post-tldr, .article-cta, .article-prose .callout {
  border-color: rgba(124,200,255,.18); box-shadow: 0 0 50px -24px rgba(47,139,255,.5);
}
.article-cta { background: radial-gradient(90% 120% at 50% 0%, #0a1a3a 0%, var(--bg-elev) 55%, var(--bg-deep) 100%); }
.article-byline-inner .author::before { background: radial-gradient(circle at 65% 30%, #fff 0 8%, var(--accent-hot) 22%, #0b2c63 70%); box-shadow: 0 0 10px rgba(47,139,255,.6); }
.blog-nav { position: relative; }
.blog-footer .links { flex-wrap: wrap; row-gap: 8px; }
.blog-nav .right { flex-wrap: wrap; justify-content: flex-end; row-gap: 8px; }
/* grid children may shrink; long uppercase TOC words wrap instead of widening the page */
.article-wrap > * { min-width: 0; }
.article-toc .toc-label, .article-toc a { overflow-wrap: anywhere; }
@media (max-width: 760px) { .article-prose table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; } }

/* ── Elements rendered by the n8n blog generator v3 (sources, related, AI note, hero caption) ── */
.article-hero-caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-dim);
  text-align: right;
}
.article-prose .post-sources,
.article-prose .post-related {
  margin: clamp(40px, 5vw, 56px) 0 0;
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid var(--rule);
}
.article-prose .post-sources h2,
.article-prose .post-related h2 { margin-top: 0; margin-bottom: 18px; font-size: clamp(20px, 2.2vw, 24px); }
.article-prose .post-sources ol { padding-left: 1.3em; margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-mute); }
.article-prose .post-sources li { margin: .45em 0; overflow-wrap: anywhere; }
.article-prose .src-meta { color: var(--ink-dim); font-size: 13px; }
.article-prose .post-related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.article-prose .post-related li { margin: 0; }
.article-prose .post-related li a {
  display: block;
  padding: 14px 18px;
  border: 1px solid var(--rule-mid);
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
  transition: border-color .2s ease, background-color .2s ease;
}
.article-prose .post-related li a:hover,
.article-prose .post-related li a:focus-visible { border-color: var(--accent); background: rgba(47, 139, 255, .06); }
.article-prose .callout.ai-note { background: rgba(47, 139, 255, .05); border-color: var(--rule-mid); }
.article-prose .callout.ai-note p { font-size: 14px; color: var(--ink-mute); }

/* clickable source markers [n] (n8n generator v3.1) */
.article-prose a.cite { border-bottom: 0; font-size: .78em; vertical-align: super; line-height: 0; color: var(--accent-hot); text-decoration: none; }
.article-prose a.cite:hover, .article-prose a.cite:focus-visible { color: var(--ink); }
.article-prose .post-sources li:target { background: rgba(47, 139, 255, .10); border-radius: 6px; }
