/* ── EduPango blog — editorial system (shared) ────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --yellow: #FFD159; --green: #B2EAB1; --blue: #99d5ff; --pink: #FFB6C1;
  --line-accent: #000000;
  --font: 'Montserrat', sans-serif;
  --serif: 'Montserrat', sans-serif;
  --bg: #EFEFEF; --surface: #FFFFFF; --text: #14130F;
  --muted: rgba(20,19,15,0.60); --faint: rgba(20,19,15,0.32);
  --line: rgba(20,19,15,0.14); --line-soft: rgba(20,19,15,0.07);
  --shadow: rgba(20,19,15,0.92);
}
[data-theme="dark"] {
  --bg: #161513; --surface: #1F1E1B; --text: #F1EFEA;
  --muted: rgba(241,239,234,0.60); --faint: rgba(241,239,234,0.30);
  --line: rgba(241,239,234,0.16); --line-soft: rgba(241,239,234,0.07);
  --shadow: rgba(0,0,0,0.85);
  --line-accent: #EFEFEF;
}

html { scroll-behavior: smooth; }
@keyframes ep-fade-in { from { opacity: 0; } to { opacity: 1; } }
body {
  font-family: var(--font); background: var(--bg); color: var(--text);
  overflow-x: clip; -webkit-font-smoothing: antialiased; line-height: 1.5;
  transition: background 0.3s, color 0.3s;
  min-height: 100vh; display: flex; flex-direction: column;
  animation: ep-fade-in 0.22s ease both;
}
body.ep-leaving { opacity: 0 !important; transition: opacity 0.18s ease !important; animation: none !important; }
main { flex: 1; }
::selection { background: rgba(128,128,128,0.35); }
a { color: inherit; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 32px; }
.measure { max-width: 680px; margin: 0 auto; padding: 0 32px; }

.mark { background: var(--yellow); color: #000; padding: 0 .18em; border-radius: 3px;
  box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.boxed, .boxed-acc, .boxed-dat, .boxed-gen, .boxed-suffix, .boxed-dual, .boxed-dat-verb, .boxed-acc-verb, .boxed-verb {
  display: inline-block; color: #000;
  border: none; border-radius: .26em;
  box-shadow: .12em .12em 0 #000;
  padding: .05em .28em .1em; line-height: 1.05; font-weight: 700; font-size: .88em;
  margin-right: .2em; margin-bottom: .14em; }
.box-arrow { color: var(--faint); font-weight: 700; margin: 0 .15em; font-size: .9em; }
.box-plus  { color: var(--faint); font-weight: 700; margin: 0 .15em; font-size: .9em; }
.box-check { color: var(--faint); font-weight: 700; margin: 0 .15em; font-size: .9em; }
.box-cross { color: var(--faint); font-weight: 700; margin: 0 .15em; font-size: .9em; }
.box-dot   { color: var(--faint); font-weight: 700; margin: 0 .15em; font-size: .9em; }
.box-slash { color: var(--faint); font-weight: 700; margin: 0 .15em; font-size: .9em; }
.box-equals { color: var(--faint); font-weight: 700; margin: 0 .15em; font-size: .9em; }
.box-note   { color: var(--faint); font-weight: 700; margin: 0 .15em; font-size: .9em; }
.boxed        { background: var(--yellow); } /* nominative */
.boxed-acc    { background: var(--green);  } /* accusative */
.boxed-dat    { background: var(--blue);   } /* dative */
.boxed-suffix { background: #E0E0E0; box-shadow: .12em .12em 0 #888; color: #333; margin-right: .18em; } /* suffix label — matches article title style exactly */
.boxed-gen    { background: #ff99cc; } /* genitive */
.boxed-dual   { background: linear-gradient(90deg, var(--green), var(--blue)); } /* acc + dat */
.article-der  { display: inline-block; color: #000; border: none; border-radius: .26em; box-shadow: inset 0 0 0 .07em #000, .12em .12em 0 #000; padding: .05em .28em .1em; line-height: 1.05; font-weight: 700; font-size: .88em; margin-right: .18em; background: linear-gradient(90deg, var(--yellow) 0%, var(--blue) 50%, #ff99cc 100%); } /* der: nom + dat + gen */
.article-die  { display: inline-block; color: #000; border: none; border-radius: .26em; box-shadow: inset 0 0 0 .07em #000, .12em .12em 0 #000; padding: .05em .28em .1em; line-height: 1.05; font-weight: 700; font-size: .88em; margin-right: .18em; background: linear-gradient(90deg, var(--yellow), var(--green)); } /* die: nom + acc */
.article-das  { display: inline-block; color: #000; border: none; border-radius: .26em; box-shadow: inset 0 0 0 .07em #000, .12em .12em 0 #000; padding: .05em .28em .1em; line-height: 1.05; font-weight: 700; font-size: .88em; margin-right: .18em; background: linear-gradient(90deg, var(--yellow), var(--green)); } /* das: nom + acc */
.article-den  { display: inline-block; color: #000; border: none; border-radius: .26em; box-shadow: inset 0 0 0 .07em #000, .12em .12em 0 #000; padding: .05em .28em .1em; line-height: 1.05; font-weight: 700; font-size: .88em; margin-right: .18em; background: linear-gradient(90deg, var(--green), var(--blue)); } /* den: acc + dat */
.boxed-dat-verb { background: #b8e4ff; } /* dative-requiring verb, lighter blue */
.boxed-acc-verb { background: #c3f0b4; } /* accusative-requiring verb, slightly lighter green */
.boxed-verb   { background: #ffdc7a; } /* copula sein/werden/bleiben, slightly lighter yellow */
/* lighter strokes for boxes inside body text */
.art-body .boxed-suffix { box-shadow: .10em .10em 0 #888; }
.art-body .boxed, .art-body .boxed-acc, .art-body .boxed-dat, .art-body .boxed-gen, .art-body .boxed-dual, .art-body .boxed-dat-verb, .art-body .boxed-acc-verb, .art-body .boxed-verb {
  box-shadow: .10em .10em 0 #000; }

/* extra breathing room when multiple boxed terms wrap inside a heading */
.art-title .boxed, .art-title .boxed-acc, .art-title .boxed-dat, .art-title .boxed-gen, .art-title .boxed-suffix, .art-title .boxed-dual, .art-title .boxed-dat-verb, .art-title .boxed-acc-verb, .art-title .boxed-verb,
.post-t .boxed, .post-t .boxed-acc, .post-t .boxed-dat, .post-t .boxed-gen, .post-t .boxed-suffix, .post-t .boxed-dual, .post-t .boxed-dat-verb, .post-t .boxed-acc-verb, .post-t .boxed-verb {
  margin: .14em .3em .14em .06em; }
/* match hero h1 style: clean fill + outer shadow only, no inset border */
.post-t .boxed, .post-t .boxed-acc, .post-t .boxed-dat, .post-t .boxed-gen, .post-t .boxed-dual, .post-t .boxed-dat-verb, .post-t .boxed-acc-verb, .post-t .boxed-verb {
  box-shadow: .08em .08em 0 #000;
  border-radius: .20em; }
/* preview-card grey suffix box: keep identical to article style (box-shadow .12em .12em 0 #888, border-radius .26em from base .boxed-suffix rule) */

/* ── connected case pairs (preposition + noun phrase that belong together) ── */
.case-pair { display: inline-flex; align-items: stretch; vertical-align: baseline;
  margin-right: .18em; }
.case-pair > span { position: relative; margin-right: 0 !important; }
.case-pair > span:first-child { z-index: 2; margin-right: .03em !important; }
.case-pair > span:last-child { z-index: 0; }
.case-pair > span:not(:first-child):not(:last-child) { z-index: 1; margin-right: .03em !important; }

/* ── case color legend ── */
.case-legend { display: flex; flex-wrap: wrap; gap: 18px; margin: 4px 0 28px; }
.case-legend-item { display: flex; align-items: center; gap: 8px; font-size: 13px;
  font-weight: 600; color: var(--muted); }
.case-swatch { display: inline-block; width: 14px; height: 14px; border-radius: .26em;
  border: none; box-shadow: inset 0 0 0 1px #000, 2px 2px 0 #000; flex-shrink: 0; }
.case-swatch-nom { background: var(--yellow); }
.case-swatch-acc { background: var(--green); }
.case-swatch-dat { background: var(--blue); }
.case-swatch-gen { background: #ff99cc; }
.case-swatch-dual { background: linear-gradient(90deg, var(--green), var(--blue)); }

/* color-word tints — colored background, no border (for "yellow", "green", "blue", "pink" inline) */
.tint, .tint-acc, .tint-dat, .tint-gen, .tint-dual, .tint-suffix {
  color: #000; font-weight: 700;
  padding: 0 .18em; border-radius: 3px;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.tint      { background: var(--yellow); } /* yellow */
.tint-acc  { background: var(--green);  } /* green  */
.tint-dat  { background: var(--blue);   } /* blue   */
.tint-gen  { background: #ff99cc;       } /* pink   */
.tint-suffix { background: #E0E0E0;     } /* grey   */
.tint-dual { background: linear-gradient(90deg, var(--green), var(--blue)); } /* acc + dat */

/* tint spans nested inside boxed chips: suppress the duplicate background */
.boxed .tint, .boxed .tint-acc, .boxed .tint-dat, .boxed .tint-gen, .boxed .tint-suffix, .boxed .tint-dual,
.boxed-acc .tint, .boxed-acc .tint-acc, .boxed-acc .tint-dat, .boxed-acc .tint-gen,
.boxed-dat .tint, .boxed-dat .tint-acc, .boxed-dat .tint-dat, .boxed-dat .tint-gen,
.boxed-gen .tint, .boxed-gen .tint-acc, .boxed-gen .tint-dat, .boxed-gen .tint-gen,
.boxed-dual .tint, .boxed-dual .tint-acc, .boxed-dual .tint-dat, .boxed-dual .tint-gen {
  background: transparent;
  padding: 0;
  border-radius: 0;
}

/* inline highlight for body text — solid underline */
.hl {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #000;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}
[data-theme="dark"] .hl {
  text-decoration-color: #fff;
}
/* scale down box strokes for large headlines so they match section-h2 weight */
.blog-hero h1 .boxed {
  border-width: .047em;
  border-radius: .20em;
  box-shadow: .08em .08em 0 #000;
}

/* nav */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; padding: 18px 32px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: padding 0.25s, border-color 0.25s;
  -webkit-transform: translateZ(0); transform: translateZ(0); will-change: transform;
}
nav.scrolled { padding: 12px 32px; border-bottom-color: var(--line-soft); }
.logo { font-size: 19px; letter-spacing: .5px; text-decoration: none; color: var(--text); display: flex; }
.logo b { font-weight: 700; } .logo span { font-weight: 200; color: var(--muted); }
.nav-center { display: flex; gap: 26px; margin-left: auto; margin-right: 26px; }
.nav-link { font-size: 14px; font-weight: 500; letter-spacing: .3px; color: var(--muted);
  text-decoration: none; position: relative; padding: 4px 0; transition: color 0.18s; }
.nav-link::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--text); transition: right 0.22s ease; }
.nav-link:hover { color: var(--text); } .nav-link:hover::after { right: 0; }
.nav-link.active { color: var(--text); } .nav-link.active::after { right: 0; background: var(--line-accent); height: 3px; }
.nav-soon { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600;
  letter-spacing: .3px; color: var(--faint); cursor: default; padding: 4px 0; user-select: none; }
.nav-soon i { font-style: normal; font-size: 9px; font-weight: 800; letter-spacing: .8px;
  text-transform: uppercase; color: var(--muted); background: rgba(120,120,120,0.22); border-radius: 999px; padding: 2px 7px; }
.ln-btn { width: 36px; height: 36px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--text); text-decoration: none;
  margin-right: 10px; transition: background .18s, color .18s, border-color .18s; }
.ln-btn:hover { background: #0A66C2; border-color: #0A66C2; color: #fff; }
.ln-btn svg { width: 16px; height: 16px; display: block; }
.theme-btn { width: 36px; height: 36px; flex-shrink: 0; border: 1px solid var(--line);
  border-radius: 50%; background: none; cursor: pointer; color: var(--text);
  display: flex; align-items: center; justify-content: center; transition: transform 0.25s, border-color 0.18s; }
.theme-btn:hover { transform: rotate(-18deg); border-color: var(--text); }
.theme-btn svg { width: 15px; height: 15px; }
.icon-sun { display: none; }
[data-theme="dark"] .icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: block; }

/* ── article actions (download + share) ── */
.art-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* ── share button ── */
.share-wrap { position: relative; }
.share-btn { display: flex; align-items: center; gap: 7px; font-family: var(--font);
  font-size: 11px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--faint); background: none; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px; cursor: pointer; transition: color 0.18s, border-color 0.18s; }
.share-btn:hover, .share-btn.active { color: var(--text); border-color: var(--text); }
.share-btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.share-menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 172px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 12px 32px var(--shadow); padding: 6px; display: none; flex-direction: column;
  gap: 2px; z-index: 50; }
.share-menu.open { display: flex; }
.share-option { display: flex; align-items: center; gap: 10px; font-family: var(--font);
  font-size: 13px; font-weight: 500; letter-spacing: .2px; text-transform: none; color: var(--text);
  background: none; border: none; border-radius: 8px; padding: 9px 10px; cursor: pointer;
  text-decoration: none; transition: background 0.15s; width: 100%; text-align: left; }
.share-option:hover { background: var(--bg); }
.share-option svg { width: 16px; height: 16px; flex-shrink: 0; }
.share-option.copied { background: var(--yellow); color: #000; font-weight: 700; }
@media (max-width: 480px) {
  .share-btn span { display: none; }
  .share-btn { padding: 7px 9px; }
  .pdf-download-btn span { display: none; }
  .pdf-download-btn { padding: 7px 9px; }
}

/* ── blog index ── */
.blog-hero { padding: 150px 0 70px; border-bottom: 1px solid var(--line-soft); }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .5px; color: var(--muted);
  margin-bottom: 24px; display: flex; align-items: center; gap: 12px; }
.kicker::before { content: ''; width: 34px; height: 1px; background: var(--text); }
.blog-hero h1 { font-size: clamp(46px, 8vw, 92px); font-weight: 800; letter-spacing: -.045em; line-height: 1.08; }
.blog-hero h1 .thin { font-weight: 200; font-style: italic; }
.blog-hero p { font-size: clamp(17px,2vw,20px); color: var(--muted); max-width: 48ch; margin-top: 28px; line-height: 1.6; }
.hero-desc-short { display: none; }
@media (max-width: 600px) {
  .hero-desc-full { display: none; }
  .hero-desc-short { display: inline; }
}

/* ── glossary teaser ── */
.glossary-teaser { font-size: 14px; color: var(--muted); margin: 14px 4px 0; }
.glossary-teaser a { color: var(--text); font-weight: 700; text-decoration: underline; }

/* ── search ── */
.search-bar { position: relative; margin: 44px 0 0; }
.search-icon {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; color: var(--faint); pointer-events: none;
}
.search-input {
  width: 100%; font-family: var(--font); font-size: 15px; font-weight: 500;
  padding: 14px 18px 14px 44px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--surface); color: var(--text); outline: none;
  transition: border-color 0.18s;
}
.search-input::placeholder { color: var(--faint); }
.search-input:focus { border-color: var(--text); }
.search-input::-webkit-search-cancel-button { cursor: pointer; }
.no-results { padding: 60px 8px; text-align: center; color: var(--muted); font-size: 15px; }

/* ── category filter ── */
.cat-bar { display: flex; gap: 8px; flex-wrap: wrap; margin: 28px 0 0; padding-bottom: 32px; border-bottom: 1px solid var(--line-soft); }
.cat-btn {
  font-family: var(--font); font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: none;
  color: var(--muted); cursor: pointer; transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.cat-btn:hover { border-color: var(--text); color: var(--text); }
.cat-btn.active { background: var(--text); color: var(--bg); border-color: var(--text); }
.cat-btn-dis { font-family: var(--font); font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: none;
  color: var(--faint); cursor: not-allowed; user-select: none; }

/* ── glossary ── */
.glossary-chapters { display: flex; flex-wrap: wrap; gap: 8px; margin: 44px 0 0; }
.glossary-chapters a {
  font-family: var(--font); font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: none;
  color: var(--muted); text-decoration: none; transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.glossary-chapters a:hover { border-color: var(--text); color: var(--text); }
.glossary-chapters a.active { background: var(--text); color: var(--bg); border-color: var(--text); }

.glossary-jump {
  display: flex; flex-wrap: wrap; gap: 6px; margin: 28px 0 0; padding-bottom: 32px;
  border-bottom: 1px solid var(--line-soft);
}
.glossary-jump a {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 999px; border: 1.5px solid var(--line);
  font-family: var(--font); font-size: 13px; font-weight: 700; text-decoration: none;
  color: var(--muted); transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.glossary-jump a:hover { border-color: var(--text); color: var(--text); }
.glossary-jump a.dis { color: var(--faint); border-color: var(--line-soft); pointer-events: none; }

.glossary-list { margin: 0 0 60px; }
.glossary-letter {
  font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--faint); margin: 56px 0 8px; padding-top: 8px;
}
.glossary-section:first-child .glossary-letter { margin-top: 40px; }
.glossary-entry {
  display: block; padding: 26px 8px; border-bottom: 1px solid var(--line);
  text-decoration: none; color: var(--text); transition: padding-left 0.2s;
}
.glossary-entry:hover { padding-left: 12px; }
.glossary-term { font-size: clamp(20px,2.6vw,26px); font-weight: 700; letter-spacing: -.02em; }
.glossary-def { font-size: 15px; color: var(--muted); margin-top: 8px; line-height: 1.55; max-width: 62ch; }
.glossary-go {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--faint); margin-top: 12px; transition: color 0.18s, transform 0.2s;
}
.glossary-entry:hover .glossary-go { color: var(--text); transform: translateX(4px); }
.glossary-more { font-size: 14px; color: var(--muted); text-align: center; padding: 0 0 80px; }
.glossary-more a { color: var(--text); font-weight: 700; text-decoration: underline; }

.posts { margin: 0 0 120px; }
.post-row {
  display: grid; grid-template-columns: 170px 1fr auto; gap: 34px; align-items: baseline;
  padding: 38px 8px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text);
  transition: padding-left 0.2s;
}
.post-row:first-child { border-top: 1px solid var(--line); }
.post-row:hover { padding-left: 18px; }
.post-cat { font-size: 11px; font-weight: 400; letter-spacing: 1.5px; }
.post-meta { font-size: 11px; font-weight: 600; letter-spacing: 1px; color: var(--faint); margin-top: 7px; }
.post-t { font-size: clamp(22px,3vw,32px); font-weight: 700; letter-spacing: -.025em; line-height: 1.15; }
.post-x { font-size: 15px; color: var(--muted); margin-top: 10px; line-height: 1.55; max-width: 56ch; }
.post-go { font-size: 22px; color: var(--faint); transition: transform 0.2s, color 0.2s; align-self: center; }
.post-row:hover .post-go { transform: translateX(6px); color: var(--text); }

/* ── language availability (index cards + article switcher) — same idiom as platform.html .feature-flag ── */
.post-langs { margin-top: 10px; display: flex; align-items: center; gap: 6px; }
.lang-flag { font-size: 12px; line-height: 1; width: 22px; height: 22px; display: inline-flex;
  align-items: center; justify-content: center; background: var(--line-soft);
  border: 1px solid var(--line); border-radius: 6px; text-decoration: none;
  filter: grayscale(1) opacity(.65); transition: filter 0.2s, border-color 0.2s, transform 0.15s; }
a.lang-flag:hover { filter: none; transform: translateY(-1px); }
.lang-flag.is-active { filter: none; cursor: default; pointer-events: none; }
.post-langs .lang-flag { filter: grayscale(1) opacity(.55); pointer-events: none; }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; }

/* ── language switcher v2 — single button, dropdown menu (blog index) ── */
.lang-wrap { position: relative; }
.lang-btn { width: 36px; height: 36px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: none; cursor: pointer;
  font-size: 15px; line-height: 1; padding: 0; margin-right: 10px; filter: grayscale(1) opacity(.75);
  transition: border-color .18s, filter .18s; }
.lang-btn:hover, .lang-btn.active { border-color: var(--text); filter: none; }
.lang-menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 170px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 12px 32px var(--shadow, rgba(0,0,0,.25)); padding: 6px; display: none; flex-direction: column;
  gap: 2px; z-index: 60; }
.lang-menu.open { display: flex; }
.lang-option { display: flex; align-items: center; gap: 10px; font-family: var(--font, inherit);
  font-size: 13px; font-weight: 500; color: var(--text); text-decoration: none;
  border-radius: 8px; padding: 9px 10px; transition: background .15s; }
.lang-option:hover { background: var(--bg); }
.lang-option.is-active { background: var(--bg); font-weight: 700; cursor: default; pointer-events: none; }
.lang-option-flag { font-size: 15px; line-height: 1; filter: grayscale(1) opacity(.7); transition: filter .15s; }
.lang-option:hover .lang-option-flag, .lang-option.is-active .lang-option-flag { filter: none; }

/* ── article ── */
.art-head { padding: 150px 0 28px; }
.art-head .measure { text-align: left; }
.crumbs { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 30px; }
.crumbs a { text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 1px; transition: border-color 0.18s; }
.crumbs a:hover { border-color: var(--text); }
.art-cat { display: inline-block; font-size: 11px; font-weight: 400; letter-spacing: 1.6px; margin-bottom: 20px; }
.art-title { font-size: clamp(34px,5.5vw,58px); font-weight: 800; letter-spacing: -.035em; line-height: 1.45; text-wrap: pretty; }
.art-title .thin { font-weight: 200; font-style: italic; }
.art-meta { font-size: 12px; font-weight: 600; letter-spacing: 1px; color: var(--faint); margin-top: 26px;
  padding-top: 22px; border-top: 1px solid var(--line); display: flex; gap: 22px; flex-wrap: wrap; }

.art-body { padding: 12px 0 90px; }
.art-body p { font-size: 18px; line-height: 1.75; color: var(--text); margin: 0 0 26px; }
.art-body .lede { font-size: 22px; line-height: 1.6; color: var(--muted); font-weight: 400; margin-bottom: 40px; }
.art-body h2 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; margin: 56px 0 18px; line-height: 1.15; text-wrap: pretty; }
.art-body h3 { font-size: 20px; font-weight: 700; margin: 38px 0 12px; text-wrap: pretty; }
.art-body strong { font-weight: 700; }
.art-body em { font-style: italic; }
.art-body ul { margin: 0 0 26px; padding-left: 22px; }
.art-body li { font-size: 18px; line-height: 1.7; margin-bottom: 10px; }
.art-body li::marker { color: var(--faint); font-weight: 700; }
.art-body a.inline { text-decoration: none; border-bottom: 1.5px solid #000; padding-bottom: 1px; font-weight: 600; }

.callout { border-left: 3px solid var(--faint); padding: 6px 0 6px 24px; margin: 36px 0; }
.callout p { font-size: 19px; font-style: italic; font-weight: 500; color: var(--text); margin: 0; }

/* color table */
.gtable { width: 100%; border-collapse: collapse; margin: 34px 0; font-size: 16px; }
.gtable th, .gtable td { text-align: left; padding: 14px 16px 14px 16px; border-bottom: 1px solid var(--line); overflow: visible; white-space: nowrap; }
.gtable td:last-child { padding-right: 24px; }
.gtable th { font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--faint); }
.gtable td.art-w { font-weight: 700; }
.chip { display: inline-block; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid #000; vertical-align: -2px; margin-right: 8px; }

.art-nav-section { background: #1C1B17; }
.art-nav { display: flex; justify-content: space-between; gap: 20px; padding: 40px 0; border-top: 1px solid rgba(241,239,234,0.12); flex-wrap: wrap; }
.art-nav a { text-decoration: none; font-weight: 700; font-size: 15px; display: flex; flex-direction: column; gap: 4px; color: #F1EFEA; }
.art-nav a span { font-size: 11px; font-weight: 600; letter-spacing: 1px; color: rgba(241,239,234,0.45); }
.art-nav a:hover { color: var(--yellow); }
.art-nav .next { text-align: right; align-items: flex-end; margin-left: auto; }

.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--yellow); color: #000;
  text-decoration: none; font-size: 15px; font-weight: 700; padding: 15px 26px; border-radius: 4px;
  box-shadow: 4px 4px 0 var(--shadow); transition: transform 0.16s, box-shadow 0.16s; }
.btn:hover { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--shadow); }
.btn-text { font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none;
  border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: color 0.18s, border-color 0.18s; }
.btn-text:hover { color: var(--text); border-color: var(--text); }
.brand { color: var(--text); } .brand b { font-weight: 700; } .brand span { font-weight: 200; color: var(--muted); }

.cta-block { padding: 70px 0 110px; text-align: center; border-top: 1px solid var(--line-soft); }
.cta-block h2 { font-size: clamp(30px,4.5vw,48px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 14px; }
.cta-block p { font-size: 17px; color: var(--muted); margin-bottom: 32px; }

/* ── 1:1 session block ── */
.session-block { background: #1C1B17; color: #F1EFEA; padding: 64px 0 72px; }
.session-block .measure { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.session-block .session-label { font-size: 11px; font-weight: 400; letter-spacing: 1.8px; text-transform: uppercase; opacity: .5; }
.session-block h2 { font-size: clamp(26px, 3.8vw, 40px); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; margin: 0; color: #F1EFEA; }
.session-block p { font-size: 17px; line-height: 1.7; opacity: .65; margin: 0; color: #F1EFEA; max-width: 520px; }
.session-offer {
  background: rgba(255,209,89,0.12);
  border: 2px solid rgba(255,209,89,0.35);
  border-radius: 12px;
  padding: 24px 28px;
  margin: 8px 0 0;
  position: relative;
  overflow: hidden;
}
.session-offer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--yellow);
}
.offer-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--yellow);
  background: rgba(255,209,89,0.2);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.offer-text {
  font-size: 16px !important;
  line-height: 1.5 !important;
  color: var(--bg) !important;
  opacity: 0.95 !important;
  margin: 0 !important;
  font-weight: 500 !important;
}
.offer-text strong {
  font-weight: 800;
  color: var(--yellow);
}
.session-quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1); width: 100%; }
.session-q { display: flex; flex-direction: column; gap: 10px; }
.session-q p { font-size: 13px; line-height: 1.65; opacity: .6; font-style: italic; margin: 0; color: #F1EFEA; }
.session-q a { font-size: 11px; font-weight: 700; letter-spacing: .5px; color: var(--yellow); text-decoration: none; opacity: .8; }
.session-q a:hover { opacity: 1; }
.session-q span { font-size: 11px; font-weight: 400; opacity: .45; color: #F1EFEA; display: block; margin-top: 1px; }
@media(max-width:600px) { .session-quotes { grid-template-columns: 1fr; } }

.session-btn { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px;
  background: var(--yellow); color: #000; font-family: var(--font); font-size: 14px; font-weight: 700;
  letter-spacing: .4px; padding: 14px 28px; border-radius: 999px; text-decoration: none;
  transition: opacity .18s; }
.session-btn:hover { opacity: .85; }

/* ── writing tool demo (marketing embed, lives inside .art-nav-section) ── */
.art-nav-section .writing-demo-wrap { padding-bottom: 56px; }
.writing-demo-kicker { font-size: 14px; font-weight: 600; letter-spacing: .1px;
  color: rgba(241,239,234,0.55); margin-bottom: 16px;
  display: flex; align-items: center; gap: 9px; transition: color .18s; }
.writing-demo-kicker .wd-dot { width: 6px; height: 6px; border-radius: 50%; background: #FFD159; flex-shrink: 0; }
.writing-demo-link { display: block; text-decoration: none; }
.writing-demo-link:hover .writing-demo-kicker { color: rgba(255,209,89,0.85); }
.writing-demo-card { background: #EFEFEF; border-radius: 18px; border: 2px solid #000;
  box-shadow: 5px 5px 0 #000; overflow: hidden; transition: transform .16s, box-shadow .16s; }
.writing-demo-link:hover .writing-demo-card { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 #000; }
.wr-bar { display: flex; align-items: center; gap: 8px; padding: 15px 24px; background: #e8e5e0; border-radius: 16px 16px 0 0; }
.wr-dot { width: 11px; height: 11px; border-radius: 50%; }
.wr-title { font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase;
  color: rgba(0,0,0,0.28); margin-left: auto; margin-right: auto; }
.wr-body { padding: 32px 36px 36px; background: #EFEFEF; border-radius: 0 0 16px 16px; }
.wr-line { font-size: 17px; font-weight: 500; color: rgba(0,0,0,0.75); line-height: 2.1; }
.wr-cursor { display: inline-block; width: 2px; height: 1.1em; background: #000;
  vertical-align: text-bottom; margin-left: 1px; animation: wr-blink 1.1s step-end infinite; }
.wr-line .case-pair { display: inline-flex; align-items: stretch; vertical-align: baseline; }
.wr-line .case-pair > span { position: relative; margin-right: 0 !important; }
.wr-line .case-pair > span:first-child { z-index: 2; margin-right: .03em !important; }
.wr-line .case-pair > span:last-child { z-index: 0; }
@keyframes wr-blink { 0%,100%{opacity:1} 50%{opacity:0} }
@media(max-width:600px) { .wr-line { font-size: 16px !important; } }

/* ── ko-fi support block ── */
.kofi-block { padding: 48px 0; border-top: 1px solid var(--line-soft); text-align: center; }
.kofi-block p { font-size: 15px; color: var(--muted); margin-bottom: 20px; }
.kofi-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font); font-size: 14px; font-weight: 600; letter-spacing: .2px;
  color: var(--text); background: none; text-decoration: none;
  padding: 0; border: none; transition: opacity .18s;
}
.kofi-btn:hover { opacity: .7; }
.kofi-btn svg { width: 20px; height: 20px; flex-shrink: 0; }

footer { border-top: 1px solid var(--line); padding: 26px 0; margin-top: 64px; }
.foot { display: flex; justify-content: flex-start; align-items: center; flex-wrap: wrap; padding: 0 40px;
  font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--faint); }
.foot-brand { color: var(--faint); flex-shrink: 0; font-weight: 400; letter-spacing: .5px; }
.foot-brand b { color: var(--text); font-weight: 700; }
.foot-brand i { font-style: normal; font-weight: 200; color: var(--text); }
.foot-links { display: flex; flex-wrap: wrap; align-items: center; margin-left: 40px; }
.foot-links a { color: var(--faint); text-decoration: none; transition: color .18s; font-weight: 500; }
.foot-links a:hover { color: var(--text); }
.foot-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--faint); margin: 0 15px; flex-shrink: 0; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"]{transition-delay:.07s} .reveal[data-d="2"]{transition-delay:.14s}
@media (prefers-reduced-motion: reduce){ .reveal{opacity:1;transform:none;transition:none} html{scroll-behavior:auto} }

/* ── iPad / mid tablet (≤ 820px) ── */
@media (max-width: 820px) {
  .nav-center { gap: 18px; }
  .nav-link { font-size: 13px; }
}

/* ── iPad portrait (≤ 768px) ── */
@media (max-width: 768px) {
  .nav-center { gap: 12px; }
  .nav-link { font-size: 12px; }
  .post-row { grid-template-columns: 140px 1fr auto; gap: 22px; }
  .art-body p, .art-body li { font-size: 17px; }
  .art-body .lede { font-size: 20px; }
  .art-body h2 { font-size: 24px; margin: 44px 0 14px; }
  .callout p { font-size: 17px; }
}

/* ── Hamburger button ── */
.ham-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 36px; height: 36px;
  flex-shrink: 0;
  background: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  margin-left: 10px;
  gap: 4px;
}
.ham-btn span {
  display: block;
  width: 15px; height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
  pointer-events: none;
}
.ham-btn.open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.ham-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.ham-btn.open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ── Mobile menu overlay ── */
.mob-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 98;
  padding: 80px 28px 40px;
  background: var(--bg);
  flex-direction: column;
  overflow-y: auto;
}
.mob-menu.open { display: flex; }
.mob-link {
  font-size: 20px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  transition: color 0.18s;
}
.mob-link:last-child { border-bottom: none; }

/* ── Mobile (≤ 600px) ── */
@media (max-width: 600px) {
  .ham-btn { display: flex; margin-left: auto; width: 42px; height: 42px; }
  .ham-btn span { width: 18px; }
  .ln-btn { display: none; }
  .theme-btn { display: none; }
  .logo { font-size: 17px; }
  .wrap, .measure { padding: 0 22px; }
  nav { padding: 14px 22px; } nav.scrolled { padding: 11px 22px; }
  .nav-center { display: none; }
  .blog-hero { padding: 120px 0 50px; }
  .post-row { grid-template-columns: 1fr; gap: 8px; }
  .post-go { display: none; }
  .art-head { padding: 120px 0 40px; }
  .art-body p, .art-body li { font-size: 17px; }
  .gtable { font-size: 14px; display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .gtable th, .gtable td { padding: 10px 8px; }
  .gtable td:last-child { white-space: normal; }

  footer { padding: 22px 0 38px; }
  .foot { padding: 0 22px; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; }
  .foot-brand { text-align: center; }
  .foot-links { margin-left: 0; margin-inline-start: 0; justify-content: center; flex-wrap: nowrap; white-space: nowrap; }
  .foot-links a { font-size: clamp(6.5px, 2.2vw, 10px); letter-spacing: .3px; }
  .foot-dot { margin: 0 9px; }
}

/* SESSION TYPES GRID (updated) */
.session-types { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; width: 100%; margin-top: 4px; }
.session-type { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.10); border-radius: 12px; padding: 20px 22px; display: flex; flex-direction: column; gap: 4px; }
.session-type.st-premium { border-color: rgba(255,209,89,0.35); background: rgba(255,209,89,0.07); }
.st-price { font-size: 22px; font-weight: 800; color: #F1EFEA; letter-spacing: -.02em; }
.session-type.st-premium .st-price { color: #FFD159; }
.st-name { font-size: 13px; font-weight: 700; color: #F1EFEA; opacity: .8; margin-top: 6px; }
.st-info { font-size: 12px; color: #F1EFEA; opacity: .4; }
@media(max-width:600px) { .session-types { grid-template-columns: 1fr; } }

/* Ko-fi bridge */
.kofi-bridge { font-size: 17px !important; font-weight: 700 !important; color: var(--text) !important; opacity: 1 !important; margin-bottom: 4px !important; }

/* Platform nav link */
.nav-soon { text-decoration: none; }
.nav-soon-link { cursor: pointer; transition: color 0.18s; }
.nav-soon-link:hover { color: var(--text); }

/* ── Testimonials carousel (blog) ── */
.tmn-section { padding: 80px 0 72px; border-bottom: 1px solid var(--line-soft); }
.tmn-label { font-size: 11px; font-weight: 400; letter-spacing: 1.8px; text-transform: uppercase; color: var(--muted); margin-bottom: 32px; }
.tmn-carousel { position: relative; max-width: 100%; overflow: hidden; }
.tmn-track { display: flex; transition: transform 0.4s ease-in-out; }
.tmn-card { min-width: calc(50% - 10px); background: var(--bg); border: 2px solid var(--line); border-radius: 16px; padding: 36px 36px 32px; display: flex; flex-direction: column; gap: 28px; margin-right: 20px; }
.tmn-card.tmn-card--lone { min-width: calc(50% - 10px); margin-left: 25%; margin-right: 25%; }
@media (max-width: 820px) { .tmn-card { min-width: 100%; margin-right: 0; } .tmn-card.tmn-card--lone { min-width: 100%; margin-left: 0; margin-right: 0; } }
.tmn-quote { font-size: 14px; line-height: 1.75; color: var(--text); font-style: italic; opacity: .85; }
.tmn-person { display: flex; align-items: center; gap: 14px; }
.tmn-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--yellow); display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 800; color: #000; flex-shrink: 0; border: 1px solid #000; }
.tmn-name { font-size: 14px; font-weight: 700; color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }
.tmn-name svg { width: 15px; height: 15px; color: var(--text); flex-shrink: 0; opacity: 0.8; }
.tmn-name:hover { text-decoration: underline; }
.tmn-role { font-size: 12px; color: var(--muted); margin-top: 2px; }
.tmn-role-org { white-space: nowrap; }
.tmn-nav { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 28px; }
.tmn-nav-btn { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line); background: none; cursor: pointer; color: var(--text); display: flex; align-items: center; justify-content: center; transition: border-color .18s; }
.tmn-nav-btn:hover { border-color: var(--text); }
.tmn-nav-btn:disabled { opacity: .3; cursor: default; }
.tmn-nav-btn svg { width: 16px; height: 16px; }
.tmn-dots { display: flex; gap: 6px; }
.tmn-dot { width: 8px; height: 8px; border-radius: 50%; border: none; background: var(--line); cursor: pointer; transition: background .18s; flex-shrink: 0; }
.tmn-dot.active { background: var(--text); }

/* ── Pricing section (blog) ── */
.pricing-section { padding: 80px 0 72px; border-bottom: 1px solid var(--line-soft); }
.pricing-label { font-size: 11px; font-weight: 400; letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--faint); margin-bottom: 40px; max-width: 880px; margin-left: auto; margin-right: auto; }
.pricing-grid { max-width: 880px; margin: 0 auto; display: grid;
  grid-template-columns: 1fr 1fr; gap: 24px; }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  padding: 36px 36px 32px; display: flex; flex-direction: column; gap: 20px;
  transition: box-shadow 0.2s, transform 0.2s; }
.price-card:hover { box-shadow: 4px 4px 0 var(--text); transform: translateY(-2px); }
.price-card.featured { border-color: var(--text); box-shadow: 4px 4px 0 var(--text); }
.price-card.featured:hover { box-shadow: 7px 7px 0 var(--text); transform: translateY(-2px); }
.price-card.selected { box-shadow: 7px 7px 0 var(--text); border-color: var(--text); transform: translateY(-3px); }
.card-book-btn { display: none; align-self: flex-end; margin-top: auto; padding: 10px 18px;
  background: var(--text); color: var(--bg); font-size: 13px; font-weight: 700; letter-spacing: .2px;
  border-radius: 6px; text-decoration: none; transition: opacity .18s;
  align-items: center; gap: 7px; }
.card-book-btn svg { flex-shrink: 0; }
.card-book-btn:hover { opacity: .8; }
.price-card.selected .card-book-btn { display: inline-flex; }
.price-tag { display: flex; align-items: flex-end; gap: 4px; }
.price-currency { font-size: 24px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.price-amount { font-size: 60px; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--text); }
.price-per { font-size: 13px; font-weight: 400; color: var(--muted); margin-bottom: 8px; align-self: flex-end; }
.price-title { font-size: 18px; font-weight: 700; color: var(--text); letter-spacing: -.01em; }
.price-subtitle { font-size: 13px; font-weight: 500; color: var(--faint); margin-top: -14px; }
.price-divider { height: 1px; background: var(--line-soft); }
.price-details { display: flex; flex-direction: column; gap: 10px; }
.price-detail { display: flex; align-items: flex-start; gap: 10px; font-size: 14px;
  font-weight: 400; color: var(--muted); line-height: 1.5; }
.price-detail::before { content: '✓'; color: var(--faint); flex-shrink: 0; font-weight: 300; font-size: 11px; }
.price-note { font-size: 12px; color: var(--faint); font-weight: 400; padding-top: 4px; }
.bundle-row { max-width: 880px; margin: 20px auto 0; padding: 16px 24px;
  border-left: 3px solid var(--yellow); background: color-mix(in srgb, var(--yellow) 8%, transparent);
  border-radius: 4px; text-align: center; }
.bundle-row p { font-size: 14px; font-weight: 500; color: var(--text); margin: 0; line-height: 1.6; }
.bundle-row strong { font-weight: 700; }
.bootcamp-card { max-width: 880px; margin: 32px auto 0; background: #1C1B17; color: #F1EFEA;
  border-radius: 20px; padding: 40px 44px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.bootcamp-left { display: flex; flex-direction: column; gap: 14px; }
.bootcamp-kicker { font-size: 11px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--yellow); opacity: .8; }
.bootcamp-title { font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: #F1EFEA; line-height: 1.1; }
.bootcamp-sub { font-size: 13px; font-weight: 600; color: var(--yellow); opacity: 0.75; letter-spacing: .2px; margin-top: -6px; }
.bootcamp-body { font-size: 15px; line-height: 1.7; color: #F1EFEA; opacity: .75; max-width: 52ch; }
.bootcamp-perks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.bootcamp-perk { font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16); color: #F1EFEA; opacity: .7; }
.bootcamp-right { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; flex-shrink: 0; }
.bootcamp-price { font-size: 13px; font-weight: 600; letter-spacing: .5px; color: #F1EFEA; opacity: .5; text-align: right; }
.bootcamp-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--yellow); color: #000;
  text-decoration: none; font-size: 14px; font-weight: 700; letter-spacing: .2px;
  padding: 13px 22px; border-radius: 6px; white-space: nowrap; transition: opacity .18s; }
.bootcamp-btn:hover { opacity: .85; }
@media(max-width:720px) { .bootcamp-card { grid-template-columns: 1fr; padding: 28px 24px; }
  .bootcamp-right { align-items: flex-start; } }
@media(max-width:720px) { .pricing-grid { grid-template-columns: 1fr; }
  .price-card { padding: 28px 24px; } }

/* ── PDF Print Header / Footer (hidden on screen, visible on every print page) ── */
.pdf-page-header,
.pdf-page-footer { display: none; }

@media print {
  /* Static (non-fixed) on purpose: WebKit/Safari renders position:fixed unreliably
     in print — it can drift into the middle of the content instead of staying
     pinned to the page edge. A normal in-flow header/footer always lands in the
     right place: logo once at the very top of page 1, copyright once at the
     very end of the last page. */
  .pdf-page-header {
    display: block;
    padding: 0 0 10px 0;
    margin-bottom: 28px;
    border-bottom: 1px solid rgba(20,19,15,0.12);
  }
  .pdf-logo { font-size: 14px; letter-spacing: .4px; color: #14130F; }
  .pdf-logo b { font-weight: 700; }
  .pdf-logo span { font-weight: 200; }

  .pdf-page-footer {
    display: block;
    margin-top: 28px;
    padding: 10px 0 6px 0;
    border-top: 1px solid rgba(20,19,15,0.18);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .8px;
    color: rgba(20,19,15,0.50);
    text-align: center;
  }
}

/* ── PDF Download Button ── */
.pdf-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--faint);
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  cursor: pointer;
  transition: color 0.18s, border-color 0.18s;
}
.pdf-download-btn:hover {
  color: var(--text);
  border-color: var(--text);
}
.pdf-download-btn svg { flex-shrink: 0; }

/* ── Print / Save as PDF ── */
@media print {
  /* Force background colors to render */
  *, *::before, *::after {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  @page { margin: 1.6cm 2.2cm; }

  /* Hide everything that isn't article content */
  nav,
  .crumbs,
  .pdf-download-btn,
  .art-nav-section,
  .tmn-section,
  .pricing-section,
  .kofi-block,
  .cta-block,
  .platform-cta-section,
  .lang-switch,
  .share-wrap,
  footer { display: none !important; }

  /* Smaller type for the printed/PDF version — the on-screen sizes are too large on paper */
  .art-title { font-size: 30px !important; line-height: 1.3 !important; }
  .art-cat { font-size: 10px !important; }
  .art-meta { font-size: 11px !important; }
  .case-legend-item { font-size: 12px !important; }
  .art-body p, .art-body li { font-size: 13px !important; line-height: 1.75 !important; margin: 0 0 19px !important; }
  .art-body .lede { font-size: 15px !important; line-height: 1.7 !important; margin-bottom: 26px !important; }
  .art-body h2 { font-size: 19px !important; margin: 30px 0 10px !important; }
  .art-body h3 { font-size: 15px !important; margin: 22px 0 8px !important; }

  /* A heading with only a line or two of text before the page ends looks
     orphaned — push heading + its first lines to the next page together.
     This used to also drag whole multi-paragraph sections down (because the
     table further below couldn't be split either), which caused big blank
     gaps — now that .gtable is allowed to break across pages (see below),
     this only kicks in for the small "heading + a sentence" case it's meant
     for. */
  .art-body h2, .art-body h3 { break-after: avoid-page; page-break-after: avoid; }
  .art-body p, .art-body li { orphans: 3; widows: 3; }

  /* Clean body */
  body {
    background: #fff !important;
    color: #14130F !important;
    animation: none !important;
    min-height: unset !important;
  }

  /* Reduce top padding — no sticky nav to clear */
  .art-head { padding: 32px 0 28px !important; }
  .art-body { padding: 16px 0 48px !important; }

  /* All reveal elements must be visible — they may not have been scrolled into view */
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* Preserve boxed highlight colors */
  .boxed        { background: #FFD159 !important; color: #000 !important; border-color: #000 !important; box-shadow: 2px 2px 0 #000 !important; }
  .boxed-acc    { background: #B2EAB1 !important; color: #000 !important; border-color: #000 !important; box-shadow: 2px 2px 0 #000 !important; }
  .boxed-dat    { background: #99d5ff !important; color: #000 !important; border-color: #000 !important; box-shadow: 2px 2px 0 #000 !important; }
  .boxed-gen    { background: #ff99cc !important; color: #000 !important; border-color: #000 !important; box-shadow: 2px 2px 0 #000 !important; }
  .boxed-suffix { background: #E0E0E0 !important; color: #333 !important; border-color: #888 !important; box-shadow: 2px 2px 0 #888 !important; }
  .boxed-dual   { background: linear-gradient(90deg, #B2EAB1, #99d5ff) !important; color: #000 !important; border-color: #000 !important; box-shadow: 2px 2px 0 #000 !important; }
  .boxed-dat-verb { background: #b8e4ff !important; color: #000 !important; border-color: #000 !important; box-shadow: 2px 2px 0 #000 !important; }
  .boxed-acc-verb { background: #c3f0b4 !important; color: #000 !important; border-color: #000 !important; box-shadow: 2px 2px 0 #000 !important; }
  .boxed-verb   { background: #ffdc7a !important; color: #000 !important; border-color: #000 !important; box-shadow: 2px 2px 0 #000 !important; }

  /* Callout left border */
  .callout { border-left-color: rgba(20,19,15,0.32) !important; }

  /* Table borders */
  .gtable th,
  .gtable td { border-bottom-color: rgba(20,19,15,0.14) !important; }

  /* When a .gtable splits across a page break, repeat the header row on the
     new page instead of letting the break land inside/right after it (which
     cut the header row itself in half). */
  .gtable thead { display: table-header-group; break-inside: avoid; break-after: avoid; }
  .gtable tr { break-inside: avoid; }

  /* Avoid breaking inside key elements — but let long tables split between
     rows rather than force-jumping the whole table (and the blank space that
     creates) onto the next page. Individual rows still stay intact. */
  .callout, li, tr { break-inside: avoid; }
  .gtable { break-inside: auto; }

}

/* Platform CTA block (replaces pricing-section) */
.platform-cta-section { padding: 48px 0 0; }
.platform-cta-wrap { max-width: 860px; margin: 0 auto 64px; padding: 0 24px; }
.platform-cta-box { border: 1px solid var(--line, rgba(20,19,15,0.14)); border-radius: 16px; overflow: hidden; }
.platform-cta-light { padding: 28px 28px 24px; }
.platform-cta-h { font-family: 'Montserrat', sans-serif; font-size: 28px; font-weight: 800; letter-spacing: -.03em; line-height: 1.2; margin-bottom: 12px; }
.platform-cta-chip { display: inline-block; background: #FFD159; color: #000; border: 1px solid #000; border-radius: 8px; box-shadow: 2px 2px 0 #000; padding: 1px 8px; }
.platform-cta-sub { font-size: 15px; color: var(--muted, rgba(20,19,15,0.60)); line-height: 1.6; margin: 0; }
.platform-cta-sub b { color: var(--text, #14130F); font-weight: 700; }
.platform-cta-dark { padding: 26px 28px; background: #1C1B17; }
.platform-cta-kicker { font-size: 11px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: rgba(241,239,234,0.5); margin-bottom: 12px; }
.platform-cta-dh { font-size: 24px; font-weight: 800; color: #F1EFEA; letter-spacing: -.02em; line-height: 1.25; margin-bottom: 10px; font-family: 'Montserrat', sans-serif; }
.platform-cta-dh em { font-weight: 200; font-style: italic; }
.platform-cta-dsub { font-size: 15px; color: rgba(241,239,234,0.55); line-height: 1.6; margin: 0; }
.platform-cta-link { display: block; padding: 16px 28px; background: #1C1B17; border-top: 1px solid rgba(255,255,255,0.08); font-size: 14px; font-weight: 700; color: #FFD159; text-decoration: none; font-family: 'Montserrat', sans-serif; }
.platform-cta-link:hover { color: #fff; }
