/* ============== ClipboardAI — Design System (v2026.05) ============== */
/* Light-only. Shared across marketing pages, blog index, and articles. */

/* ============== TOKENS ============== */
:root {
  --bg: #F4F6F0;
  --bg-2: #ECEFE6;
  --paper: #FFFFFF;
  --ink: #0A140E;
  --ink-2: #2E3A30;
  --ink-3: #5A665C;
  --line: #DCE0D2;
  --line-soft: #E8EBDF;
  --green: #00A85A;
  --green-2: #008544;
  --green-soft: #D6F0DD;
  --green-tint: #E9F7EE;
  --green-pop: #34D17C;
  --lime: #C8E96A;
  --peach: #FFC9A0;
  --pink: #FFB3D1;
  --sky: #B7D9F2;
  --lemon: #FFE680;
  --lilac: #D9C4FF;
  --shadow-sm: 0 1px 0 rgba(10,20,14,0.04);
  --shadow-md: 0 8px 24px -8px rgba(10,20,14,0.10), 0 2px 4px rgba(10,20,14,0.04);
  --shadow-lg: 0 30px 60px -20px rgba(10,20,14,0.18), 0 8px 20px -8px rgba(10,20,14,0.08);
  --shadow-pop: 4px 4px 0 var(--ink);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background-image: radial-gradient(circle at 1px 1px, rgba(10,20,14,0.025) 1px, transparent 0);
  background-size: 22px 22px;
}
.mono { font-family: 'Geist Mono', ui-monospace, monospace; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 960px; margin: 0 auto; padding: 0 32px; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; padding: 0; color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--green-pop); color: var(--ink); }

/* ============== NAV ============== */
.nav-wrap { position: sticky; top: 0; z-index: 50; background: rgba(244,246,240,0.85); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid rgba(220,224,210,0.6); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -0.02em; color: var(--ink); }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; box-shadow: var(--shadow-sm); overflow: hidden; border: 1.5px solid var(--ink); }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.nav-links { display: flex; gap: 4px; background: var(--paper); padding: 4px; border-radius: 999px; border: 1.5px solid var(--ink); margin: 0; list-style: none; }
.nav-links a { padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: all .15s; display: block; }
.nav-links a:hover { background: var(--bg); color: var(--ink); }
.nav-links a.active { background: var(--ink); color: var(--bg); }
.nav-cta { display: flex; gap: 10px; align-items: center; }

/* Mobile nav toggle */
.nav-mobile-toggle { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1.5px solid var(--ink); background: var(--paper); align-items: center; justify-content: center; flex-direction: column; gap: 4px; padding: 0; }
.nav-mobile-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 1px; transition: all .2s; }

/* ============== BUTTONS ============== */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 600; transition: all .15s; white-space: nowrap; border: 1.5px solid var(--ink); cursor: pointer; }
.btn-primary { background: var(--green); color: white; }
.btn-primary:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-pop); }
.btn-ghost { background: var(--paper); color: var(--ink); }
.btn-ghost:hover { background: var(--bg-2); }
.btn-lg { height: 56px; padding: 0 28px; font-size: 16px; }
.appstore-btn { display: inline-flex; align-items: center; gap: 12px; background: var(--ink); color: white; padding: 12px 22px; border-radius: 14px; transition: all .15s; border: 1.5px solid var(--ink); }
.appstore-btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--green); }
.appstore-btn .a-small { font-size: 10.5px; opacity: 0.8; line-height: 1; }
.appstore-btn .a-big { font-size: 18px; font-weight: 600; line-height: 1.1; margin-top: 2px; letter-spacing: -0.01em; }

/* ============== TYPE PRIMITIVES ============== */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--paper); font-size: 12px; font-weight: 700; color: var(--ink); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 20px; }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.h1 { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: clamp(56px, 8.5vw, 128px); line-height: 0.92; letter-spacing: -0.04em; margin: 0 0 28px; color: var(--ink); }
.h2 { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: clamp(40px, 5.5vw, 80px); line-height: 1.0; letter-spacing: -0.035em; margin: 0 0 24px; }
.h2 .pop, .h1 .pop { color: var(--green); }
.h2 .hl, .h1 .hl { position: relative; display: inline-block; }
.h2 .hl::after, .h1 .hl::after { content: ''; position: absolute; left: -2%; right: -2%; bottom: 8%; height: 16%; background: var(--lime); z-index: -1; transform: skew(-3deg); }
.h1 .hl::after { height: 18%; }
.section-lede { font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 640px; margin: 0 0 40px; font-weight: 500; }
section { padding: 100px 0; position: relative; }
.section-tight { padding: 64px 0; }

/* ============== PHONE MOCKUP ============== */
.phone { position: relative; width: 340px; height: 690px; background: #0a140e; border-radius: 52px; padding: 7px; box-shadow: var(--shadow-lg); border: 1.5px solid var(--ink); }
.phone-screen { width: 100%; height: 100%; border-radius: 45px; overflow: hidden; background: white; position: relative; }
.phone-notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 116px; height: 32px; background: #0a140e; border-radius: 20px; z-index: 5; }
.phone-statusbar { padding: 18px 28px 0; display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; color: var(--ink); position: relative; z-index: 2; }
.phone-statusbar .sb-right { display: flex; align-items: center; gap: 4px; }
.app-header { padding: 24px 22px 12px; }
.app-title { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.app-sub { font-size: 12px; color: var(--ink-3); margin-top: 4px; font-weight: 500; }
.app-search { margin: 12px 22px; height: 40px; background: var(--bg); border: 1.5px solid var(--ink); border-radius: 12px; display: flex; align-items: center; gap: 8px; padding: 0 12px; font-size: 13px; color: var(--ink-3); font-weight: 500; }
.app-tabs { padding: 0 22px; display: flex; gap: 6px; overflow: hidden; }
.app-tab { padding: 7px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--paper); border: 1.5px solid var(--ink); color: var(--ink); white-space: nowrap; }
.app-tab.active { background: var(--green); color: white; }
.app-list { padding: 14px 14px 0; display: flex; flex-direction: column; gap: 8px; }
.clip-card { background: white; border: 1.5px solid var(--ink); border-radius: 14px; padding: 12px 14px; box-shadow: 2px 2px 0 var(--ink); }
.clip-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 11px; color: var(--ink-3); font-weight: 500; }
.clip-pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 700; border: 1.5px solid var(--ink); }
.clip-pill.link { background: var(--sky); color: var(--ink); }
.clip-pill.code { background: var(--lemon); color: var(--ink); }
.clip-pill.email { background: var(--pink); color: var(--ink); }
.clip-pill.text { background: var(--green-soft); color: var(--ink); }
.clip-pill.phone { background: var(--peach); color: var(--ink); }
.clip-body { font-size: 13px; color: var(--ink); line-height: 1.35; font-weight: 500; }
.clip-meta { font-size: 11px; color: var(--ink-3); margin-top: 6px; }

/* ============== PRESS STRIP ============== */
.press-strip { padding: 48px 0; border-top: 1.5px dashed var(--line); border-bottom: 1.5px dashed var(--line); }
.press-strip h3 { text-align: center; font-size: 12px; font-weight: 700; color: var(--ink-3); letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 28px; }
.press-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; align-items: center; }
.press-mark { display: flex; align-items: center; justify-content: center; color: var(--ink-2); font-weight: 700; }

/* ============== STICKER CARD PRIMITIVE ============== */
.sticker-card { background: var(--paper); border: 1.5px solid var(--ink); border-radius: 18px; padding: 22px; box-shadow: 4px 4px 0 var(--ink); transition: transform .15s; }
.sticker-card:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.sticker-card.bg-lime { background: var(--lime); }
.sticker-card.bg-mint { background: var(--green-tint); }
.sticker-card.bg-pink { background: var(--pink); }
.sticker-card.bg-sky { background: var(--sky); }
.sticker-card.bg-lemon { background: var(--lemon); }
.sticker-card.bg-lilac { background: var(--lilac); }
.sticker-card.bg-peach { background: var(--peach); }
.sticker-card.bg-ink { background: var(--ink); color: white; }

/* ============== FOOTER ============== */
footer.site-footer { padding: 56px 0 32px; background: var(--ink); color: rgba(255,255,255,0.7); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 56px; }
.foot-brand-line { color: white; font-weight: 700; font-size: 17px; display: flex; align-items: center; gap: 10px; }
.foot-brand-line span.mk { width: 32px; height: 32px; border-radius: 8px; overflow: hidden; border: 1.5px solid white; }
.foot-brand-line span.mk img { width: 100%; height: 100%; object-fit: cover; }
.foot-tag { font-size: 15px; margin-top: 16px; max-width: 320px; line-height: 1.5; }
.foot-col h5 { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin: 0 0 14px; }
.foot-col a { display: block; font-size: 14px; color: rgba(255,255,255,0.7); padding: 5px 0; transition: color .15s; font-weight: 500; }
.foot-col a:hover { color: var(--green-pop); }
.foot-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,0.5); flex-wrap: wrap; gap: 12px; }
.foot-bottom a { color: rgba(255,255,255,0.7); }

/* ============== FINAL CTA ============== */
.final-cta { padding: 120px 0; text-align: center; position: relative; overflow: hidden; background: var(--lime); border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); }
.final-cta h2 { font-weight: 800; font-size: clamp(56px, 9vw, 132px); line-height: 0.92; letter-spacing: -0.04em; margin: 0 0 28px; }
.final-illustration { margin-top: 60px; position: relative; height: 220px; }

/* ============== UTILS ============== */
.cursor { display: inline-block; width: 1px; height: 1em; background: currentColor; margin-left: 2px; vertical-align: text-bottom; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.bob { animation: bob 5s ease-in-out infinite; }
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-10px) rotate(var(--rot, 0deg)); }
}
.float-card { background: var(--paper); border: 1.5px solid var(--ink); border-radius: 18px; padding: 14px 18px; display: flex; gap: 12px; align-items: center; box-shadow: 4px 4px 0 var(--ink); }
.float-card .hc-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-size: 16px; flex-shrink: 0; border: 1.5px solid var(--ink); }
.float-card .hc-title { font-weight: 700; font-size: 14px; line-height: 1.2; }
.float-card .hc-sub { font-size: 12px; color: var(--ink-3); margin-top: 2px; font-weight: 500; }

/* ============== PAGE HERO (smaller for subpages) ============== */
.page-hero { padding: 100px 0 60px; text-align: center; position: relative; }
.page-hero .h1 { font-size: clamp(48px, 7vw, 96px); }
.page-hero p { font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 640px; margin: 0 auto; font-weight: 500; }

/* ============== ANCHOR / TAGS ============== */
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; }
.tag-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; background: var(--paper); border: 1.5px solid var(--ink); border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--ink); transition: all .15s; }
.tag-pill:hover { background: var(--lime); }

/* ============== RESPONSIVE — SHARED ============== */

/* Tablet */
@media (max-width: 1024px) {
  .container, .container-narrow { padding: 0 28px; }
  section { padding: 80px 0; }
  .nav-links { gap: 0; padding: 3px; }
  .nav-links a { padding: 7px 10px; font-size: 13px; }
  .nav-cta .btn-ghost { display: none; }
  .nav-cta .btn-primary { padding: 0 14px; height: 38px; font-size: 13.5px; }
  .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
}

/* Mobile */
@media (max-width: 720px) {
  .container, .container-narrow { padding: 0 20px; }
  section { padding: 56px 0; }
  .h2 { font-size: clamp(30px, 8.5vw, 48px); }
  .section-lede { font-size: 16px; margin-bottom: 32px; }

  /* Nav */
  .nav { padding: 12px 0; }
  .nav-links { display: none; }
  .brand-mark { width: 30px; height: 30px; }
  .brand { font-size: 16px; }
  .nav-cta .btn-primary { padding: 0 14px; height: 38px; font-size: 13px; }

  /* Buttons */
  .btn-lg { height: 48px; padding: 0 22px; font-size: 15px; }
  .appstore-btn { padding: 10px 18px; gap: 10px; }
  .appstore-btn .a-big { font-size: 16px; }

  /* Press strip */
  .press-strip { padding: 36px 0; }
  .press-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 24px; }
  .press-mark { font-size: 13.5px !important; }

  /* Final CTA */
  .final-cta { padding: 72px 0; }
  .final-illustration { height: 140px; margin-top: 40px; }

  /* Footer */
  footer.site-footer { padding: 44px 0 28px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-tag { font-size: 14px; max-width: none; }
  .foot-bottom { flex-direction: column; gap: 8px; text-align: center; margin-top: 32px; }

  /* Page hero (subpages) */
  .page-hero { padding: 60px 0 40px; }
}

/* Small mobile */
@media (max-width: 420px) {
  .container, .container-narrow { padding: 0 16px; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .nav-cta .btn-primary { padding: 0 12px; height: 36px; font-size: 12.5px; }
  .nav-cta .btn-primary svg { display: none; }
}

/* ============== ARTICLE / PROSE ============== */
.article-hero { padding: 60px 0 36px; }
.article-hero .breadcrumb { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); font-weight: 600; margin-bottom: 20px; }
.article-hero .breadcrumb a { color: var(--ink-3); }
.article-hero .breadcrumb a:hover { color: var(--green-2); }
.article-hero .meta-cat-row { display: flex; gap: 10px; align-items: center; margin-bottom: 24px; flex-wrap: wrap; }
.article-hero h1 { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: clamp(36px, 5.5vw, 72px); line-height: 1.0; letter-spacing: -0.035em; margin: 0 0 20px; max-width: 920px; }
.article-hero .subtitle { font-size: 21px; line-height: 1.5; color: var(--ink-2); max-width: 760px; margin: 0 0 32px; font-weight: 500; }
.article-byline { display: flex; align-items: center; gap: 12px; padding: 16px 0 0; }
.article-byline .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: white; display: grid; place-items: center; font-weight: 800; font-size: 15px; border: 1.5px solid var(--ink); }
.article-byline .info { display: flex; flex-direction: column; }
.article-byline .name { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.article-byline .meta { font-size: 13px; color: var(--ink-3); font-weight: 600; }

.article-cover { position: relative; border: 1.5px solid var(--ink); border-radius: 26px; overflow: hidden; height: clamp(220px, 36vw, 420px); box-shadow: 6px 6px 0 var(--ink); margin: 16px 0 64px; background: var(--green-tint); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-cover svg { width: 100%; height: 100%; display: block; }

/* Two-column layout for articles: prose + TOC sidebar */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 64px; max-width: 1080px; margin: 0 auto; }
.article-layout > .prose { max-width: 720px; margin: 0; }
.toc-sidebar { position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 120px); overflow-y: auto; padding: 22px 20px; background: var(--paper); border: 1.5px solid var(--ink); border-radius: 18px; box-shadow: 4px 4px 0 var(--ink); scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.toc-sidebar::-webkit-scrollbar { width: 6px; }
.toc-sidebar::-webkit-scrollbar-track { background: transparent; margin: 8px 0; }
.toc-sidebar::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
.toc-sidebar::-webkit-scrollbar-thumb:hover { background: var(--ink-3); }
.toc-sidebar .toc-title { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px; }
.toc-sidebar ul { list-style: none; margin: 0; padding: 0; }
.toc-sidebar li { padding: 0; margin: 0; }
.toc-sidebar a { display: block; padding: 7px 12px; font-size: 13px; font-weight: 600; color: var(--ink-3); line-height: 1.35; border-left: 2px solid transparent; margin-left: -2px; transition: color .15s, border-color .15s, background .15s; border-radius: 0 8px 8px 0; }
.toc-sidebar a:hover { color: var(--ink); background: var(--bg-2); }
.toc-sidebar a.active { color: var(--green-2); border-left-color: var(--green); font-weight: 700; }
.toc-sidebar li.lvl-3 a { padding-left: 24px; font-size: 12.5px; font-weight: 500; }
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; gap: 32px; }
  .toc-sidebar { display: none; }
}

.prose { max-width: 720px; margin: 0 auto; font-size: 18px; line-height: 1.7; color: var(--ink); font-weight: 500; }
.prose p { margin: 0 0 24px; }
/* No drop cap — the lede paragraph is the article's visual opening. */
.prose .lede { font-size: 22px; line-height: 1.55; color: var(--ink-2); margin: 0 0 32px; font-weight: 500; }
.prose h2 { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: clamp(28px, 3.3vw, 36px); line-height: 1.1; letter-spacing: -0.03em; margin: 56px 0 16px; color: var(--ink); }
.prose h2 .pop { color: var(--green); }
.prose h2 .hl { position: relative; display: inline-block; }
.prose h2 .hl::after { content: ''; position: absolute; left: -2%; right: -2%; bottom: 8%; height: 18%; background: var(--lime); z-index: -1; transform: skew(-3deg); }
.prose h3 { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 22px; letter-spacing: -0.02em; margin: 40px 0 12px; }
.prose strong { font-weight: 700; color: var(--ink); }
.prose em { font-style: italic; }
.prose a { color: var(--green-2); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; font-weight: 600; }
.prose a:hover { background: var(--lime); text-decoration: none; }
.prose ul, .prose ol { margin: 0 0 28px; padding: 0; }
.prose ul { list-style: none; }
.prose ul li { padding-left: 28px; position: relative; margin-bottom: 10px; }
.prose ul li::before { content: ''; position: absolute; left: 4px; top: 12px; width: 8px; height: 8px; background: var(--green); border: 1.5px solid var(--ink); border-radius: 50%; }
.prose ol { counter-reset: prose-ol; list-style: none; }
.prose ol > li { counter-increment: prose-ol; padding-left: 36px; position: relative; margin-bottom: 14px; }
.prose ol > li::before { content: counter(prose-ol); position: absolute; left: 0; top: 2px; width: 24px; height: 24px; background: var(--ink); color: white; border-radius: 7px; font-family: 'Geist Mono', monospace; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.prose code { font-family: 'Geist Mono', monospace; font-size: 0.88em; padding: 2px 6px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 4px; }
.prose pre { background: var(--ink); color: white; padding: 18px 22px; border-radius: 12px; overflow-x: auto; font-family: 'Geist Mono', monospace; font-size: 14px; line-height: 1.6; margin: 0 0 28px; border: 1.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.prose pre code { background: none; border: none; padding: 0; font-size: inherit; color: inherit; }

.prose blockquote { margin: 32px 0; padding: 22px 26px; background: var(--green-tint); border: 1.5px solid var(--ink); border-left-width: 6px; border-radius: 14px; box-shadow: 3px 3px 0 var(--ink); font-family: 'Manrope', sans-serif; font-size: 22px; font-weight: 700; line-height: 1.4; letter-spacing: -0.015em; color: var(--ink); position: relative; }
.prose blockquote p { margin: 0; }
.prose blockquote cite { display: block; margin-top: 10px; font-size: 13px; font-style: normal; font-weight: 600; color: var(--ink-3); }
.prose blockquote cite::before { content: '— '; }

.prose .callout { margin: 32px 0; padding: 22px 26px; border: 1.5px solid var(--ink); border-radius: 16px; box-shadow: 3px 3px 0 var(--ink); display: flex; gap: 16px; align-items: start; }
.prose .callout .ico { width: 36px; height: 36px; border-radius: 10px; border: 1.5px solid var(--ink); background: white; display: grid; place-items: center; font-size: 18px; flex-shrink: 0; }
.prose .callout .ct { flex: 1; }
.prose .callout .ct strong { display: block; font-size: 16px; margin-bottom: 4px; }
.prose .callout .ct p { margin: 0; font-size: 16px; line-height: 1.55; }
.prose .callout.tip { background: var(--lime); }
.prose .callout.warn { background: var(--peach); }
.prose .callout.info { background: var(--sky); }
.prose .callout.note { background: var(--lemon); }
.prose .callout.tldr { background: var(--ink); color: white; border-color: var(--ink); }
.prose .callout.tldr .ico { background: var(--green); color: white; border-color: rgba(255,255,255,0.2); }
.prose .callout.tldr p { color: rgba(255,255,255,0.85); }

.prose figure { margin: 36px 0; }
.prose figure img, .prose figure svg { border: 1.5px solid var(--ink); border-radius: 14px; width: 100%; display: block; box-shadow: 4px 4px 0 var(--ink); }
.prose figure figcaption { font-size: 13.5px; color: var(--ink-3); text-align: center; margin-top: 12px; font-style: italic; font-weight: 500; }

.prose hr { border: none; height: 1.5px; background: repeating-linear-gradient(to right, var(--ink) 0 6px, transparent 6px 12px); margin: 48px auto; width: 80px; }

.prose table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1.5px solid var(--ink); border-radius: 14px; overflow: hidden; margin: 28px 0; box-shadow: 4px 4px 0 var(--ink); }
.prose table th, .prose table td { padding: 12px 16px; text-align: left; font-size: 14.5px; border-bottom: 1.5px solid var(--ink); border-right: 1.5px solid var(--ink); }
.prose table th:last-child, .prose table td:last-child { border-right: none; }
.prose table tr:last-child td { border-bottom: none; }
.prose table thead th { background: var(--ink); color: white; font-weight: 800; font-size: 13px; letter-spacing: 0.02em; text-transform: uppercase; }
.prose table tbody tr:nth-child(even) { background: var(--bg-2); }
.prose table .yes { color: var(--green-2); font-weight: 800; font-size: 18px; text-align: center; }
.prose table .no { color: var(--ink-3); font-size: 18px; text-align: center; opacity: 0.5; }

/* Inline article CTA */
.article-inline-cta { max-width: 720px; margin: 56px auto; padding: 28px 32px; background: var(--lime); border: 1.5px solid var(--ink); border-radius: 18px; box-shadow: 4px 4px 0 var(--ink); display: flex; gap: 24px; align-items: center; }
.article-inline-cta .left { flex: 1; }
.article-inline-cta h4 { font-weight: 800; font-size: 22px; letter-spacing: -0.02em; margin: 0 0 6px; }
.article-inline-cta p { margin: 0; font-size: 15px; color: var(--ink); font-weight: 500; line-height: 1.5; }
.article-inline-cta .icon { width: 56px; height: 56px; border-radius: 14px; background: white; border: 1.5px solid var(--ink); display: grid; place-items: center; flex-shrink: 0; }

/* Author bio */
.author-bio { max-width: 720px; margin: 64px auto 0; padding: 28px; border: 1.5px solid var(--ink); border-radius: 18px; background: var(--paper); box-shadow: 4px 4px 0 var(--ink); display: flex; gap: 18px; align-items: start; }
.author-bio .avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: white; display: grid; place-items: center; font-weight: 800; font-size: 22px; border: 1.5px solid var(--ink); flex-shrink: 0; }
.author-bio h4 { font-weight: 800; font-size: 18px; margin: 0 0 4px; }
.author-bio .role { font-size: 13px; color: var(--ink-3); font-weight: 600; margin-bottom: 8px; }
.author-bio p { font-size: 15px; line-height: 1.55; color: var(--ink); margin: 0; font-weight: 500; }

/* Share bar */
.share-bar { max-width: 720px; margin: 36px auto 0; display: flex; gap: 10px; align-items: center; }
.share-bar .lbl { font-size: 13px; font-weight: 700; color: var(--ink-3); letter-spacing: 0.04em; text-transform: uppercase; margin-right: 4px; }
.share-bar a, .share-bar button { width: 38px; height: 38px; border-radius: 10px; border: 1.5px solid var(--ink); background: var(--paper); display: grid; place-items: center; font-weight: 700; font-size: 13px; color: var(--ink); cursor: pointer; transition: all .15s; }
.share-bar a:hover, .share-bar button:hover { background: var(--lime); transform: translate(-1px, -1px); box-shadow: 2px 2px 0 var(--ink); }

/* Tags */
.article-tags { max-width: 720px; margin: 36px auto 0; display: flex; gap: 8px; flex-wrap: wrap; }
.article-tags a { padding: 6px 12px; background: var(--paper); border: 1.5px solid var(--ink); border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--ink); }
.article-tags a:hover { background: var(--lime); }

/* Related */
.related-section { padding: 80px 0 60px; }
.related-section h2 { font-weight: 800; font-size: 28px; letter-spacing: -0.025em; margin: 0 0 28px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-card { border: 1.5px solid var(--ink); border-radius: 18px; overflow: hidden; background: white; box-shadow: 4px 4px 0 var(--ink); transition: transform .2s; display: flex; flex-direction: column; }
.related-card:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.related-card .img { height: 130px; background: var(--green-tint); }
.related-card .img img { width: 100%; height: 100%; object-fit: cover; }
.related-card .body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.related-card h3 { font-weight: 800; font-size: 16px; line-height: 1.25; letter-spacing: -0.015em; margin: 0; flex: 1; color: var(--ink); }
.related-card .meta { font-size: 12px; color: var(--ink-3); font-weight: 600; margin-top: 6px; }

@media (max-width: 1024px) {
  .article-cover { margin-bottom: 48px; }
  .related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .article-hero { padding: 36px 0 24px; }
  .article-cover { border-radius: 20px; margin: 12px 0 36px; }
  .prose { font-size: 17px; }
  .prose .lede { font-size: 19px; }
  .prose blockquote { font-size: 19px; padding: 18px 20px; }
  .prose .callout { padding: 18px 20px; }
  .article-inline-cta { padding: 22px 24px; flex-direction: column; align-items: stretch; gap: 16px; }
  .article-inline-cta .icon { width: 48px; height: 48px; }
  .author-bio { padding: 22px; flex-direction: column; }
  .related-section { padding: 56px 0 32px; }
  .related-grid { grid-template-columns: 1fr; gap: 14px; }
}

/* ============== LEGAL PAGES (privacy / terms) ============== */
.legal-page { padding: 60px 0 80px; }
.legal-page .meta { font-size: 13px; color: var(--ink-3); font-weight: 600; margin-bottom: 12px; }
.legal-page .meta a { color: var(--ink-3); }
.legal-page h1 { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: clamp(40px, 5vw, 64px); line-height: 1.0; letter-spacing: -0.035em; margin: 0 0 12px; }
.legal-page .last-updated { font-size: 13px; color: var(--ink-3); font-weight: 600; margin-bottom: 32px; }
.legal-page .prose { max-width: 800px; margin: 0; font-size: 17px; }
.legal-page .prose p:first-of-type::first-letter { all: unset; }
.legal-page .prose h2 { font-size: clamp(24px, 2.6vw, 30px); margin: 48px 0 14px; }
.legal-page .prose h3 { font-size: 19px; margin: 32px 0 10px; }
