/* Static SEO landing pages (generated by seo/generate.mjs). Same palette as the app. */
:root {
  --bg: #06060e;
  --surface: #0e0e1a;
  --surface-hover: #14141f;
  --border: #1e1e2e;
  --text: #e8e8f0;
  --text-muted: #a0a0b8;
  --text-dim: #6a6a80;
  --accent: #8b5cf6;
  --accent-soft: #c4b5fd;
  --accent-bg: rgba(139, 92, 246, 0.1);
  --accent-border: rgba(139, 92, 246, 0.25);
  color-scheme: dark;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-soft); }
a:hover { color: #fff; }

.lp-wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* Header */
.lp-header { border-bottom: 1px solid var(--border); background: rgba(6, 6, 14, 0.9); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(8px); }
.lp-header__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.lp-brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 18px; }
.lp-nav { display: flex; align-items: center; gap: 18px; font-size: 15px; }
.lp-nav > a:not(.lp-btn) { color: var(--text-muted); text-decoration: none; }
.lp-nav > a:not(.lp-btn):hover { color: var(--text); }
.lp-lang { display: flex; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.lp-lang__item { padding: 4px 9px; font-size: 13px; color: var(--text-dim); text-decoration: none; }
.lp-lang__item--on { background: var(--accent-bg); color: var(--accent-soft); }

/* Buttons */
.lp-btn {
  display: inline-block;
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}
.lp-btn:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 10px 36px rgba(124, 58, 237, 0.5); }
.lp-btn--sm { padding: 8px 14px; font-size: 14px; border-radius: 9px; box-shadow: none; }

/* Hero */
.lp-hero {
  padding: 56px 0 48px;
  background: radial-gradient(ellipse 80% 70% at 50% 0%, rgba(124, 58, 237, 0.22), transparent 70%);
  border-bottom: 1px solid var(--border);
}
.lp-crumbs { font-size: 14px; color: var(--text-dim); margin-bottom: 18px; }
.lp-crumbs a { color: var(--text-muted); text-decoration: none; }
.lp-hero h1 {
  font-size: clamp(32px, 5.5vw, 54px);
  line-height: 1.1;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
  background: linear-gradient(160deg, #ffffff 0%, #e2d9f3 45%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  max-width: 820px;
}
.lp-hero__lead { font-size: 19px; color: var(--text-muted); max-width: 700px; margin: 0 0 28px; }
.lp-hero__note { margin: 18px 0 0; font-size: 14px; color: var(--text-muted); }
.lp-hero__formats { margin: 4px 0 0; font-size: 13px; color: var(--text-dim); }

/* Sections */
.lp-section { padding: 48px 0; border-bottom: 1px solid var(--border); }
.lp-section h2 { font-size: 26px; margin: 0 0 20px; letter-spacing: -0.01em; }
.lp-section p { color: var(--text-muted); margin: 0; }
.lp-section--cta { text-align: center; background: var(--surface); }

.lp-steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lp-steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 20px; color: var(--text-muted); }
.lp-steps li::before { content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent-bg); border: 1px solid var(--accent-border); color: var(--accent-soft); font-weight: 700; margin-bottom: 12px; }

.lp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.lp-features { list-style: none; padding: 0; margin: 0; }
.lp-features li { position: relative; padding: 6px 0 6px 28px; color: var(--text-muted); }
.lp-features li::before { content: '✓'; position: absolute; left: 0; top: 6px; color: var(--accent); font-weight: 700; }

.lp-faq { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 0 18px; margin-bottom: 10px; }
.lp-faq summary { cursor: pointer; padding: 16px 0; font-weight: 500; list-style: none; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: '+'; float: right; color: var(--accent-soft); }
.lp-faq[open] summary::after { content: '–'; }
.lp-faq p { padding: 0 0 16px; }

.lp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.lp-card { display: flex; flex-direction: column; gap: 6px; padding: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; text-decoration: none; transition: border-color 0.15s, background 0.15s; }
.lp-card:hover { border-color: var(--accent-border); background: var(--surface-hover); }
.lp-card strong { color: var(--text); }
.lp-card span { color: var(--text-muted); font-size: 14px; line-height: 1.5; }

/* Footer */
.lp-footer { padding: 40px 0 56px; font-size: 14px; color: var(--text-dim); }
.lp-footer__tag { margin: 0 0 18px; color: var(--text-muted); max-width: 560px; }
.lp-footer__tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0 0 28px; }
.lp-footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.lp-footer__head { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; color: var(--text); }
@media (max-width: 760px) { .lp-footer__tools { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lp-badge { margin-left: 6px; padding: 1px 7px; border-radius: 100px; font-size: 11px; font-style: normal; font-weight: 700; color: #34d399; background: rgba(52, 211, 153, 0.12); vertical-align: 2px; }
.lp-footer__tools a, .lp-footer__legal a { color: var(--text-muted); text-decoration: none; }
.lp-footer__tools a:hover, .lp-footer__legal a:hover { color: var(--text); }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .lp-nav > a:not(.lp-btn) { display: none; }
  .lp-nav { gap: 10px; }
  .lp-hero { padding: 36px 0 32px; }
  .lp-hero__lead { font-size: 17px; }
  .lp-steps, .lp-split { grid-template-columns: 1fr; }
  .lp-split { gap: 32px; }
  .lp-section { padding: 36px 0; }
}
@media (max-width: 420px) {
  .lp-brand span { display: none; }
}

/* Cookie banner (rendered by /consent.js on static pages) */
.oc-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50;
  max-width: 720px; margin: 0 auto;
  display: flex; align-items: center; gap: 16px;
  padding: 16px 18px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--accent-border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  font-size: 14px; line-height: 1.5;
}
.oc-banner__text { margin: 0; color: var(--text-muted); flex: 1; }
.oc-banner__text strong { color: var(--text); }
.oc-banner__actions { display: flex; gap: 8px; flex-shrink: 0; }
.oc-banner__btn { font: inherit; font-weight: 700; cursor: pointer; border-radius: 9px; padding: 9px 16px; border: 1px solid var(--border); background: transparent; color: var(--text-muted); }
.oc-banner__btn--yes { background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%); border-color: transparent; color: #fff; }
.oc-banner__btn--no:hover { color: var(--text); }
@media (max-width: 600px) {
  .oc-banner { flex-direction: column; align-items: stretch; }
  .oc-banner__actions .oc-banner__btn { flex: 1; }
}

/* ── Blog (seo/blog/render.mjs) ─────────────────────────────────────────── */
:root {
  --bl-blue: #38bdf8;
  --bl-green: #34d399;
  --bl-glow: rgba(56, 189, 248, 0.18);
  --bl-line: #1a1d2b;
  --bl-card: #0b0d16;
}

.is-blog .lp-header .lp-btn { background: linear-gradient(90deg, var(--bl-blue), var(--bl-green)); color: #04121a; box-shadow: none; }
.is-blog .lp-header .lp-btn:hover { color: #04121a; box-shadow: 0 6px 22px rgba(56, 189, 248, 0.3); }
.is-blog .lp-nav > a[href="/blog/"] { color: var(--text); }
.bl-grad { background: linear-gradient(90deg, var(--bl-blue), var(--bl-green)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.bl-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bl-green); }
.bl-eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--bl-green); box-shadow: 0 0 12px var(--bl-green); }

.bl-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border: 0; border-radius: 12px; font: inherit; font-size: 15px; font-weight: 700; color: #04121a; text-decoration: none; cursor: pointer; background: linear-gradient(90deg, var(--bl-blue), var(--bl-green)); box-shadow: 0 8px 28px rgba(52, 211, 153, 0.25); transition: transform .15s, box-shadow .15s; white-space: nowrap; }
.bl-btn:hover { color: #04121a; transform: translateY(-1px); box-shadow: 0 12px 36px rgba(56, 189, 248, 0.35); }
.bl-btn--ghost { background: transparent; color: var(--text); border: 1px solid #2a2f44; box-shadow: none; }
.bl-btn--ghost:hover { color: #fff; border-color: var(--bl-blue); box-shadow: 0 0 0 4px var(--bl-glow); }

.bl-pill { display: inline-flex; align-items: center; width: fit-content; padding: 4px 10px; border-radius: 100px; font-size: 12px; font-weight: 700; letter-spacing: 0.02em; color: var(--bl-blue); background: rgba(56, 189, 248, 0.1); border: 1px solid rgba(56, 189, 248, 0.22); }
.bl-pill--hot { color: var(--bl-green); background: rgba(52, 211, 153, 0.1); border-color: rgba(52, 211, 153, 0.25); }

.bl-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 13px; color: var(--text-dim); }
.bl-byline__name { color: var(--text-muted); font-weight: 500; }
.bl-byline--big { font-size: 14px; }
.bl-byline--big .bl-byline__name { color: var(--text); }
.bl-dot { opacity: 0.5; }
.bl-avatar { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #111524; border: 1px solid #262b3f; flex-shrink: 0; }
.bl-avatar--lg { width: 52px; height: 52px; }

/* Index */
.bl-hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.bl-hero::before { content: ''; position: absolute; inset: -40% -10% auto; height: 520px; background: radial-gradient(40% 60% at 30% 40%, rgba(56, 189, 248, 0.16), transparent 70%), radial-gradient(35% 55% at 70% 30%, rgba(52, 211, 153, 0.12), transparent 70%); pointer-events: none; }
.bl-hero .lp-wrap { position: relative; }
.bl-hero h1 { font-size: clamp(40px, 6.4vw, 72px); line-height: 1.02; letter-spacing: -0.035em; margin: 0 0 18px; font-weight: 700; }
.bl-hero__lead { font-size: 19px; color: var(--text-muted); max-width: 560px; margin: 0; }

.bl-section { padding: 8px 0 72px; }
.bl-section--line { padding: 56px 0; border-top: 1px solid var(--bl-line); }

.bl-featured { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: center; padding: 14px; border-radius: 24px; background: linear-gradient(var(--bl-card), var(--bl-card)) padding-box, linear-gradient(135deg, rgba(56, 189, 248, 0.35), rgba(52, 211, 153, 0.12) 40%, #1a1d2b) border-box; border: 1px solid transparent; text-decoration: none; transition: box-shadow .2s; }
.bl-featured:hover { box-shadow: 0 20px 60px rgba(56, 189, 248, 0.12); }
.bl-featured__media { border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 10; }
.bl-featured__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.bl-featured:hover .bl-featured__media img { transform: scale(1.03); }
.bl-featured__body { padding: 8px 20px 8px 0; display: flex; flex-direction: column; gap: 14px; }
.bl-featured__tags { display: flex; gap: 8px; }
.bl-featured h2 { margin: 0; font-size: clamp(26px, 3vw, 36px); line-height: 1.15; letter-spacing: -0.02em; color: var(--text); }
.bl-featured p { margin: 0; color: var(--text-muted); font-size: 17px; }
.bl-readmore { font-weight: 700; color: var(--bl-blue); font-size: 15px; }

.bl-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin: 56px 0 8px; padding-bottom: 18px; border-bottom: 1px solid var(--bl-line); }
.bl-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.bl-chip { font: inherit; font-size: 14px; font-weight: 500; padding: 8px 15px; border-radius: 100px; border: 1px solid transparent; background: transparent; color: var(--text-muted); cursor: pointer; transition: color .15s, background .15s; }
.bl-chip:hover { color: var(--text); background: #11141f; }
.bl-chip.is-on { color: #04121a; background: linear-gradient(90deg, var(--bl-blue), var(--bl-green)); font-weight: 700; }
.bl-search { display: flex; align-items: center; gap: 8px; padding: 0 14px; height: 42px; min-width: 260px; border-radius: 12px; border: 1px solid #22263a; background: #0b0d16; color: var(--text-dim); }
.bl-search:focus-within { border-color: var(--bl-blue); box-shadow: 0 0 0 4px var(--bl-glow); }
.bl-search input { flex: 1; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; font-size: 15px; }
.bl-latest { margin: 32px 0 20px; font-size: 22px; letter-spacing: -0.01em; }

.bl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.bl-card { display: flex; flex-direction: column; gap: 16px; text-decoration: none; }
.bl-card[hidden] { display: none; }
.bl-card__media { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 10; background: #0b0d16; border: 1px solid var(--bl-line); }
.bl-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.bl-card:hover .bl-card__media img { transform: scale(1.05); }
.bl-card__body { display: flex; flex-direction: column; gap: 10px; }
.bl-card h3 { margin: 0; font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; color: var(--text); transition: color .15s; }
.bl-card:hover h3 { color: var(--bl-blue); }
.bl-card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bl-empty { color: var(--text-muted); text-align: center; padding: 40px 0; }
.bl-more { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 48px; }
.bl-more__count { margin: 0; font-size: 14px; color: var(--text-dim); }

.bl-band { padding: 0 0 80px; }
.bl-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 40px 44px; border-radius: 24px; background: radial-gradient(60% 120% at 0% 0%, rgba(56, 189, 248, 0.18), transparent 60%), radial-gradient(60% 120% at 100% 100%, rgba(52, 211, 153, 0.16), transparent 60%), #0b0d16; border: 1px solid #1d2233; }
.bl-band h2 { margin: 0 0 6px; font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.02em; }
.bl-band p { margin: 0; color: var(--text-muted); max-width: 520px; }

/* Article */
.bl-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 30; pointer-events: none; }
.bl-progress span { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--bl-blue), var(--bl-green)); box-shadow: 0 0 12px var(--bl-blue); }

.bl-post-hero { position: relative; padding: 48px 0 0; }
.bl-post-hero::before { content: ''; position: absolute; inset: 0 0 auto; height: 420px; background: radial-gradient(45% 70% at 50% 0%, rgba(56, 189, 248, 0.12), transparent 70%); pointer-events: none; }
.bl-narrow { max-width: 860px; position: relative; }
.bl-post-hero .lp-crumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.bl-post-hero h1 { font-size: clamp(32px, 4.8vw, 52px); line-height: 1.08; letter-spacing: -0.03em; margin: 16px 0 18px; }
.bl-post-hero__lead { font-size: 20px; line-height: 1.6; color: var(--text-muted); margin: 0 0 26px; }
.bl-post-hero__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; border-top: 1px solid var(--bl-line); border-bottom: 1px solid var(--bl-line); }
.bl-share { display: flex; gap: 8px; }
.bl-share a, .bl-share button { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; border: 1px solid #22263a; background: transparent; color: var(--text-muted); cursor: pointer; transition: color .15s, border-color .15s; }
.bl-share a:hover, .bl-share button:hover { color: var(--bl-blue); border-color: var(--bl-blue); }
.bl-share button.is-done { color: var(--bl-green); border-color: var(--bl-green); }
.bl-cover-wrap { max-width: 1120px; margin-top: 36px; }
.bl-cover { display: block; width: 100%; height: auto; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 22px; border: 1px solid var(--bl-line); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }

.bl-layout { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: 64px; justify-content: center; padding-top: 56px; padding-bottom: 72px; }
.bl-toc { position: sticky; top: 92px; align-self: start; font-size: 14px; max-height: calc(100vh - 120px); overflow: auto; }
.bl-toc__title { margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); }
.bl-toc ol { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--bl-line); }
.bl-toc li a { display: block; margin-left: -1px; padding: 6px 0 6px 14px; border-left: 2px solid transparent; color: var(--text-dim); text-decoration: none; line-height: 1.45; transition: color .15s, border-color .15s; }
.bl-toc li a:hover { color: var(--text); }
.bl-toc li a.is-on { color: var(--text); border-left-color: var(--bl-blue); }

.bl-prose { font-size: 18px; line-height: 1.8; color: #c8cad8; }
.bl-prose > p:first-child { font-size: 20px; color: #dfe1ec; }
.bl-prose h2 { font-size: 30px; line-height: 1.22; color: var(--text); margin: 56px 0 16px; letter-spacing: -0.02em; scroll-margin-top: 88px; }
.bl-prose h3 { font-size: 22px; color: var(--text); margin: 34px 0 10px; scroll-margin-top: 88px; }
.bl-prose p { margin: 0 0 20px; }
.bl-prose a { color: var(--bl-blue); text-decoration: underline; text-decoration-color: rgba(56, 189, 248, 0.35); text-underline-offset: 3px; }
.bl-prose a:hover { color: #fff; text-decoration-color: var(--bl-blue); }
.bl-prose ul, .bl-prose ol { padding-left: 24px; margin: 0 0 22px; }
.bl-prose li { margin: 8px 0; padding-left: 4px; }
.bl-prose li::marker { color: var(--bl-green); }
.bl-prose strong { color: var(--text); }
.bl-prose blockquote { margin: 28px 0; padding: 18px 22px; border-radius: 14px; background: linear-gradient(90deg, rgba(52, 211, 153, 0.08), rgba(56, 189, 248, 0.04)); border: 1px solid rgba(52, 211, 153, 0.2); color: #d8f3ea; }
.bl-prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.86em; padding: 2px 7px; border-radius: 6px; background: #10131e; border: 1px solid #22263a; color: var(--bl-green); white-space: nowrap; }
.bl-prose table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 10px 0 30px; font-size: 15px; display: block; overflow-x: auto; border: 1px solid var(--bl-line); border-radius: 14px; }
.bl-prose th, .bl-prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--bl-line); vertical-align: top; }
.bl-prose tr:last-child td { border-bottom: 0; }
.bl-prose th { color: var(--text); font-weight: 700; background: #0d1019; }
.bl-tab { margin: 10px 0 28px; padding: 18px 20px; background: #070910; border: 1px solid #1d2233; border-radius: 14px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; line-height: 1.55; color: #bfe9ff; overflow-x: auto; }
.bl-figure { margin: 32px 0; }
.bl-figure img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--bl-line); }
.bl-figure figcaption { margin-top: 10px; font-size: 14px; color: var(--text-dim); text-align: center; }
.bl-credit { display: block; margin-top: 4px; font-size: 12px; color: var(--text-dim); opacity: 0.8; }
.bl-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.bl-credit--cover { margin: 8px 4px 0; text-align: right; }

.bl-faq { display: flex; flex-direction: column; gap: 10px; }
.bl-faq details { border: 1px solid var(--bl-line); border-radius: 14px; background: var(--bl-card); padding: 0 20px; }
.bl-faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; color: var(--text); display: flex; justify-content: space-between; gap: 16px; }
.bl-faq summary::-webkit-details-marker { display: none; }
.bl-faq summary::after { content: '+'; color: var(--bl-blue); font-size: 22px; line-height: 1; }
.bl-faq details[open] summary::after { content: '−'; }
.bl-faq details p { margin: 0 0 18px; font-size: 16px; color: var(--text-muted); }

.bl-cta { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 36px 0; padding: 26px 28px; border-radius: 18px; overflow: hidden; background: radial-gradient(80% 140% at 0% 0%, rgba(56, 189, 248, 0.16), transparent 60%), radial-gradient(70% 140% at 100% 100%, rgba(52, 211, 153, 0.12), transparent 60%), #0b0d16; border: 1px solid #1f2b3a; }
.bl-cta p { margin: 0; }
.bl-cta__kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bl-green); }
.bl-cta__title { font-size: 21px; font-weight: 700; color: var(--text); line-height: 1.3; margin: 6px 0 !important; }
.bl-cta__note { font-size: 13px; color: var(--text-dim); }
.bl-prose .bl-cta a.bl-btn { color: #04121a; text-decoration: none; }

.bl-author { display: flex; gap: 16px; align-items: flex-start; margin-top: 56px; padding: 24px; border: 1px solid var(--bl-line); border-radius: 18px; background: var(--bl-card); }
.bl-author p { margin: 0; font-size: 15px; line-height: 1.6; }
.bl-author__name { font-weight: 700; color: var(--text); font-size: 17px !important; }
.bl-author__role { color: var(--bl-green); font-size: 13px !important; margin-bottom: 6px !important; }
.bl-author__bio { color: var(--text-muted); }

.bl-h2 { margin: 0 0 24px; font-size: 26px; letter-spacing: -0.02em; }
.bl-h2row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.bl-h2row a { color: var(--bl-blue); text-decoration: none; font-weight: 600; font-size: 15px; }
.bl-toolgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.bl-toolcard { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--bl-line); background: var(--bl-card); text-decoration: none; transition: border-color .15s, transform .15s; }
.bl-toolcard:hover { border-color: rgba(56, 189, 248, 0.5); transform: translateY(-2px); }
.bl-toolcard strong { color: var(--text); }
.bl-toolcard span { color: var(--text-muted); font-size: 14px; line-height: 1.5; }

@media (max-width: 1040px) {
  .bl-layout { grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 760px; }
  .bl-toc { position: static; max-height: none; margin-bottom: 12px; padding: 18px 20px; border: 1px solid var(--bl-line); border-radius: 16px; background: var(--bl-card); }
  .bl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .bl-hero { padding: 48px 0 28px; }
  .bl-featured { grid-template-columns: 1fr; gap: 18px; padding: 10px; }
  .bl-featured__body { padding: 4px 8px 12px; }
  .bl-grid { grid-template-columns: 1fr; }
  .bl-toolbar { flex-direction: column-reverse; align-items: stretch; }
  .bl-filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px; padding: 0 20px; scrollbar-width: none; }
  .bl-chip { flex-shrink: 0; }
  .bl-search { min-width: 0; }
  .bl-band__inner { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .bl-post-hero__lead { font-size: 18px; }
  .bl-cover { border-radius: 14px; aspect-ratio: 16 / 9; }
  .bl-prose { font-size: 17px; }
  .bl-prose > p:first-child { font-size: 18px; }
  .bl-prose h2 { font-size: 25px; }
  .bl-cta { flex-direction: column; align-items: stretch; }
  .bl-cta .bl-btn { justify-content: center; }
}

/* ── chord chart pages (seo/chordPages.mjs) ─────────────────────────────── */
.ch-diagram, .ch-card, .ch-shape { --chord-accent: var(--accent); --chord-line: #2c2c40; --chord-text: var(--text); --chord-muted: var(--text-muted); }
.ch-diagram { display: block; width: 100%; }
.ch-diagram svg { display: block; width: 100%; height: auto; }
.ch-sub { color: var(--accent-soft); font-weight: 500; margin: -6px 0 14px; }
.ch-notes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ch-note { display: inline-flex; flex-direction: column; align-items: center; min-width: 64px; padding: 8px 12px; border-radius: 12px; background: var(--accent-bg); border: 1px solid var(--accent-border); }
.ch-note strong { font-size: 18px; color: var(--text); }
.ch-note em { font-style: normal; font-size: 12px; color: var(--text-muted); }
.ch-help { font-size: 14px; margin: -8px 0 18px !important; }
.ch-shapes { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.ch-shapes--uke { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.ch-shapes--piano { grid-template-columns: 1fr 1fr; }
.ch-shape { margin: 0; padding: 14px 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ch-shape .ch-diagram { max-width: 140px; }
.ch-shape--piano .ch-diagram { max-width: 240px; padding: 6px 0; }
.ch-shape figcaption { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.ch-shape figcaption strong { font-size: 14px; color: var(--text); }
.ch-shape figcaption span { font-size: 12px; color: var(--text-dim); }
.ch-shape figcaption code { font-size: 13px; color: var(--text-muted); letter-spacing: 0.08em; }
.ch-split { align-items: start; }
.ch-table { border-collapse: collapse; min-width: 280px; }
.ch-table th, .ch-table td { text-align: left; padding: 8px 18px 8px 0; border-bottom: 1px solid var(--border); color: var(--text-muted); font-size: 15px; }
.ch-table th { color: var(--text-dim); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.ch-table td strong { color: var(--text); }
.ch-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ch-hero .ch-chips, .lp-hero .ch-chips { margin-top: 18px; }
.ch-chip { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text-muted); font-size: 14px; font-weight: 500; text-decoration: none; transition: border-color 0.15s, color 0.15s; }
.ch-chip:hover { border-color: var(--accent-border); color: var(--text); }
.ch-chip--on { background: var(--accent); border-color: var(--accent); color: #fff; }
.ch-chips--roots { margin-top: 16px; }
.ch-h2-gap { margin-top: 36px !important; }
.ch-row { margin-bottom: 26px; }
.ch-row h3 { margin: 0 0 10px; font-size: 18px; }
.ch-row h3 a { color: var(--text); text-decoration: none; }
.ch-row h3 a:hover { color: var(--accent-soft); }
.ch-rootgrid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.ch-rootcard strong { font-size: 20px; }
.ch-groups h2 { margin-top: 30px; }
.ch-groups h2:first-child { margin-top: 0; }
.ch-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.ch-card { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; text-decoration: none; transition: border-color 0.15s; }
.ch-card:hover { border-color: var(--accent-border); }
.ch-card strong { color: var(--text); font-size: 18px; }
.ch-card .ch-diagram { max-width: 110px; }
.ch-card__name { color: var(--text-muted); font-size: 13px; text-align: center; }
.ch-card__notes { color: var(--text-dim); font-size: 12px; }
.ch-cta-p { max-width: 560px; margin: 0 auto 20px !important; }
.ch-cta-alt { margin-top: 14px !important; font-size: 14px; }
.ch-cta-alt a { color: var(--accent-soft); }
@media (max-width: 640px) {
  .ch-shapes { grid-template-columns: repeat(2, 1fr); }
  .ch-shapes--piano { grid-template-columns: 1fr; }
  .ch-table { min-width: 0; width: 100%; }
}
