/* Layout concept: all-white pages with light tint bands; the official ElevateActual mark is the one recurring graphic. Single light theme by choice. */
:root {
  color-scheme: light;
  --paper: #ffffff;
  --paper-2: #f4f7fc;
  --fg: #15213b;
  --muted: #56627a;
  --line: #d9e1ec;
  --navy: #1e4894;
  --navy-2: #16356e;
  --blue: #1e4894;
  --sky: #2e75b6;
  --ice: #d5e8f0;
  --on-band: #ffffff;
  --on-band-muted: #c4d2ea;
  --flag-bg: #fff1c2;
  --flag-fg: #6b4e00;
  --card: #ffffff;
  --shadow: 0 1px 2px rgba(19, 33, 74, .06), 0 12px 32px -12px rgba(19, 33, 74, .18);
  --f-display: "Open Sans", "Segoe UI", system-ui, sans-serif;
  --f-body: "Open Sans", "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", Consolas, "SFMono-Regular", monospace;
  --wrap: 1180px;
  --r: 10px;
}

* { box-sizing: border-box; }
body { background: var(--paper); color: var(--fg); font: 400 17px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.eyebrow { font: 600 .74rem/1.2 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.stack { display: grid; gap: 18px; }
.flag { display: inline-block; font: 600 .72rem/1.4 var(--f-mono); letter-spacing: .02em; background: var(--flag-bg); color: var(--flag-fg); padding: 2px 8px; border-radius: 4px; vertical-align: middle; }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 26px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a, .nav .drop > button { font: 600 .92rem/1 var(--f-body); color: var(--fg); text-decoration: none; padding: 10px 12px; border-radius: 8px; background: none; border: 0; cursor: pointer; }
.nav > a:hover, .nav .drop > button:hover, .nav a[aria-current="page"] { background: var(--paper-2); color: var(--blue); }
.drop { position: relative; }
.drop-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 300px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 8px; display: none; }
.drop:hover .drop-menu, .drop:focus-within .drop-menu { display: grid; }
.drop-menu a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--fg); }
.drop-menu a:hover { background: var(--paper-2); }
.drop-menu strong { font-size: .95rem; }
.drop-menu span { font-size: .82rem; color: var(--muted); }
.btn { display: inline-flex; align-items: center; gap: 8px; font: 700 .95rem/1 var(--f-body); padding: 14px 20px; border-radius: 8px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--navy); }
.btn-ghost { border-color: currentColor; color: var(--blue); background: transparent; }

.nav .btn { margin-left: 8px; padding: 11px 16px; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font: 600 .9rem var(--f-body); color: var(--fg); }
@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px)); }
  .nav.open { display: flex; }
  .drop-menu { position: static; display: grid; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
}

/* Bands */
section { padding-block: clamp(56px, 8vw, 104px); }
.band { background: var(--paper); color: var(--fg); position: relative; overflow: hidden; }
.band.alt { background: var(--paper-2); }
.band h1, .band h2 { color: #14244d; }
.tint { background: var(--paper-2); }
.section-head { display: grid; gap: 14px; margin-bottom: 40px; max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }

/* Hero */
.hero { padding-block: clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero .copy { display: grid; gap: 22px; min-width: 0; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero .media { min-width: 0; position: relative; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } }
.mark-art { position: absolute; right: -6%; top: 50%; transform: translateY(-50%); width: min(62vw, 760px); height: auto; pointer-events: none; opacity: .07; }
.mark-art.cta-mark { opacity: .1; right: -4%; width: min(55vw, 620px); }
.hero .wrap, .cta .wrap { position: relative; z-index: 1; }

/* Device frames */
.browser { border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 24px 50px -24px rgba(20, 40, 90, .35), 0 0 0 1px var(--line); }
.browser .bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #e9eef6; }
.browser .bar i { width: 10px; height: 10px; border-radius: 50%; background: #c3cddd; display: block; }
.browser .bar span { margin-left: 10px; flex: 1; min-width: 0; font: 500 .72rem/1 var(--f-mono); color: #4a5872; background: #fff; border-radius: 6px; padding: 6px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phone { width: min(240px, 100%); border-radius: 34px; padding: 10px; background: #0e1a38; box-shadow: 0 30px 60px -20px rgba(4, 12, 34, .55); }
.phone img { border-radius: 26px; }
.phones { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; }
figure { margin: 0; }
figcaption { font-size: .88rem; color: var(--muted); margin-top: 12px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 8px 28px; border-left: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { font: 800 clamp(2.4rem, 4vw, 3.4rem)/1 var(--f-display); color: var(--blue); font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.stat span { font-weight: 700; }
.stat small { color: var(--muted); font-size: .88rem; line-height: 1.45; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr 1fr; row-gap: 28px; } .stat:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } .stat { border-left: 0; padding-left: 0; } }

/* Cards */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.card p { color: var(--muted); font-size: .97rem; }
.card .more { font-weight: 700; text-decoration: none; margin-top: 4px; }
.card .more::after { content: " \2192"; }
a.card { text-decoration: none; color: inherit; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
a.card:hover { border-color: var(--sky); transform: translateY(-2px); box-shadow: var(--shadow); }
.icon { width: 44px; height: 44px; border-radius: 10px; background: var(--ice); color: var(--blue); display: grid; place-items: center; }
.icon svg { width: 22px; height: 22px; }
.tag { font: 600 .7rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }


/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split > * { min-width: 0; }
.split.rev > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }

/* Lists */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; }
.checks li::before { content: ""; width: 22px; height: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='66 12 82 120'%3E%3Cg fill='%231E4894'%3E%3Cpolygon points='126,16.5 69.3,84 92,84 126.5,43 144.7,63.1 144.7,37.1'/%3E%3Cpolygon points='92.8,127.5 127.3,86.4 144.7,105.6 144.7,79.7 126.8,59.9 70.1,127.5'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat; margin-top: 3px; }

/* Steps: a real sequence */
.steps { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 0; counter-reset: s; position: relative; }
.step { padding: 0 20px 0 0; display: grid; gap: 10px; align-content: start; position: relative; min-width: 0; }
.step::before { counter-increment: s; content: counter(s); width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font: 700 .95rem var(--f-mono); position: relative; z-index: 1; }
.step::after { content: ""; position: absolute; top: 20px; left: 40px; right: 0; height: 2px; background: var(--line); }
.step:last-child::after { display: none; }
.step p { color: var(--muted); font-size: .95rem; }

@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 24px; } .step { grid-template-columns: 40px 1fr; column-gap: 16px; padding: 0; } .step::before { grid-row: span 2; } .step::after { display: none; } }

/* Record chain: the Salesforce records a purchase creates */
.chain { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 14px; }
.chain .node { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: grid; gap: 6px; position: relative; min-width: 0; }
.chain .node code { font: 600 .82rem/1.3 var(--f-mono); color: var(--blue); word-break: break-word; }
.chain .node p { font-size: .9rem; color: var(--muted); }
.chain .node:not(:last-child)::after { content: ""; position: absolute; right: -12px; top: 50%; width: 10px; height: 10px; border-top: 2px solid var(--sky); border-right: 2px solid var(--sky); transform: translateY(-50%) rotate(45deg); }
@media (max-width: 860px) { .chain { grid-template-columns: 1fr; } .chain .node:not(:last-child)::after { right: auto; left: 24px; top: auto; bottom: -12px; transform: rotate(135deg); } }

/* Quote */
.quote { display: grid; gap: 22px; max-width: 880px; }
.quote blockquote { margin: 0; font: 700 clamp(1.6rem, 3.2vw, 2.5rem)/1.25 var(--f-display); letter-spacing: -0.02em; color: #14244d; }
.quote blockquote::before { content: "\201C"; display: block; font-size: 5rem; line-height: .6; color: var(--blue); margin-bottom: 18px; }
.quote cite { font-style: normal; color: var(--muted); }

/* Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: .96rem; }
th, td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--blue); color: #fff; font-weight: 700; }
tbody th { font-weight: 700; width: 18%; }
tbody tr:last-child > * { border-bottom: 0; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::after { content: "+"; font: 600 1.3rem/1 var(--f-mono); color: var(--blue); }
details[open] summary::after { content: "\2212"; }
details p { margin-top: 10px; color: var(--muted); }

/* CTA */
.cta { background: var(--paper-2); color: var(--fg); position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.cta .wrap { display: grid; gap: 20px; justify-items: start; }
.cta h2 { color: #14244d; max-width: 20ch; }
.cta p { color: var(--muted); max-width: 58ch; font-size: 1.1rem; }
.cta .ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.gallery .browser .bar span { font-size: .66rem; }
@media (max-width: 960px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .gallery { grid-template-columns: 1fr; } }

/* People */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.people.small { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .people, .people.small { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .people, .people.small { grid-template-columns: 1fr; } }
.person { display: grid; gap: 12px; align-content: start; }
.person img { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; background: var(--ice); }
.people.small .person img { width: 96px; height: 96px; }
.person .role { color: var(--blue); font-weight: 600; font-size: .92rem; }
.person p { color: var(--muted); font-size: .95rem; }

/* Case grid, timeline */
.case { gap: 14px; }
.case h3 { font-size: 1.15rem; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-left: 2px solid var(--line); }
.timeline li { padding: 0 0 28px 24px; position: relative; display: grid; gap: 4px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); }
.timeline time { font: 600 .78rem var(--f-mono); color: var(--blue); letter-spacing: .06em; text-transform: uppercase; }

/* Form */
form { display: grid; gap: 14px; }
label { font-weight: 600; font-size: .92rem; display: grid; gap: 6px; }
input, textarea, select { font: inherit; padding: 12px 14px; border-radius: 8px; border: 1px solid var(--line); background: var(--paper); color: var(--fg); width: 100%; }
.note { font-size: .88rem; color: var(--muted); }
.form-msg { padding: 12px 14px; border-radius: 8px; background: var(--ice); font-size: .92rem; }

/* Footer */
.site-foot { background: var(--paper); color: var(--muted); padding-block: 64px 40px; font-size: .92rem; border-top: 1px solid var(--line); }
.site-foot .cols { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px 24px; }
@media (max-width: 1100px) { .site-foot .cols { grid-template-columns: repeat(3, 1fr); } .site-foot .cols > :first-child { grid-column: 1 / -1; } }
@media (max-width: 860px) { .site-foot .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .site-foot { padding-block: 40px 28px; } .site-foot .cols { grid-template-columns: 1fr 1fr; gap: 24px 20px; } .site-foot .cols > :first-child { grid-column: 1 / -1; } .site-foot h4 { margin-bottom: 10px; } .site-foot ul { gap: 6px; } .site-foot .legal { margin-top: 28px; } }
.site-foot h4 { color: #14244d; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; font-family: var(--f-mono); }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-foot a { color: var(--muted); text-decoration: none; }
.site-foot a:hover { color: var(--blue); }
.site-foot .logo-foot { height: 26px; width: auto; margin-bottom: 16px; }
.site-foot .legal { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.mock-ribbon { background: var(--flag-bg); color: var(--flag-fg); text-align: center; font: 600 .76rem/1.4 var(--f-mono); padding: 6px 16px; }

/* Motion */
@keyframes rise { from { transform: translateY(12px); } to { transform: none; } }
.hero .copy > * { animation: rise .6s ease both; }
.hero .copy > :nth-child(2) { animation-delay: .05s; }
.hero .copy > :nth-child(3) { animation-delay: .1s; }
.hero .copy > :nth-child(4) { animation-delay: .15s; }
@keyframes drift { from { transform: translateY(-50%); } to { transform: translateY(calc(-50% - 12px)); } }
.mark-art { animation: drift 7s ease-in-out infinite alternate; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* Long-form policy pages */
.prose { max-width: 72ch; display: grid; gap: 16px; }
.prose h2 { font-size: 1.45rem; margin-top: 20px; }
.prose ul { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.policy-hero { padding-block: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.policy-hero .wrap { display: grid; gap: 16px; position: relative; z-index: 1; }

/* Loom walkthroughs */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .video-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .video-grid { grid-template-columns: 1fr; } }
.video-card { display: grid; gap: 12px; align-content: start; }
.video, .video-embed { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #13214a; box-shadow: 0 24px 50px -24px rgba(20, 40, 90, .35), 0 0 0 1px var(--line); }
.video img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.video:hover img { transform: scale(1.03); }
.video .play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(255,255,255,.95); box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.video .play::after { content: ""; position: absolute; left: 26px; top: 20px; border-left: 18px solid var(--blue); border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card figcaption { margin: 0; display: grid; gap: 4px; }
.video-card figcaption strong { color: #14244d; font-size: 1rem; }
.video-card figcaption span { color: var(--muted); font-size: .9rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.person .certs { font-size: .86rem; color: var(--muted); }
.person .certs strong { color: #14244d; font-weight: 600; }

/* Mobile sweep fixes */
.step .more { font-weight: 700; font-size: .9rem; text-decoration: none; }
.step .more::after { content: " \2192"; }
@media (max-width: 860px) {
  .step > * { grid-column: 2; }
  .nav.open { max-height: calc(100vh - 68px - env(safe-area-inset-top, 0px)); overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .nav .drop-menu span { display: none; }
  .nav .drop-menu a { padding: 8px 12px; }
  .nav .drop > button { pointer-events: none; color: var(--muted); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; padding-top: 14px; }
}
.accel-cards { display: none; }
@media (max-width: 620px) {
  .accel-table { display: none; }
  .accel-cards { display: grid; gap: 16px; }
  .accel-cards dl { margin: 0; display: grid; gap: 10px; }
  .accel-cards dt { font: 600 .7rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
  .accel-cards dd { margin: 2px 0 0; color: var(--muted); font-size: .95rem; }
}

.nav > a.btn-primary, .nav > a.btn-primary:hover { background: var(--blue); color: #fff; padding: 11px 16px; }
.nav > a.btn-primary:hover { background: var(--navy-2); }

/* Long-form content pages */
.article-hero .copy { max-width: 860px; }
.article-hero .lede { max-width: 70ch; }
.byline { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.byline img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--ice); }
.byline > div { display: grid; }
.byline strong { font-size: 1rem; }
.byline a { color: inherit; text-decoration: none; }
.byline a:hover strong { color: var(--blue); }
.byline span, .byline .dates { color: var(--muted); font-size: .9rem; }
.byline .dates { margin-left: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { display: inline-block; font: 600 .74rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--blue); background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; }
button.chip { cursor: pointer; }
button.chip.on, button.chip:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -10px 0 28px; }
.article-section { padding-block: clamp(40px, 5vw, 72px); }
.article-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: start; }
.toc { position: sticky; top: 92px; display: grid; gap: 14px; }
.toc ol { margin: 0; padding-left: 18px; display: grid; gap: 8px; font-size: .92rem; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--blue); text-decoration: underline; }
.toc-card { margin-top: 10px; gap: 12px; }
.toc-card .btn { justify-self: start; }
.article-body { max-width: 76ch; gap: 18px; font-size: 1.05rem; }
.article-body .summary { font-size: 1.2rem; line-height: 1.55; color: var(--fg); border-left: 4px solid var(--blue); padding: 6px 0 6px 18px; margin-bottom: 8px; }
.article-body h2 { font-size: 1.7rem; margin-top: 30px; scroll-margin-top: 92px; }
.article-body h3 { font-size: 1.22rem; margin-top: 14px; scroll-margin-top: 92px; }
.article-body ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.article-body li::marker { color: var(--blue); font-weight: 700; }
.article-body table { min-width: 560px; font-size: .93rem; }
.article-body th, .article-body td { padding: 12px 14px; }
.article-body tbody th { width: auto; }
.article-body details { padding: 14px 0; }
.article-body code { font: 600 .9em var(--f-mono); background: var(--paper-2); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; color: var(--navy-2); }
.article-body blockquote { margin: 8px 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--sky); font: 600 1.15rem/1.45 var(--f-display); color: #14244d; }
.article-body a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.facts { border: 1px solid var(--line); border-radius: var(--r); background: var(--paper-2); padding: 20px 22px; margin-bottom: 10px; }
.facts dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px 24px; }
.facts dt { font: 600 .7rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
.facts dd { margin: 0; font-size: .95rem; }
.author-box { display: flex; gap: 24px; align-items: flex-start; max-width: 860px; }
.author-box img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--ice); }
.author-box > div { display: grid; gap: 8px; }
.author-box .role { color: var(--blue); font-weight: 600; font-size: .92rem; }
.card.post { gap: 10px; }
.card.post h3 { font-size: 1.08rem; line-height: 1.3; }
.card.post .post-meta { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); margin-top: auto; }
.card.post .post-meta img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.post-wrap { display: grid; min-width: 0; }
.post-wrap[hidden] { display: none; }
@media (max-width: 960px) {
  .article-layout { grid-template-columns: 1fr; gap: 28px; }
  .toc { position: static; }
  .toc-card { display: none; }
  .byline .dates { margin-left: 0; flex-basis: 100%; }
}
@media (max-width: 620px) { .author-box { flex-direction: column; } .article-body { font-size: 1rem; } }

.article-hero h1 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
