/* === Font Face === */
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("/fonts/atkinson-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("/fonts/atkinson-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("/fonts/atkinson-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("/fonts/atkinson-italic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-variable.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-variable-italic.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol { margin: 0; padding: 0; }

/* === Custom Properties === */
:root {
  --color-primary: oklch(62.6% 0.119 225.29);
  --color-primary-dark: oklch(51% 0.107 236.81);
  --color-dark: #1a1a2e;
  --color-text: oklch(40% 0.014 17.74);
  --color-text-light: oklch(50% 0.01 17.74);
  --color-accent: oklch(55% 0.25 285);
  --color-sparkle: oklch(70% 0.2 285);
  --color-highlight: oklch(92% 0.1 100);
  --color-link: oklch(48% 0.12 230);
  --color-link-hover: oklch(36% 0.14 230);
  --color-bg: #fff;
  --color-bg-alt: #f8f7f4;
  --color-callout-bg: #faf9f6;
  --color-callout-border: oklch(85% 0.08 168);
  --color-border: #e5e5e5;
  --max-width: 1200px;
  --content-narrow: 720px;
  --font-stack: "Atkinson Hyperlegible Next", sans-serif;
  --font-heading: "Fraunces", Georgia, serif;
}

/* === Base === */
body {
  font-family: var(--font-stack);
  font-size: 20px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  text-wrap: pretty;
  line-height: 1.1;
  font-weight: 800;
  font-optical-sizing: auto;
  /* Gate 2 (REDESIGN.md): headings read in ink; purple is reserved for
     interactive elements, eyebrows, and deliberate accents. */
  color: var(--color-dark);
}
/* (2026-07 redesign: heading sparkles + em-highlight removed; the wordmark
   keeps the one brand ✦. Kai-approved cleanup.) */
[id] { scroll-margin-top: 4rem; }
h1 { font-size: clamp(2.1rem, 1.6rem + 2vw, 2.6rem); margin-top: 0; margin-bottom: 1rem; }
h2 { font-size: clamp(1.7rem, 1.4rem + 1vw, 2.1rem); margin-top: 2.5rem; margin-bottom: 0.75rem; }

/* Homepage section headings: bigger + title-cased */
.featured-section__inner h2,
.featured-section__inner h3 {
  font-size: clamp(1.9rem, 1.5rem + 1.5vw, 2.6rem);
  text-transform: capitalize;
}
h3 { font-size: clamp(1.55rem, 1.25rem + 0.75vw, 1.7rem); margin-top: 2rem; margin-bottom: 0.5rem; }
h4 { font-size: 1.3rem; margin-top: 1.75rem; margin-bottom: 0.5rem; }
h5 { font-size: 1.1rem; margin-top: 1.5rem; margin-bottom: 0.5rem; }
p { margin-top: 0; margin-bottom: 1.25rem; }
ul, ol { margin-top: 0; margin-bottom: 1.25rem; padding-left: 1.5em; }
li { margin-bottom: 0.5rem; }
blockquote {
  border-left: 3px solid var(--color-border);
  padding: 0.25rem 0 0.25rem 1.25rem;
  margin: 1.5rem 0;
  color: var(--color-text-light);
  font-size: 0.95em;
  line-height: 1.5;
}
blockquote p { margin-bottom: 0.75rem; }
blockquote p:last-child { margin-bottom: 0; }
blockquote cite, blockquote strong { color: var(--color-text); }
img { max-width: 100%; height: auto; }
.video-embed { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; margin: 1.5rem 0; border-radius: 8px; }
.video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.content-narrow img:not(.headshot) { max-width: 220px; border-radius: 8px; display: block; margin-left: auto; margin-right: auto; }
.content-narrow.article-content img:not(.headshot), .content-narrow.page-content img:not(.headshot) { max-width: 100%; }
.headshot {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  float: left;
  margin: 0.25rem 2rem 1.5rem 0;
}
@media (max-width: 480px) {
  .headshot {
    float: none;
    display: block;
    margin: 0 auto 1rem;
  }
}
/* Keep text beside headshot, never wrapping underneath */
.featured-section__inner:has(> .headshot) > p {
  overflow: hidden;
}
hr { border: none; border-top: 1px solid var(--color-border); margin: 2em 0; }
code { background: var(--color-bg-alt); padding: 0.15em 0.4em; border-radius: 3px; font-size: 0.9em; }
pre { background: var(--color-dark); color: #e0e0e0; padding: 1em; border-radius: 6px; overflow-x: auto; margin-bottom: 1.5em; }
pre code { background: none; padding: 0; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.content-narrow { max-width: var(--content-narrow); margin: 0 auto; padding: 2rem 1.5rem; }
/* === Links === */
.content-narrow a {
  color: var(--color-link);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in oklch, var(--color-link), transparent 60%);
  transition: color 0.15s, text-decoration-color 0.15s;
}
.content-narrow a:hover {
  color: var(--color-link-hover);
  text-decoration-color: var(--color-link-hover);
}
/* External link indicator */
.content-narrow a[href^="http"]:not([href*="kaidavis.com"]):not(.btn)::after,
.featured-section__inner a[href^="http"]:not([href*="kaidavis.com"]):not(.btn)::after,
.sales-section__inner a[href^="http"]:not([href*="kaidavis.com"]):not(.btn)::after {
  content: "\2009\279A";
  font-size: 0.7em;
  vertical-align: 0.15em;
  color: inherit;
}

/* === Base links (2026-07 redesign) ===
   Anchors outside .content-narrow (homepage sections, testi cards, footers of
   sections) previously fell through to browser-default blue. Give every bare
   anchor the site link color; component rules override where needed. */
a {
  color: var(--color-link);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
a:hover { color: var(--color-link-hover); }

/* === Skip Link === */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--color-primary); color: #fff; padding: 0.5em 1em;
  z-index: 1000;
}
.skip-link:focus { left: 0; }

/* === Navigation === */
.site-header {
  border-bottom: 1px solid #d4d4d4;
  padding: 0.75rem 0;
  background: rgba(255, 255, 255, 0.85);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header__inner {
  display: flex; align-items: center; justify-content: flex-start;
}
/* === Site Wordmark === */
.site-wordmark {
  font-family: var(--font-heading);
  font-optical-sizing: auto;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  color: var(--color-dark);
  text-decoration: none;
  white-space: nowrap;
  margin-right: 1.25rem;
}
.site-wordmark:hover { opacity: 0.75; }
.site-wordmark__mark {
  color: var(--color-sparkle);
  font-size: 0.75em;
}
@media (max-width: 480px) {
  .btn { font-size: 1rem; padding: 0.6rem 1.25rem; }
  .content-narrow img:not(.headshot), .featured-section__inner img:not(.headshot) { max-width: 200px; }
  .sales-section { padding: 2.5rem 0; }
  .featured-section { padding: 2rem 0; }
}
.nav-home {
  color: var(--color-accent);
  text-decoration: none;
  font-size: 1.1rem;
  padding: 0.5rem 0.75rem 0.5rem 0;
  vertical-align: baseline;
}
.nav-home:hover {
  opacity: 0.7;
}
.nav-link {
  color: var(--color-text); text-decoration: none; padding: 0.5rem 0.75rem;
  font-size: 0.95rem;
}
.nav-link:hover { color: var(--color-link-hover); }
.nav-link.nav-cta {
  text-decoration: none;
}
@media (min-width: 768px) {
  .nav-link.nav-cta {
    background: var(--color-accent);
    color: #fff;
    padding: 0.35rem 0.9rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: auto;
  }
  .nav-link.nav-cta:hover {
    background: oklch(45% 0.25 285);
    color: #fff;
  }
}

/* Mobile nav */
.nav-toggle {
  display: flex; flex-direction: column; gap: 5px; position: relative; z-index: 1002;
  background: none; border: none; cursor: pointer; padding: 0.5rem;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--color-dark);
  transition: transform 0.2s;
}
.nav-toggle.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.main-nav {
  position: fixed; top: 0; left: -300px; width: 300px; height: 100%;
  background: var(--color-bg); padding: 2rem 1.5rem;
  transition: left 0.3s; z-index: 1001;
  display: flex; flex-direction: column; gap: 0.25rem;
  box-shadow: 2px 0 8px rgba(0,0,0,0.1);
}
.main-nav.is-open { left: 0; }

.nav-overlay { display: none; }

.nav-dropdown__menu { display: block; padding-left: 1rem; margin-bottom: 0.5rem; }
.nav-dropdown__item { display: block; padding: 0.25rem 0; color: var(--color-text-light); text-decoration: none; font-size: 0.9rem; }
.nav-dropdown__item:hover { color: var(--color-link-hover); }

/* === Page Lists === */
.page-list { list-style: none; padding: 0; }
.page-list li { padding: 0.75rem 0; border-bottom: 1px solid var(--color-border); }
.page-list a { font-weight: 600; text-decoration: none; color: var(--color-dark); }
.page-list a:hover { color: var(--color-link-hover); }
.page-list time { display: inline-block; font-size: 0.85rem; color: var(--color-text-light); margin-left: 0.5rem; }
.page-list__desc { font-size: 0.9rem; color: var(--color-text-light); margin: 0.25rem 0 0; }

.tagline { font-size: 1.25rem; color: var(--color-text-light); margin-bottom: 2rem; }

/* === Article Header === */
.article-categories { margin-top: 0.5rem; }
.category-tag {
  display: inline-block; background: var(--color-bg-alt);
  padding: 0.15em 0.5em; border-radius: 3px; font-size: 0.8rem;
  color: var(--color-text-light); margin-right: 0.25rem;
}

/* === Pagination === */
.pagination {
  display: flex; align-items: center; gap: 1rem; justify-content: center;
  padding: 2rem 0; font-size: 0.95rem;
}
.pagination a { color: var(--color-primary); text-decoration: none; }

/* === CTA Button === */
.cta-wrapper { text-align: center; margin: 2rem 0; }
.btn {
  display: inline-block;
  padding: 0.7rem 1.75rem;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 400;
  transform: skewX(-4deg);
  transition: transform 0.15s, background 0.15s;
}
.btn > * { display: inline-block; transform: skewX(4deg); }
.btn-primary {
  background: var(--color-accent);
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 4px;
}
.btn-primary::after {
  content: none;
}
.btn-primary:hover {
  background: oklch(45% 0.25 285);
  color: #fff;
  transform: skewX(-4deg) translateY(-1px);
}

/* === Callout Box === */
.callout {
  background: var(--color-callout-bg);
  border: 2px solid var(--color-callout-border);
  border-radius: 8px;
  padding: 1.75rem 2rem;
  margin: 2rem 0;
}
.callout h2, .callout h3, .callout h4 { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }
.callout .btn { margin-top: 0.5rem; }

/* === Email Opt-in === */
.email-optin {
  background: var(--color-bg-alt);
  border-radius: 8px;
  padding: 2rem;
  margin: 2rem 0;
  text-align: center;
}
@media (max-width: 480px) {
  .email-optin {
    border-radius: 0;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding: 2rem 1.5rem;
  }
}
.email-optin__heading {
  margin-top: 0;
  font-size: 1.3rem;
}
.email-optin__text {
  color: var(--color-text-light);
  margin-bottom: 1.25rem;
}
.email-optin__form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 400px;
  margin: 0 auto;
}
.email-optin__input {
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
}
.email-optin__input:focus {
  outline: none;
  border-color: var(--color-link);
}
.email-optin__btn {
  padding: 0.6rem 1.25rem;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
}
.email-optin__btn:hover {
  background: oklch(45% 0.25 285);
}

/* === Pricing Card === */
.pricing-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  max-width: 420px;
  margin: 2rem auto;
}
.pricing-card__name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  font-style: italic;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}
.pricing-card__price {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  font-style: italic;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
  line-height: 1.1;
}
.pricing-card__period {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 1.25rem;
}
.pricing-card__desc {
  font-size: 0.95rem;
  color: var(--color-text);
  margin-bottom: 1.5rem;
}
.pricing-card__desc p { margin-bottom: 0.5rem; }
.pricing-card__desc ul {
  list-style: none;
  padding: 0;
  text-align: left;
  display: inline-block;
}
.pricing-card__desc li {
  margin-bottom: 0.4rem;
  padding-left: 1.5em;
  position: relative;
}
.pricing-card__desc li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}
.pricing-card__cta {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-style: italic;
  font-size: 1rem;
  text-decoration: none;
  transition: opacity 0.2s;
  cursor: pointer;
}
.pricing-card__cta:hover {
  opacity: 0.85;
  text-decoration: none;
}

/* === Sales Sections === */
body:has(.sales-page) .site-footer,
body:has(.featured-page) .site-footer {
  margin-top: 0;
}
.sales-section { padding: 4rem 0; }
.sales-section--alt { background: var(--color-bg-alt); }
.sales-section:has(.pricing-card) { padding: 5.5rem 0 3rem; }
.sales-section__inner {
  max-width: var(--content-narrow);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.sales-section h4 {
  font-family: var(--font-stack);
  font-size: 1.1rem;
  font-weight: 600;
}

/* Testimonial blockquotes (2026-07 redesign: DYE-style cards — white,
   hairline border, soft shadow — instead of tinted grey boxes) */
.sales-section__inner > blockquote,
.featured-section__inner > blockquote,
.content-narrow > blockquote {
  padding: 1.5rem 2rem;
  margin: 1.75rem 0;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-left: none;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text);
}
/* Bolded pull-lines inside testimonial quotes read as Fraunces leads */
.sales-section__inner > blockquote strong,
.featured-section__inner > blockquote strong {
  color: var(--color-dark);
}
.sales-section__inner > blockquote p:last-child,
.featured-section__inner > blockquote p:last-child,
.content-narrow > blockquote p:last-child {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--color-text);
}

/* Eyebrow text */
.section-eyebrow {
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: oklch(50% 0.08 285);
  margin-bottom: 0.5rem;
}

/* === Featured Page === */
/* === Page Header (single + list) === */
.page-header {
  padding: 2.5rem 0 2rem;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 2rem;
}
.page-header + .sales-section,
.page-header + .featured-section {
  margin-top: -2rem;
}
.page-header__inner {
  max-width: var(--content-narrow);
  margin: 0 auto;
  padding: 0 1rem;
}
.page-header h1 {
  font-size: clamp(2.25rem, 2rem + 2vw, 3.5rem);
  margin: 0 0 0.5rem;
  padding-left: 0;
}
.page-header h1::before {
  display: none;
}
.page-header__subtitle {
  font-size: 1.05rem;
  color: var(--color-text-light);
  font-style: italic;
  margin: 0;
}
.page-header--compact {
  padding: 1rem 0;
}

/* === Featured Header === */
.featured-header {
  padding: 2.5rem 0 2rem;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}
.featured-header__inner {
  max-width: var(--content-narrow);
  margin: 0 auto;
  padding: 0 1rem;
}
.featured-header__title {
  font-size: clamp(2.25rem, 2rem + 2vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 0.5rem;
}
.featured-header__subtitle {
  font-size: 1.05rem;
  color: var(--color-text-light);
  font-style: italic;
  margin: 0;
}
.featured-content {
  padding: 0 0 3rem;
}
.featured-content__inner {
  max-width: var(--content-narrow);
  margin: 0 auto;
  padding: 0 1rem;
}
.featured-section { padding: 3rem 0; }
.featured-section--alt { background: var(--color-bg-alt); }
.featured-section__inner {
  max-width: var(--content-narrow);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.featured-section__inner img:not(.headshot) { max-width: 220px; border-radius: 8px; display: block; margin-left: auto; margin-right: auto; }
.featured-section__inner::after { content: ""; display: table; clear: both; }

/* === Testimonial Page === */
.testimonial-page { padding-top: 1rem; }
.testimonial-full {
  border-left: 4px solid var(--color-accent);
  padding: 2.5rem 2.5rem 2rem;
  margin: 1.5rem 0 2rem;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text);
  background: #f0eeea;
  border-radius: 0 8px 8px 0;
  position: relative;
}
.testimonial-full::before {
  content: "\201C";
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--color-accent);
  opacity: 0.25;
  position: absolute;
  top: 0.1rem;
  left: 0.75rem;
  line-height: 1;
}
.testimonial-full { max-width: 640px; }
.testimonial-full p { margin-bottom: 1.5rem; }
.testimonial-full p:last-child { margin-bottom: 0; }
.testimonial-full p:first-child {
  padding-top: 0.5rem;
  font-size: 1.2rem;
  line-height: 1.7;
}
.testimonial-attribution {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  padding-left: 2.5rem;
}
.testimonial-nav {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}
.testimonial-nav a {
  color: var(--color-text-light);
  text-decoration: none;
}
.testimonial-nav a:hover { color: var(--color-link); }
@media (max-width: 480px) {
  .testimonial-full { padding: 1.5rem; }
  .testimonial-attribution { padding-left: 1.5rem; }
}
.page-header__eyebrow {
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: oklch(50% 0.08 285);
  margin: 0 0 0.25rem;
}

/* === Article Header === */
.article-header {
  background: var(--color-dark);
  border-bottom: 4px solid var(--color-accent);
  margin-bottom: 2.5rem;
  text-align: left;
}
.article-header__inner {
  max-width: var(--content-narrow);
  margin: 0 auto;
  padding: 3.5rem 1.5rem 3rem;
}
.article-header__eyebrow {
  display: inline-block;
  font-family: var(--font-stack);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--color-sparkle);
  text-decoration: none;
  margin: 0 0 1.1rem;
}
.article-header__eyebrow:hover { color: #fff; }
.article-header__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 1.4rem + 3vw, 3.1rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 1.25rem;
}
.article-header__title::before { display: none; }
.article-header__dek {
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.3rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 1.75rem;
  max-width: 40rem;
}
.article-header__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.65rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
}
.article-header__meta time { color: rgba(255, 255, 255, 0.55); }
.article-header__dot { color: rgba(255, 255, 255, 0.4); }
.article-header__readtime { color: rgba(255, 255, 255, 0.55); }

/* === Article Content === */
.article-content { padding-bottom: 2rem; }

/* === Article Newsletter === */
.article-newsletter {
  background: var(--color-bg-alt);
  padding: 3rem 0;
  text-align: center;
}
.article-newsletter h3 { margin-top: 0; }
.article-newsletter__disclosure {
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-top: 0.5rem;
}

/* === Related Posts === */
.related-posts {
  padding: 3rem 0;
  border-top: 1px solid var(--color-border);
}
.related-posts__heading {
  text-align: center;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
  padding-left: 0;
}
.related-posts__heading::before { display: none; }
.related-posts__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}
.related-posts__card {
  display: block;
  padding: 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  text-decoration: none;
  color: var(--color-text);
  transition: border-color 0.2s;
}
.related-posts__card:hover { border-color: var(--color-link); }
.related-posts__card h3 {
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
  color: var(--color-accent);
  padding-left: 0;
}
.related-posts__card h3::before { display: none; }
.related-posts__card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin: 0 0 0.5rem;
}
.related-posts__readmore {
  font-size: 0.85rem;
  color: var(--color-link);
  font-weight: 600;
}
@media (min-width: 768px) {
  .related-posts__grid { grid-template-columns: repeat(3, 1fr); }
}

/* === Product Promo === */
.product-promo {
  background: var(--color-bg-alt);
  padding: 3rem 0;
}
.product-promo__inner {
  text-align: center;
}
.product-promo__eyebrow {
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: oklch(50% 0.08 285);
  margin-bottom: 0.25rem;
}
.product-promo__title {
  font-size: 1.4rem;
  margin: 0 0 0.25rem;
  padding-left: 0;
}
.product-promo__title::before { display: none; }
.product-promo__title a {
  color: var(--color-accent);
  text-decoration: none;
}
.product-promo__title a:hover { color: var(--color-link); }
.product-promo__price {
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}
.product-promo__desc {
  color: var(--color-text-light);
  font-size: 0.95rem;
  max-width: 500px;
  margin: 0 auto 1rem;
}
.product-promo__cta {
  color: var(--color-link);
  font-weight: 600;
  text-decoration: none;
}
.product-promo__cta:hover { text-decoration: underline; }

/* === Author Bio === */
.author-bio {
  padding: 3rem 0;
  border-top: 1px solid var(--color-border);
}
.author-bio__eyebrow {
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.author-bio__rule {
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--color-border);
}
.author-bio__body p { margin-bottom: 0.75rem; }
.author-bio__body ul { margin: 0.75rem 0 1rem 1.25rem; }
.author-bio__body li { margin-bottom: 0.35rem; }

/* === Category Nav === */
.category-nav {
  margin: 1.5rem 0;
}
.category-nav__link {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  margin: 0.2rem 0.15rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--color-text);
}
.category-nav__link:hover {
  border-color: var(--color-link);
  color: var(--color-link);
}

/* === Intake Form === */
.intake-form label {
  display: block;
  margin-top: 1.25rem;
  margin-bottom: 0.35rem;
}
.intake-form input[type="text"],
.intake-form input[type="email"],
.intake-form textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
}
.intake-form input:focus,
.intake-form textarea:focus {
  outline: none;
  border-color: var(--color-link);
}
.intake-form fieldset {
  border: none;
  padding: 0;
  margin: 1.25rem 0 0;
}
.intake-form legend {
  margin-bottom: 0.5rem;
}
.intake-form fieldset label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
  font-weight: normal;
}
.intake-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.intake-form__note {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-top: 0.25rem;
}
.intake-form .required {
  color: #c53030;
  font-size: 0.85rem;
}
.intake-form .btn {
  margin-top: 1.5rem;
}

/* === Utility Page === */
.utility-page__title {
  text-align: center;
  padding-left: 0;
}
.utility-page__title::before {
  display: none;
}

/* === Footer === */
.site-footer {
  background: var(--color-dark); color: #ccc; padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.footer-col__heading { color: #fff; font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.75rem; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 0.4rem; }
.footer-col a { color: #aaa; text-decoration: none; font-size: 0.9rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #333; margin-top: 2rem; padding-top: 1rem; font-size: 0.85rem; }
.footer-bug { color: #777; font-size: 0.8rem; margin-top: 0.5rem; }
.footer-bug a { color: #aaa; text-decoration: underline; }
.footer-bug a:hover { color: #fff; }

/* === Desktop === */
@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .nav-overlay { display: none; }
  .main-nav {
    position: static; width: auto; height: auto;
    flex-direction: row; padding: 0; box-shadow: none;
    align-items: baseline; background: none; flex: 1;
  }
  .nav-dropdown { position: relative; }
  .nav-dropdown__menu { display: none; padding-left: 0; margin-bottom: 0; }
  .nav-dropdown:hover .nav-dropdown__menu,
  .nav-dropdown:focus-within .nav-dropdown__menu {
    display: block; position: absolute; top: 100%; left: 0;
    background: var(--color-bg); border: 1px solid var(--color-border);
    border-radius: 6px; padding: 0.5rem; min-width: 220px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  .footer-grid { grid-template-columns: repeat(5, auto); justify-content: space-between; }
}

/* === Homepage (2026-07 redesign, see REDESIGN.md) === */
/* Shared section shell. --alt alternates the background, like featured-section. */
.home-section { padding: 3.5rem 0; }
.home-section--alt { background: var(--color-bg-alt); }
.home-section__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.home-section__inner--narrow { max-width: var(--content-narrow); }
.home-section__inner > h2 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: var(--color-dark);
}
.home-section__lede { max-width: 44rem; }
.home-section__more { margin-top: 1.5rem; margin-bottom: 0; }

/* Hero */
.home-hero { padding: 4rem 0 3.5rem; }
.home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3rem;
  align-items: center;
}
.home-hero__copy h1 {
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  line-height: 1.15;
  color: var(--color-dark);
  margin-bottom: 1.25rem;
}
.home-hero__proof {
  color: var(--color-text-light);
  font-size: 1.05rem;
  max-width: 38rem;
  margin-bottom: 1.75rem;
}
.home-hero__ctas { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.home-hero__alt-cta { color: var(--color-link); font-size: 1rem; }
.home-hero__photo {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  object-fit: cover;
}
@media (max-width: 767px) {
  .home-hero { padding: 2.5rem 0; }
  .home-hero__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .home-hero__photo { width: 140px; height: 140px; order: -1; }
}

/* Paths (the router) */
.path-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (max-width: 767px) {
  .path-grid { grid-template-columns: 1fr; }
}
.path-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
}
.path-card--featured {
  border: 2px solid var(--color-accent);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}
.path-card__badge {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--color-accent);
  border-radius: 4px;
  padding: 0.2em 0.6em;
  margin-bottom: 0.85rem;
}
/* Quiet path labels: bare small-caps, no pill box (only the featured
   card keeps a filled badge, which is what makes it read as ranked) */
.path-card__badge--quiet {
  color: var(--color-text-light);
  background: none;
  padding: 0;
  border-radius: 0;
}
.path-card__title {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}
.path-card--featured .path-card__title { font-size: 1.5rem; }
.path-card__title a { color: var(--color-dark); text-decoration: none; }
.path-card__title a:hover { color: var(--color-link-hover); }
.path-card p { font-size: 0.95rem; margin-bottom: 0.75rem; }
.path-card__meta {
  margin-top: auto;
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* Testimonials */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 767px) {
  .testi-grid { grid-template-columns: 1fr; }
}
/* DYE-style testimonial card: white, soft shadow, bold pull-quote lead */
.testi-card {
  margin: 0;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.75rem 1.9rem;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}
.testi-card__lead {
  font-family: var(--font-heading);
  font-optical-sizing: auto;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--color-dark);
  margin-bottom: 0.6rem;
}
.testi-card blockquote {
  border: none;
  margin: 0 0 1rem;
  padding: 0;
  font-size: 0.95rem;
  color: var(--color-text);
}
.testi-card figcaption {
  margin-top: auto;
  font-size: 0.85rem;
  color: var(--color-text-light);
}

/* Products list */
.home-products { list-style: none; padding: 0; max-width: 44rem; }
.home-products li { padding: 0.4rem 0; }

/* Elsewhere strip */
.home-elsewhere { padding: 2.25rem 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.home-elsewhere .home-section__inner > h2 {
  font-size: 0.8rem;
  font-family: var(--font-stack);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 0.75rem;
}
.elsewhere-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 2.5rem; }
.elsewhere-list li { margin: 0; font-size: 0.95rem; color: var(--color-text-light); }

/* Homepage newsletter box: heading follows the ink-heading direction */
.home-section .email-optin__heading { color: var(--color-dark); }

/* === Articles list (2026-07 redesign) === */
/* Editorial category index: middot-separated links with counts.
   Deliberately NOT pill chips (pill rows read as AI-generated; see
   design-corpus/ai-design-tells.md). */
.category-index {
  margin-bottom: 1rem;
  font-size: 0.92rem;
  line-height: 2;
}
.category-index a { font-weight: 600; white-space: nowrap; }
.category-index__sep { color: var(--color-text-light); margin: 0 0.55rem; }
.category-index__count {
  font-size: 0.75em;
  color: var(--color-text-light);
  vertical-align: 0.25em;
}
.article-year__heading {
  font-size: 1.5rem;
  margin: 2.5rem 0 0.25rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--color-dark);
}
.article-year .page-list time { float: right; font-size: 0.8rem; }
@media (max-width: 480px) { .article-year .page-list time { display: none; } }

/* === Sales-page list markers (2026-07 redesign): violet arrows over discs === */
.sales-section__inner ul { list-style: none; padding-left: 0.25rem; }
.sales-section__inner ul > li {
  position: relative;
  padding-left: 1.4em;
}
.sales-section__inner ul > li::before {
  content: "\2192";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}
/* Pricing-card checklists keep their own ✓ markers */
.sales-section__inner .pricing-card__desc li { padding-left: 1.5em; }
.sales-section__inner .pricing-card__desc li::before { content: "✓"; }
