/* terrytsang.com — public site styles (mirrors terrytsang.com.pen tokens) */
:root {
  --bg: #FBFAF8;
  --bg-alt: #F2EEE7;
  --ink: #1C1A17;
  --ink-soft: #575049;
  --ink-mute: #8C847A;
  --line: #E7E1D7;
  --line-dark: #36322C;
  --accent: #BC4B2B;
  --accent-soft: #F2E2D9;
  --accent-tint: #F7E4D9;
  --dark: #1C1A17;
  --on-dark: #F4F1EC;
  --on-dark-soft: #A8A097;
  --ok-bg: #E4EDE2;
  --ok-ink: #2F6B3C;
  --display: "europa", "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
.icon { flex-shrink: 0; display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--on-dark); padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Nav ---------- */
.nav { display: grid; grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr); column-gap: 24px; align-items: center; padding: 22px 48px; border-bottom: 1px solid var(--line); background: var(--bg); position: relative; z-index: 20; }
.nav__logo { font-family: var(--display); font-size: 22px; font-weight: 700; color: var(--ink); white-space: nowrap; letter-spacing: 0; }
.nav__avatar { display: inline-flex; width: 44px; height: 44px; border-radius: 50%; padding: 2px; background: var(--accent-soft); box-shadow: inset 0 0 0 2px var(--accent); flex-shrink: 0; transition: transform .15s; }
.nav__avatar:hover { transform: scale(1.04); }
.nav__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a, .nav__sub { font-size: 14px; font-weight: 500; color: var(--ink-soft); white-space: nowrap; transition: color .15s; }
.nav__links a:hover, .nav__sub:hover, .nav__links a[aria-current="page"] { color: var(--ink); }
.nav__actions { display: flex; align-items: center; gap: 20px; justify-self: end; }
.nav__logo, .nav__avatar { justify-self: start; }
.btn-dark { display: inline-flex; align-items: center; gap: 6px; background: var(--dark); color: var(--on-dark); border-radius: 8px; padding: 11px 18px; font-size: 14px; font-weight: 600; white-space: nowrap; line-height: 1.2; border: 0; cursor: pointer; }
.btn-dark:hover { background: #000; }
.nav__toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; width: 40px; height: 40px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.nav__mobile { display: none; }

@media (max-width: 1023px) {
  .nav { padding: 16px 20px; display: flex; justify-content: space-between; }
  .nav__links, .nav__actions { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__mobile { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; flex-direction: column; }
  .nav.is-open .nav__mobile { display: flex; }
  .nav__mobile a { padding: 12px 0; font-size: 16px; font-weight: 500; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
  .nav__mobile .btn-dark { margin-top: 16px; justify-content: center; border: 0; color: var(--on-dark); }
}

/* ---------- Footer ---------- */
.footer { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 28px 48px 40px; text-align: center; }
.footer__l1 { font-size: 14px; color: var(--ink-soft); }
.footer__l2, .footer__l3 { font-size: 13px; color: var(--ink-mute); }
.footer a:hover { color: var(--ink); }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; font-size: 13px; color: var(--ink-mute); margin-top: 4px; }

/* ---------- Home column ---------- */
.home { width: 600px; max-width: 100%; margin: 0 auto; padding: 64px 0 72px; display: flex; flex-direction: column; align-items: center; gap: 40px; }
.home .footer { padding: 28px 0 0; }
.home .footer__l2 { color: var(--ink-soft); }

.profile { display: flex; flex-direction: column; align-items: center; gap: 18px; width: 100%; text-align: center; }
.avatar { position: relative; width: 116px; height: 116px; flex-shrink: 0; }
.avatar__ring { position: absolute; inset: 0; border-radius: 50%; background: var(--accent-soft); box-shadow: inset 0 0 0 2px var(--accent); }
.avatar__photo { position: absolute; left: 5px; top: 5px; width: 106px; height: 106px; border-radius: 50%; object-fit: cover; background: var(--accent-soft); }
.avatar__live { position: absolute; left: 90px; top: 90px; width: 18px; height: 18px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 3px var(--bg); }
.name-row { display: flex; align-items: center; gap: 8px; }
.name-row h1 { margin: 0; font-family: var(--display); font-size: 34px; font-weight: 700; letter-spacing: -0.5px; line-height: 1.2; color: var(--ink); }
.verify { width: 24px; height: 24px; border-radius: 40px; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.bio { margin: 0; width: 440px; max-width: 100%; font-size: 17px; line-height: 26px; color: var(--ink-soft); }
.stat-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 40px; padding: 7px 16px; font-size: 14px; font-weight: 500; color: var(--ink); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.socials { display: flex; align-items: center; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--ink-soft); transition: border-color .15s, color .15s; }
.socials a:hover { color: var(--ink); border-color: var(--ink-mute); }

/* ---------- Newsletter ---------- */
.newsletter { width: 100%; background: var(--dark); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; scroll-margin-top: 24px; }
.newsletter h2 { margin: 0; font-family: var(--display); font-size: 23px; font-weight: 700; color: var(--on-dark); line-height: 1.25; }
.newsletter p { margin: 0; width: 420px; max-width: 100%; font-size: 14px; line-height: 21px; color: var(--on-dark-soft); }
.newsletter form { display: flex; align-items: center; gap: 9px; width: 100%; }
.newsletter input[type=email] { flex: 1; min-width: 0; background: #2A2621; border: 1px solid transparent; border-radius: 9px; padding: 12px 16px; font-size: 14px; color: var(--on-dark); line-height: 1.25; }
.newsletter input::placeholder { color: #8A837A; }
.newsletter input:focus { outline: none; border-color: var(--accent); }
.newsletter .consent { font-size: 12px; line-height: 18px; color: #8A837A; width: 100%; }
.newsletter .consent a { text-decoration: underline; }
.newsletter .flash { color: #FBE7DD; font-size: 14px; font-weight: 500; }
.newsletter .err { color: #F7A58D; font-size: 13px; }
.btn-accent { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--accent); color: #fff; border: 0; border-radius: 9px; padding: 13px 22px; font-size: 14px; font-weight: 600; line-height: 1.2; cursor: pointer; white-space: nowrap; transition: background .15s; }
.btn-accent:hover { background: #A63F22; }
.btn-outline { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: 9px; padding: 12px 20px; font-size: 14px; font-weight: 600; line-height: 1.2; cursor: pointer; white-space: nowrap; }
.btn-outline:hover { border-color: var(--ink-mute); }

/* ---------- Section divider ---------- */
.divider { display: flex; align-items: center; gap: 14px; width: 100%; padding-top: 8px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.divider span { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; color: var(--ink-mute); text-transform: uppercase; white-space: nowrap; }
.divider a:hover { color: var(--ink); }

/* ---------- Row cards ---------- */
.rows { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.rows--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.row-card { display: flex; align-items: center; gap: 16px; padding: 15px 18px; border-radius: 13px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .15s, transform .15s; min-width: 0; }
a.row-card:hover { box-shadow: inset 0 0 0 1px var(--ink-mute); }
a.row-card:hover .row-card__arrow { color: var(--ink); transform: translateX(2px); }
.row-card--current { background: var(--accent-soft); box-shadow: inset 0 0 0 1.5px var(--accent); }
a.row-card--current:hover { box-shadow: inset 0 0 0 2px var(--accent); }
.tile { width: 52px; height: 52px; border-radius: 12px; flex-shrink: 0; overflow: hidden; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.row-card__mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.row-card__name { display: flex; align-items: center; gap: 8px; min-width: 0; }
.row-card__name strong { font-family: var(--display); font-size: 16.5px; font-weight: 700; color: var(--ink); line-height: 1.3; white-space: nowrap; flex-shrink: 0; }
.rows .row-card__name { flex-wrap: wrap; }
.rows .row-card__name strong { white-space: normal; flex-shrink: 1; }
.row-card__desc { font-size: 14px; line-height: 20px; color: var(--ink-mute); }
.row-card__arrow { color: var(--ink-mute); transition: transform .15s, color .15s; }
.badge { display: inline-block; border-radius: 40px; padding: 3px 8px; font-size: 11px; font-weight: 700; letter-spacing: .5px; line-height: 1.2; background: var(--bg-alt); color: var(--ink-mute); white-space: nowrap; }
.badge--accent { background: var(--accent-tint); color: var(--accent); }
.badge--free { background: var(--ok-bg); color: var(--ok-ink); }
.badge--dark { background: var(--dark); color: var(--on-dark); }

/* ---------- Page header (Writing / Build) ---------- */
.page-head { padding: 64px 48px 24px; display: flex; flex-direction: column; align-items: center; }
.page-head__inner { width: 720px; max-width: 100%; display: flex; flex-direction: column; gap: 18px; }
.page-head__inner--wide { width: 900px; gap: 16px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; color: var(--accent); text-transform: uppercase; margin: 0; }
.title-xl { margin: 0; font-family: var(--display); font-size: 46px; font-weight: 700; letter-spacing: -1px; line-height: 47px; color: var(--ink); }
.lede { margin: 0; font-size: 18px; line-height: 28px; color: var(--ink-soft); }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 8px; }
.chip { display: inline-block; padding: 8px 14px; border-radius: 40px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 500; color: var(--ink-soft); line-height: 1.2; white-space: nowrap; }
.chip:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink-mute); }
.chip.is-active { background: var(--dark); color: var(--on-dark); box-shadow: none; }

/* ---------- Writing list ---------- */
.list-sec { padding: 16px 48px 80px; display: flex; flex-direction: column; align-items: center; }
.list-sec__inner { width: 720px; max-width: 100%; border-top: 1px solid var(--line); }
.post { display: flex; flex-direction: column; gap: 9px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--ink-mute); }
.meta__cat { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--accent); text-transform: uppercase; }
.meta__sep { color: var(--line); font-size: 12px; }
.post h2 { margin: 0; font-family: var(--display); font-size: 27px; font-weight: 700; letter-spacing: -0.4px; line-height: 30px; color: var(--ink); }
.post h2 a:hover { color: var(--accent); }
.post p { margin: 0; font-size: 15.5px; line-height: 23px; color: var(--ink-soft); }
.read-link { display: inline-flex; align-items: center; gap: 6px; padding-top: 4px; font-size: 14px; font-weight: 600; color: var(--accent); align-self: flex-start; }
.read-link:hover .icon { transform: translateX(2px); }
.read-link .icon { transition: transform .15s; }
.empty { padding: 48px 0; text-align: center; color: var(--ink-mute); }
.pager { display: flex; justify-content: space-between; padding-top: 28px; font-size: 14px; font-weight: 600; color: var(--accent); }

/* ---------- Article ---------- */
.urlbar-sec { padding: 28px 48px 0; display: flex; justify-content: center; }
.urlbar { width: 720px; max-width: 100%; display: flex; align-items: center; gap: 10px; background: var(--bg-alt); box-shadow: inset 0 0 0 1px var(--line); border-radius: 40px; padding: 11px 18px; font-size: 14px; font-weight: 500; color: var(--ink-soft); overflow: hidden; }
.urlbar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.art-head { padding: 32px 48px 0; display: flex; justify-content: center; }
.art-head__inner { width: 720px; max-width: 100%; display: flex; flex-direction: column; gap: 18px; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--ink-mute); }
.crumbs a:hover { color: var(--ink); }
.crumbs .is-current { color: var(--accent); font-weight: 600; }
.art-title { margin: 0; font-family: var(--display); font-size: 46px; font-weight: 700; letter-spacing: -1px; line-height: 48px; color: var(--ink); }
.byline { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 2px; font-size: 14px; color: var(--ink-mute); }
.byline img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; box-shadow: inset 0 0 0 1px var(--line); background: var(--bg-alt); }
.byline strong { color: var(--ink); font-weight: 600; }
.art-body { padding: 28px 48px 40px; display: flex; justify-content: center; }
.art-body__inner { width: 720px; max-width: 100%; display: flex; flex-direction: column; gap: 24px; }
.cover { width: 100%; height: 380px; border-radius: 14px; object-fit: cover; background: var(--bg-alt); }

.prose { font-size: 17px; line-height: 29px; color: var(--ink-soft); }
.prose > * { margin: 0 0 24px; }
.prose > *:last-child { margin-bottom: 0; }
.prose > p:first-child, .prose--lead > p:first-child { font-size: 20px; line-height: 34px; color: var(--ink); }
.prose--plain > p:first-child { font-size: 17px; line-height: 29px; color: var(--ink-soft); }
.prose h2 { font-family: var(--display); font-size: 28px; font-weight: 700; letter-spacing: -0.4px; line-height: 1.25; color: var(--ink); margin-top: 8px; }
.prose h3 { font-family: var(--display); font-size: 22px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose blockquote { border-left: 3px solid var(--accent); padding: 4px 0 4px 24px; margin-left: 0; }
.prose blockquote p { margin: 0; font-family: var(--display); font-style: italic; font-size: 22px; line-height: 33px; color: var(--ink); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose img { border-radius: 12px; }
.prose code { background: var(--bg-alt); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.prose pre { background: var(--dark); color: var(--on-dark); padding: 18px; border-radius: 12px; overflow-x: auto; font-size: 14px; line-height: 1.6; }
.prose pre code { background: none; padding: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 8px; text-align: left; }

.seo-card { background: var(--bg-alt); box-shadow: inset 0 0 0 1px var(--line); border-radius: 12px; overflow: hidden; }
.seo-card__head { display: flex; align-items: center; gap: 9px; background: #EAE4DA; padding: 14px 22px; font-size: 12px; font-weight: 700; letter-spacing: 1.2px; color: var(--ink-soft); }
.seo-card__body { padding: 4px 22px 16px; }
.seo-row { display: flex; flex-direction: column; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.seo-row:last-child { border-bottom: 0; padding-bottom: 2px; gap: 9px; }
.seo-row dt { font-size: 11px; font-weight: 700; letter-spacing: .8px; color: var(--ink-mute); text-transform: uppercase; }
.seo-row dd { margin: 0; font-size: 15px; line-height: 23px; color: var(--ink); }
.kw { display: flex; flex-wrap: wrap; gap: 7px; }
.kw a, .kw span { background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); border-radius: 40px; padding: 5px 11px; font-size: 12.5px; font-weight: 500; color: var(--ink-soft); }
.kw a:hover { color: var(--ink); }
.back-link { display: inline-flex; align-items: center; gap: 7px; padding-top: 14px; font-size: 15px; font-weight: 600; color: var(--accent); align-self: flex-start; }

/* ---------- Build in public ---------- */
.week-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.week-badge { background: var(--accent); color: #fff; border-radius: 8px; padding: 6px 12px; font-size: 12px; font-weight: 700; letter-spacing: .5px; line-height: 1.2; }
.pill { display: inline-flex; align-items: center; gap: 7px; border-radius: 40px; padding: 6px 12px; background: var(--bg-alt); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 600; color: var(--ink-soft); line-height: 1.2; }
.pill .dot { background: #F5A623; }
.pill--done .dot { background: #4ADE80; }
.pill--planned .dot, .pill--paused .dot { background: var(--ink-mute); }
.week-info { font-size: 15px; color: var(--ink-mute); }
.week-info a:hover { color: var(--ink); }
.build-body { padding: 12px 48px 80px; display: flex; justify-content: center; }
.build-body__inner { width: 900px; max-width: 100%; display: flex; gap: 28px; align-items: flex-start; }
.today { flex: 1; min-width: 0; background: var(--bg); box-shadow: inset 0 0 0 2px var(--accent); border-radius: 18px; padding: 34px; display: flex; flex-direction: column; gap: 18px; }
.today__top { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.today__label { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; color: var(--accent); text-transform: uppercase; }
.pill-accent { display: inline-flex; align-items: center; gap: 7px; background: var(--accent-tint); color: var(--accent); border-radius: 40px; padding: 5px 11px; font-size: 12px; font-weight: 700; line-height: 1.2; }
.pill-accent .dot { background: var(--accent); }
.pill-accent--done { background: var(--ok-bg); color: var(--ok-ink); }
.pill-accent--done .dot { background: var(--ok-ink); }
.pill-accent--upcoming { background: var(--bg-alt); color: var(--ink-mute); }
.pill-accent--upcoming .dot { background: var(--ink-mute); }
.phase { display: flex; align-items: center; gap: 12px; }
.phase__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.phase h2 { margin: 0; font-family: var(--display); font-size: 30px; font-weight: 700; letter-spacing: -0.5px; line-height: 1.2; color: var(--ink); }
.today__desc { font-size: 16px; line-height: 26px; color: var(--ink-soft); }
.today__desc > * { margin: 0 0 12px; }
.today__desc > *:last-child { margin-bottom: 0; }
.checklist { list-style: none; margin: 0; padding: 18px 0 4px; display: flex; flex-direction: column; gap: 10px; }
.checklist li { display: flex; align-items: center; gap: 11px; font-size: 15px; font-weight: 500; color: var(--ink); line-height: 1.4; }
.checklist .box { width: 22px; height: 22px; border-radius: 40px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.checklist .is-done .box { background: var(--accent); color: #fff; }
.checklist .is-doing .box { background: var(--accent-tint); color: var(--accent); }
.checklist .is-todo .box { background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink-mute); }
.checklist .is-todo { color: var(--ink-mute); font-weight: 400; }
.today .btn-accent { align-self: flex-start; }

.week-list { width: 300px; flex-shrink: 0; display: flex; flex-direction: column; gap: 10px; }
.week-list__label { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; color: var(--ink-mute); text-transform: uppercase; }
.day { display: flex; align-items: center; gap: 12px; padding: 13px 15px; border-radius: 12px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
a.day:hover { box-shadow: inset 0 0 0 1px var(--ink-mute); }
.day__c { width: 32px; height: 32px; border-radius: 40px; background: var(--bg-alt); color: var(--ink-mute); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.day__mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.day__dp { font-family: var(--display); font-size: 14.5px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.day__note { font-size: 12.5px; color: var(--ink-mute); line-height: 1.35; }
.day__st { font-size: 11px; font-weight: 600; color: var(--ink-mute); white-space: nowrap; }
.day--done { background: var(--dark); box-shadow: none; }
a.day--done:hover { box-shadow: none; background: #000; }
.day--done .day__c { background: var(--accent); color: #fff; }
.day--done .day__dp { color: var(--on-dark); }
.day--done .day__note, .day--done .day__st { color: var(--on-dark-soft); }
.day--active { background: var(--accent); box-shadow: none; }
a.day--active:hover { box-shadow: none; background: #A63F22; }
.day--active .day__c { background: #fff; color: var(--accent); }
.day--active .day__dp { color: #fff; }
.day--active .day__note, .day--active .day__st { color: #FBE7DD; }
.day.is-selected { outline: 2px solid var(--ink); outline-offset: 2px; }

.sec { padding: 0 48px 64px; display: flex; justify-content: center; }
.sec__inner { width: 900px; max-width: 100%; display: flex; flex-direction: column; gap: 18px; }
.sec__inner--narrow { width: 720px; }
.sec h2.sec-title { margin: 0; font-family: var(--display); font-size: 28px; font-weight: 700; letter-spacing: -0.4px; color: var(--ink); }
.entry { display: grid; grid-template-columns: 170px 1fr; gap: 24px; padding: 24px 0; border-top: 1px solid var(--line); }
.entry__day { display: flex; flex-direction: column; gap: 6px; }
.entry__day strong { font-size: 15px; font-weight: 700; color: var(--ink); }
.entry__day span { font-size: 13px; color: var(--ink-mute); }
.panel { background: var(--bg-alt); box-shadow: inset 0 0 0 1px var(--line); border-radius: 14px; padding: 24px 26px; }
.panel h3 { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; color: var(--ink-mute); text-transform: uppercase; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cycle-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; width: 100%; }
.cycle-grid div { background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); border-radius: 12px; padding: 12px 8px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.cycle-grid small { font-size: 11px; font-weight: 700; letter-spacing: .5px; color: var(--ink-mute); }
.cycle-grid strong { font-size: 12.5px; color: var(--ink); }
.cycle-grid .icon { color: var(--accent); }

/* ---------- Generic pages / directories ---------- */
.dir { padding: 8px 48px 80px; display: flex; justify-content: center; }
.dir__inner { width: 900px; max-width: 100%; display: flex; flex-direction: column; gap: 20px; }
.dir__inner--narrow { width: 720px; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.search { display: flex; align-items: center; gap: 8px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); border-radius: 40px; padding: 0 14px; height: 36px; color: var(--ink-mute); margin-left: auto; }
.search input { border: 0; background: none; outline: none; font-size: 13px; color: var(--ink); width: 160px; }
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.p-card { display: flex; flex-direction: column; border-radius: 14px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: box-shadow .15s; }
.p-card:hover { box-shadow: inset 0 0 0 1px var(--ink-mute); }
.p-card__img { aspect-ratio: 16/9; background: var(--bg-alt); overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--accent); }
.p-card__img img { width: 100%; height: 100%; object-fit: cover; }
.p-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; }
.p-card__body h3 { margin: 0; font-family: var(--display); font-size: 18px; font-weight: 700; color: var(--ink); }
.p-card__body p { margin: 0; font-size: 14px; line-height: 20px; color: var(--ink-mute); }
.p-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-mute); }

.detail-hero { width: 100%; border-radius: 14px; overflow: hidden; background: var(--bg-alt); box-shadow: inset 0 0 0 1px var(--line); }
.detail-hero img { width: 100%; max-height: 460px; object-fit: cover; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; }
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.metric { background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); border-radius: 12px; padding: 14px 16px; }
.metric small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .8px; color: var(--ink-mute); text-transform: uppercase; }
.metric strong { font-family: var(--display); font-size: 26px; font-weight: 700; color: var(--ink); }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 18px 20px; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.timeline time { font-size: 12px; color: var(--ink-mute); font-weight: 600; }
.timeline strong { display: block; color: var(--ink); font-size: 15px; }
.timeline p { margin: 4px 0 0; font-size: 14px; color: var(--ink-soft); line-height: 22px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Forms */
.form { display: flex; flex-direction: column; gap: 16px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 15px; color: var(--ink); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.field .err { font-size: 13px; color: var(--accent); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); line-height: 1.45; }
.check input { margin-top: 3px; accent-color: var(--accent); }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.notice { background: var(--ok-bg); color: var(--ok-ink); border-radius: 10px; padding: 12px 16px; font-size: 14px; font-weight: 500; }
.notice--err { background: var(--accent-tint); color: var(--accent); }
.email-gate { display: flex; gap: 9px; }
.email-gate input { flex: 1; min-width: 0; background: var(--bg); border: 1px solid var(--line); border-radius: 9px; padding: 12px 14px; font-size: 14px; }

/* 404 */
.center-msg { min-height: 50vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 64px 24px; text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .build-body__inner { flex-direction: column; }
  .week-list { width: 100%; }
  .cycle-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 720px) {
  .home { padding: 40px 16px 56px; gap: 32px; }
  .page-head, .list-sec, .art-head, .art-body, .build-body, .sec, .dir, .urlbar-sec { padding-left: 16px; padding-right: 16px; }
  .page-head { padding-top: 40px; }
  .title-xl, .art-title { font-size: 34px; line-height: 38px; letter-spacing: -0.6px; }
  .post h2 { font-size: 23px; line-height: 27px; }
  .rows--2, .card-grid, .grid-2, .form .row2 { grid-template-columns: 1fr; }
  .newsletter { padding: 22px 18px; }
  .newsletter form, .email-gate { flex-direction: column; align-items: stretch; }
  .today { padding: 24px 20px; }
  .cover { height: 220px; }
  .entry { grid-template-columns: 1fr; gap: 8px; }
  .cycle-grid { grid-template-columns: repeat(2, 1fr); }
  .search { margin-left: 0; width: 100%; }
  .search input { width: 100%; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 8px 16px 4px; scrollbar-width: none; }
  .row-card { padding: 13px 14px; gap: 12px; }
  .tile { width: 46px; height: 46px; }
  .footer { padding: 24px 16px 32px; }
}

/* ---------- Writing: a builder's notebook ---------- */
.nb-head { padding-bottom: 8px; }
.nb-mast { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-top: 14px; padding: 10px 0; border-top: 3px double var(--ink); border-bottom: 1px solid var(--ink); }
.nb-mast__name { font-family: var(--display); font-style: italic; font-size: 17px; color: var(--ink); }
.nb-mast__meta { font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-mute); font-variant-numeric: tabular-nums; }
.nb-index { display: flex; flex-wrap: wrap; gap: 6px 22px; padding-top: 4px; }
.nb-index a { font-size: 15px; font-weight: 500; color: var(--ink-soft); padding-bottom: 2px; border-bottom: 2px solid transparent; }
.nb-index a:hover { color: var(--ink); }
.nb-index a.is-active { color: var(--ink); border-bottom-color: var(--accent); }
.nb-index a.is-empty { color: var(--ink-mute); }
.nb-index sup { font-size: 10px; font-weight: 600; color: var(--ink-mute); margin-left: 3px; font-variant-numeric: tabular-nums; }
.nb-legend { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 2px; }
.nb-legend__keys { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.nb-search { display: flex; align-items: center; gap: 6px; color: var(--ink-mute); border-bottom: 1px solid var(--line); padding: 4px 0; }
.nb-search input { border: 0; background: none; outline: none; font-size: 13px; color: var(--ink); width: 170px; }
.nb-search:focus-within { border-bottom-color: var(--accent); }

/* Honest status markers */
.stage { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ink-soft); white-space: nowrap; }
.stage::before { content: ""; width: 9px; height: 9px; border-radius: 50%; box-sizing: border-box; flex-shrink: 0; }
.stage--observation::before { border: 1.5px solid var(--ink-mute); }
.stage--experiment::before { border: 1.5px solid #D98E04; background: linear-gradient(90deg, #D98E04 50%, transparent 50%); }
.stage--lesson::before { background: var(--ok-ink); }

.nb-list { padding-top: 8px; }
.nb-list__inner { border-top: 0; width: 900px; }
.nb-head .page-head__inner--wide { gap: 18px; }
.nb-filter { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; flex-wrap: wrap; background: var(--bg-alt); border-radius: 10px; padding: 12px 16px; font-size: 14px; color: var(--ink-soft); margin-bottom: 8px; }
.nb-filter strong { color: var(--ink); }
.nb-filter a { color: var(--accent); font-weight: 600; white-space: nowrap; }
.nb-month { display: flex; align-items: center; gap: 14px; margin: 36px 0 0; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-mute); }
.nb-month::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.nb-month:first-of-type { margin-top: 12px; }

.entry-row { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.entry-row:last-of-type { border-bottom: 0; }
.entry-row__date { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding-top: 2px; }
.entry-row__date time { display: flex; flex-direction: column; line-height: 1; }
.entry-row__date .d { font-family: var(--display); font-size: 32px; font-weight: 700; color: var(--ink); letter-spacing: -0.5px; font-variant-numeric: lining-nums tabular-nums; }
.entry-row__date .w { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--ink-mute); margin-top: 5px; }
.entry-row__date .no { font-size: 11px; color: var(--ink-mute); font-variant-numeric: tabular-nums; }
.entry-row__date .no:hover { color: var(--accent); }
.entry-row__body { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.entry-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-size: 12.5px; color: var(--ink-mute); }
.entry-meta .fmt { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--accent); }
.entry-meta a:hover { color: var(--ink); }
.entry-title { margin: 0; font-family: var(--display); font-weight: 700; color: var(--ink); font-size: 27px; line-height: 32px; letter-spacing: -0.4px; }
.entry-title a:hover { color: var(--accent); }
.entry-excerpt { margin: 0; font-size: 15.5px; line-height: 24px; color: var(--ink-soft); }
.entry-foot { display: flex; align-items: center; gap: 16px; }
.entry-foot .read-link { padding-top: 0; }
.entry-steps { font-size: 12.5px; color: var(--ink-mute); padding-left: 16px; border-left: 1px solid var(--line); }
.entry-row--tutorial .read-link, .entry-row--essay .read-link { margin-top: 2px; }

/* Notes: read in full, written like a journal line */
.entry-note { font-family: var(--display); font-size: 19px; line-height: 30px; color: var(--ink); }
.entry-note.prose > p:first-child { font-size: 19px; line-height: 30px; color: var(--ink); }
.entry-note.prose > * { margin-bottom: 12px; }

/* Experiment reports: a lab-card */
.entry-report { display: flex; flex-direction: column; gap: 9px; background: var(--bg-alt); box-shadow: inset 0 0 0 1px var(--line); border-left: 3px solid #D98E04; border-radius: 4px 12px 12px 4px; padding: 18px 20px; }
.entry-report__label { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #8A5A00; }

/* Article page: format + status line */
.art-kind { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.art-kind .fmt { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--accent); }

@media (max-width: 720px) {
  .entry-row { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 22px 0; }
  .entry-row__date .d { font-size: 26px; }
  .entry-title { font-size: 23px; line-height: 28px; }
  .entry-note, .entry-note.prose > p:first-child { font-size: 17px; line-height: 27px; }
  .nb-search { width: 100%; }
  .nb-search input { width: 100%; }
  .nb-index { gap: 6px 16px; }
}

/* Headings: Europa (via optional Adobe Fonts kit) → Figtree fallback, bold with tight tracking */
h1, h2, h3, h4 { font-family: var(--display); }
.panel h3, .week-list__label, .nb-month { font-family: var(--body); }

/* Product pages share the 900px container with the build tracker */
.art-head__inner--wide, .art-body__inner--wide { width: 900px; }

/* The 6-Day Solo Launch framework strip */
.solo-launch { display: flex; flex-direction: column; gap: 14px; width: 100%; }
.solo-launch__lede { margin: 0; font-size: 15px; line-height: 23px; color: var(--ink-soft); }
.solo-launch__lede strong { color: var(--ink); font-family: var(--display); }
.solo-launch__rest { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-mute); }
.cycle-grid--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.cycle-grid--6 > div { min-width: 0; }
@media (max-width: 960px) { .cycle-grid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .cycle-grid--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Product page: intro · why · features · how it works ---------- */
.product-intro > p:first-child { font-size: 21px; line-height: 33px; color: var(--ink); }
.why-built { background: var(--accent-soft); border-radius: 14px; padding: 22px 26px 24px; border-left: 4px solid var(--accent); }
.why-built__label { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); }
.why-built .prose { color: var(--ink); font-size: 17px; line-height: 28px; }
.why-built .prose > p { margin-bottom: 12px; }
.product-sec { display: flex; flex-direction: column; gap: 16px; }
.product-sec__title { margin: 8px 0 0; font-family: var(--display); font-size: 28px; font-weight: 700; letter-spacing: -0.4px; color: var(--ink); }
.feature-grid ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.feature-grid li { background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); border-radius: 12px; padding: 16px 18px; font-size: 14.5px; line-height: 22px; color: var(--ink-soft); }
.feature-grid li strong { display: block; font-family: var(--display); font-size: 16.5px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.feature-grid p { margin: 0 0 12px; color: var(--ink-soft); }
.steps ol { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.steps li { counter-increment: step; position: relative; background: var(--bg-alt); border-radius: 12px; padding: 16px 18px 18px; font-size: 14.5px; line-height: 22px; color: var(--ink-soft); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--display); font-size: 22px; font-weight: 700; color: var(--accent); margin-bottom: 6px; }
.steps li strong { display: block; color: var(--ink); font-size: 15.5px; margin-bottom: 2px; }
.steps p { margin: 0; color: var(--ink-soft); }
@media (max-width: 720px) {
  .feature-grid ul { grid-template-columns: 1fr; }
  .product-intro > p:first-child { font-size: 18px; line-height: 29px; }
  .why-built { padding: 18px 18px 20px; }
}
.why-built .prose > p:first-child { font-size: 17px; line-height: 28px; color: var(--ink); }

.email-link { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 500; color: var(--ink-soft); border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.email-link:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* Long-form guides (resources) */
.prose pre { white-space: pre-wrap; word-break: break-word; }
.prose table { margin: 4px 0 8px; font-size: 15px; line-height: 22px; }
.prose th { font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--ink-mute); }
.prose td strong { color: var(--ink); }
.prose hr { margin: 16px 0; }
.guide h2 { margin-top: 20px; }
.guide h3 { margin-top: 8px; font-size: 21px; }
.guide blockquote p { font-size: 19px; line-height: 30px; }
@media (max-width: 720px) { .prose table { display: block; overflow-x: auto; white-space: nowrap; } }
.prose ul:has(> li > input[type=checkbox]) { list-style: none; padding-left: 0; }
.prose li:has(> input[type=checkbox]) { position: relative; padding-left: 28px; }
.prose li > input[type=checkbox] { position: absolute; left: 0; top: 6px; margin: 0; accent-color: var(--accent); width: 16px; height: 16px; }

/* Multi-part guides: chapter strip + continue card */
.chapter-nav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: 0 -2px; }
.chapter-nav__item { position: relative; flex: 1 1 0; min-width: 92px; display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.25; }
.chapter-nav__item small { white-space: nowrap; font-size: 10.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-mute); }
a.chapter-nav__item:hover { box-shadow: inset 0 0 0 1px var(--ink-mute); }
.chapter-nav__item.is-current { background: var(--accent); box-shadow: none; color: #fff; }
.chapter-nav__item.is-current small { color: #FBE7DD; }
.chapter-nav__item.is-soon { color: var(--ink-mute); background: var(--bg-alt); box-shadow: none; }
.continue-card { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; border-radius: 14px; background: var(--dark); color: var(--on-dark); margin-top: 8px; transition: background .15s; }
a.continue-card:hover { background: #000; }
a.continue-card:hover .icon { transform: translateX(3px); }
.continue-card .icon { transition: transform .15s; }
.continue-card__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #F3A58C; }
.continue-card__title { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 26px; font-weight: 700; letter-spacing: -0.4px; }
.continue-card__sub { font-size: 15px; line-height: 23px; color: var(--on-dark-soft); }
.continue-card.is-soon { background: var(--bg-alt); color: var(--ink); }
.continue-card.is-soon .continue-card__eyebrow { color: var(--ink-mute); }
.continue-card.is-soon .continue-card__sub { color: var(--ink-soft); }
.continue-card.is-soon a { color: var(--accent); font-weight: 600; }

/* Screenshots inside guides: framed image + caption */
.prose p:has(> img), .prose p:has(> a > img) { font-size: 13.5px; line-height: 20px; color: var(--ink-mute); text-align: center; }
.prose p:has(> img) img, .prose p:has(> a > img) img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 0 0 1px var(--line), 0 10px 30px -18px rgba(28, 26, 23, .35); margin-bottom: 10px; }
.prose p:has(> a > img) a { text-decoration: none; }
.prose p:has(> img) em, .prose p:has(> a > img) em { display: block; }
@media (max-width: 720px) { .stat-pill { text-align: left; max-width: 100%; } }

/* Prompt boxes: label + Copy / Open in ChatGPT toolbar on code blocks */
.code-box { position: relative; background: var(--dark); border-radius: 12px; margin: 0 0 24px; overflow: hidden; }
.prose .code-box pre { margin: 0; border-radius: 0; padding-top: 4px; background: transparent; }
.code-box__bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px 6px 18px; border-bottom: 1px solid var(--line-dark); min-height: 44px; }
.code-box__label { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #F3A58C; }
.code-box__hint { font-size: 11.5px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--on-dark-soft); }
.code-box__actions { display: flex; gap: 6px; flex-shrink: 0; }
.prose .code-box__btn { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 8px; border: 1px solid var(--line-dark); background: #2A2621; color: var(--on-dark); font: 600 12.5px/1 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s; }
.prose .code-box__btn:hover { background: #36322C; border-color: #57504a; }
.prose .code-box__btn.is-done { color: #9BE3A8; border-color: #2F6B3C; }
.prose .code-box__btn--chatgpt { background: var(--accent); border-color: var(--accent); color: #fff; }
.prose .code-box__btn--chatgpt:hover { background: #A63F22; border-color: #A63F22; }
.code-box.is-editable code { display: block; outline: none; cursor: text; border-radius: 6px; }
.code-box.is-editable code:focus { box-shadow: 0 0 0 2px rgba(243, 165, 140, .55); background: rgba(255, 255, 255, .03); }
.code-box__short { display: none; }
@media (max-width: 720px) {
  .code-box__bar { padding: 8px 8px 6px 14px; }
  .code-box__label { font-size: 10px; letter-spacing: .6px; min-width: 0; }
  .code-box__hint { display: none; }
  .prose .code-box__btn { height: 28px; padding: 0 9px; font-size: 12px; }
  .code-box__long { display: none; }
  .code-box__short { display: inline; }
}

/* ---------- "Download the full PDF guide" ---------- */
.pdf-offer { display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: start; background: var(--bg-alt); box-shadow: inset 0 0 0 1px var(--line); border-radius: 16px; padding: 28px; margin: 0 0 40px; }
.pdf-offer__cover { width: 150px; height: auto; aspect-ratio: 210 / 297; object-fit: cover; background: var(--dark); border-radius: 6px; box-shadow: 0 18px 36px -18px rgba(28, 26, 23, .6), 0 0 0 1px rgba(28, 26, 23, .08); transform: rotate(-2deg); margin-top: 4px; }
.pdf-offer__eyebrow { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); }
.pdf-offer__title { margin: 0 0 8px; font-family: var(--display); font-size: 26px; line-height: 1.2; font-weight: 800; letter-spacing: -0.4px; color: var(--ink); }
.pdf-offer__text { margin: 0 0 12px; font-size: 15.5px; line-height: 1.55; color: var(--ink-soft); }
.pdf-offer__facts { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 18px; }
.pdf-offer__facts li { font-size: 12.5px; font-weight: 600; color: var(--ink); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); border-radius: 99px; padding: 4px 10px; }
.pdf-offer__form { display: grid; gap: 12px; }
.pdf-offer__form .email-gate input { background: #fff; }
.pdf-offer__form .btn-accent { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.pdf-offer__fine { margin: 0; font-size: 12.5px; color: var(--ink-mute); }
.pdf-offer__fine a { color: inherit; }
.pdf-offer .notice { display: flex; gap: 8px; align-items: flex-start; }
.pdf-offer .err { color: var(--accent); font-size: 13.5px; }
@media (max-width: 640px) {
  .pdf-offer { grid-template-columns: 1fr; padding: 22px 20px; gap: 18px; }
  .pdf-offer__cover { width: 110px; }
  .pdf-offer__title { font-size: 22px; }
}
