/* XLTab site — shared design system */

@font-face {
  font-family: "Inter var";
  src: url("inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0b0f17;
  --bg2: #101625;
  --card: #131a26;
  --card2: #172033;
  --line: #223047;
  --line2: #2d3d5c;
  --text: #eef2f8;
  --dim: #9aa8bd;
  --faint: #6d7d96;
  --blue: #58cc8e;
  --blue2: #107c41;
  --accent: var(--blue2);
  --green: #4ed68c;
  --orange: #f5a623;
  --radius: 14px;
  --shadow: 0 24px 70px -24px rgba(0, 0, 0, 0.65);
  --font: "Inter var", -apple-system, "Segoe UI", Roboto, sans-serif;
  --nav-bg: rgba(11, 15, 23, 0.8);
  --subnav-bg: rgba(11, 15, 23, 0.85);
  --toolbar-bg: rgba(11, 15, 23, 0.86);
  --frame-bg: #0d1320;
  --code-bg: rgba(88, 204, 142, 0.1);
  --selection-bg: rgba(111, 156, 240, 0.35);
  --button-hover: #5b8ade;
  --button-shadow: rgba(77, 127, 212, 0.55);
  --caption-shadow: rgba(0, 0, 0, 0.8);
  --glow-bg: radial-gradient(ellipse at 50% 30%, rgba(111, 156, 240, 0.22), transparent 62%);
  --cmp-us-bg: rgba(111, 156, 240, 0.07);
  --docs-hero-bg:
    radial-gradient(circle at 18% 12%, rgba(88, 204, 142, .13), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(77, 127, 212, .18), transparent 34%),
    linear-gradient(180deg, rgba(16, 22, 37, .65), rgba(11, 15, 23, 0));
  --panel-bg: linear-gradient(150deg, rgba(19, 26, 38, .92), rgba(23, 32, 51, .74));
  --chip-bg: rgba(11, 15, 23, .48);
  --card-gradient: linear-gradient(160deg, rgba(19, 26, 38, .94), rgba(17, 24, 37, .78));
  --card-gradient-hover: linear-gradient(160deg, rgba(21, 30, 43, .98), rgba(18, 28, 42, .86));
  --pill-bg: rgba(11, 15, 23, .42);
  --soft-bg: rgba(19, 26, 38, .55);
  --active-bg: rgba(88, 204, 142, .06);
  --table-bg: rgba(19, 26, 38, .58);
  --on-accent: #07110b;
  --accent-border: rgba(88, 204, 142, .42);
  --accent-border-strong: rgba(88, 204, 142, .62);
  --accent-ring: rgba(88, 204, 142, .12);
  --accent-soft: rgba(88, 204, 142, .075);
  --accent-soft-border: rgba(88, 204, 142, .32);
  --success-border: rgba(78, 214, 140, .42);
  --success-soft: rgba(78, 214, 140, .08);
  --warning-border: rgba(245, 166, 35, .48);
  --warning-soft: rgba(245, 166, 35, .075);
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f7fb;
  --bg2: #ffffff;
  --card: #ffffff;
  --card2: #edf3f8;
  --line: #d8e1ea;
  --line2: #c2d0df;
  --text: #142033;
  --dim: #526176;
  --faint: #738298;
  --blue: #087443;
  --blue2: #107c41;
  --accent: var(--blue2);
  --green: #0c814a;
  --orange: #a86500;
  --shadow: 0 24px 60px -28px rgba(29, 45, 68, 0.28);
  --nav-bg: rgba(245, 247, 251, 0.86);
  --subnav-bg: rgba(245, 247, 251, 0.9);
  --toolbar-bg: rgba(245, 247, 251, 0.9);
  --frame-bg: #e8eef5;
  --code-bg: rgba(16, 124, 65, 0.08);
  --selection-bg: rgba(16, 124, 65, 0.22);
  --button-hover: #159653;
  --button-shadow: rgba(16, 124, 65, 0.28);
  --caption-shadow: rgba(255, 255, 255, 0.85);
  --glow-bg: radial-gradient(ellipse at 50% 30%, rgba(16, 124, 65, 0.13), transparent 62%);
  --cmp-us-bg: rgba(16, 124, 65, 0.06);
  --docs-hero-bg:
    radial-gradient(circle at 18% 12%, rgba(16, 124, 65, .11), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(67, 118, 190, .12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, .78), rgba(245, 247, 251, 0));
  --panel-bg: linear-gradient(150deg, rgba(255, 255, 255, .96), rgba(238, 244, 249, .9));
  --chip-bg: rgba(255, 255, 255, .68);
  --card-gradient: linear-gradient(160deg, rgba(255, 255, 255, .98), rgba(242, 246, 250, .92));
  --card-gradient-hover: linear-gradient(160deg, rgba(255, 255, 255, 1), rgba(235, 244, 240, .95));
  --pill-bg: rgba(237, 243, 248, .72);
  --soft-bg: rgba(237, 243, 248, .68);
  --active-bg: rgba(16, 124, 65, .07);
  --table-bg: rgba(255, 255, 255, .82);
  --on-accent: #ffffff;
  --accent-border: rgba(12, 129, 74, .34);
  --accent-border-strong: rgba(12, 129, 74, .5);
  --accent-ring: rgba(12, 129, 74, .13);
  --accent-soft: rgba(12, 129, 74, .06);
  --accent-soft-border: rgba(12, 129, 74, .3);
  --success-border: rgba(12, 129, 74, .38);
  --success-soft: rgba(12, 129, 74, .065);
  --warning-border: rgba(168, 101, 0, .45);
  --warning-soft: rgba(168, 101, 0, .07);
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font: 16.5px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.wrap { max-width: 1400px; margin: 0 auto; padding: 0 36px; }
a { color: var(--blue); }
img, video { max-width: 100%; height: auto; }
code { font: 0.9em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--code-bg); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; }
::selection { background: var(--selection-bg); }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--blue2); color: #fff; padding: 10px 18px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* ── nav ─────────────────────────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 60;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
nav .wrap { display: flex; align-items: center; gap: 30px; height: 62px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 17.5px; color: var(--text); text-decoration: none; letter-spacing: -0.01em; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav-links { display: flex; gap: 24px; font-size: 14.5px; align-items: center; }
.nav-links a { color: var(--dim); text-decoration: none; transition: color 0.15s; }
.nav-links a:hover, .nav-links a.on { color: var(--text); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 8px; padding: 7px 11px; font-size: 15px; cursor: pointer; }
.theme-toggle {
  width: 34px; height: 34px; display: inline-grid; place-items: center;
  background: var(--card); border: 1px solid var(--line); color: var(--text);
  border-radius: 9px; cursor: pointer; font: 15px/1 var(--font);
  transition: border-color .15s, color .15s, background .15s;
}
.theme-toggle:hover { border-color: var(--blue); color: var(--blue); }
.theme-toggle svg { display: block; }
.theme-toggle .theme-moon { display: none; }
:root[data-theme="light"] .theme-toggle .theme-sun { display: none; }
:root[data-theme="light"] .theme-toggle .theme-moon { display: block; }


/* ── shared blocks ───────────────────────────────────────────────────── */
.eyebrow {
  color: var(--blue); font-size: 13px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px;
}
.grad {
  background: linear-gradient(95deg, var(--blue) 0%, var(--green) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
h1 { font-size: clamp(36px, 5.4vw, 58px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; }
h2 { font-size: clamp(27px, 3.4vw, 38px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
h3 { font-size: 18px; font-weight: 650; letter-spacing: -0.01em; }
.lead { color: var(--dim); font-size: clamp(16.5px, 1.8vw, 19px); max-width: 700px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 11px; font-weight: 600; font-size: 16px;
  text-decoration: none; transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
}
.btn-pri { background: var(--blue2); color: #fff; box-shadow: 0 8px 28px -8px var(--button-shadow); }
.btn-pri:hover { background: var(--button-hover); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line2); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.badge-store { height: 52px; display: block; }
.badge-store:hover { filter: brightness(1.12); }

/* full-bleed ambient backdrop behind the hero */
body::before {
  content: ""; position: fixed; inset: 0 0 auto 0; height: 62vh; z-index: -1;
  background:
    var(--glow-bg),
    radial-gradient(40% 60% at 8% 0%, var(--card2), transparent 75%);
  pointer-events: none;
}

/* window frame — neutral chrome over all app media */
.frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line2); background: var(--frame-bg);
  box-shadow: var(--shadow);
}
.frame::before { display: none; }
.frame video, .frame img { display: block; width: 100%; }
.frame figcaption {
  position: absolute; left: 14px; bottom: 10px; right: 14px;
  font-size: 12.5px; color: var(--dim); pointer-events: none;
  text-shadow: 0 1px 3px var(--caption-shadow);
}

.glow { position: relative; }
.glow::after {
  content: ""; position: absolute; inset: -8%; z-index: -1;
  background: var(--glow-bg);
  pointer-events: none;
}

/* ── home: hero ──────────────────────────────────────────────────────── */
.hero { padding: 96px 0 36px; }
.hero .row { display: grid; grid-template-columns: 6fr 6fr; gap: 40px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { margin-bottom: 30px; }
.hero-cta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero-cta .more { font-size: 15px; flex-basis: 100%; }
.facts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.fact {
  font-size: 13.5px; color: var(--dim); border: 1px solid var(--line);
  padding: 6px 14px; border-radius: 99px; background: var(--card);
}
.fact b { color: var(--green); font-weight: 600; margin-right: 2px; }

/* ── sections ────────────────────────────────────────────────────────── */
section { padding: 84px 0; }
:where(section[id]) { scroll-margin-top: 76px; }
.sec-head { margin-bottom: 40px; }

/* comparison */
.cmp {
  display: grid; grid-template-columns: 1fr auto auto; gap: 0;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--card);
}
.cmp > div { padding: 15px 22px; border-bottom: 1px solid var(--line); font-size: 15px; }
.cmp .cmp-head { background: var(--card2); font-weight: 650; font-size: 14.5px; }
.cmp .cmp-head.us { color: var(--blue); }
.cmp .us { background: var(--cmp-us-bg); color: var(--text); font-weight: 550; }
.cmp .them { color: var(--dim); min-width: 210px; }
.cmp .lbl { color: var(--dim); }
.cmp .good { color: var(--green); font-weight: 600; }
.cmp-note { color: var(--faint); font-size: 13px; margin-top: 12px; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile {
  position: relative; grid-column: span 2; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--line); background: var(--card);
  text-decoration: none; color: var(--text); display: flex; flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
}
.tile.wide { grid-column: span 4; }
.tile:hover { border-color: var(--blue); transform: translateY(-3px); }
.tile img, .tile video { display: block; width: 100%; height: auto; }
.tile:not(.wide) img, .tile:not(.wide) video { flex: 1 1 auto; min-height: 0; object-fit: cover; object-position: center; }
.tile .cap { padding: 14px 18px; margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.tile .cap b { font-size: 15.5px; }
.tile .cap span { color: var(--dim); font-size: 13px; }
.tile .cap .go { color: var(--blue); font-size: 13px; white-space: nowrap; }

/* privacy band */
.band {
  background: linear-gradient(120deg, var(--card) 0%, var(--card2) 100%);
  border: 1px solid var(--line2); border-radius: 20px;
  padding: 54px 54px; text-align: center;
}
.band .facts { justify-content: center; }

/* faq */
.faq details {
  border: 1px solid var(--line); border-radius: 12px; background: var(--card);
  margin-bottom: 12px; overflow: hidden;
}
.faq summary {
  padding: 18px 22px; cursor: pointer; font-weight: 600; font-size: 16px;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 20px; font-weight: 400; transition: transform 0.15s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 18px; color: var(--dim); font-size: 15px; max-width: 62ch; }

/* cta band */
.cta-row {
  display: flex; align-items: center; justify-content: center;
  gap: 22px; flex-wrap: wrap;
}

/* footer */
footer {
  border-top: 1px solid var(--line); margin-top: 30px;
  padding: 40px 0 52px; color: var(--dim); font-size: 14.5px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; width: 100%; }
footer a { color: var(--dim); text-decoration: none; margin-left: 20px; }
footer a:hover { color: var(--text); }

/* ── features page ───────────────────────────────────────────────────── */
.subnav {
  position: sticky; top: 62px; z-index: 40;
  background: var(--subnav-bg); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none;
}
.subnav::-webkit-scrollbar { display: none; }
.subnav .wrap { display: flex; gap: 8px; padding-top: 12px; padding-bottom: 12px; }
.subnav a {
  color: var(--dim); text-decoration: none; font-size: 13.5px; white-space: nowrap;
  border: 1px solid var(--line); padding: 5px 13px; border-radius: 99px; transition: all 0.15s;
}
.subnav a:hover { color: var(--text); border-color: var(--blue); }

.feat { padding: 66px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 130px; }
.feat:last-of-type { border-bottom: none; }
.feat .row { display: grid; grid-template-columns: 2fr 3fr; gap: 52px; align-items: center; }
.feat .row.flip { grid-template-columns: 3fr 2fr; }
.media-stack { display: grid; gap: 16px; }
.feat .row.flip > .copy { order: 2; }
.feat .num { color: var(--blue); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; margin-bottom: 10px; }
.feat h2 { font-size: 27px; margin-bottom: 12px; }
.feat .lead { font-size: 16.5px; }
.feat ul { margin: 18px 0 0; padding: 0; list-style: none; }
.feat li { position: relative; padding-left: 24px; margin: 8px 0; color: var(--dim); font-size: 14.5px; }
.feat li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.feat li b { color: var(--text); font-weight: 550; }

.moregrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(245px, 1fr)); gap: 14px; margin-top: 30px; }
.morecell { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.morecell b { display: block; margin-bottom: 5px; font-size: 15px; }
.morecell span { color: var(--dim); font-size: 13.5px; line-height: 1.5; }

.legal { padding: 72px 0 64px; }
.legal h1 { font-size: clamp(34px, 4.8vw, 50px); margin-bottom: 8px; }
.legal h2 { font-size: 24px; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--dim); font-size: 15.5px; line-height: 1.65; }
.legal p { max-width: 70ch; }
.legal ul { margin: 10px 0 0; padding-left: 22px; }
.legal li { margin: 5px 0; }
.legal a { font-weight: 550; }

/* ── responsive ──────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .nav-links {
    display: none; position: absolute; top: 62px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--bg);
    border-bottom: 1px solid var(--line); padding: 8px 28px 18px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; font-size: 16px; }
  .nav-toggle { display: block; }
}
@media (max-width: 900px) {
  .hero .row, .feat .row, .feat .row.flip { grid-template-columns: 1fr; gap: 34px; }
  .feat .row.flip > .copy { order: 0; }
  .tile, .tile.wide { grid-column: span 6; }
  .band { padding: 36px 24px; }
}
@media (max-width: 760px) {
  footer .wrap { flex-direction: column; align-items: center; text-align: center; gap: 12px; }
  footer a { margin: 0 10px; white-space: nowrap; }
  .hero { padding: 48px 0 20px; }
  section { padding: 52px 0; }
  .cmp { grid-template-columns: 1.2fr 1fr 1fr; }
  .cmp .them { min-width: 0; }
  .cmp > div { padding: 11px 12px; font-size: 13px; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  nav .wrap { gap: 14px; }
  .brand { gap: 8px; font-size: 16.5px; }
  .nav-cta { gap: 8px; }
  .nav-dl { padding: 8px 12px; }
  .theme-toggle { width: 32px; height: 32px; }
  .hero-cta { gap: 14px; }
  .facts { gap: 8px; }
  .fact { padding: 6px 10px; }
  .doc-breadcrumb { font-size: 12px; gap: 6px; }
  .doc-topic-head h1 { overflow-wrap: anywhere; }
  .doc-media figcaption { font-size: 12px; }
  .doc-table { -webkit-overflow-scrolling: touch; }
  .docs-actions .btn { width: 100%; justify-content: center; }
}

@media (max-width: 380px) {
  .brand img { width: 25px; height: 25px; }
  .brand { font-size: 15.5px; }
  .nav-dl { font-size: 13px; padding: 7px 10px; }
  .nav-toggle { padding: 6px 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile:hover, .btn-pri:hover { transform: none; }
}

.nav-dl {
  background: var(--accent); color: #fff; font-weight: 600; font-size: 14px;
  padding: 8px 18px; border-radius: 8px; white-space: nowrap; text-decoration: none;
}
.nav-dl:hover { filter: brightness(1.12); }

/* ── documentation center ────────────────────────────────────────────── */
.docs-hero {
  position: relative; overflow: hidden;
  padding: 82px 0 48px; border-bottom: 1px solid var(--line);
  background: var(--docs-hero-bg);
}
.docs-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 44px; align-items: end; }
.docs-hero h1 { max-width: 830px; margin-bottom: 20px; }
.docs-hero .lead { max-width: 720px; }
.docs-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.docs-actions .btn { padding: 12px 20px; font-size: 14.5px; }
.docs-hero-panel {
  display: grid; gap: 10px; padding: 18px;
  border: 1px solid var(--line2); border-radius: 18px;
  background: var(--panel-bg);
  box-shadow: var(--shadow);
}
.docs-hero-panel span {
  color: var(--dim); font-size: 13.5px; border: 1px solid var(--line);
  background: var(--chip-bg); border-radius: 999px; padding: 8px 12px;
}
.docs-hero-panel span:first-child { color: var(--text); font-weight: 700; border-color: var(--accent-border); }

.docs-toolbar {
  position: sticky; top: 62px; z-index: 35;
  background: var(--toolbar-bg); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.docs-toolbar .wrap { padding-top: 14px; padding-bottom: 14px; }
.docs-filter { display: flex; align-items: center; gap: 12px; max-width: 620px; }
.docs-filter span { color: var(--dim); font-size: 13px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.docs-filter input {
  width: 100%; color: var(--text); font: 15px var(--font);
  background: var(--card); border: 1px solid var(--line2); border-radius: 11px;
  padding: 11px 14px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.docs-filter input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--accent-ring); }
.docs-filter input::placeholder { color: var(--faint); }

.docs-index { padding-bottom: 60px; }
.docs-section { padding: 54px 0 34px; border-bottom: 1px solid var(--line); }
.docs-section:last-child { border-bottom: 0; }
.docs-section-head {
  display: grid; grid-template-columns: minmax(230px, .8fr) minmax(280px, 1.2fr);
  gap: 26px; align-items: end; margin-bottom: 24px;
}
.docs-section-head .eyebrow { margin-bottom: 7px; }
.docs-section-head h2 { font-size: clamp(25px, 3vw, 34px); }
.docs-section-head p { color: var(--dim); font-size: 15px; max-width: 65ch; }
.docs-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.doc-card {
  min-height: 198px; display: flex; flex-direction: column; gap: 9px;
  padding: 18px; border: 1px solid var(--line); border-radius: 15px;
  background: var(--card-gradient);
  color: var(--text); text-decoration: none;
  transition: transform .18s, border-color .18s, background .18s;
}
.doc-card:hover { transform: translateY(-3px); border-color: var(--accent-border-strong); background: var(--card-gradient-hover); }
.doc-card[hidden] { display: none; }
.doc-card-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.doc-kind, .doc-minutes, .doc-version {
  display: inline-flex; align-items: center; border-radius: 999px; font-size: 11.5px; line-height: 1;
  padding: 5px 8px; border: 1px solid var(--line); color: var(--dim); background: var(--pill-bg);
}
.doc-kind { color: var(--green); border-color: var(--accent-border); font-weight: 700; }
.doc-card b { font-size: 18px; letter-spacing: -.01em; line-height: 1.25; }
.doc-card > span:not(.doc-card-meta) { color: var(--dim); font-size: 13.8px; line-height: 1.52; }
.doc-card em { color: var(--blue); font-size: 13px; font-style: normal; margin-top: auto; }
.docs-empty {
  margin: 28px 0; padding: 22px; border: 1px dashed var(--line2); border-radius: 14px;
  color: var(--dim); background: var(--soft-bg);
}
.docs-link-list { columns: 3; gap: 30px; padding: 0; list-style: none; }
.docs-link-list li { break-inside: avoid; margin: 0 0 8px; }
.docs-link-list a { color: var(--dim); font-size: 14.5px; text-decoration: none; }
.docs-link-list a:hover { color: var(--blue); }

/* topic pages */
.doc-main { padding-top: 28px; padding-bottom: 64px; }
.doc-layout { display: grid; grid-template-columns: 230px minmax(0, 720px) 180px; gap: 42px; align-items: start; }
.doc-sidebar {
  position: sticky; top: 88px; max-height: calc(100vh - 108px); overflow: auto;
  padding-right: 4px; scrollbar-width: thin;
}
.doc-back { display: inline-block; color: var(--dim); font-size: 13.5px; text-decoration: none; margin-bottom: 16px; }
.doc-back:hover { color: var(--blue); }
.doc-side-group { margin: 0 0 22px; }
.doc-side-group > span {
  display: block; color: var(--faint); font-size: 11.5px; font-weight: 750;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 7px;
}
.doc-side-group a {
  display: block; color: var(--dim); text-decoration: none; font-size: 13.5px; line-height: 1.35;
  padding: 6px 8px 6px 12px; border-left: 2px solid transparent;
}
.doc-side-group a:hover { color: var(--text); }
.doc-side-group a.on { color: var(--green); border-left-color: var(--green); background: var(--active-bg); border-radius: 0 7px 7px 0; }
.doc-toc {
  position: sticky; top: 88px; border-left: 1px solid var(--line); padding-left: 14px;
  max-height: calc(100vh - 108px); overflow: auto;
}
.doc-toc > span { display: block; color: var(--faint); font-size: 11.5px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 9px; }
.doc-toc a { display: block; color: var(--dim); text-decoration: none; font-size: 12.8px; line-height: 1.35; margin: 8px 0; }
.doc-toc a:hover { color: var(--blue); }

.doc-article { min-width: 0; }
.doc-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--faint); font-size: 13px; margin-bottom: 24px; }
.doc-breadcrumb a { color: var(--dim); text-decoration: none; }
.doc-breadcrumb a:hover { color: var(--blue); }
.doc-breadcrumb b { color: var(--text); font-weight: 550; }
.doc-topic-head { padding-bottom: 24px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.doc-topic-head h1 { font-size: clamp(34px, 4.2vw, 48px); margin: 13px 0 12px; }
.doc-topic-head .lead { max-width: none; font-size: 17px; }
.doc-intro { color: var(--text); font-size: 17.5px; line-height: 1.72; margin-bottom: 28px; }
.doc-article h2 { font-size: 25px; letter-spacing: -.015em; margin: 42px 0 13px; scroll-margin-top: 92px; }
.doc-article h3 { font-size: 18px; margin: 30px 0 9px; scroll-margin-top: 92px; }
.doc-article p, .doc-article li { color: var(--dim); font-size: 15.5px; }
.doc-article p { margin: 13px 0; max-width: 72ch; }
.doc-article ul:not(.check-list), .doc-article ol:not(.steps) { padding-left: 23px; margin: 12px 0; }
.doc-article li { margin: 6px 0; }
.doc-article a { font-weight: 550; }
.doc-article strong, .doc-article b { color: var(--text); }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 18px 0 22px; }
.steps li { counter-increment: step; position: relative; padding-left: 42px; margin: 13px 0; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  color: var(--on-accent); background: var(--green); font-weight: 800; font-size: 12px;
}
.check-list { list-style: none; padding: 0; margin: 16px 0; }
.check-list li { position: relative; padding-left: 25px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.callout {
  border: 1px solid var(--accent-soft-border); border-left-width: 4px; border-radius: 12px;
  background: var(--accent-soft); padding: 15px 17px; margin: 20px 0;
  color: var(--dim); font-size: 14.5px;
}
.callout.success { border-color: var(--success-border); border-left-width: 4px; background: var(--success-soft); }
.callout.warning { border-color: var(--warning-border); border-left-width: 4px; background: var(--warning-soft); }
.callout b { color: var(--text); }
.doc-table {
  width: 100%; border-collapse: separate; border-spacing: 0; margin: 18px 0 24px;
  border: 1px solid var(--line); border-radius: 13px; overflow: hidden; background: var(--table-bg);
  font-size: 14px;
}
.doc-table th { text-align: left; color: var(--text); background: var(--card2); font-weight: 700; }
.doc-table th, .doc-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc-table tr:last-child td { border-bottom: 0; }
.doc-table td { color: var(--dim); line-height: 1.5; }
.doc-table td:first-child { color: var(--text); font-weight: 560; }
.doc-media { margin: 24px 0 30px; }
.doc-media figcaption {
  position: static; padding: 10px 12px 0; font-size: 12.5px; color: var(--dim);
  text-shadow: none; pointer-events: auto;
}
.doc-related { margin-top: 46px; border-top: 1px solid var(--line); padding-top: 26px; }
.doc-related h2 { margin-top: 0; }
.doc-related > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.doc-related a {
  display: block; padding: 15px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--card); text-decoration: none;
}
.doc-related a:hover { border-color: var(--blue); }
.doc-related a b { display: block; margin-bottom: 4px; }
.doc-related a span { color: var(--dim); font-size: 13px; line-height: 1.45; }
.doc-prevnext { display: flex; justify-content: space-between; gap: 14px; border-top: 1px solid var(--line); margin-top: 34px; padding-top: 20px; }
.doc-prevnext a { color: var(--blue); text-decoration: none; font-weight: 650; font-size: 14.5px; }

@media (max-width: 1080px) {
  .doc-layout { grid-template-columns: 210px minmax(0, 1fr); }
  .doc-toc { display: none; }
  .docs-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .docs-hero .wrap { grid-template-columns: 1fr; }
  .docs-hero-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .docs-section-head { grid-template-columns: 1fr; gap: 8px; }
  .docs-card-grid { grid-template-columns: 1fr; }
  .docs-link-list { columns: 1; }
  .doc-layout { display: block; }
  .doc-sidebar {
    position: static; max-height: none; margin-bottom: 26px; padding: 0 0 18px;
    border-bottom: 1px solid var(--line);
  }
  .doc-side-group { display: none; }
  .doc-filter-note { display: none; }
}
@media (max-width: 560px) {
  .docs-toolbar { position: static; }
  .docs-filter { align-items: flex-start; flex-direction: column; gap: 7px; }
  .docs-filter input { width: 100%; }
  .docs-hero-panel { grid-template-columns: 1fr; }
  .doc-related > div { grid-template-columns: 1fr; }
  .doc-table { display: block; overflow-x: auto; white-space: normal; }
}
.morecell a { font-weight: 700; white-space: nowrap; }

/* Heading anchor links + docs feedback */
.doc-article h2 .anchor{opacity:0;margin-left:10px;font-weight:500;text-decoration:none;color:var(--dim);font-size:.85em;transition:opacity .15s}
.doc-article h2:hover .anchor,.doc-article h2 .anchor:focus-visible{opacity:1}
.doc-feedback{margin-top:40px;padding:14px 18px;border:1px solid var(--line);border-radius:12px;font-size:.92rem;color:var(--dim)}
.doc-feedback a{text-decoration:underline}

/* Latest-release note under hero CTAs */
.ver-note{margin:16px 0 0;font-size:.94rem;color:var(--dim)}
.ver-note a{color:var(--accent);font-weight:600;text-decoration:none}
.ver-note a:hover{text-decoration:underline}

/* ── release notes changelog ─────────────────────────────────────────── */
.release-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  gap: 42px;
  align-items: end;
  padding: 76px 0 34px;
  border-bottom: 1px solid var(--line);
}
.release-hero h1 { max-width: 820px; margin-bottom: 18px; }
.release-hero .lead { max-width: 760px; }
.release-current-card {
  display: grid;
  gap: 6px;
  padding: 18px;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--accent-border);
  border-radius: 17px;
  background: var(--panel-bg);
  box-shadow: var(--shadow);
  transition: border-color .16s, transform .16s;
}
.release-current-card:hover { border-color: var(--accent-border-strong); transform: translateY(-2px); }
.release-current-card > span:first-child {
  color: var(--green);
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.release-current-card strong { font-size: 24px; letter-spacing: -.02em; }
.release-current-card em { color: var(--dim); font-size: 13.5px; font-style: normal; }
.release-card-link { color: var(--blue); font-size: 13.5px; font-weight: 650; margin-top: 8px; }

.release-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
  padding-top: 34px;
}
.release-nav {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 3px;
  max-height: calc(100vh - 108px);
  overflow: auto;
  scrollbar-width: thin;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}
.release-nav-title {
  padding: 0 8px 8px;
  color: var(--faint);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.release-nav a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 8px;
  color: var(--dim);
  border-radius: 8px;
  text-decoration: none;
  font-size: 13px;
  transition: background .14s, color .14s;
}
.release-nav a:hover { color: var(--text); background: var(--soft-bg); }
.release-nav a.current { color: var(--green); background: var(--active-bg); }
.release-nav a strong { font-size: 13.5px; font-weight: 700; }
.release-nav a span { color: var(--faint); font-size: 11.5px; white-space: nowrap; }
.release-nav a.current span { color: var(--green); }

.release-stream { min-width: 0; }
.release-entry {
  padding: 32px 0 38px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 92px;
}
.release-entry:last-child { border-bottom: 0; }
.release-entry-current {
  margin-bottom: 24px;
  padding: 28px;
  border: 1px solid var(--accent-border);
  border-radius: 20px;
  background: var(--panel-bg);
  box-shadow: var(--shadow);
}
.release-entry-head { max-width: 850px; margin-bottom: 8px; }
.release-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-bottom: 12px;
  color: var(--faint);
  font-size: 12.5px;
}
.release-version {
  color: var(--green);
  font-weight: 760;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.release-current-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  color: var(--green);
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  background: var(--accent-soft);
  font-size: 11.5px;
  font-weight: 700;
}
.release-entry h2 { font-size: clamp(25px, 3vw, 34px); margin: 0; }
.release-entry:not(.release-entry-current) h2 { font-size: clamp(23px, 2.4vw, 29px); }
.release-entry-body { min-width: 0; }
.release-group { margin-top: 24px; }
.release-group h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 13px;
  color: var(--text);
  font-size: 15px;
  font-weight: 720;
}
.release-group h3::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}
.release-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.release-feature {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--soft-bg);
}
.release-feature h4 { margin: 0 0 7px; font-size: 15px; letter-spacing: -.005em; }
.release-feature p { margin: 0; color: var(--dim); font-size: 14px; line-height: 1.55; }
.release-points {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.release-points li {
  position: relative;
  max-width: 88ch;
  padding-left: 18px;
  color: var(--dim);
  font-size: 14.8px;
  line-height: 1.55;
}
.release-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.release-points li b, .release-points li strong { color: var(--text); font-weight: 650; }
.release-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 54px 0 8px;
  padding: 30px;
  border: 1px solid var(--line2);
  border-radius: 18px;
  background: var(--card-gradient);
}
.release-cta .eyebrow { margin-bottom: 8px; }
.release-cta h2 { font-size: clamp(24px, 2.8vw, 32px); }
.release-cta a { flex: 0 0 auto; }

@media (max-width: 980px) {
  .release-hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 62px 0 28px;
  }
  .release-current-card { max-width: 360px; }
  .release-layout { grid-template-columns: 1fr; gap: 20px; padding-top: 22px; }
  .release-nav {
    top: 62px;
    z-index: 30;
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 8px;
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  .release-nav::-webkit-scrollbar { display: none; }
  .release-nav-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .release-nav a { flex: 0 0 auto; border: 1px solid var(--line); padding: 7px 10px; }
  .release-nav a span { display: none; }
  .release-nav a.current span { display: inline; }
  .release-entry { scroll-margin-top: 124px; }
  .release-entry-current { padding: 22px; }
  .release-feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .release-hero { padding: 44px 0 24px; }
  .release-hero h1 { margin-bottom: 14px; }
  .release-current-card { display: none; }
  .release-current-card strong { font-size: 21px; }
  .release-entry { padding: 26px 0 30px; }
  .release-entry-current { padding: 18px; border-radius: 16px; }
  .release-entry h2 { font-size: 24px; }
  .release-meta { gap: 6px 8px; font-size: 11.5px; }
  .release-points li { font-size: 14px; }
  .release-cta { align-items: flex-start; flex-direction: column; padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .release-current-card:hover { transform: none; }
}

/* ── editorial blog ──────────────────────────────────────────────────── */
.blog-index-main { padding-bottom: 64px; }
.blog-index-hero {
  max-width: 860px;
  padding: 76px 0 36px;
  border-bottom: 1px solid var(--line);
}
.blog-index-hero h1 { margin-bottom: 18px; }
.blog-index-hero .lead { max-width: 780px; }
.blog-index-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
  padding-top: 34px;
}
.blog-feature-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  min-height: 360px;
  overflow: hidden;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--line2);
  border-radius: 20px;
  background: var(--card-gradient);
  box-shadow: var(--shadow);
  transition: border-color .18s, transform .18s;
}
.blog-feature-card:hover { border-color: var(--accent-border-strong); transform: translateY(-2px); }
.blog-card-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px;
}
.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--faint);
  font-size: 12.5px;
}
.blog-card-meta span:first-child {
  color: var(--green);
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.blog-card-copy h2 {
  max-width: 640px;
  margin-bottom: 14px;
  font-size: clamp(29px, 3.6vw, 42px);
}
.blog-card-copy p {
  max-width: 620px;
  color: var(--dim);
  font-size: 16.5px;
  line-height: 1.62;
}
.blog-read-link {
  margin-top: auto;
  padding-top: 22px;
  color: var(--blue);
  font-weight: 700;
  font-size: 14.5px;
}
.blog-card-media {
  margin: 0;
  border-left: 1px solid var(--line);
  background: var(--card2);
}
.blog-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
}
.blog-series-note {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--soft-bg);
}
.blog-series-note h2 { font-size: 24px; margin-bottom: 12px; }
.blog-series-note p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--dim);
  font-size: 14.5px;
  line-height: 1.62;
}

/* article */
.post-main { padding: 32px 24px 72px; }
.post-article { max-width: 760px; margin: 0 auto; }
.post-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--faint);
  font-size: 13px;
  margin-bottom: 42px;
}
.post-breadcrumb a { color: var(--dim); text-decoration: none; }
.post-breadcrumb a:hover { color: var(--blue); }
.post-breadcrumb b { color: var(--text); font-weight: 550; }
.post-hero { padding-bottom: 28px; }
.post-hero .eyebrow { margin-bottom: 16px; }
.post-hero h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(42px, 6vw, 68px);
  line-height: .98;
  letter-spacing: -.045em;
}
.post-dek {
  max-width: 730px;
  margin: 0 0 24px;
  color: var(--dim);
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.48;
}
.post-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  padding: 14px 0;
  color: var(--faint);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.post-byline span:first-child { color: var(--text); font-weight: 650; }
.post-cover {
  position: relative;
  left: 50%;
  width: min(1080px, calc(100vw - 48px));
  margin: 30px 0 46px;
  transform: translateX(-50%);
}
.post-cover figcaption {
  position: static;
  padding: 10px 4px 0;
  color: var(--faint);
  font-size: 13px;
  line-height: 1.45;
  text-shadow: none;
  pointer-events: auto;
}
.post-body {
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.78;
}
.post-body p { margin: 0 0 28px; }
.post-body .post-lede { font-size: 22px; line-height: 1.65; }
.post-body h2 {
  margin: 54px 0 18px;
  font: 700 clamp(27px, 3.4vw, 34px)/1.18 var(--font);
  letter-spacing: -.025em;
  scroll-margin-top: 90px;
}
.post-body h3 {
  margin: 32px 0 12px;
  font: 700 20px/1.3 var(--font);
  letter-spacing: -.015em;
}
.post-body a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.post-body b, .post-body strong { font-weight: 700; }
.post-body code { font-size: .82em; }
.post-body blockquote {
  margin: 50px 0;
  padding: 4px 0 4px 26px;
  border-left: 3px solid var(--green);
}
.post-body blockquote p {
  margin: 0;
  color: var(--text);
  font-size: clamp(25px, 3.2vw, 31px);
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: -.02em;
}
.post-factbox {
  margin: 42px 0;
  padding: 21px 22px;
  color: var(--dim);
  border: 1px solid var(--line2);
  border-radius: 15px;
  background: var(--soft-bg);
  font: 15px/1.6 var(--font);
}
.post-factbox h3 {
  margin: 0 0 11px;
  color: var(--text);
  font-size: 15px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.post-factbox ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.post-factbox li { position: relative; padding-left: 18px; }
.post-factbox li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.post-next {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin-top: 58px;
  padding: 24px;
  border: 1px solid var(--line2);
  border-radius: 17px;
  background: var(--card-gradient);
  font-family: var(--font);
}
.post-next-label {
  display: block;
  margin-bottom: 7px;
  color: var(--green);
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.post-next h2 { margin: 0; font-size: 25px; }
.post-next-links {
  display: grid;
  gap: 8px;
  min-width: 245px;
}
.post-next-links a {
  display: block;
  padding: 10px 12px;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--soft-bg);
  font-size: 14px;
  font-weight: 650;
}
.post-next-links a:hover { border-color: var(--accent-border-strong); color: var(--green); }

@media (max-width: 980px) {
  .blog-index-layout { grid-template-columns: 1fr; }
  .blog-series-note { max-width: 680px; }
}

@media (max-width: 720px) {
  .blog-index-hero { padding: 54px 0 28px; }
  .blog-feature-card, .blog-secondary-card { grid-template-columns: 1fr; min-height: 0; }
  .blog-secondary-card > img { height: 160px; border-top: 1px solid var(--line); border-left: 0; }
  .blog-card-copy { padding: 24px; }
  .blog-card-media { height: 220px; border-top: 1px solid var(--line); border-left: 0; }
  .post-main { padding-top: 24px; }
  .post-breadcrumb { margin-bottom: 30px; }
  .post-hero h1 { font-size: clamp(38px, 11vw, 50px); }
  .post-cover { width: calc(100vw - 30px); margin-bottom: 36px; }
  .post-body { font-size: 18px; line-height: 1.74; }
  .post-body .post-lede { font-size: 20px; }
  .post-next { grid-template-columns: 1fr; }
  .post-next-links { min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .blog-feature-card:hover { transform: none; }
}

/* multi-story blog index */
.blog-story-stack { display: grid; gap: 18px; min-width: 0; }
.blog-previous .eyebrow { margin: 2px 0 8px 4px; }
.blog-secondary-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 154px;
  min-height: 154px;
  overflow: hidden;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--soft-bg);
  transition: border-color .18s, transform .18s;
}
.blog-secondary-card:hover { border-color: var(--accent-border-strong); transform: translateY(-1px); }
.blog-secondary-copy { padding: 18px 20px; }
.blog-secondary-copy .blog-card-meta { margin-bottom: 10px; font-size: 11.5px; }
.blog-secondary-copy h3 { margin-bottom: 7px; font-size: 22px; letter-spacing: -.02em; }
.blog-secondary-copy p {
  margin: 0;
  color: var(--dim);
  font-size: 14px;
  line-height: 1.5;
}
.blog-secondary-copy .blog-read-link { display: inline-block; padding-top: 10px; font-size: 13px; }
.blog-secondary-card > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  border-left: 1px solid var(--line);
}
.blog-previous { display: grid; gap: 14px; align-content: start; }

/* inline editorial figure inside the reading column */
.post-inline {
  margin: 34px 0 38px;
}
.post-inline img, .post-inline video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.post-inline figcaption {
  position: static;
  padding: 10px 10px 12px;
  color: var(--faint);
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.45;
  text-shadow: none;
  pointer-events: auto;
}

/* wide inline editorial figure for dense product captures */
.post-inline-wide {
  position: relative;
  left: 50%;
  width: min(1020px, calc(100vw - 48px));
  margin: 36px 0 42px;
  transform: translateX(-50%);
}
.post-inline-wide img, .post-inline-wide video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.post-inline-wide figcaption {
  position: static;
  padding: 10px 10px 12px;
  color: var(--faint);
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.45;
  text-shadow: none;
  pointer-events: auto;
}

/* series reading order */
.blog-series-order {
  margin: 14px 0 0;
  padding-left: 22px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.9;
}
.blog-series-order a { color: inherit; text-decoration: none; }
.blog-series-order a:hover { color: var(--text); }
.blog-series-order b { color: var(--text); font-weight: 650; }

/* silent product loops */
.loop-video { aspect-ratio: 16 / 10; background: #f4f4f1; }
