
  :root {
    --paper: #FAF9F6;
    --ink: #20241F;
    --muted: #5C6058;
    --accent: #2F5470;
    --accent-ink: #FAF9F6;
    --hairline: #E3E1DA;
    --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
    --sans: ui-sans-serif, system-ui, "Helvetica Neue", Arial, sans-serif;
  }
  @media (prefers-color-scheme: dark) {
    :root {
      --paper: #171A18;
      --ink: #E6E4DD;
      --muted: #9AA096;
      --accent: #8FB3CF;
      --accent-ink: #131B22;
      --hairline: #2A2E2B;
    }
  }
  :root[data-theme="light"] {
    --paper: #FAF9F6;
    --ink: #20241F;
    --muted: #5C6058;
    --accent: #2F5470;
    --accent-ink: #FAF9F6;
    --hairline: #E3E1DA;
  }
  :root[data-theme="dark"] {
    --paper: #171A18;
    --ink: #E6E4DD;
    --muted: #9AA096;
    --accent: #8FB3CF;
    --accent-ink: #131B22;
    --hairline: #2A2E2B;
  }

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

  body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--serif);
    font-size: 1.0625rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
  }

  .wrap {
    max-width: 42rem;
    margin: 0 auto;
    padding: 0 1.5rem;
  }

  a { color: var(--accent); text-decoration: none; }
  a:hover { text-decoration: underline; text-underline-offset: 3px; }
  a:focus-visible, .btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 2px;
  }

  /* ---- Nav ---- */
  nav {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.75rem 0 0;
    font-family: var(--sans);
    font-size: 0.8125rem;
  }
  .wordmark {
    color: var(--ink);
    letter-spacing: 0.02em;
    font-weight: 600;
  }
  .wordmark:hover { text-decoration: none; }
  nav .navcta { color: var(--accent); }

  /* ---- Sections ---- */
  section { padding: 4.5rem 0 0; }
  section.last { padding-bottom: 5rem; }

  .eyebrow {
    font-family: var(--sans);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 1.25rem;
  }

  h1, h2 {
    font-family: var(--serif);
    font-weight: 500;
    text-wrap: balance;
    margin: 0 0 1.25rem;
  }
  h1 {
    font-size: clamp(2.1rem, 5.5vw, 3.1rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
  }
  h2 {
    font-size: clamp(1.45rem, 3.2vw, 1.85rem);
    line-height: 1.25;
  }

  p { margin: 0 0 1.1rem; }
  p:last-child { margin-bottom: 0; }
  .lede { font-size: 1.1875rem; }
  .muted { color: var(--muted); }

  /* ---- Hero ---- */
  .hero { padding-top: 6rem; }
  .hero p { max-width: 34rem; }
  .hero-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2.25rem;
    flex-wrap: wrap;
  }

  .btn {
    display: inline-block;
    background: var(--accent);
    color: var(--accent-ink);
    font-family: var(--sans);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 0.8rem 1.4rem;
    border-radius: 2px;
  }
  .btn:hover { text-decoration: none; filter: brightness(1.08); }

  .quiet-link {
    font-family: var(--sans);
    font-size: 0.875rem;
    color: var(--muted);
  }

  /* ---- Lists ---- */
  ul.plain {
    list-style: none;
    padding: 0;
    margin: 0 0 1.1rem;
  }
  ul.plain li {
    padding-left: 1.25rem;
    position: relative;
    margin-bottom: 0.4rem;
  }
  ul.plain li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 0.45rem;
    height: 1px;
    background: var(--muted);
  }

  /* ---- Complaints ---- */
  .complaints {
    list-style: none;
    padding: 0;
    margin: 1.75rem 0;
    border-top: 1px solid var(--hairline);
  }
  .complaints li {
    border-bottom: 1px solid var(--hairline);
    padding: 0.85rem 0;
    font-style: italic;
    color: var(--ink);
  }

  /* ---- Job titles ---- */
  .titles {
    list-style: none;
    padding: 0;
    margin: 1.75rem 0;
    border-top: 1px solid var(--hairline);
  }
  .titles li {
    border-bottom: 1px solid var(--hairline);
    padding: 0.7rem 0;
    font-size: 1.25rem;
    line-height: 1.3;
  }
  /* ---- Steps ---- */
  .steps {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  .steps li { display: flex; gap: 1.25rem; }
  .steps .num {
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--muted);
    padding-top: 0.35rem;
    font-variant-numeric: tabular-nums;
    min-width: 1.25rem;
  }
  .steps h3 {
    font-family: var(--serif);
    font-weight: 600;
    font-size: 1.125rem;
    margin: 0 0 0.35rem;
  }
  .steps p { margin: 0; color: var(--muted); }
  .steps p b { color: var(--ink); font-weight: 500; }

  /* ---- Beliefs ---- */
  .beliefs p { margin-bottom: 1rem; }

  /* ---- Book ---- */
  .book {
    border-top: 1px solid var(--hairline);
    margin-top: 5rem;
    padding-top: 4rem;
  }

  footer {
    margin-top: 5rem;
    padding: 2rem 0 3rem;
    border-top: 1px solid var(--hairline);
    font-family: var(--sans);
    font-size: 0.75rem;
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
  }

  nav .links { display:flex; gap:0.2rem 1.1rem; line-height:1.5; flex-wrap:wrap; justify-content:flex-end; } nav .links a, .wordmark { white-space:nowrap; }
  nav .links a { color: var(--muted); }
  nav .links a.navcta { color: var(--accent); }
  .faq h3, .article h3 { font-family: var(--serif); font-weight:600; font-size:1.125rem; margin:1.75rem 0 0.4rem; }
  .table-wrap { overflow-x:auto; margin:1.75rem 0; }
  table { border-collapse:collapse; width:100%; font-size:0.98rem; }
  th, td { text-align:left; vertical-align:top; padding:0.75rem 0.75rem 0.75rem 0; border-bottom:1px solid var(--hairline); }
  th { font-family: var(--sans); font-size:0.75rem; letter-spacing:0.08em; text-transform:uppercase; color:var(--muted); font-weight:600; border-top:1px solid var(--hairline); }
  td:first-child { font-weight:600; white-space:nowrap; padding-right:1.25rem; }
  @media (max-width:560px){ td:first-child{ white-space:normal; } }
  ol.numbered { padding-left:1.25rem; margin:0 0 1.1rem; } ol.numbered li{ margin-bottom:0.4rem; }
  .byline { font-family: var(--sans); font-size:0.8125rem; color:var(--muted); }
  .note { font-family: var(--sans); font-size:0.8125rem; color:var(--muted); }
  .example { border-left:2px solid var(--accent); padding-left:1.25rem; }
  /* ---- Home page additions ---- */
  .price { font-family: var(--sans); font-size:0.9rem; font-weight:600; color: var(--ink); margin:0 0 0.35rem; }
  blockquote.example { margin:1.75rem 0; }
  blockquote.example p { margin-bottom:0.4rem; }
  .btn-secondary { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
  .btn-secondary:hover { filter:none; background: var(--accent); color: var(--accent-ink); }
  .story-h { font-family: var(--serif); font-weight:600; font-size:1.125rem; margin:2.25rem 0 0.4rem; }
  .who-cols h3 { font-family: var(--serif); font-weight:600; font-size:1.125rem; margin:1.75rem 0 0.5rem; }

  /* ---- kieranbrowning.com additions ---- */
  .skip { position:absolute; left:-999px; top:0; background:var(--accent); color:var(--accent-ink); padding:0.5rem 1rem; font-family:var(--sans); font-size:0.875rem; }
  .skip:focus { left:1rem; top:1rem; z-index:10; }
  .hero-grid { display:grid; grid-template-columns: 1fr 9.5rem; gap:2rem; align-items:start; }
  .portrait { width:9.5rem; height:auto; border-radius:2px; display:block; margin-top:0.4rem; filter:saturate(0.9); }
  @media (max-width:560px){ .hero-grid{ grid-template-columns:1fr; gap:1.5rem; } .portrait{ width:7rem; order:-1; margin-top:0; } }
  .sibling { border:1px solid var(--hairline); padding:1.5rem 1.5rem 1.25rem; margin-top:1.75rem; }
  .sibling .price { margin-top:0.9rem; }
  .timeline { list-style:none; padding:0; margin:1.75rem 0 0; border-top:1px solid var(--hairline); }
  .timeline li { border-bottom:1px solid var(--hairline); padding:1rem 0; }
  .timeline .when { font-family:var(--sans); font-size:0.75rem; font-weight:600; letter-spacing:0.06em; color:var(--muted); text-transform:uppercase; display:block; margin-bottom:0.2rem; }
  .timeline h3 { font-family:var(--serif); font-weight:600; font-size:1.125rem; margin:0 0 0.3rem; }
  .timeline p { margin:0; color:var(--muted); }
