* { margin: 0; padding: 0; box-sizing: border-box; }

/* The hidden attribute must always win, even over display rules on the
   same element (e.g. .book-body{display:grid}, .book-success{display:flex}). */
[hidden] { display: none !important; }

:root {
    --paper: #F3F5F7;
    --card: #FFFFFF;
    --ink: #14181D;
    --muted: #5C6672;
    /* Darkened from #8B95A1 (2.78:1 — failed WCAG AA) to reach 4.59:1 on --paper. */
    --faint: #67707C;
    --line: #E1E5EA;
    --blue: #1E48C8;
    --blue-soft: #E8EDFB;
    --marker: #FFE873;
    --green: #147A4D;
    --green-soft: #E4F3EB;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background: var(--paper);
    color: var(--ink);
    line-height: 1.6;
    font-size: 16px;
}

.display { font-family: 'Fraunces', Georgia, serif; font-weight: 600; }
.mono { font-family: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 640px) { .wrap { padding: 0 20px; } }

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

/* Lets keyboard and screen-reader users jump past the nav on every page. */
.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 200;
    background: var(--ink); color: #fff; padding: 10px 18px;
    border-radius: 0 0 10px 10px; text-decoration: none; font-size: 14px; font-weight: 600;
    transition: top 0.15s ease;
}
.skip-link:focus { top: 0; }

.noscript-bar {
    background: var(--marker); color: var(--ink); text-align: center;
    padding: 12px 20px; font-size: 14.5px; border-bottom: 1px solid #E4CE5C;
}

.btn {
    display: inline-block; text-decoration: none; cursor: pointer; border: none;
    font-size: 15px; font-weight: 600; border-radius: 10px; text-align: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    font-family: inherit;
}
.btn-ink { background: var(--ink); color: #fff; padding: 14px 28px; }
.btn-ink:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(20,24,29,0.18); }
.btn-line { background: transparent; color: var(--ink); padding: 13px 24px; border: 1px solid #C7CDD4; }
.btn-line:hover { background: #fff; }
.btn-blue { background: var(--blue); color: #fff; padding: 14px 28px; }
.btn-blue:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(30,72,200,0.28); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }

.eyebrow {
    font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 500;
    letter-spacing: 1.2px; text-transform: uppercase; color: var(--blue);
}

/* ── Nav ── */
header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(243,245,247,0.9); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.logo { font-family: 'Fraunces', serif; font-weight: 600; font-size: 20px; color: var(--ink); text-decoration: none; letter-spacing: -0.3px; }
.logo b { color: var(--blue); font-weight: 600; }
.nav-links { display: flex; gap: 26px; list-style: none; align-items: center; }
.nav-links a { font-size: 14px; color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); font-weight: 600; }
.nav-cta { background: var(--ink); color: #fff !important; padding: 9px 18px; border-radius: 9px; font-weight: 600; }

/* ── Mobile nav ── */
.nav-toggle {
    display: none; width: 42px; height: 42px; border: 1px solid var(--line);
    background: var(--card); border-radius: 10px; cursor: pointer;
    flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 0;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu { display: none; }
@media (max-width: 760px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .mobile-menu { display: block; border-top: 1px solid var(--line); padding: 6px 0 16px; }
    .mobile-menu[hidden] { display: none; }
    .mobile-menu a { display: block; padding: 13px 2px; font-size: 16px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
    .mobile-menu a.mobile-book { margin-top: 14px; color: #fff; text-align: center; border: none; padding: 14px 28px; }
}

/* ── Hero ── */
.hero { padding: 88px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 72px; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } }

.hero h1 {
    font-family: 'Fraunces', Georgia, serif; font-weight: 600;
    font-size: clamp(38px, 5vw, 58px); line-height: 1.07; letter-spacing: -1.2px;
    margin: 20px 0 22px;
}
.hero h1 .strike { position: relative; white-space: nowrap; color: var(--faint); }
.hero h1 .strike::after {
    content: ""; position: absolute; left: -2%; right: -2%; top: 54%;
    height: 3px; background: var(--ink); transform: rotate(-1.5deg); border-radius: 2px;
}
.hero h1 .mark {
    background: linear-gradient(transparent 55%, var(--marker) 55%, var(--marker) 92%, transparent 92%);
    padding: 0 2px;
}
.hero-sub { font-size: 17.5px; color: var(--muted); line-height: 1.7; max-width: 480px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-foot { margin-top: 22px; font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--faint); }
.hero-foot b { color: var(--muted); font-weight: 500; }

/* ── The signature: an inbox thread ── */
.thread {
    background: var(--card); border: 1px solid var(--line); border-radius: 16px;
    box-shadow: 0 24px 60px rgba(20,24,29,0.10), 0 2px 8px rgba(20,24,29,0.05);
    overflow: hidden;
}
.thread-bar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 18px; border-bottom: 1px solid var(--line); background: #FAFBFC;
}
.thread-subject { font-size: 13.5px; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.thread-count { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--faint); flex-shrink: 0; margin-left: 12px; }

.msg { padding: 16px 18px; }
.msg + .msg { border-top: 1px solid var(--line); }
.msg-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.avatar {
    width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700; color: #fff;
}
.avatar.us { background: var(--blue); }
.avatar.them { background: var(--green); }
.msg-who { font-size: 13px; font-weight: 600; }
.msg-who span { font-weight: 400; color: var(--faint); font-size: 12px; }
.msg-time { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--faint); margin-left: auto; flex-shrink: 0; }
.msg-body { font-size: 13.5px; color: #3A424B; line-height: 1.65; }
.msg.collapsed .msg-body { color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.msg.reply { background: #FDFCF5; }
.msg.reply .msg-body .hl {
    background: linear-gradient(transparent 40%, var(--marker) 40%, var(--marker) 95%, transparent 95%);
    padding: 0 1px;
}
.thread-foot {
    display: flex; align-items: center; gap: 8px;
    padding: 12px 18px; border-top: 1px solid var(--line); background: #FAFBFC;
}
.thread-pill {
    font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 500;
    padding: 4px 10px; border-radius: 20px;
}
.thread-pill.ok { background: var(--green-soft); color: var(--green); }
.thread-pill.info { background: var(--blue-soft); color: var(--blue); }

/* highlight sweep on load */
@media (prefers-reduced-motion: no-preference) {
    .msg.reply .msg-body .hl {
        background-size: 0% 100%; background-repeat: no-repeat;
        background-image: linear-gradient(transparent 40%, var(--marker) 40%, var(--marker) 95%, transparent 95%);
        animation: sweep 0.9s ease-out 1.1s forwards;
    }
    @keyframes sweep { to { background-size: 100% 100%; } }
}

/* ── Proof bar ── */
/* ── Proof ──
   One card on the paper ground rather than three full-bleed strips. The
   figures and the operator's background are the same argument, so they share
   a surface; the footnote sits outside as the small print it is. */
.proof { background: var(--paper); padding: 34px 0 8px; }
.proof-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.proof-item { padding: 28px 30px 26px; border-right: 1px solid var(--line); }
.proof-item:last-child { border-right: none; }
.proof-num { font-family: 'Fraunces', serif; font-weight: 600; font-size: 36px; letter-spacing: -1px; }
.proof-num small { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--green); font-weight: 500; letter-spacing: 0; vertical-align: middle; margin-left: 8px; }
.proof-label { font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.45; }
.proof-note { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--faint); line-height: 1.6; margin: 14px 0 0; padding: 0 2px; }

/* Credentials: the card's footer, on a faint tint so it reads as a
   different kind of claim from the figures above it. */
.clients { border-top: 1px solid var(--line); background: #FAFBFC; padding: 15px 30px;
           display: flex; align-items: center; justify-content: space-between; gap: 14px 28px; flex-wrap: wrap; }
.clients-row { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: baseline; }

@media (max-width: 760px) {
    .proof { padding: 26px 0 6px; }
    .proof-grid { grid-template-columns: 1fr; }
    .proof-item { border-right: none; border-bottom: 1px solid var(--line); padding: 22px 22px 20px; }
    .proof-item:last-child { border-bottom: none; }
    .clients { padding: 14px 22px; flex-direction: column; align-items: flex-start; gap: 10px; }
}

.clients-label { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 1.1px; text-transform: uppercase; color: var(--faint); }
/* Was #B4BBC4 — only 1.77:1, failed even the 3:1 large-text threshold. */
.client { font-family: 'Fraunces', serif; font-weight: 600; font-size: 16px; color: var(--faint); letter-spacing: -0.2px; }

/* ── Sections ── */
section { scroll-margin-top: 76px; }
.section-pad { padding: 96px 0; }
.section-head { max-width: 620px; margin-bottom: 56px; }
.section-head h2 {
    font-family: 'Fraunces', Georgia, serif; font-weight: 600;
    font-size: clamp(30px, 3.6vw, 42px); line-height: 1.12; letter-spacing: -0.8px;
    margin: 16px 0 14px;
}
.section-head p { font-size: 16.5px; color: var(--muted); line-height: 1.7; }

/* ── Timeline (How it works) ── */
.timeline { position: relative; max-width: 760px; }
.timeline::before {
    content: ""; position: absolute; left: 7px; top: 12px; bottom: 12px;
    width: 2px; background: var(--line);
}
.tl-item { position: relative; padding: 0 0 44px 44px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
    position: absolute; left: 0; top: 6px; width: 16px; height: 16px;
    border-radius: 50%; background: var(--card); border: 3px solid var(--blue);
}
.tl-when { font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 500; color: var(--blue); letter-spacing: 0.6px; text-transform: uppercase; }
.tl-item h3 { font-family: 'Fraunces', serif; font-weight: 600; font-size: 23px; letter-spacing: -0.4px; margin: 8px 0 10px; }
.tl-item p { font-size: 15.5px; color: var(--muted); line-height: 1.7; max-width: 560px; }
.tl-tag {
    display: inline-block; margin-top: 12px; font-family: 'IBM Plex Mono', monospace;
    font-size: 11.5px; color: var(--green); background: var(--green-soft);
    padding: 4px 10px; border-radius: 20px;
}

/* ── What you get ── */
.get { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.get-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
@media (max-width: 900px) { .get-grid { grid-template-columns: 1fr; } }
.get-cell { background: var(--card); padding: 30px 28px; }
.get-cell .mono-idx { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--faint); }
.get-cell h3 { font-size: 16.5px; font-weight: 650; margin: 10px 0 8px; letter-spacing: -0.2px; }
.get-cell p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ── Case / testimonial ── */
.case-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .case-grid { grid-template-columns: 1fr; gap: 40px; } }
blockquote.case-quote {
    font-family: 'Fraunces', Georgia, serif; font-weight: 500;
    font-size: clamp(23px, 2.8vw, 30px); line-height: 1.42; letter-spacing: -0.4px;
}
blockquote.case-quote .mark {
    background: linear-gradient(transparent 55%, var(--marker) 55%, var(--marker) 92%, transparent 92%);
}
.case-attr { margin-top: 24px; font-size: 14px; color: var(--muted); }
.case-attr b { color: var(--ink); display: block; font-weight: 650; }
.case-nums { display: grid; gap: 14px; }
.case-num { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px 24px; display: flex; align-items: baseline; gap: 14px; }
.case-num b { font-family: 'Fraunces', serif; font-weight: 600; font-size: 30px; letter-spacing: -0.8px; min-width: 110px; white-space: nowrap; flex: none; }
.case-num span { font-size: 13.5px; color: var(--muted); }

/* ── Pricing ── */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 900px; }
@media (max-width: 820px) { .pricing-grid { grid-template-columns: 1fr; } }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 36px 32px; display: flex; flex-direction: column; }
.plan.hot { border: 2px solid var(--blue); box-shadow: 0 22px 55px rgba(30,72,200,0.10); position: relative; }
.plan-flag {
    position: absolute; top: -13px; left: 30px; background: var(--blue); color: #fff;
    font-family: 'IBM Plex Mono', monospace; font-size: 11px; padding: 4px 12px; border-radius: 20px;
}
.plan h3 { font-family: 'Fraunces', serif; font-weight: 600; font-size: 21px; }
.plan-price { font-family: 'Fraunces', serif; font-weight: 600; font-size: 42px; letter-spacing: -1.2px; margin: 14px 0 2px; }
.plan-price span { font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--faint); letter-spacing: 0; }
.plan-for { font-size: 13.5px; color: var(--muted); margin-bottom: 24px; }
.plan ul { list-style: none; display: grid; gap: 10px; margin-bottom: 30px; }
.plan li { font-size: 14px; color: #3A424B; display: flex; gap: 10px; }
.plan li::before { content: "→"; color: var(--blue); font-weight: 600; }
.plan .btn { margin-top: auto; }
.pricing-note { margin-top: 20px; font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; color: var(--faint); max-width: 900px; line-height: 1.7; }

/* ── FAQ ── */
.faq { max-width: 760px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
    cursor: pointer; list-style: none; padding: 22px 0;
    font-size: 16.5px; font-weight: 600; letter-spacing: -0.2px;
    display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: 'IBM Plex Mono', monospace; font-size: 20px; color: var(--faint); flex-shrink: 0; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 24px; font-size: 15px; color: var(--muted); line-height: 1.75; max-width: 640px; }

/* ── Final CTA ── */
.final { background: var(--ink); color: #fff; padding: 90px 0; }
.final-inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.final h2 {
    font-family: 'Fraunces', Georgia, serif; font-weight: 600;
    font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; letter-spacing: -0.8px; max-width: 520px;
}
/* On the dark section the marker must cover the whole glyph: the half-height
   highlighter used on light backgrounds leaves ink-on-ink text unreadable. */
.final h2 .mark {
    background: var(--marker); color: var(--ink);
    padding: 0.04em 0.18em; border-radius: 3px;
    -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.final p { color: #9AA3AE; margin-top: 14px; font-size: 16px; max-width: 440px; }
.final-right { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.final .mono-note { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; color: #7B8590; }

footer { background: var(--ink); border-top: 1px solid #262C33; padding: 28px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
footer .logo { color: #fff; }
footer .logo b { color: #7C97F0; }
/* Was #6B7683 — 3.98:1 on --ink, under the 4.5:1 minimum for 12px text. */
footer p { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: #99A3B0; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: #C3CAD3; text-decoration: none; font-size: 13.5px; }
.footer-links a:hover { color: #fff; text-decoration: underline; }

/* ── 404 ── */
.notfound { padding: 110px 0 130px; }
.notfound h1 { font-family: 'Fraunces', serif; font-weight: 600; font-size: clamp(34px, 5vw, 52px); line-height: 1.1; letter-spacing: -1px; margin: 16px 0 14px; }
.notfound p { font-size: 17px; color: var(--muted); max-width: 460px; margin-bottom: 30px; }

/* ── Legal pages ── */
/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ══════════════════════════════════════════════
   Booking dialog
   ══════════════════════════════════════════════ */
.book-dialog {
    position: relative; width: min(920px, 94vw); max-width: 920px; max-height: 94vh; border: none; border-radius: 18px;
    padding: 0; background: var(--card); color: var(--ink);
    box-shadow: 0 40px 100px rgba(20,24,29,0.35);
    overflow: hidden;
}
/* Inner areas scroll when the dialog is taller than the viewport, so the
   submit button and error message stay reachable on short screens. */
.book-body, .book-success { max-height: 94vh; overflow-y: auto; }
.book-dialog::backdrop { background: rgba(20,24,29,0.55); backdrop-filter: blur(3px); }
.book-x {
    position: absolute; top: 14px; right: 16px; z-index: 3;
    width: 34px; height: 34px; border-radius: 8px; border: none; cursor: pointer;
    background: rgba(255,255,255,0.14); color: #fff; font-size: 22px; line-height: 1;
    display: flex; align-items: center; justify-content: center;
}
.book-x:hover { background: rgba(255,255,255,0.26); }
.book-body { display: grid; grid-template-columns: 0.82fr 1.18fr; }
.book-intro { background: var(--ink); color: #fff; padding: 42px 34px; }
.book-intro .eyebrow { color: #9DB2FF; }
.book-intro h2 { font-family: 'Fraunces', serif; font-weight: 600; font-size: 27px; line-height: 1.2; letter-spacing: -0.5px; margin: 14px 0 12px; }
.book-intro > p { color: #AEB6C1; font-size: 14.5px; line-height: 1.65; }
.book-points { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.book-points li { position: relative; padding-left: 24px; font-size: 14px; color: #D5DAE1; line-height: 1.5; }
.book-points li::before { content: "✓"; position: absolute; left: 0; color: #7C97F0; font-weight: 700; }

.book-form { padding: 34px 34px 30px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); margin-bottom: 6px; letter-spacing: 0.2px; }
.field label .opt { font-weight: 400; color: var(--faint); text-transform: none; }
.field input {
    width: 100%; padding: 11px 13px; font-size: 15px; font-family: inherit; color: var(--ink);
    background: var(--paper); border: 1px solid var(--line); border-radius: 9px;
}
.field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); background: #fff; }
.field input.invalid { border-color: #C0392B; box-shadow: 0 0 0 3px rgba(192,57,43,0.12); }

/* Booking step 2 — Calendly embed */
.book-right { min-width: 0; }
.book-schedule { padding: 26px 30px 30px; }
.book-back { background: none; border: none; padding: 0; margin-bottom: 14px; cursor: pointer; font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; color: var(--muted); }
.book-back:hover { color: var(--ink); }
.schedule-hint { font-size: 13.5px; color: var(--muted); line-height: 1.55; margin-bottom: 14px; }
.schedule-hint b { color: var(--ink); font-weight: 650; }
.calendly-holder { min-width: 100%; height: 640px; }
.cal-fallback { font-size: 14px; color: var(--muted); line-height: 1.6; padding: 20px 0; }
.cal-loading { font-size: 14px; color: var(--muted); padding: 40px 0; text-align: center; }

.form-err { color: #C0392B; font-size: 13px; margin: 4px 0 12px; }
.book-submit { width: 100%; margin-top: 8px; }
.book-fine { font-size: 11.5px; color: var(--faint); text-align: center; margin-top: 12px; font-family: 'IBM Plex Mono', monospace; }

.book-success { padding: 60px 40px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.success-check { width: 56px; height: 56px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 10px; }
.book-success h2 { font-family: 'Fraunces', serif; font-weight: 600; font-size: 26px; }
.book-success p { color: var(--muted); font-size: 15px; max-width: 400px; line-height: 1.6; }
.book-success .btn { margin-top: 18px; }

@media (max-width: 720px) {
    .book-body { grid-template-columns: 1fr; }
    .book-intro { padding: 28px 24px; }
    .book-intro .book-points { display: none; }
    .book-form { padding: 24px 22px; }
    .book-schedule { padding: 20px 20px 24px; }
    .calendly-holder { height: 620px; }
}

/* ══════════════════════════════════════════════
   Blog
   ══════════════════════════════════════════════ */
.page-hero { padding: 76px 0 44px; }
.page-hero h1 { font-family: 'Fraunces', serif; font-weight: 600; font-size: clamp(34px, 5vw, 52px); line-height: 1.08; letter-spacing: -1px; margin: 18px 0 16px; }
.page-hero p { font-size: 17.5px; color: var(--muted); max-width: 560px; line-height: 1.7; }

.featured { padding-bottom: 56px; }
.fcard { display: grid; grid-template-columns: 1fr 1fr; text-decoration: none; color: inherit; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: box-shadow .2s ease, transform .2s ease; }
.fcard:hover { box-shadow: 0 26px 60px rgba(20,24,29,0.11); transform: translateY(-2px); }
.fcard-side { background: var(--ink); color: #fff; padding: 42px 38px; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; }
.fcard-side .post-cat { color: #9DB2FF; }
.fcard-side h2 { font-family: 'Fraunces', serif; font-weight: 600; font-size: 30px; line-height: 1.18; letter-spacing: -0.5px; margin-top: 14px; }
.fcard-flag { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: #7C97F0; }
.fcard-body { padding: 42px 38px; display: flex; flex-direction: column; justify-content: center; }
.fcard-body p { color: var(--muted); font-size: 15.5px; line-height: 1.7; }
.fcard-body .post-meta { margin-top: 22px; }
@media (max-width: 760px) { .fcard { grid-template-columns: 1fr; } .fcard-side { padding: 32px 28px; } .fcard-body { padding: 30px 28px; } }

.blog-section-label { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--faint); margin-bottom: 22px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 26px 24px; text-decoration: none; color: inherit; transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
a.post-card:hover { box-shadow: 0 18px 44px rgba(20,24,29,0.09); transform: translateY(-2px); border-color: #D2D8DF; }
/* Unwritten posts: shown as roadmap, not as broken links. */
.post-card.is-upcoming { border-style: dashed; background: transparent; cursor: default; }
.post-card.is-upcoming h3 { color: var(--muted); }
.post-cat { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.8px; text-transform: uppercase; color: var(--blue); }
.post-card h3 { font-family: 'Fraunces', serif; font-weight: 600; font-size: 20px; line-height: 1.25; letter-spacing: -0.3px; margin: 12px 0 10px; }
.post-card p { font-size: 14.5px; color: var(--muted); line-height: 1.6; flex-grow: 1; }
.post-meta { margin-top: 18px; display: flex; align-items: center; gap: 9px; font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; color: var(--faint); }
.post-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--faint); flex-shrink: 0; }

/* subscribe band */
.subscribe { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 64px 0; margin-top: 84px; }
.subscribe-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.subscribe h2 { font-family: 'Fraunces', serif; font-weight: 600; font-size: 30px; letter-spacing: -0.5px; max-width: 440px; line-height: 1.15; }
.subscribe .sub-lead { color: var(--muted); margin-top: 8px; font-size: 15px; }
.sub-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-start; }
.sub-form input { padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px; font-size: 15px; font-family: inherit; min-width: 260px; background: var(--paper); color: var(--ink); }
.sub-form input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); background: #fff; }
.sub-note { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; color: var(--faint); margin-top: 10px; }
.sub-ok { color: var(--green); font-weight: 600; font-size: 14.5px; }

/* article */
.article { max-width: 720px; margin: 0 auto; }
.article-head { padding: 60px 0 30px; }
.article-head .post-cat { color: var(--blue); }
.article-head h1 { font-family: 'Fraunces', serif; font-weight: 600; font-size: clamp(30px, 4.4vw, 46px); line-height: 1.12; letter-spacing: -0.8px; margin: 16px 0 18px; }
.article-meta { display: flex; align-items: center; gap: 9px; font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--faint); flex-wrap: wrap; }
.article-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--faint); }
.article-body { font-size: 17px; line-height: 1.8; color: #2C333B; padding-bottom: 44px; border-bottom: 1px solid var(--line); }
.article-body .lead { font-size: 19.5px; color: var(--muted); line-height: 1.65; margin-bottom: 26px; }
.article-body h2 { font-family: 'Fraunces', serif; font-weight: 600; font-size: 26px; letter-spacing: -0.4px; margin: 40px 0 14px; color: var(--ink); }
.article-body h3 { font-size: 19px; font-weight: 650; margin: 30px 0 10px; color: var(--ink); }
.article-body p { margin-bottom: 20px; }
.article-body ul, .article-body ol { margin: 0 0 20px 22px; }
.article-body li { margin-bottom: 8px; }
.article-body blockquote { border-left: 3px solid var(--blue); padding: 4px 0 4px 22px; margin: 28px 0; font-family: 'Fraunces', serif; font-weight: 500; font-size: 22px; line-height: 1.5; color: var(--ink); }
.article-body strong { font-weight: 650; color: var(--ink); }
.article-body a { color: var(--blue); }

/* Founder portrait. The source image carries its own circular colour field, so
   it is cropped to a circle and given only a hairline ring. Floated so the bio
   wraps around it; the following h2 clears it. */
.bio-photo { float: right; width: 132px; margin: 2px 0 14px 26px; }
.bio-photo img {
    display: block; width: 132px; height: 132px;
    border-radius: 50%; object-fit: cover;
    background: var(--marker); border: 1px solid var(--line);
}
.article-body h2 { clear: both; }
@media (max-width: 640px) {
    .bio-photo { float: none; width: 104px; margin: 0 0 18px; }
    .bio-photo img { width: 104px; height: 104px; }
}
.back-link { display: inline-flex; align-items: center; gap: 6px; font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; color: var(--muted); text-decoration: none; }
.back-link:hover { color: var(--ink); }
.article-cta { margin: 44px 0 10px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 32px 30px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.article-cta h3 { font-family: 'Fraunces', serif; font-weight: 600; font-size: 21px; letter-spacing: -0.3px; }
.article-cta p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }

/* Inline contextual link inside a timeline step */
.tl-link { margin-top: 10px; font-size: 14.5px; }
.tl-link a { text-decoration: none; font-weight: 600; }
.tl-link a:hover { text-decoration: underline; }

/* Extractable summary block: gives AI assistants and skim-readers a clean,
   self-contained answer near the top of an article. */
.takeaways {
    background: var(--card); border: 1px solid var(--line);
    border-left: 3px solid var(--blue); border-radius: 0 12px 12px 0;
    padding: 22px 26px; margin: 30px 0 34px;
}
.takeaways h2 {
    font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 500;
    letter-spacing: 1.2px; text-transform: uppercase; color: var(--blue);
    margin: 0 0 12px;
}
.takeaways ul { margin: 0 0 0 18px; }
.takeaways li { margin-bottom: 9px; font-size: 15.5px; line-height: 1.6; }
.takeaways li:last-child { margin-bottom: 0; }
