/* ─────────────────────────────────────────────────────────────
   kathutcheson.com design system
   Teal-forward: a deep teal dark zone handing off to cool paper.
   Schibsted Grotesk display, Hanken Grotesk text. Square edges,
   sentence-case labels, teal owns the page. No pills, no shouting.
   ───────────────────────────────────────────────────────────── */

:root {
  --teal:        #0D3B36;   /* deep teal, dark zone */
  --teal-2:      #11463F;   /* lifted teal panel */
  --paper:       #F1F4F0;   /* cool off-white body */
  --paper-2:     #E6EAE5;   /* deeper paper */
  --paper-dim:   #9DB4AC;   /* muted text on teal */
  --ink:         #1B221F;
  --ink-soft:    #5A6661;
  --accent:      #0E6E66;   /* on light */
  --mint:        #74D7C4;   /* on dark */
  --signal:      #E6A93C;   /* amber, status + data flags only */
  --line-dark:   rgba(241, 244, 240, 0.16);
  --line-light:  #D2DBD2;

  --display: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans:    "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono:    ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;
  --dw: 700;            /* display weight */
  --dw-strong: 800;
  --track: -0.022em;

  --ease: cubic-bezier(.22, .61, .36, 1);   /* one easing for every micro-interaction */
  --lift-shadow: 0 10px 26px -12px rgba(13, 59, 54, .28);

  --measure: 68ch;
}

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

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

html, body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--accent); color: var(--paper); }
.dark-zone ::selection,
.site-footer ::selection { background: var(--mint); color: var(--teal); }

a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: var(--line-light);
  text-underline-offset: 3px;
  transition: color .15s ease, text-decoration-color .15s ease;
}
a:hover { text-decoration-color: var(--accent); }

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.dark-zone a:focus-visible, .site-footer a:focus-visible { outline-color: var(--mint); }

/* layout shell */
.wrap { max-width: 1180px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
@media (min-width: 900px) { .wrap { padding-left: 48px; padding-right: 48px; } }

/* quiet sentence-case label */
.label,
.kicker {
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .01em;
}

/* squared buttons, plain case */
.btn {
  display: inline-block;
  text-decoration: none;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: 0;
  padding: 14px 28px;
  border-radius: 4px;
  transition: background .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease), transform .18s var(--ease),
              box-shadow .18s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); transition-duration: .06s; }
.btn-solid { background: var(--mint); color: var(--teal); box-shadow: 0 1px 0 rgba(0, 0, 0, .12); }
.btn-solid:hover { background: var(--paper); color: var(--teal); box-shadow: 0 8px 22px -8px rgba(0, 0, 0, .45); }
.btn-solid:active { box-shadow: 0 1px 0 rgba(0, 0, 0, .12); }
.btn-ghost-dark { color: var(--paper); border: 1px solid var(--line-dark); }
.btn-ghost-dark:hover { border-color: var(--mint); color: var(--mint); background: rgba(116, 215, 196, .06); }

/* every solid CTA on the paper zone presses the same way */
.offer-cta,
.offer-box .box-cta,
.waitlist-banner .wb-cta,
.linkedin-strip > a,
.pill,
.start-box .start-cta,
.offer-body > p > a[href^="mailto:"]:only-child,
.offer-body > a[href^="mailto:"] {
  transition: background .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}
.offer-box .box-cta:hover,
.waitlist-banner .wb-cta:hover,
.linkedin-strip > a:hover,
.pill:hover,
.start-box .start-cta:hover,
.offer-body > p > a[href^="mailto:"]:only-child:hover,
.offer-body > a[href^="mailto:"]:hover {
  transform: translateY(-1px);
  box-shadow: var(--lift-shadow);
}
.offer-box .box-cta:active,
.waitlist-banner .wb-cta:active,
.linkedin-strip > a:active,
.start-box .start-cta:active { transform: translateY(0); box-shadow: none; transition-duration: .06s; }

/* ── DARK ZONE (header + hero band) ─────────────────── */
/* Layered light: a mint wash falling from the top right, a deeper
   teal pooling bottom left, and a faint ledger grid over the fill.
   Ends on the 4px double "ledger seam" handing off to paper. */
.dark-zone {
  position: relative;
  background:
    radial-gradient(1200px 620px at 82% -12%, rgba(116, 215, 196, .11), transparent 62%),
    radial-gradient(900px 520px at 4% 112%, rgba(9, 44, 40, .85), transparent 64%),
    linear-gradient(178deg, #0F423C 0%, var(--teal) 46%, #0B332E 100%);
  color: var(--paper);
  padding-bottom: 96px;
  border-bottom: 4px double rgba(116, 215, 196, .55);
}
.dark-zone::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(241, 244, 240, .033) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241, 244, 240, .033) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), rgba(0,0,0,.25));
          mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), rgba(0,0,0,.25));
}
.dark-zone > * { position: relative; }
.dark-zone.dark-slim { padding-bottom: 56px; }
.dark-zone.dark-handoff { padding-bottom: 120px; }
@media (max-width: 700px) {
  .dark-zone { padding-bottom: 68px; }
  .dark-zone.dark-slim { padding-bottom: 44px; }
  .dark-zone.dark-handoff { padding-bottom: 104px; }
}

/* ── HEADER ─────────────────────────────────────────── */
.site-header { border-bottom: 1px solid var(--line-dark); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
  gap: 16px;
  flex-wrap: wrap;
}
.site-name {
  font-family: var(--display);
  font-weight: var(--dw-strong);
  font-size: 1.3rem;
  letter-spacing: var(--track);
  color: var(--paper);
  text-decoration: none;
  white-space: nowrap;
}
.site-name .dot { color: var(--mint); }
.site-nav { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; }
.site-nav a {
  color: var(--paper-dim);
  text-decoration: none;
  font-family: var(--sans);
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: 0;
  padding: 4px 0;
  background: linear-gradient(var(--mint), var(--mint)) left calc(100% - 1px) / 0 1px no-repeat;
  transition: color .18s var(--ease), background-size .22s var(--ease);
}
.site-nav a:hover { color: var(--mint); background-size: 100% 1px; }
.nav-dropdown a { background: none; }

/* nav dropdown (Agents) */
.nav-group { position: relative; }
.nav-group-label { cursor: pointer; }
.nav-group-label::after { content: " ▾"; color: var(--paper-dim); font-size: .9em; }
.nav-group:hover .nav-group-label,
.nav-group:focus-within .nav-group-label { color: var(--mint); }
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: -1rem;
  padding: .9rem 1.1rem;
  background: var(--teal-2);
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  min-width: 240px;
  flex-direction: column;
  gap: .7rem;
  z-index: 20;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .35);
}
.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown { display: flex; }
@media (prefers-reduced-motion: no-preference) {
  .nav-group:hover .nav-dropdown,
  .nav-group:focus-within .nav-dropdown { animation: dd-in .18s var(--ease); }
  @keyframes dd-in { from { opacity: 0; transform: translateY(-5px); } }
}
.nav-dropdown a { white-space: nowrap; border-bottom: 0; }

@media (max-width: 700px), (hover: none) {
  .site-nav { gap: 14px 18px; }
  .nav-group-label { display: none; }
  .nav-dropdown {
    display: flex;
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px 18px;
    padding: 0;
    border: 0;
    box-shadow: none;
    min-width: 0;
    background: transparent;
  }
  .nav-dropdown a { white-space: normal; }
}

/* ── HOMEPAGE HERO ──────────────────────────────────── */
.hero { padding-top: 76px; }
@media (max-width: 700px) { .hero { padding-top: 48px; } }

.hero-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
@media (min-width: 980px) {
  .hero-top { grid-template-columns: minmax(0, 1.25fr) minmax(320px, .85fr); gap: 64px; }
}

.kicker { color: var(--mint); display: block; margin: 0 0 28px; }

.hero h1 {
  font-family: var(--display);
  font-weight: var(--dw);
  font-size: clamp(2.5rem, 5.6vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: var(--track);
  max-width: 16ch;
  margin: 0 0 34px;
  color: var(--paper);
}
.hero h1 .accent,
h1 .accent { color: var(--mint); }

.hero-body { max-width: 80ch; margin-top: 36px; }
.hero-body p {
  margin: 0 0 1.1em;
  color: var(--paper-dim);
  font-size: 1.08rem;
  line-height: 1.7;
}
.hero-body p:last-child { margin-bottom: 0; }
.hero-body strong { color: var(--paper); font-weight: 600; }
.hero-body a { color: var(--paper); text-decoration-color: var(--line-dark); }
.hero-body a:hover { color: var(--mint); text-decoration-color: var(--mint); }

.hero-cta-row {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* ── OPS DIGEST (hero signature) ────────────────────── */
/* Machine output: mono throughout, terminal-dark body, a live dot
   in the header, rows typed in one by one, cursor ticking at the foot. */
.ops-digest {
  font-family: var(--mono);
  font-size: .8rem;
  line-height: 1.5;
  background: linear-gradient(174deg, #12473F 0%, var(--teal-2) 38%, #0C3630 100%);
  border: 1px solid rgba(116, 215, 196, .28);
  border-radius: 4px;
  color: var(--paper-dim);
  box-shadow:
    0 30px 60px -30px rgba(0, 0, 0, .55),
    inset 0 1px 0 rgba(241, 244, 240, .07);
}
.ops-digest-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line-dark);
  color: var(--mint);
  font-weight: 600;
  letter-spacing: .01em;
}
.ops-digest-head > span:first-child { display: inline-flex; align-items: center; gap: 9px; }
.ops-digest-head > span:first-child::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(116, 215, 196, .45);
}
.ops-digest-head > span:last-child { color: var(--paper-dim); font-weight: 500; font-size: .92em; }
.ops-digest-body { padding: 6px 0 8px; }
.ops-digest-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  padding: 7px 18px;
}
.ops-digest-row .k { color: var(--paper-dim); opacity: .8; }
.ops-digest-row .v { color: var(--paper); }
.ops-digest-row .v.ok::before { content: "✓  "; color: var(--mint); }
.ops-digest-row.flag .v { color: var(--signal); }
.ops-digest-row.flag .v::before { content: "⚑  "; }
.ops-digest-foot {
  padding: 11px 18px 13px;
  border-top: 1px solid var(--line-dark);
  font-size: .74rem;
  opacity: .8;
}
@media (prefers-reduced-motion: no-preference) {
  .ops-digest-row { opacity: 0; animation: digest-in .4s ease forwards; }
  .ops-digest-row:nth-child(1) { animation-delay: .15s; }
  .ops-digest-row:nth-child(2) { animation-delay: .3s; }
  .ops-digest-row:nth-child(3) { animation-delay: .45s; }
  .ops-digest-row:nth-child(4) { animation-delay: .6s; }
  .ops-digest-row:nth-child(5) { animation-delay: .75s; }
  @keyframes digest-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

  /* still-running signals: soft pulse on the live dot, slow breathe on the
     amber flag, cursor tick after the footer line */
  .ops-digest-head > span:first-child::before { animation: live-dot 2.6s var(--ease) infinite; }
  @keyframes live-dot {
    0%   { box-shadow: 0 0 0 0 rgba(116, 215, 196, .45); }
    55%  { box-shadow: 0 0 0 6px rgba(116, 215, 196, 0); }
    100% { box-shadow: 0 0 0 0 rgba(116, 215, 196, 0); }
  }
  .ops-digest-row.flag .v::before { animation: flag-breathe 3.2s ease-in-out infinite; animation-delay: 1.4s; }
  @keyframes flag-breathe { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
  .ops-digest-foot::after {
    content: "▍";
    color: var(--mint);
    margin-left: 6px;
    animation: cursor-tick 1.15s steps(1) infinite;
    animation-delay: 1s;
  }
  @keyframes cursor-tick { 50% { opacity: 0; } }
}

/* ── INNER PAGE HERO (slim band) ────────────────────── */
.page-hero { padding-top: 48px; }
@media (max-width: 700px) { .page-hero { padding-top: 36px; } }
.page-hero .kicker { margin-bottom: 20px; }
.page-hero h1,
.entry-header h1 {
  font-family: var(--display);
  font-weight: var(--dw);
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: var(--track);
  margin: 0 0 .6em;
  max-width: 26ch;
  color: var(--paper);
}
.entry-header { margin: 0; padding: 0; border: 0; }
.entry-lede {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--paper-dim);
  max-width: 58ch;
  margin: 0;
}

/* ── PAPER ZONE ─────────────────────────────────────── */
main { background: var(--paper); color: var(--ink); }
main > article,
main > .entry { padding-top: 56px; padding-bottom: 24px; }
@media (max-width: 700px) {
  main > article,
  main > .entry { padding-top: 40px; }
}

/* serif-free section heads closed by a ledger double rule,
   like a totalled column in an account book */
.section-label,
.home-body h2 {
  font-family: var(--display);
  font-weight: var(--dw);
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  letter-spacing: var(--track);
  line-height: 1.15;
  color: var(--ink);
  position: relative;
  border-bottom: 1px solid var(--accent);
  padding-bottom: .55rem;
  margin: 0 0 1.8rem;
}
.section-label::after,
.home-body h2::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--accent);
  opacity: .45;
}
.home-body { padding-top: 84px; }
.home-body h2 { margin-top: 4.4rem; }
.home-body > h2:first-child { margin-top: 0; }
.home-body p { max-width: var(--measure); }
@media (max-width: 700px) { .home-body { padding-top: 56px; } }

/* ── OFFER CARDS (homepage agents) ──────────────────── */
.offer-grid,
.offer-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.4rem;
  margin: 2.2rem 0;
}
.product-card,
.offer-card {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: 1.8rem 1.9rem 1.7rem;
  border: 1px solid var(--line-light);
  border-radius: 4px;
  background: #FAFBF8;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s var(--ease), background .2s var(--ease),
              transform .2s var(--ease), box-shadow .2s var(--ease);
}
.product-card:hover,
.offer-card:hover {
  border-color: var(--accent);
  background: #FFFFFE;
  transform: translateY(-3px);
  box-shadow: 0 18px 34px -18px rgba(13, 59, 54, .3);
}
.product-card:active,
.offer-card:active { transform: translateY(-1px); transition-duration: .06s; }
.offer-eyebrow {
  font-family: var(--sans);
  font-size: .85rem;
  font-weight: 600;
  color: var(--accent);
}
.product-card h3,
.offer-card h3 {
  margin: .15rem 0 0;
  font-family: var(--display);
  font-weight: var(--dw);
  font-size: 1.5rem;
  letter-spacing: var(--track);
  line-height: 1.18;
}
.offer-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--signal);
  margin: .15rem 0 .5rem;
}
.offer-tag::before {
  content: "";
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--signal);
}
.product-card p,
.offer-card p,
.offer-problem { margin: 0; font-size: .96rem; color: var(--ink-soft); }
.offer-cta {
  margin-top: 1.1rem;
  align-self: flex-start;
  display: inline-block;
  font-family: var(--sans);
  font-size: .92rem;
  font-weight: 600;
  color: var(--paper);
  background: var(--accent);
  padding: 11px 22px;
  border-radius: 4px;
  transition: background .15s;
}
.offer-card:hover .offer-cta { background: var(--teal); }

/* "not sure which" helper line under the cards */
.home-body .offer-cards + p { color: var(--ink-soft); }

/* ── WORK STRIP (raw HTML in index.md) ──────────────── */
.work-strip {
  margin: 2.6rem 0;
  background:
    radial-gradient(720px 300px at 88% -30%, rgba(116, 215, 196, .1), transparent 62%),
    linear-gradient(176deg, #12473F 0%, var(--teal-2) 55%, #0D3B34 100%);
  color: var(--paper);
  border-radius: 4px;
  box-shadow: 0 24px 48px -28px rgba(13, 59, 54, .45);
}
.work-strip-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  padding: 44px 38px;
  align-items: center;
}
@media (min-width: 900px) {
  .work-strip-inner { grid-template-columns: auto 1fr auto; gap: 48px; padding: 48px 56px; }
}
@media (max-width: 700px) { .work-strip-inner { padding: 34px 26px; } }
.work-label {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  letter-spacing: var(--track);
  line-height: 1.1;
  color: var(--mint);
}
.work-items {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  letter-spacing: var(--track);
  line-height: 1.35;
  display: flex;
  flex-direction: column;
  gap: 9px;
  list-style: none;
  color: var(--paper);
}
.work-items b { color: var(--mint); font-weight: 700; }
.work-strip .btn { justify-self: start; white-space: nowrap; }
@media (min-width: 900px) { .work-strip .btn { justify-self: end; } }

/* ── LINKEDIN STRIP ─────────────────────────────────── */
.linkedin-strip {
  margin: 3.5rem 0;
  padding: 2rem 2.2rem;
  background: var(--paper-2);
  border: 1px solid var(--line-light);
  border-radius: 4px;
  display: grid;
  gap: .5rem 2.5rem;
  align-items: center;
}
@media (min-width: 760px) {
  .linkedin-strip { grid-template-columns: 1fr auto; }
  .linkedin-strip > a { grid-column: 2; grid-row: 1 / span 2; }
}
.linkedin-strip h2,
.linkedin-strip h3 {
  font-family: var(--display);
  font-weight: var(--dw);
  font-size: 1.35rem;
  letter-spacing: var(--track);
  margin: 0;
  padding: 0;
  border: 0;
}
.linkedin-strip p { margin: 0; color: var(--ink-soft); max-width: 56ch; }
.linkedin-strip > a,
.pill {
  justify-self: start;
  display: inline-block;
  text-decoration: none;
  font-family: var(--sans);
  font-size: .92rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 4px;
  background: var(--accent);
  color: var(--paper);
  transition: background .15s;
}
.linkedin-strip > a:hover,
.pill:hover { background: var(--teal); }
@media (max-width: 700px) { .linkedin-strip { padding: 1.6rem 1.4rem; } }

/* ── LIBRARY LIST ───────────────────────────────────── */
.library { padding-top: 96px; padding-bottom: 24px; }
@media (max-width: 700px) { .library { padding-top: 64px; } }
.entry-list { list-style: none; padding: 0; margin: 0; }
.entry-card { border-bottom: 1px solid var(--line-light); }
.entry-link {
  display: grid;
  grid-template-columns: 1fr;
  gap: .6rem;
  padding: 1.3rem 1.2rem;
  margin: 0 -1.2rem;
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  transition: background .2s var(--ease);
}
@media (min-width: 900px) {
  .entry-link { grid-template-columns: 110px 1fr 170px; gap: 28px; align-items: baseline; }
}
.entry-link:hover { background: rgba(14, 110, 102, .05); }
.entry-link:hover .entry-title { color: var(--accent); }
.entry-link:hover .entry-readmore { color: var(--ink); transform: translateX(4px); }

.entry-meta {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.entry-num { color: var(--accent); }
.entry-title {
  font-family: var(--display);
  font-weight: var(--dw);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  letter-spacing: var(--track);
  line-height: 1.25;
  margin: 0 0 .35rem;
  max-width: 44ch;
  transition: color .15s ease;
}
.entry-summary { margin: 0 0 .5rem; max-width: var(--measure); color: var(--ink-soft); font-size: 0.92rem; line-height: 1.5; }
.entry-readmore {
  font-family: var(--sans);
  font-size: .85rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0;
  width: fit-content;
  transition: color .2s var(--ease), transform .2s var(--ease);
}
.entry-rank { color: var(--ink-soft); font-family: var(--mono); font-size: .78rem; }
@media (min-width: 900px) {
  .entry-rank { text-align: right; }
  .entry-rank .leverage-bar { justify-content: flex-end; }
}
.leverage-bar { display: flex; gap: 4px; margin-top: 8px; }
.leverage-bar span {
  width: 12px; height: 5px;
  border-radius: 1px;
  background: var(--line-light);
}
.leverage-bar span.on { background: var(--accent); }

/* ── ENTRY / PAGE BODY ──────────────────────────────── */
.entry-body { max-width: var(--measure); font-size: 1.05rem; }
.entry-body h2 {
  font-family: var(--display);
  font-weight: var(--dw);
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  letter-spacing: var(--track);
  line-height: 1.2;
  margin: 2.6rem 0 .8rem;
}
.entry-body h3 {
  font-family: var(--display);
  font-weight: var(--dw-strong);
  font-size: 1.22rem;
  letter-spacing: var(--track);
  margin: 2rem 0 .6rem;
}
.entry-body p { margin: 0 0 1.1em; }
.entry-body ul, .entry-body ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.entry-body li { margin-bottom: .35em; }
.entry-body strong { font-weight: 600; }
.entry-body img {
  max-width: 100%; height: auto;
  margin: 1.5em 0;
  border: 1px solid var(--line-light);
  border-radius: 4px;
}
.entry-body blockquote {
  border-left: 2px solid var(--accent);
  padding: .2em 0 .2em 1.2em;
  margin: 1.5em 0;
  color: var(--ink-soft);
}
.entry-body code {
  font-family: var(--mono);
  font-size: .85em;
  background: var(--paper-2);
  color: var(--accent);
  padding: 1px 6px;
  border-radius: 4px;
}
.entry-body pre {
  background: var(--teal);
  color: var(--paper);
  padding: 1.2em 1.4em;
  border-radius: 4px;
  overflow-x: auto;
  font-size: .88em;
  line-height: 1.5;
  margin: 1.5em 0;
}
.entry-body pre code { background: none; color: inherit; padding: 0; }
.entry-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: .96em;
}
.entry-body th, .entry-body td {
  text-align: left;
  padding: .6em .8em;
  border-bottom: 1px solid var(--line-light);
}
.entry-body th {
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.entry-body hr {
  border: 0;
  border-top: 1px solid var(--line-light);
  margin: 2.5em 0;
}

/* mailto CTAs inside offer pages read as buttons */
.offer-body > p > a[href^="mailto:"]:only-child,
.offer-body > a[href^="mailto:"] {
  display: inline-block;
  text-decoration: none;
  font-family: var(--sans);
  font-size: .92rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 4px;
  background: var(--accent);
  color: var(--paper);
  transition: background .15s;
}
.offer-body > p > a[href^="mailto:"]:only-child:hover,
.offer-body > a[href^="mailto:"]:hover { background: var(--teal); }

/* ── OFFER PAGE PRICE PANEL ─────────────────────────── */
.price-block {
  display: inline-flex;
  flex-direction: column;
  gap: .35rem;
  margin: 0 0 2.2rem;
  padding: 1.3rem 1.8rem;
  background: #FAFBF8;
  border: 1px solid var(--line-light);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
}
.offer .price-block {
  position: relative;
  z-index: 5;
  margin-top: -110px;
  box-shadow: 0 18px 40px rgba(13, 59, 54, .16);
}
@media (max-width: 700px) { .offer .price-block { margin-top: -96px; } }
.price-block .price { font-family: var(--mono); font-size: 1.15rem; font-weight: 700; letter-spacing: 0; color: var(--teal); }
.price-note { font-family: var(--sans); font-size: .82rem; font-weight: 500; color: var(--ink-soft); }

/* coming-soon callout at top of an agent page body */
.waitlist-banner {
  margin: 0 0 2.2rem;
  padding: 1.3rem 1.6rem;
  background: #FAFBF8;
  border: 1px solid var(--line-light);
  border-left: 3px solid var(--signal);
  border-radius: 4px;
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1.6rem;
  align-items: center;
  justify-content: space-between;
}
.waitlist-banner .wb-text { margin: 0; max-width: 46ch; color: var(--ink-soft); font-size: .98rem; }
.waitlist-banner .wb-text strong { color: var(--ink); font-weight: 600; }
.waitlist-banner .wb-cta {
  flex: none;
  display: inline-block;
  text-decoration: none;
  font-family: var(--sans);
  font-size: .92rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 4px;
  background: var(--accent);
  color: var(--paper);
  transition: background .15s;
}
.waitlist-banner .wb-cta:hover { background: var(--teal); }

/* FAQ rhythm on offer pages */
.offer-body h3 {
  margin: 2.4rem 0 .5rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-light);
}
.offer-body h2 + h3 { border-top: 0; padding-top: .2rem; }

/* ── FOOTER ─────────────────────────────────────────── */
.site-footer {
  margin-top: 110px;
  position: relative;
  background:
    radial-gradient(1100px 560px at 12% -14%, rgba(116, 215, 196, .09), transparent 60%),
    linear-gradient(182deg, #0F423C 0%, var(--teal) 52%, #0B332E 100%);
  color: var(--paper);
  border-top: 4px double rgba(116, 215, 196, .55);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(241, 244, 240, .033) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241, 244, 240, .033) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,.9), rgba(0,0,0,.2));
          mask-image: linear-gradient(to top, rgba(0,0,0,.9), rgba(0,0,0,.2));
}
.site-footer > * { position: relative; }
@media (max-width: 700px) { .site-footer { margin-top: 76px; } }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-top: 72px;
  padding-bottom: 48px;
}
@media (min-width: 900px) { .footer-inner { grid-template-columns: 1.3fr 1fr; gap: 96px; align-items: end; } }
@media (max-width: 700px) { .footer-inner { padding-top: 52px; } }

.footer-head {
  font-family: var(--display);
  font-weight: var(--dw);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  letter-spacing: var(--track);
  line-height: 1.18;
  margin: 0 0 14px;
}
.footer-head .accent { color: var(--mint); }
.signup { margin: 0; padding: 0; background: none; border: 0; }
.signup-lead,
.footer-blurb {
  margin: 0 0 26px;
  color: var(--paper-dim);
  max-width: 44ch;
  font-size: 1rem;
}
.signup-lead a { color: var(--paper); text-decoration-color: var(--line-dark); }
.signup-lead a:hover { color: var(--mint); text-decoration-color: var(--mint); }

.signup-form {
  display: flex;
  gap: 0;
  max-width: 460px;
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  overflow: hidden;
  background: rgba(241, 244, 240, 0.05);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.signup-form:focus-within { border-color: var(--mint); background: rgba(241, 244, 240, 0.08); }
.signup-form input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--paper);
  padding: 14px 18px;
  font-family: var(--sans);
  font-size: .92rem;
}
.signup-form input::placeholder { color: var(--paper-dim); }
.signup-form button {
  background: var(--mint);
  color: var(--teal);
  border: 0;
  cursor: pointer;
  padding: 14px 24px;
  font-family: var(--sans);
  font-size: .92rem;
  font-weight: 600;
  transition: background .15s;
}
.signup-form button:hover { background: var(--paper); }

/* footer photo */
.footer-photo { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; justify-content: flex-end; }
.photo-circle {
  width: 128px; height: 128px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line-dark);
}
.photo-cap { color: var(--paper-dim); font-size: .94rem; margin: 0; line-height: 1.5; }
.photo-cap b { color: var(--paper); font-weight: 600; }
.photo-cap a { color: var(--paper); text-decoration-color: var(--line-dark); }
.photo-cap a:hover { color: var(--mint); text-decoration-color: var(--mint); }

.footer-rule {
  border-top: 1px solid var(--line-dark);
  padding-top: 22px;
  padding-bottom: 36px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-rule .label { color: var(--paper-dim); }

/* ── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 600px) {
  .header-inner { flex-direction: column; align-items: flex-start; gap: .8rem; }
  .hero h1 { margin-bottom: 28px; }
  .entry-meta { gap: .3rem; }
}

/* ── SPEC CARDS (boxed sections on offer pages) ─────── */
.spec-cards { display: grid; gap: 1.2rem; grid-template-columns: 1fr; margin: 1.8rem 0 2.4rem; }
@media (min-width: 820px) { .spec-cards { grid-template-columns: repeat(3, 1fr); } }
.spec-card {
  border: 1px solid var(--line-light);
  border-top: 3px solid var(--accent);
  border-radius: 4px;
  background: #FAFBF8;
  padding: 1.5rem 1.5rem 1.6rem;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.spec-card:hover { transform: translateY(-2px); box-shadow: var(--lift-shadow); border-color: #C3CFC5; }
.spec-card.c-problem { border-top-color: var(--signal); }
.spec-card.c-does    { border-top-color: var(--accent); }
.spec-card.c-install { border-top-color: var(--teal); }
.spec-icon { font-size: 1.5rem; display: block; margin-bottom: .55rem; line-height: 1; }
.spec-card h3 {
  font-family: var(--display); font-weight: 700; font-size: 1.12rem;
  letter-spacing: var(--track); margin: 0 0 .7rem; border: 0; padding: 0;
}
.spec-card ul { margin: 0; padding-left: 1.05em; }
.spec-card li { margin-bottom: .4em; font-size: .94rem; color: var(--ink-soft); line-height: 1.45; }
.spec-card p { margin: 0; font-size: .94rem; color: var(--ink-soft); }

/* ── BOXED OFFERS (work-with-me) ────────────────────── */
.offer-boxes { display: grid; gap: 1.2rem; grid-template-columns: 1fr; margin: 1.8rem 0 1.6rem; }
@media (min-width: 760px) { .offer-boxes { grid-template-columns: 1fr 1fr; } }
.offer-box {
  border: 1px solid var(--line-light);
  border-top: 3px solid var(--accent);
  border-radius: 4px; background: #FAFBF8;
  padding: 1.6rem 1.7rem 1.7rem;
  display: flex; flex-direction: column; gap: .5rem;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.offer-box:hover { transform: translateY(-2px); box-shadow: var(--lift-shadow); border-color: #C3CFC5; }
.offer-box h3 { font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: var(--track); margin: 0; border: 0; padding: 0; }
.offer-box .price { font-family: var(--mono); font-weight: 700; color: var(--accent); font-size: 1rem; }
.offer-box p { margin: 0; font-size: .95rem; color: var(--ink-soft); }
.offer-box .box-cta {
  margin-top: .8rem; align-self: flex-start; display: inline-block; text-decoration: none;
  font-family: var(--sans); font-size: .92rem; font-weight: 600; color: var(--paper);
  background: var(--accent); padding: 11px 22px; border-radius: 4px; transition: background .15s;
}
.offer-box .box-cta:hover { background: var(--teal); }

/* ── LINKEDIN GLYPH (footer) ────────────────────────── */
.li-link { display: inline-flex; align-items: center; color: var(--paper); transition: color .15s; }
.li-link:hover { color: var(--mint); }
.li-link svg { width: 26px; height: 26px; fill: currentColor; display: block; }

/* ── OFFER PAGE WIDTH + COMPONENTS ──────────────────── */
.offer-body { max-width: 920px; }
.section-intro { max-width: var(--measure); color: var(--ink-soft); margin: -1.1rem 0 1.6rem; }

.spec-svg { width: 46px; height: 46px; display: block; margin-bottom: .55rem; }

.faq-grid { display: grid; gap: 1.3rem 2.2rem; grid-template-columns: 1fr; margin: 1.4rem 0; }
@media (min-width: 720px) { .faq-grid { grid-template-columns: 1fr 1fr; } }
.faq-item h3 { font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: var(--track); margin: 0 0 .4rem; border: 0; padding: 0; }
.faq-item p { margin: 0; font-size: .95rem; color: var(--ink-soft); }

.start-box {
  background:
    radial-gradient(680px 280px at 90% -30%, rgba(116, 215, 196, .1), transparent 62%),
    linear-gradient(176deg, #0F423C 0%, var(--teal) 55%, #0B332E 100%);
  color: var(--paper);
  border-radius: 4px;
  padding: 1.8rem 2rem;
  margin: 1.4rem 0 0;
  max-width: 920px;
  box-shadow: 0 24px 48px -28px rgba(13, 59, 54, .45);
}
.start-box p { color: var(--paper); margin: 0 0 .8rem; }
.start-box .start-lead { font-family: var(--display); font-weight: 700; font-size: 1.2rem; letter-spacing: var(--track); margin-bottom: .5rem; }
.start-box .start-cta {
  display: inline-block; text-decoration: none;
  background: var(--mint); color: var(--teal); font-family: var(--sans);
  font-weight: 600; padding: 12px 26px; border-radius: 4px; margin: .2rem 0 1rem;
  transition: background .15s;
}
.start-box .start-cta:hover { background: var(--paper); }
.start-box .start-alt { font-size: .94rem; color: var(--paper-dim); margin-bottom: 0; }
.start-box .start-alt a { color: var(--paper); text-decoration-color: var(--line-dark); }
.start-box .start-alt a:hover { color: var(--mint); }

/* ── LIBRARY: tags, filter, related ─────────────────── */
.library-page { padding-top: 48px; }
.tag-filter { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 2rem; }
.tag-btn {
  font-family: var(--sans); font-size: .82rem; font-weight: 600;
  padding: 6px 14px; border-radius: 4px; border: 1px solid var(--line-light);
  background: #FAFBF8; color: var(--ink-soft); cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease), transform .18s var(--ease);
}
.tag-btn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.tag-btn:active { transform: translateY(0); transition-duration: .06s; }
.tag-btn.is-active { background: var(--accent); color: var(--paper); border-color: var(--accent); }
.tag-chip {
  display: inline-flex; align-items: center;
  font-family: var(--mono); font-size: .72rem; font-weight: 600;
  color: var(--accent); background: #EAF1EC; padding: 4px 11px; border-radius: 4px;
}
.tag-chip::before { content: "#"; opacity: .55; margin-right: 2px; }
.entry-card-tags { margin: .7rem 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.entry-tags { margin: 2.2rem 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.related-builds {
  margin: 2.4rem 0 0; padding-top: 1.4rem;
  border-top: 1px solid var(--line-light); max-width: var(--measure);
}
.related-builds h2 {
  font-family: var(--display); font-weight: 700; font-size: 1.1rem;
  letter-spacing: var(--track); margin: 0 0 .6rem;
}
.related-builds ul { margin: 0; padding-left: 1.1em; }
.related-builds li { margin-bottom: .3em; }
.entry-back { margin: 2.4rem 0 0; font-size: .9rem; }
.library-more {
  display: inline-block; margin-top: 1.6rem;
  font-family: var(--sans); font-size: .92rem; font-weight: 600;
  color: var(--accent); text-decoration: none;
}
.library-more:hover { color: var(--teal); }

/* homepage hero kicker, larger */
.hero .kicker { font-size: 1.1rem; letter-spacing: 0; color: var(--mint); }

/* about-page hero photo, top right */
.page-hero-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 36px; }
.hero-photo {
  flex: none; width: 150px; height: 150px; border-radius: 50%;
  object-fit: cover; border: 1px solid var(--line-dark); margin-top: 6px;
}
@media (max-width: 640px) {
  .page-hero-row { flex-direction: column-reverse; align-items: flex-start; gap: 20px; }
  .hero-photo { width: 104px; height: 104px; }
}

/* library page top signup */
.library-signup {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 14px 22px; background: var(--paper-2); border: 1px solid var(--line-light);
  border-radius: 4px; padding: 1.2rem 1.5rem; margin: 0 0 2rem;
}
.library-signup .signup-form:focus-within { border-color: var(--accent); background: #fff; }
.library-signup p { margin: 0; font-weight: 600; color: var(--ink); max-width: 40ch; }
.library-signup .signup-form { background: #fff; border-color: var(--line-light); }
.library-signup .signup-form input { color: var(--ink); }
.library-signup .signup-form input::placeholder { color: var(--ink-soft); }
.library-signup .signup-form button { background: var(--accent); color: var(--paper); }
.library-signup .signup-form button:hover { background: var(--teal); }

/* ── SCROLL REVEAL ──────────────────────────────────── */
/* .reveal is added by JS only (base.html), so content is fully
   visible without JS. One quiet rise per element, once. */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* FAQ matrix: small boxes, less scroll */
.faq-matrix { display: grid; gap: 1rem; grid-template-columns: 1fr; margin: 1.6rem 0; }
@media (min-width: 620px) { .faq-matrix { grid-template-columns: 1fr 1fr; } }
.faq-box {
  border: 1px solid var(--line-light); border-radius: 4px; background: #FAFBF8;
  padding: 1.1rem 1.2rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.faq-box:hover { border-color: #C3CFC5; box-shadow: 0 6px 18px -10px rgba(13, 59, 54, .2); }
.faq-box h3 {
  font-family: var(--display); font-weight: 700; font-size: .98rem;
  letter-spacing: var(--track); margin: 0 0 .45rem; border: 0; padding: 0;
}
.faq-box p { margin: 0; font-size: .9rem; line-height: 1.5; color: var(--ink-soft); }
.faq-box a { color: var(--accent); }

/* Launch CTA (Beehiiv deferred) */
.signup-mailto {
  display: inline-block; margin-top: 4px; padding: 12px 22px;
  background: var(--mint); color: var(--ink, #10201c); border-radius: 8px;
  font-weight: 700; text-decoration: none; letter-spacing: 0.01em;
}
.signup-mailto:hover { background: var(--paper); }

.signup-embed { margin-top: 4px; min-height: 56px; max-width: 440px; }
.signup-embed iframe { filter: hue-rotate(68deg) saturate(0.55); }
.signup-embed iframe { max-width: 100%; width: 100%; }

.cta-alt { font-size: 0.82rem; margin-top: 8px; opacity: 0.75; }
.cta-alt a { color: inherit; text-decoration: underline; }

/* Waitlist intake form */
.waitlist-form { background: var(--teal-2); color: var(--paper, #F1F4F0); border-radius: 14px; padding: 28px 26px; margin: 28px 0; max-width: 720px; }
.waitlist-form h3 { margin: 0 0 4px; color: #fff; }
.wf-lead { margin: 0 0 18px; opacity: .85; font-size: .95rem; }
.wf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .wf-row { grid-template-columns: 1fr; } }
.waitlist-form label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 12px; letter-spacing: .02em; }
.waitlist-form input[type=text], .waitlist-form input[type=email], .waitlist-form select, .waitlist-form textarea {
  display: block; width: 100%; margin-top: 5px; padding: 10px 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.95); color: #10201c; font: inherit; font-weight: 400; }
.waitlist-form textarea { resize: vertical; }
.wf-submit { margin-top: 4px; padding: 12px 26px; border: 0; border-radius: 8px; background: var(--mint); color: var(--teal); font-weight: 700; font-size: 1rem; cursor: pointer; }
.wf-submit:hover { background: #fff; }
.waitlist-form .cta-alt { margin-top: 10px; }
.waitlist-form .cta-alt a { color: inherit; }
.start-box-tail { margin-top: 8px; }
