  @font-face {
    font-family: 'Archivo Black';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/archivo-black-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }

  @font-face {
    font-family: 'Archivo Black';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/archivo-black-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }

  @font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('/fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }

  @font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('/fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }

:root {
  --ink: #111111;
  --ink-hover: #2a2a2a;
  --yellow: #feeb23;
  --yellow-hover: #e5d31f;
  --cream: #fcefcc;
  --muted: #6d6a60;
  --muted-on-ink: #8a8578;
  --hairline: #e6dcbb;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 768px) { body { font-size: 1.0625rem; } }

h1, h2, h3 { font-family: 'Archivo Black', sans-serif; margin: 0; font-weight: 400; }
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.15; }
h3 { font-family: 'Inter', sans-serif; font-size: 1.1875rem; font-weight: 600; letter-spacing: 0.01em; line-height: 1.35; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin: 0 0 16px;
}
.eyebrow.on-ink { color: var(--yellow); }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 760px; }
@media (min-width: 768px) { .container { padding: 0 40px; } }

.divider { width: 120px; height: 4px; border-radius: 2px; background: var(--yellow); margin-bottom: 24px; }

.hl {
  background: var(--yellow);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding: 0.04em 0.22em;
  border-radius: 0.14em;
}

:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* logo, header, buttons, footer: same as the homepage */
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark { background: var(--ink); border-radius: 22%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo-mark svg { display: block; }
header .logo-mark { width: 40px; height: 40px; }
header .logo-mark svg { width: 20px; height: auto; }
footer .logo-mark { width: 56px; height: 56px; }
footer .logo-mark svg { width: 28px; height: auto; }
.wordmark { font-family: 'Archivo Black', sans-serif; font-size: 1.0625rem; letter-spacing: 0.04em; color: var(--ink); }
footer .wordmark { color: var(--cream); }

header { position: sticky; top: 0; background: rgba(252, 239, 204, 0.86); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--hairline); z-index: 10; }
header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.nav-right { display: flex; align-items: center; gap: 32px; }
.nav-links { display: none; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-weight: 500; text-decoration: none; }
.nav-links a:hover { text-decoration: underline; }
@media (min-width: 900px) { .nav-links { display: flex; } }

.btn { display: inline-block; padding: 0.9rem 1.6rem; border-radius: 10px; font-weight: 600; text-decoration: none; transition: background-color 0.25s ease, transform 0.25s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-small { padding: 0.55rem 1rem; font-size: 0.9375rem; white-space: nowrap; }
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { background: var(--ink-hover); }
.btn-secondary { background: var(--yellow); color: var(--ink); }
.btn-secondary:hover { background: var(--yellow-hover); }

footer { background: var(--ink); color: var(--cream); padding: 48px 0; }
footer .container { display: flex; flex-direction: column; gap: 32px; }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 0; padding: 0; }
.footer-links a { color: var(--muted-on-ink); text-decoration: none; font-size: 0.9375rem; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom { font-size: 0.8125rem; color: var(--muted-on-ink); }
.footer-right { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
@media (min-width: 768px) {
  footer .container { flex-direction: row; justify-content: space-between; align-items: center; }
  .footer-right { align-items: flex-end; }
  .footer-links { justify-content: flex-end; }
}

/* blog index */
.blog-hero { padding: 56px 0 24px; }
@media (min-width: 768px) { .blog-hero { padding: 88px 0 40px; } }
.lede { font-size: 1.1875rem; max-width: 60ch; margin-top: 24px; }
h2.group { margin: 72px 0 8px; }

.post-grid { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: 16px; }
@media (min-width: 700px) { .post-grid { grid-template-columns: 1fr 1fr; column-gap: 48px; } }
@media (min-width: 1000px) { .post-grid { grid-template-columns: 1fr 1fr 1fr; } }

.post-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 0;
  border-top: 1px solid var(--ink);
  text-decoration: none;
}
.post-card .eyebrow { margin: 0; }
.post-card p:not(.eyebrow) { color: var(--muted); font-size: 0.9688rem; line-height: 1.55; }
.post-card .more { font-weight: 600; margin-top: auto; padding-top: 6px; transition: transform 0.25s ease; }
.post-card:hover .more { transform: translateX(4px); }
.post-card:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

.cta-wrap { padding: 48px 0 96px; }
.more-posts { padding: 24px 0 96px; }

/* article */
article { padding: 40px 0 56px; }
@media (min-width: 768px) { article { padding: 64px 0 72px; } }

.crumbs { font-size: 0.875rem; color: var(--muted); margin-bottom: 40px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.meta { font-size: 0.9063rem; color: var(--muted); margin-top: 20px; }

.prose { margin-top: 40px; }
.prose > p { margin-top: 20px; }
.prose > p:first-child { font-size: 1.1875rem; margin-top: 0; }
.prose h2 { margin-top: 56px; }
.prose h3 { margin-top: 32px; }
.prose a { text-decoration-thickness: 2px; text-decoration-color: var(--yellow-hover); text-underline-offset: 3px; }
.prose a { transition: background-color 0.2s ease; border-radius: 3px; }
.prose a:hover { background: var(--yellow); }
.prose ul { margin: 20px 0 0; padding-left: 1.2em; }
.prose ul li { margin-top: 10px; }
.prose ul li::marker { color: var(--muted); }

.prose .note {
  border-left: 4px solid var(--yellow);
  border-radius: 2px;
  padding: 4px 0 4px 20px;
  color: var(--muted);
  font-size: 0.9688rem;
}

ol.affirmations {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  counter-reset: aff calc(var(--start, 1) - 1);
  border-bottom: 1px solid var(--hairline);
}
ol.affirmations li {
  counter-increment: aff;
  display: grid;
  grid-template-columns: 3rem 1fr;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--hairline);
  font-weight: 500;
  font-size: 1.0938rem;
  line-height: 1.45;
}
ol.affirmations li::before {
  content: counter(aff);
  font-family: 'Archivo Black', sans-serif;
  font-size: 0.9375rem;
  color: var(--muted);
}

.app-cta {
  background: var(--ink);
  color: var(--cream);
  padding: 32px 28px;
  margin-top: 56px;
  border-radius: 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}
@media (min-width: 600px) { .app-cta { grid-template-columns: 72px 1fr; padding: 40px; gap: 28px; } }
.app-cta img { width: 72px; height: 72px; border-radius: 22%; }
.app-cta h2 { font-size: clamp(1.375rem, 2.6vw, 1.75rem); margin: 0; }
.app-cta p { margin-top: 12px; max-width: 56ch; }
.app-cta .btn { margin-top: 24px; }
.app-cta .fineprint { font-size: 0.8438rem; color: var(--muted-on-ink); margin-top: 16px; }
.app-cta .eyebrow { margin: 0 0 12px; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .post-card .more, .prose a { transition: none; }
  .btn:hover, .post-card:hover .more { transform: none; }
}
