/* Varholdt AI · varholdt.com
 * Light warm paper, deep slate-blue accent, DM Sans and JetBrains Mono.
 * Motion: a staggered hero, drifting tool chips, scroll reveals, stacked
 * demo cards, a cascading chip row, a scoreboard whose bars fill in, and a
 * phone menu that grows out of the header.
 * The CSP allows no inline styles, so anything per-item (stack offsets,
 * cascade delays, bar widths) is set by class or :nth-child here.
 */

/* ---------- Fonts (self-hosted, SIL OFL 1.1) ---------- */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/dm-sans-latin.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-latin.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --color-paper:      oklch(98.4% 0.004 85);
  --color-paper-2:    oklch(96.6% 0.006 85);
  --color-card:       oklch(100% 0 0);
  --color-ink:        oklch(23% 0.018 260);
  --color-ink-2:      oklch(40% 0.02 260);
  --color-muted:      oklch(52% 0.02 260);
  --color-faint:      oklch(64% 0.015 260);
  --color-rule:       oklch(90% 0.008 85);
  --color-rule-2:     oklch(84% 0.01 85);
  --color-accent:     oklch(45% 0.1 252);
  --color-accent-2:   oklch(38% 0.09 252);
  --color-accent-soft:oklch(88% 0.045 252);
  --color-accent-bg:  oklch(94.5% 0.02 252);
  --color-focus:      oklch(45% 0.1 252);
  --color-on-accent:  oklch(100% 0 0);
  --color-image-outline: oklch(0 0 0 / 0.1);
  --color-no:         oklch(54% 0.17 25);
  --color-amber:      oklch(62% 0.12 70);

  /* Dark "screen" panels (video frames) */
  --color-screen:     oklch(19% 0.015 260);
  --color-screen-2:   oklch(23% 0.018 260);
  --color-screen-mute:oklch(75% 0.01 260 / 0.85);
  --color-signal-deep:oklch(48% 0.1 155);

  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  --text-body: 1rem;
  --text-body-lg: clamp(1rem, 1.4vw, 1.1875rem);
  --text-heading: clamp(1.65rem, 3.4vw, 2.35rem);

  --maxw: 1160px;
  --pad: clamp(20px, 4vw, 52px);

  --radius-card: 14px;
  --radius-btn: 10px;

  --shadow-card: 0 1px 2px oklch(25% 0.02 260 / 0.04), 0 16px 40px -24px oklch(25% 0.02 260 / 0.18);
  --shadow-card-hover: 0 2px 4px oklch(25% 0.02 260 / 0.05), 0 24px 48px -20px oklch(25% 0.02 260 / 0.22);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Tap highlight off: buttons and rows carry their own :active feedback */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; overflow-x: clip; }
/* Keep reload and history restoration immediate. In-page links opt into
   smooth scrolling in site.js instead. */
html { background: var(--color-paper); scroll-behavior: auto; }
body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 400;
  font-optical-sizing: auto;
  font-synthesis: none;
  color: var(--color-ink);
  background: var(--color-paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
}

em { font-style: normal; color: inherit; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { text-wrap: balance; }
::selection { background: var(--color-accent); color: var(--color-on-accent); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

/* ---------- Type primitives ---------- */
.kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.text-link {
  color: var(--color-accent);
  border-bottom: 1px solid var(--color-accent-soft);
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}
.text-link:hover { color: var(--color-accent-2); border-color: var(--color-accent); }

/* ---------- Layout ---------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
.section { padding: clamp(56px, 7vw, 92px) 0; border-top: 1px solid var(--color-rule); }
.section.is-first { border-top: 0; }
/* The credentials strip closes the hero, so the next section needs no rule */
.hero + .section { border-top: 0; }
/* Clears the sticky nav with breathing room */
section[id], [id].anchor { scroll-margin-top: 84px; }

.section-head { max-width: 660px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head > .kicker { display: inline-block; margin-bottom: 14px; }
.section-title {
  font-size: var(--text-heading);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.12;
  margin: 0 0 14px;
  overflow-wrap: anywhere;
  min-width: 0;
}
.section-lede {
  font-size: 1.06rem;
  color: var(--color-ink-2);
  margin: 0;
  text-wrap: pretty;
}
.section-lede + .section-lede { margin-top: 12px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--color-paper);
  transition: background-color 180ms var(--ease), box-shadow 180ms var(--ease);
}
/* At the top the header sits flush with the page; once it scrolls, it gets a
   hairline and frosts what passes under it. Without JS, it keeps the line. */
.nav[data-scrolled],
html:not(.js) .nav { box-shadow: 0 1px 0 var(--color-rule); }
@supports (backdrop-filter: blur(20px)) or (-webkit-backdrop-filter: blur(20px)) {
  .nav[data-scrolled] {
    background: color-mix(in oklch, var(--color-paper) 74%, transparent);
    backdrop-filter: saturate(1.8) blur(20px);
    -webkit-backdrop-filter: saturate(1.8) blur(20px);
  }
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 13px;
  padding-bottom: 13px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.012em;
  white-space: nowrap;
}
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 30px);
}
.nav-links > a:not(.btn) {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--color-ink-2);
  font-size: 0.87rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 180ms var(--ease);
}
.nav-links > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7px;
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 220ms var(--ease-out);
}
.nav-links > a[aria-current="page"] { color: var(--color-ink); }
.nav-links > a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links > a:not(.btn):focus-visible { color: var(--color-ink); }
.nav-links > a:not(.btn):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left center;
}
/* Hover motion is gated: touch devices fire :hover on tap and it sticks */
@media (hover: hover) and (pointer: fine) {
  .nav-links > a:not(.btn):hover { color: var(--color-ink); }
  .nav-links > a:not(.btn):hover::after {
    transform: scaleX(1);
    transform-origin: left center;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 13px 20px 13px 22px;
  border-radius: var(--radius-btn);
  font: inherit;
  font-size: 0.93rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 220ms var(--ease), border-color 220ms var(--ease),
    box-shadow 220ms var(--ease), scale 140ms var(--ease);
  white-space: nowrap;
  position: relative;
  user-select: none;
}
.btn:active { scale: 0.96; }
.btn-arrow {
  width: 14px; height: 14px;
  transition: transform 250ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover .btn-arrow { transform: translateX(3px); }
}
.btn-primary {
  background: linear-gradient(180deg, oklch(51% 0.1 252) 0%, oklch(43% 0.105 252) 100%);
  color: var(--color-on-accent);
  box-shadow:
    inset 0 1px 0 oklch(100% 0 0 / 0.22),
    inset 0 -1px 0 oklch(20% 0.06 252 / 0.35),
    0 8px 20px -10px oklch(45% 0.1 252 / 0.55);
}
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    background: linear-gradient(180deg, oklch(48% 0.1 252) 0%, oklch(40% 0.105 252) 100%);
    box-shadow:
      inset 0 1px 0 oklch(100% 0 0 / 0.22),
      inset 0 -1px 0 oklch(20% 0.06 252 / 0.35),
      0 10px 24px -10px oklch(45% 0.1 252 / 0.65);
  }
}
.btn-primary:disabled { opacity: 0.7; cursor: progress; }
.btn-ghost {
  color: var(--color-ink);
  border-color: var(--color-rule-2);
  background: oklch(100% 0 0 / 0.6);
}
@media (hover: hover) and (pointer: fine) {
  .btn-ghost:hover {
    border-color: var(--color-accent);
    background: var(--color-card);
  }
}

.nav .btn { min-height: 40px; padding: 10px 15px 10px 17px; font-size: 0.88rem; }
.nav-cta-short { display: none; }

/* ---------- Phone menu ----------
   Two lines that fold into an X, and a full-screen sheet that grows down
   out of the header (the same pattern as Public Parish). site.js builds the
   button and the sheet; without JS the header keeps its plain links. */
.nav-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: var(--radius-btn);
  background: transparent;
  color: var(--color-ink);
  cursor: pointer;
}
.nav-burger { width: 24px; height: 24px; }
.nav-burger path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 180ms ease;
}
.nav-menu-btn[aria-expanded="true"] .nav-burger path:first-child { transform: translateY(4px) rotate(45deg); }
.nav-menu-btn[aria-expanded="true"] .nav-burger path:last-child { transform: translateY(-4px) rotate(-45deg); }

.site-menu {
  --menu-head: 60px;
  position: fixed;
  inset: 0;
  z-index: 50;
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  flex-direction: column;
  background: var(--color-paper);
  color: var(--color-ink);
  transition: height 420ms cubic-bezier(0.4, 0, 0.6, 1);
}
.site-menu[open] { display: flex; }
.site-menu::backdrop { background: transparent; }
.site-menu > .container { width: 100%; }
.site-menu[data-state="starting"],
.site-menu[data-state="ending"] { height: var(--menu-head); }
html.menu-open { overflow: hidden; }
.site-menu-head {
  flex: none;
  height: var(--menu-head);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.site-menu-head .nav-menu-btn { display: grid; }
.site-menu-body {
  flex: none;
  height: calc(100dvh - var(--menu-head));
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 12px;
  padding-bottom: max(24px, env(safe-area-inset-bottom));
}
.site-menu-links { display: grid; gap: 2px; }
.site-menu-links a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 4px 0;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.035em;
  color: var(--color-ink);
  transition: color 160ms var(--ease);
}
.site-menu-links a[aria-current="page"],
.site-menu-links a:active { color: var(--color-accent); }
@media (hover: hover) and (pointer: fine) {
  .site-menu-links a:hover { color: var(--color-accent); }
}
.site-menu-bottom {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--color-rule);
}
.site-menu-bottom .btn { width: 100%; justify-content: center; min-height: 52px; font-size: 1rem; }
.site-menu-meta { display: flex; flex-wrap: wrap; gap: 0 22px; }
.site-menu-meta a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.95rem;
  color: var(--color-ink-2);
}
.site-menu :focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }

/* Links drop in one after another as the sheet opens, and leave together */
.site-menu-links a,
.site-menu-bottom {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 240ms ease-out, transform 320ms ease-out, color 160ms var(--ease);
  transition-delay: 80ms;
}
.site-menu-links a:nth-child(2) { transition-delay: 100ms; }
.site-menu-links a:nth-child(3) { transition-delay: 120ms; }
.site-menu-links a:nth-child(4) { transition-delay: 140ms; }
.site-menu-links a:nth-child(5) { transition-delay: 160ms; }
.site-menu-bottom { transition-delay: 180ms; }
.site-menu[data-state="starting"] .site-menu-links a,
.site-menu[data-state="starting"] .site-menu-bottom {
  opacity: 0;
  transform: translateY(-0.5rem);
}
.site-menu[data-state="ending"] .site-menu-links a,
.site-menu[data-state="ending"] .site-menu-bottom {
  opacity: 0;
  transform: translateY(-0.5rem);
  transition-duration: 160ms;
  transition-delay: 0ms;
}
/* The sheet's own button draws the X: lines meet, then turn */
.site-menu .nav-burger path:first-child { animation: menu-top-open 240ms both; }
.site-menu .nav-burger path:last-child { animation: menu-bottom-open 240ms both; }
.site-menu[data-state="ending"] .nav-burger path:first-child { animation-name: menu-top-close; }
.site-menu[data-state="ending"] .nav-burger path:last-child { animation-name: menu-bottom-close; }
@keyframes menu-top-open {
  0% { transform: translateY(0) rotate(0); animation-timing-function: ease-in; }
  50% { transform: translateY(4px) rotate(0); animation-timing-function: ease-out; }
  100% { transform: translateY(4px) rotate(45deg); }
}
@keyframes menu-bottom-open {
  0% { transform: translateY(0) rotate(0); animation-timing-function: ease-in; }
  50% { transform: translateY(-4px) rotate(0); animation-timing-function: ease-out; }
  100% { transform: translateY(-4px) rotate(-45deg); }
}
@keyframes menu-top-close {
  0% { transform: translateY(4px) rotate(45deg); animation-timing-function: ease-in; }
  50% { transform: translateY(4px) rotate(0); animation-timing-function: ease-out; }
  100% { transform: translateY(0) rotate(0); }
}
@keyframes menu-bottom-close {
  0% { transform: translateY(-4px) rotate(-45deg); animation-timing-function: ease-in; }
  50% { transform: translateY(-4px) rotate(0); animation-timing-function: ease-out; }
  100% { transform: translateY(0) rotate(0); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(102px, 9.6vw + 16px, 153px) 0 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-bg-glow {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  width: 900px;
  max-width: 110%;
  height: 360px;
  background: radial-gradient(ellipse at center, oklch(60% 0.09 252 / 0.1), transparent 70%);
  filter: blur(50px);
}
.hero-bg-fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent 0%, var(--color-paper) 100%);
}
.hero-inner {
  position: relative;
  text-align: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 2.6vw, 32px);
  justify-items: center;
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-kicker {
  opacity: 0;
  animation: fade-up 560ms var(--ease-out) forwards;
  /* Break only at the separators so narrow screens get balanced lines */
  text-wrap: balance;
  padding: 0 8px;
}
.hero-kicker > span { white-space: nowrap; }
.hero-headline {
  font-size: clamp(2.375rem, 6vw, 4.5rem);
  line-height: 1.06;
  letter-spacing: 0;
  font-weight: 600;
  margin: 0;
  max-width: 21ch;
  text-wrap: balance;
  overflow-wrap: anywhere;
  min-width: 0;
  opacity: 0;
  animation: fade-up 560ms var(--ease-out) 0.06s forwards;
}
.hero-sub {
  max-width: 58ch;
  font-size: var(--text-body-lg);
  line-height: 1.6;
  color: var(--color-ink-2);
  text-wrap: pretty;
  margin: 0;
  opacity: 0;
  animation: fade-up 560ms var(--ease-out) 0.14s forwards;
  padding: 0 4px;
}
.hero-sub strong { color: var(--color-ink); font-weight: 500; }
.hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fade-up 560ms var(--ease-out) 0.22s forwards;
}

/* Floating tool logos around the hero */
.hero-chips {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-chip {
  position: absolute;
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border: 1px solid oklch(35% 0.03 252 / 0.1);
  border-radius: 24px;
  /* No backdrop-filter: these drift on an infinite loop, and blur would be
     re-sampled every frame over an already near-flat background */
  background: oklch(100% 0 0 / 0.92);
  box-shadow:
    0 20px 44px -18px oklch(30% 0.04 260 / 0.35),
    inset 0 2px 0 oklch(100% 0 0 / 0.8);
  opacity: 0;
  animation: hero-chip-float-in 1100ms var(--ease-out) forwards, hero-chip-drift 9s ease-in-out infinite;
}
.hero-chip svg { width: 54px; height: 54px; }
.hero-chip.is-chatgpt {
  color: oklch(28% 0.02 260);
  background: radial-gradient(circle at 30% 25%, oklch(90% 0.01 260 / 0.9), oklch(100% 0 0 / 0.88) 65%);
}
.hero-chip.is-claude {
  background: radial-gradient(circle at 30% 25%, oklch(72% 0.12 45 / 0.22), oklch(100% 0 0 / 0.88) 65%);
}
.hero-chip.is-drive {
  background: radial-gradient(circle at 30% 25%, oklch(60% 0.15 262 / 0.16), oklch(100% 0 0 / 0.88) 65%);
}
.hero-chip.is-sheets {
  background: radial-gradient(circle at 30% 25%, oklch(58% 0.13 155 / 0.18), oklch(100% 0 0 / 0.88) 65%);
}
@keyframes hero-chip-float-in {
  from { opacity: 0; translate: 0 14px; scale: 0.92; }
  to   { opacity: 1; translate: 0 0;    scale: 1;    }
}
@keyframes hero-chip-drift {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -7px; }
}
.hero-chip.c1 { top: 12%; left: 7%;  rotate: -8deg; animation-delay: 0.9s,  0s;    }
.hero-chip.c2 { top: 10%; right: 7%; rotate:  6deg; animation-delay: 1.05s, -2.5s; }
.hero-chip.c3 { top: 62%; left: 5%;  rotate:  4deg; animation-delay: 1.2s,  -5s;   }
.hero-chip.c4 { top: 60%; right: 5%; rotate: -5deg; animation-delay: 1.35s, -7s;   }

@media (max-width: 1100px) {
  .hero-chip { width: 78px; height: 78px; border-radius: 20px; }
  .hero-chip svg { width: 44px; height: 44px; }
  .hero-chip.c1 { top: 8%;  left: 4%; }
  .hero-chip.c2 { top: 6%;  right: 4%; }
  .hero-chip.c3 { top: 60%; left: 3%; }
  .hero-chip.c4 { top: 58%; right: 3%; }
}
@media (max-width: 760px) {
  .hero-chip { width: 66px; height: 66px; border-radius: 18px; }
  .hero-chip svg { width: 38px; height: 38px; }
  .hero-chip.c1 { top: 10px;  left: 10px;  right: auto; bottom: auto;  rotate: -6deg; }
  .hero-chip.c2 { top: 10px;  right: 10px; left: auto;  bottom: auto;  rotate:  5deg; }
  .hero-chip.c3 { top: auto;  left: 10px;  right: auto; bottom: 120px; rotate:  4deg; }
  .hero-chip.c4 { top: auto;  right: 10px; left: auto;  bottom: 120px; rotate: -5deg; }
}
@media (max-width: 420px) {
  .hero-chip { width: 56px; height: 56px; border-radius: 16px; }
  .hero-chip svg { width: 32px; height: 32px; }
  .hero-kicker { font-size: 0.66rem; }
}

/* Credentials: the hero's floor. Three facts a careful owner checks first. */
.creds {
  position: relative;
  list-style: none;
  margin: clamp(72px, 12vw, 152px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--color-rule-2);
  border-bottom: 1px solid var(--color-rule);
  opacity: 0;
  animation: fade-up 560ms var(--ease-out) 0.38s forwards;
}
.creds li {
  display: grid;
  gap: 5px;
  align-content: start;
  padding: 20px clamp(12px, 2vw, 24px);
  text-align: center;
}
.creds li + li { border-left: 1px solid var(--color-rule); }
.creds-k {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.creds-v { font-size: 0.97rem; font-weight: 500; color: var(--color-ink); text-wrap: balance; }
.creds-v span { white-space: nowrap; }
/* Phones: a short spec list, label left and fact right, one line each */
@media (max-width: 760px) {
  .creds { grid-template-columns: minmax(0, 1fr); }
  .creds li {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: baseline;
    gap: 16px;
    padding: 14px 2px;
    text-align: left;
  }
  .creds li + li { border-left: 0; border-top: 1px solid var(--color-rule); }
  .creds-k { font-size: 0.62rem; letter-spacing: 0.14em; }
  .creds-v { font-size: 0.95rem; text-align: right; }
}

/* ---------- Pains ("Sound familiar?") and tick lists ---------- */
.pains {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 740px;
}
.pains li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  padding: 17px 0;
  border-top: 1px solid var(--color-rule);
  font-size: 1.03rem;
  color: var(--color-ink-2);
}
.pains li:first-child { border-top: none; }
.pains .tick {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  margin-top: 2px;
}
.pains .tick.is-no { color: var(--color-no); }
/* Home: two columns, so four short items fill the width instead of a list */
.pains.is-grid {
  max-width: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(28px, 5vw, 64px);
}
.pains.is-grid li { padding: 20px 0; }
.pains.is-grid li:nth-child(2) { border-top: none; }
@media (max-width: 760px) {
  .pains.is-grid { grid-template-columns: minmax(0, 1fr); }
  .pains.is-grid li { padding: 16px 0; }
  .pains.is-grid li:nth-child(2) { border-top: 1px solid var(--color-rule); }
}
.pains strong { color: var(--color-ink); font-weight: 500; }
.pains a { color: var(--color-accent); border-bottom: 1px solid var(--color-accent-soft); }

/* Quiet trailing line that carries a contextual link out to a deeper page.
   Deliberately understated: it should read as a footnote, not a second CTA. */
.section-aside {
  margin: clamp(20px, 2.6vw, 28px) 0 0;
  font-size: 0.95rem;
  color: var(--color-muted);
  max-width: 68ch;
  text-wrap: pretty;
}
.section-aside a {
  color: var(--color-accent);
  border-bottom: 1px solid var(--color-accent-soft);
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}
.section-aside a:hover { color: var(--color-accent-2); border-color: var(--color-accent); }

/* ---------- Options compare ("This is happening with or without you") ---------- */
.compare {
  --compare-gap: clamp(18px, 2.4vw, 30px);
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--compare-gap);
  align-items: stretch;
}
.compare.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.compare-card {
  min-width: 0;
  border-radius: 20px;
  padding: clamp(18px, 2.2vw, 28px);
  border: 1px solid var(--color-rule);
  background: linear-gradient(180deg, var(--color-card) 0%, oklch(98.6% 0.004 85) 100%);
  box-shadow: var(--shadow-card);
}
.compare-card.is-me {
  border: 1.5px solid oklch(70% 0.08 252);
  background:
    radial-gradient(ellipse 90% 50% at 50% 0%, oklch(93% 0.028 252 / 0.7), transparent 75%),
    linear-gradient(180deg, var(--color-card) 0%, oklch(98.5% 0.008 252) 100%);
  box-shadow: 0 2px 4px oklch(45% 0.1 252 / 0.06), 0 28px 56px -24px oklch(45% 0.1 252 / 0.3);
}
/* The recommended card rises above its neighbors on wide screens */
@media (min-width: 821px) {
  .compare { margin-top: 12px; }
  .compare-card.is-me.is-lift { transform: translateY(-12px); }
  .js .compare-card.is-me.is-lift { transform: translateY(2px); }
  .js .compare-card.is-me.is-lift.in { transform: translateY(-12px); }
}
.compare-card-head {
  text-align: center;
  padding-bottom: clamp(14px, 1.8vw, 20px);
  margin-bottom: clamp(12px, 1.8vw, 18px);
  border-bottom: 1px solid var(--color-rule);
}
.compare-card.is-me .compare-card-head { border-bottom-color: oklch(88% 0.03 252); }
.compare-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 999px;
  color: var(--color-muted);
  border: 1px solid var(--color-rule-2);
  background: oklch(100% 0 0 / 0.6);
}
.compare-card.is-me .compare-badge {
  color: var(--color-on-accent);
  background: var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: 0 6px 14px -6px oklch(45% 0.1 252 / 0.6);
}
.compare-card-head h3 {
  margin: 12px 0 0;
  font-size: clamp(1.25rem, 1.7vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.018em;
}
.compare-card-head p {
  margin: 6px 0 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--color-muted);
  text-wrap: balance;
}
.compare-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
}
.compare-rows li {
  display: grid;
  grid-template-columns: 19px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 11px;
  background: var(--color-paper-2);
}
.compare-card.is-me .compare-rows li { background: oklch(95.5% 0.016 252 / 0.75); }
.compare-icon { width: 19px; height: 19px; margin-top: 1px; }
.compare-card.is-nothing .compare-icon { color: var(--color-faint); }
.compare-card.is-them .compare-icon { color: var(--color-no); }
.compare-card.is-me .compare-icon { color: var(--color-accent); }
.compare-cell { min-width: 0; display: grid; gap: 2px; }
.compare-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--color-faint);
}
.compare-value {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.35;
  color: var(--color-ink-2);
}
.compare-card.is-me .compare-value { color: var(--color-accent-2); }
/* Plain-sentence rows (fit / not a fit) */
.compare-rows.is-plain .compare-value { font-weight: 500; }
.compare-value a { color: var(--color-accent); border-bottom: 1px solid var(--color-accent-soft); }
/* "or" circles only appear in the stacked mobile layout */
.compare-or {
  display: none;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--color-card);
  border: 1px solid var(--color-rule-2);
  box-shadow: var(--shadow-card);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.compare-foot {
  margin: clamp(22px, 3vw, 32px) 0 0;
  font-size: 0.95rem;
  color: var(--color-muted);
  max-width: 68ch;
  text-wrap: pretty;
}

/* ---------- Segment fragments (used inside proof cards) ---------- */
.segment-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--color-accent-bg), oklch(96.5% 0.012 252));
  border: 1px solid oklch(88% 0.045 252 / 0.7);
  box-shadow: inset 0 1px 0 oklch(100% 0 0 / 0.7);
  color: var(--color-accent);
  margin-bottom: 16px;
}
.segment-icon svg { width: 23px; height: 23px; }
.segment-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--color-rule);
}
.segment-tags span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  border: 1px solid var(--color-rule-2);
  border-radius: 999px;
  padding: 4px 11px;
  background: oklch(100% 0 0 / 0.6);
}
.segment-tags span.is-demo {
  color: var(--color-accent-2);
  border-color: var(--color-accent-soft);
  background: var(--color-accent-bg);
}
.segment-tags span.is-live {
  color: var(--color-signal-deep);
  border-color: oklch(80% 0.06 155);
  background: oklch(96% 0.02 155);
}

/* ---------- Proof: full-width stacked cards ---------- */
.proof-stack {
  display: grid;
  gap: clamp(18px, 2.5vw, 28px);
}
.proof-card {
  min-width: 0;
  border: 1px solid var(--color-rule);
  border-radius: var(--radius-card);
  background:
    radial-gradient(ellipse 55% 70% at 100% 0%, oklch(94.5% 0.02 252 / 0.4), transparent 62%),
    linear-gradient(180deg, var(--color-card) 0%, oklch(99% 0.003 85) 100%);
  box-shadow: var(--shadow-card);
  padding: clamp(22px, 3.5vw, 46px);
}
/* Each card pins a little lower than the last, so they stack as you scroll.
   Only on screens tall enough to show a whole card before the next covers it. */
@media (min-width: 821px) and (min-height: 760px) {
  .proof-stack > .proof-card { position: sticky; top: 86px; }
  .proof-stack > .proof-card:nth-child(2) { top: 104px; }
  .proof-stack > .proof-card:nth-child(3) { top: 122px; }
}
.proof-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.proof-icp {
  margin: 12px 0 0;
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.08;
  text-wrap: balance;
  overflow-wrap: anywhere;
  min-width: 0;
}
.proof-title {
  margin: 12px 0 0;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 500;
  color: var(--color-ink-2);
  max-width: 54ch;
  text-wrap: pretty;
}
.proof-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: clamp(22px, 4vw, 52px);
  align-items: center;
  margin-top: clamp(20px, 2.8vw, 32px);
}
.loom-video {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--color-rule-2);
  background: linear-gradient(160deg, var(--color-screen-2) 0%, var(--color-screen) 100%);
  cursor: pointer;
}
.loom-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.loom-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transition: opacity 200ms var(--ease);
}
.loom-video.is-playing { cursor: default; }
.loom-video.is-playing .loom-overlay,
.loom-video.is-playing .placeholder-status {
  opacity: 0;
  pointer-events: none;
}
.placeholder-play {
  position: relative;
  width: clamp(48px, 5vw, 60px);
  height: clamp(48px, 5vw, 60px);
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 0;
  padding: 0;
  cursor: inherit;
  color: var(--color-on-accent);
  background: var(--color-accent);
  box-shadow:
    0 0 0 5px oklch(100% 0 0 / 0.14),
    0 18px 42px -18px oklch(0 0 0 / 0.6);
  transition: transform 180ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .loom-video:hover .placeholder-play { transform: scale(1.07); }
}
.loom-video:not(.is-playing):active .placeholder-play { transform: scale(0.95); }
.placeholder-play svg { width: 24px; height: 24px; transform: translateX(2px); }
.placeholder-status {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 7px;
  background: oklch(0% 0 0 / 0.55);
  color: var(--color-screen-mute);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: opacity 200ms var(--ease);
}
.placeholder-status i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: oklch(65% 0.15 30);
  animation: rec-pulse 2s ease-in-out infinite;
}
@keyframes rec-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.35; }
}
.proof-copy { min-width: 0; }
.proof-copy > p {
  margin: 0;
  font-size: 0.96rem;
  color: var(--color-ink-2);
  line-height: 1.65;
  text-wrap: pretty;
}
.proof-stages-label {
  display: block;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--color-rule);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.proof-stages {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
}
.proof-stages li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-rule);
  color: var(--color-ink-2);
  font-size: 0.88rem;
}
.proof-stages li:last-child { border-bottom: 0; padding-bottom: 0; }
.proof-stages span {
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}
.proof-segments {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(20px, 2.8vw, 32px);
}
.proof-segment {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.proof-segment:first-child { padding-right: clamp(22px, 3.5vw, 48px); }
.proof-segment + .proof-segment {
  padding-left: clamp(22px, 3.5vw, 48px);
  border-left: 1px solid var(--color-rule);
}
.proof-shot {
  display: block;
  width: 100%;
  margin-bottom: 18px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--color-rule-2);
  box-shadow: var(--shadow-card);
  transition: transform 250ms var(--ease), box-shadow 250ms var(--ease);
}
.proof-shot img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }
@media (hover: hover) and (pointer: fine) {
  .proof-shot:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-hover); }
}
.proof-segment h4 {
  margin: 0 0 8px;
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.014em;
}
.proof-segment h4 a { transition: color 160ms var(--ease); }
.proof-segment h4 a:hover { color: var(--color-accent); }
.proof-segment > p {
  margin: 0 0 18px;
  font-size: 0.96rem;
  color: var(--color-ink-2);
  line-height: 1.65;
  text-wrap: pretty;
}
.proof-segment .segment-tags { margin-top: auto; padding-top: 15px; align-self: stretch; }

/* ---------- Integration chips ---------- */
.integration-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.integration-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid var(--color-rule);
  border-radius: 999px;
  background: var(--color-card);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--color-ink-2);
  box-shadow: 0 1px 2px oklch(25% 0.02 260 / 0.04);
  transition: border-color 250ms var(--ease), color 250ms var(--ease), transform 250ms var(--ease), box-shadow 250ms var(--ease);
}
.integration-logo {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  opacity: 0.72;
  transition: opacity 250ms var(--ease), transform 250ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .integration-chip:hover {
    border-color: var(--color-accent-soft);
    color: var(--color-ink);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
  }
  .integration-chip:hover .integration-logo {
    opacity: 1;
    transform: scale(1.04);
  }
}
/* Chips cascade in (40ms apart) instead of arriving as one block; the
   container only fades so the two movements don't compound */
.integration-chips.reveal { transform: none; transition: opacity 400ms var(--ease-out); }
.integration-chips.in .integration-chip { animation: chip-in 480ms var(--ease-out) both; }
.integration-chip:nth-child(2)  { animation-delay: 40ms; }
.integration-chip:nth-child(3)  { animation-delay: 80ms; }
.integration-chip:nth-child(4)  { animation-delay: 120ms; }
.integration-chip:nth-child(5)  { animation-delay: 160ms; }
.integration-chip:nth-child(6)  { animation-delay: 200ms; }
.integration-chip:nth-child(7)  { animation-delay: 240ms; }
.integration-chip:nth-child(8)  { animation-delay: 280ms; }
.integration-chip:nth-child(9)  { animation-delay: 320ms; }
.integration-chip:nth-child(10) { animation-delay: 360ms; }
.integration-chip:nth-child(11) { animation-delay: 400ms; }
.integration-chip:nth-child(12) { animation-delay: 440ms; }
@keyframes chip-in {
  from { opacity: 0; translate: 0 8px; }
}
@media (max-width: 600px) {
  .integration-chips { gap: 8px; }
  .integration-chip { min-height: 44px; padding: 9px 13px; font-size: 11px; }
  .integration-logo { width: 16px; height: 16px; }
}

/* ---------- What I do: three offers ---------- */
.offers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}
.offer {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(22px, 2.6vw, 30px);
  border: 1px solid var(--color-rule);
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, var(--color-card) 0%, oklch(99% 0.003 85) 100%);
  box-shadow: var(--shadow-card);
}
/* Workflows are where most work starts, so that card carries the accent */
.offer:first-child {
  border-color: var(--color-accent-soft);
  background:
    radial-gradient(ellipse 70% 60% at 100% 0%, oklch(94.5% 0.02 252 / 0.6), transparent 65%),
    linear-gradient(180deg, var(--color-card) 0%, oklch(99% 0.003 85) 100%);
}
.offer-k {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.offer h3 {
  margin: 14px 0 10px;
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.offer p {
  margin: 0 0 18px;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--color-ink-2);
  text-wrap: pretty;
}
.offer-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--color-accent);
}
.offer-link svg { width: 14px; height: 14px; transition: transform 250ms var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .offer-link:hover { color: var(--color-accent-2); }
  .offer-link:hover svg { transform: translateX(3px); }
}
.tools { margin-top: clamp(36px, 5vw, 56px); display: grid; gap: 14px; }
.tools-label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
}
@media (max-width: 880px) {
  .offers { grid-template-columns: minmax(0, 1fr); }
  .offer h3 { margin-top: 10px; }
}

/* ---------- How it works: three steps on one rail ---------- */
.steps {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
}
.steps::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 15px;
  height: 1px;
  background: var(--color-rule-2);
}
.step { position: relative; min-width: 0; padding-top: 50px; }
.step-n {
  position: absolute;
  top: 0;
  left: 0;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border: 1px solid var(--color-rule-2);
  border-radius: 50%;
  background: var(--color-paper);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--color-accent);
}
/* Step one is free and is where everyone starts */
.step:first-child .step-n { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-on-accent); }
.step-meta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.step h3 { margin: 6px 0 8px; font-size: 1.24rem; font-weight: 600; letter-spacing: -0.014em; }
.step p { margin: 0; font-size: 0.98rem; color: var(--color-ink-2); max-width: 42ch; text-wrap: pretty; }
@media (max-width: 760px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .steps::before { left: 15px; right: auto; top: 8px; bottom: 8px; width: 1px; height: auto; }
  .step { padding: 0 0 0 50px; }
}
.how-cta { margin-top: clamp(28px, 4vw, 40px); display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Illustrations ----------
   Drawn in the site's own ink and blues on transparent backgrounds, so they
   sit on paper or on a white card with no box around them. Each one repeats
   what the text beside it says, so they carry empty alt text. */
.split-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  margin-bottom: clamp(28px, 4vw, 44px);
}
.split-head .section-head { margin-bottom: 0; }
.split-art { display: block; width: 100%; height: auto; }
.offer-art { display: block; align-self: center; width: 100%; max-width: 320px; height: auto; margin: 0 0 18px; }
.step-art { display: block; width: 136px; height: auto; margin: 0 0 10px -12px; }
@media (max-width: 760px) {
  .split-head { grid-template-columns: minmax(0, 1fr); }
  .offer-art { max-width: 280px; }
  .step-art { width: 108px; margin-left: -8px; }
}

/* ---------- "How we sort the work" ---------- */
.how-find {
  margin-top: clamp(56px, 7vw, 88px);
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--color-rule);
}
.how-find-head {
  display: grid;
  gap: 12px;
  margin-bottom: clamp(24px, 3vw, 36px);
  max-width: 720px;
}
.how-find-head .kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.how-find-head .kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--color-rule-2);
  flex-shrink: 0;
}
.how-find-head h3 {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600;
  letter-spacing: -0.024em;
  line-height: 1.12;
}
.how-find-head p {
  margin: 0;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.55;
  max-width: 62ch;
  text-wrap: pretty;
}

/* ---------- Pickboard: light scoreboard card ---------- */
.pickboard {
  border: 1px solid var(--color-rule);
  border-radius: 16px;
  background:
    radial-gradient(ellipse 70% 100% at 50% 0%, oklch(94.5% 0.02 252 / 0.5), transparent 75%),
    linear-gradient(180deg, var(--color-card) 0%, oklch(99% 0.003 85) 100%);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  text-align: left;
  position: relative;
  color: var(--color-ink);
}
.pickboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--color-rule);
  flex-wrap: wrap;
  row-gap: 8px;
  position: relative;
}
.pickboard-head-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.pickboard-formula {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--color-muted);
}
.pickboard-formula em { font-style: normal; opacity: 0.6; margin: 0 4px; }

.pickboard-cols,
.pickboard-row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(64px, 1fr)) minmax(54px, auto);
  align-items: center;
  gap: 16px;
  padding: 12px 22px;
  position: relative;
}
.pickboard-cols {
  padding-top: 16px;
  padding-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.pickboard-cols > span { text-align: center; }
.pickboard-cols > .pickboard-col-name { text-align: left; }
.pickboard-cols > .pickboard-col-score { text-align: right; }

.pickboard-rows {
  list-style: none;
  margin: 0;
  padding: 0 0 4px;
  position: relative;
}
.pickboard-row { border-left: 2px solid transparent; padding-left: 20px; }
.pickboard-row + .pickboard-row { border-top: 1px solid var(--color-rule); }
.pickboard-name {
  display: grid;
  gap: 5px;
  justify-items: start;
  min-width: 0;
}
.pickboard-name > span:first-child {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.008em;
  color: var(--color-ink-2);
  line-height: 1.3;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pickboard-verdict {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--color-rule-2);
  color: var(--color-muted);
  background: oklch(100% 0 0 / 0.6);
}
.pickboard-verdict.is-auto { color: var(--color-signal-deep); border-color: oklch(80% 0.06 155); background: oklch(96% 0.02 155); }
.pickboard-verdict.is-fits { color: var(--color-accent-2); border-color: var(--color-accent-soft); background: var(--color-accent-bg); }
.pickboard-verdict.is-not { color: oklch(48% 0.13 30); border-color: oklch(85% 0.05 30); background: oklch(97% 0.015 30); }
.pickboard-bar {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: oklch(35% 0.03 252 / 0.08);
  overflow: hidden;
  position: relative;
}
.pickboard-bar i {
  display: block;
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, oklch(60% 0.09 252 / 0.45), var(--color-accent));
  transform-origin: left center;
  transform: scaleX(var(--w, 0));
  transition: transform 700ms var(--ease-out);
  transition-delay: 0.12s;
}
.pickboard-row:nth-child(2) .pickboard-bar i { transition-delay: 0.2s; }
.pickboard-row:nth-child(3) .pickboard-bar i { transition-delay: 0.28s; }
.pickboard-row:nth-child(4) .pickboard-bar i { transition-delay: 0.36s; }
.pickboard-row:nth-child(5) .pickboard-bar i { transition-delay: 0.44s; }
.js .pickboard:not(.in) .pickboard-bar i { transform: scaleX(0); }
/* Bar lengths, as fractions of the column */
.w22 { --w: 0.22; } .w35 { --w: 0.35; } .w40 { --w: 0.4; } .w42 { --w: 0.42; }
.w52 { --w: 0.52; } .w55 { --w: 0.55; } .w60 { --w: 0.6; } .w70 { --w: 0.7; }
.w74 { --w: 0.74; } .w78 { --w: 0.78; } .w82 { --w: 0.82; } .w85 { --w: 0.85; }
.w88 { --w: 0.88; } .w93 { --w: 0.93; }

.pickboard-score {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-muted);
  text-align: right;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.pickboard-row.is-winner {
  background: linear-gradient(90deg, oklch(50% 0.1 155 / 0.09), oklch(50% 0.1 155 / 0.02) 70%, transparent);
  border-left-color: var(--color-signal-deep);
}
.pickboard-row.is-winner .pickboard-name > span:first-child { color: var(--color-ink); font-weight: 600; }
.pickboard-row.is-winner .pickboard-bar { background: oklch(50% 0.1 155 / 0.1); }
.pickboard-row.is-winner .pickboard-bar i {
  background: linear-gradient(90deg, oklch(55% 0.1 155 / 0.65), var(--color-signal-deep));
}
.pickboard-row.is-winner .pickboard-score {
  color: var(--color-signal-deep);
  font-size: 18px;
  font-weight: 600;
}
.pickboard-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border-top: 1px solid var(--color-rule);
  background: oklch(50% 0.1 155 / 0.05);
}
.pickboard-foot-arrow {
  width: 18px;
  height: 18px;
  color: var(--color-signal-deep);
  flex-shrink: 0;
}
.pickboard-foot-text {
  font-size: 13.5px;
  color: var(--color-ink-2);
  letter-spacing: -0.005em;
  line-height: 1.4;
}
.pickboard-foot-text strong { color: var(--color-ink); font-weight: 600; }

@media (max-width: 720px) {
  .pickboard-head { padding: 12px 16px; }
  .pickboard-formula { font-size: 10.5px; }
  .pickboard-cols { display: none; }
  .pickboard-row {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-areas:
      "name name score"
      "vol  rep  roi";
    gap: 10px 10px;
    padding: 14px 16px 14px 14px;
  }
  .pickboard-name  { grid-area: name; }
  .pickboard-bar[data-axis="vol"] { grid-area: vol; }
  .pickboard-bar[data-axis="rep"] { grid-area: rep; }
  .pickboard-bar[data-axis="hours"] { grid-area: roi; }
  .pickboard-score { grid-area: score; align-self: start; }
  .pickboard-bar { position: relative; margin-top: 14px; overflow: visible; }
  .pickboard-bar i { border-radius: 999px; }
  .pickboard-bar::before {
    content: attr(data-axis);
    position: absolute;
    top: -14px;
    left: 0;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-muted);
  }
  .pickboard-row.is-winner .pickboard-score { font-size: 17px; }
  .pickboard-foot { padding: 13px 16px; font-size: 12.5px; }
}

/* ---------- Timeline grid ---------- */
.timeline {
  margin-top: clamp(56px, 7vw, 80px);
  padding-top: clamp(36px, 4.5vw, 48px);
  border-top: 1px solid var(--color-rule);
}
.timeline.is-bare { margin-top: 0; padding-top: 0; border-top: 0; }
.timeline-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 30px;
  gap: 24px;
  flex-wrap: wrap;
}
.timeline-head h3 {
  margin: 0;
  font-size: clamp(20px, 2.4vw, 26px);
  letter-spacing: -0.022em;
  font-weight: 600;
}
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--color-rule);
  border: 1px solid var(--color-rule);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.timeline-grid.is-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 880px) {
  .timeline-grid, .timeline-grid.is-three { grid-template-columns: minmax(0, 1fr); }
}
.timeline-step {
  background: var(--color-card);
  padding: 24px 22px;
  transition: background 250ms var(--ease);
}
.timeline-step.is-key { background: linear-gradient(180deg, oklch(97.5% 0.012 252), var(--color-card)); }
@media (hover: hover) and (pointer: fine) {
  .timeline-step:hover { background: var(--color-paper-2); }
}
.timeline-step .day {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 14px;
}
.timeline-step.is-key .day { color: var(--color-accent); }
.timeline-step h4 {
  margin: 0 0 8px;
  font-size: 16px;
  letter-spacing: -0.015em;
  font-weight: 600;
}
.timeline-step p {
  margin: 0;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.45;
  text-wrap: pretty;
}
.timeline-step.is-topic { padding: 22px; }
.timeline-step.is-topic h4 { font-size: 15.5px; line-height: 1.35; font-weight: 500; margin: 0; }

/* Agenda bar: the three parts of the workshop, drawn to scale */
.agenda-bar {
  display: flex;
  gap: 4px;
  margin: 0 0 12px;
  border-radius: 12px;
  overflow: hidden;
}
.agenda-bar span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-on-accent);
  transform-origin: left center;
  transition: transform 700ms var(--ease-out), opacity 500ms var(--ease-out);
}
.agenda-bar span b { font-weight: 500; opacity: 0.75; white-space: nowrap; }
.agenda-bar .a1 { flex: 45; background: oklch(58% 0.09 252); }
.agenda-bar .a2 { flex: 90; background: var(--color-accent); transition-delay: 0.12s; }
.agenda-bar .a3 { flex: 45; background: var(--color-accent-2); transition-delay: 0.24s; }
.js .agenda-bar:not(.in) span { transform: scaleX(0.2); opacity: 0; }
.agenda-note {
  margin: 0 0 clamp(24px, 3vw, 32px);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-faint);
}
@media (max-width: 560px) {
  .agenda-bar { flex-direction: column; gap: 3px; }
  .agenda-bar span { flex: none; }
  .agenda-bar .a1 { width: 50%; }
  .agenda-bar .a2 { width: 100%; }
  .agenda-bar .a3 { width: 50%; }
}

/* ---------- One-page map mock (workshop) ---------- */
.map-card {
  border: 1px solid var(--color-rule);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--color-card) 0%, oklch(99% 0.003 85) 100%);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.map-card-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 22px;
  border-bottom: 1px solid var(--color-rule);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.map-card-head span:first-child { color: var(--color-accent); }
.map-piles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 20px 22px;
}
.map-pile {
  border-radius: 12px;
  padding: 14px 16px 16px;
  background: var(--color-paper-2);
  min-width: 0;
}
.map-pile h4 {
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.map-pile h4 svg { width: 17px; height: 17px; flex: 0 0 auto; }
.map-pile.is-fits h4 svg { color: var(--color-accent); }
.map-pile.is-not h4 svg { color: var(--color-no); }
.map-pile.is-auto { background: oklch(96.5% 0.02 155 / 0.7); }
.map-pile.is-auto h4 svg { color: var(--color-signal-deep); }
.map-pile ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.map-pile li {
  font-size: 0.86rem;
  color: var(--color-ink-2);
  line-height: 1.4;
  padding: 8px 10px;
  border-radius: 8px;
  background: oklch(100% 0 0 / 0.75);
}
.map-pile li b {
  display: block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-faint);
  margin-bottom: 2px;
}
.map-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--color-rule);
}
.map-path { padding: 18px 22px 22px; min-width: 0; }
.map-path + .map-path { border-left: 1px solid var(--color-rule); }
.map-path .kicker { display: block; margin-bottom: 6px; }
.map-path strong { display: block; font-size: 1.05rem; font-weight: 600; letter-spacing: -0.012em; margin-bottom: 4px; }
.map-path p { margin: 0; font-size: 0.9rem; color: var(--color-muted); text-wrap: pretty; }
@media (max-width: 760px) {
  .map-piles { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .map-paths { grid-template-columns: minmax(0, 1fr); }
  .map-path + .map-path { border-left: 0; border-top: 1px solid var(--color-rule); }
}

/* ---------- Founder ---------- */
.founder-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.founder-body > .kicker { display: block; margin-bottom: 14px; }
.founder-body .section-title { margin-bottom: 20px; }
.headshot { margin: 0; }
.headshot img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-card);
  outline: 1px solid var(--color-image-outline);
  outline-offset: -1px;
  box-shadow: var(--shadow-card);
}
.headshot figcaption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-faint);
}
.founder-body h3 {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.014em;
  margin: 0 0 12px;
}
.founder-body p {
  margin: 0 0 12px;
  font-size: 1rem;
  color: var(--color-ink-2);
  max-width: 60ch;
  text-wrap: pretty;
}
.founder-body strong { color: var(--color-ink); font-weight: 500; }
.founder-body a:not(.btn) { color: var(--color-accent); border-bottom: 1px solid var(--color-accent-soft); }
.founder-quote {
  margin: 20px 0 0;
  padding: 16px 20px;
  border-left: 3px solid var(--color-accent);
  background: var(--color-paper-2);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  font-size: 1.02rem;
  color: var(--color-ink);
  max-width: 60ch;
  text-wrap: pretty;
}
.founder-body .founder-quote { color: var(--color-ink); }
.proof-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--color-rule);
  font-size: 0.92rem;
  color: var(--color-muted);
}
.proof-line span { display: inline-flex; align-items: baseline; gap: 6px; }
.proof-line b { color: var(--color-ink); font-weight: 600; }
.proof-line .proof-certification {
  display: block;
  flex: 1 1 100%;
  line-height: 1.5;
  text-wrap: pretty;
}
.proof-certification b { white-space: nowrap; }

/* ---------- FAQ ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(44px, 8vw, 108px);
  align-items: start;
}
.faq-intro {
  position: sticky;
  top: 104px;
}
.faq-intro .section-title { margin-top: 16px; }
.faq-list { border-top: 1px solid var(--color-rule-2); }
.faq-item { border-bottom: 1px solid var(--color-rule-2); }
.faq-item summary {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px;
  gap: 20px;
  align-items: center;
  min-height: 76px;
  padding: 18px 0;
  color: var(--color-ink);
  cursor: pointer;
  list-style: none;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  font-weight: 500;
  line-height: 1.35;
  text-wrap: pretty;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "";
  position: absolute;
  inset: 0 -14px;
  z-index: -1;
  border-radius: 10px;
  background: var(--color-card);
  opacity: 0;
  box-shadow: var(--shadow-card);
  transition: opacity 180ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .faq-item summary:hover::before { opacity: 0.58; }
}
.faq-item summary svg {
  width: 40px;
  height: 40px;
  padding: 10px;
  color: var(--color-accent);
  border-radius: 50%;
  background: var(--color-card);
  box-shadow: inset 0 0 0 1px var(--color-rule);
  transition: color 180ms var(--ease), background 180ms var(--ease), rotate 220ms var(--ease-out);
}
.faq-item.is-open summary svg {
  color: var(--color-card);
  background: var(--color-accent);
  rotate: 180deg;
}
.faq-item.is-open .faq-plus { opacity: 0; }
.faq-plus { transition: opacity 160ms var(--ease); }
/* The answer row animates 0fr -> 1fr; site.js keeps the details `open`
   attribute in sync so the collapse can finish before the content hides. */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 340ms var(--ease-out);
}
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }
.faq-answer p {
  min-height: 0;
  overflow: hidden;
  max-width: 66ch;
  margin: 0;
  /* Bottom spacing animates with the row so the collapse doesn't snap */
  padding: 0 60px 0 0;
  color: var(--color-ink-2);
  font-size: 0.96rem;
  line-height: 1.65;
  text-wrap: pretty;
  opacity: 0;
  transition: opacity 260ms var(--ease), padding-bottom 340ms var(--ease-out);
}
.faq-item.is-open .faq-answer p {
  opacity: 1;
  padding-bottom: 24px;
}
/* Without JavaScript, a plain <details> still opens and shows its answer */
html:not(.js) .faq-item[open] .faq-answer { grid-template-rows: 1fr; }
html:not(.js) .faq-item[open] .faq-answer p { opacity: 1; padding-bottom: 24px; }

/* ---------- CTA ---------- */
.cta-section {
  padding: clamp(56px, 7vw, 92px) 0;
  border-top: 1px solid var(--color-rule);
}
.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.cta-title {
  font-size: var(--text-heading);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.12;
  margin: 14px 0;
}
h1.cta-title { font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: 1.08; }
.cta-body > p { margin: 0 0 12px; font-size: 1.03rem; color: var(--color-ink-2); max-width: 52ch; text-wrap: pretty; }
.cta-body { position: sticky; top: 104px; }
.cta-list {
  display: grid;
  gap: 16px;
  margin: 26px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--color-rule-2);
  list-style: none;
}
.cta-row { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; }
.cta-row .icon { width: 17px; height: 17px; color: var(--color-accent); margin-top: 3px; }
.cta-row .k {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.cta-row .v { font-size: 0.97rem; color: var(--color-ink); }
.cta-row .v a { color: var(--color-accent); border-bottom: 1px solid var(--color-accent-soft); }

/* Stacked: heading, then one centered form card, then the contact facts */
.cta-section.is-stacked .container { display: grid; justify-items: center; }
/* A page that opens on the form has no section above it to rule off */
.cta-section.is-page { border-top: 0; }
.cta-head { max-width: 640px; text-align: center; margin-bottom: clamp(28px, 4vw, 40px); }
.cta-head .cta-title { margin: 14px 0; }
.cta-head > p { margin: 0 auto; max-width: 56ch; font-size: 1.03rem; color: var(--color-ink-2); text-wrap: pretty; }
.cta-section.is-stacked .form-card { width: 100%; max-width: 720px; }
.cta-facts {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  font-size: 0.92rem;
  color: var(--color-ink-2);
}
.cta-facts li { display: inline-flex; align-items: center; gap: 8px; }
.cta-facts svg { width: 16px; height: 16px; flex: none; color: var(--color-accent); }
.cta-facts a { color: var(--color-accent); border-bottom: 1px solid var(--color-accent-soft); }
.cta-head .next-steps { margin: 26px auto 0; text-align: left; }

/* Numbered "what happens next" steps */
.next-steps {
  list-style: none;
  counter-reset: step;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  max-width: 52ch;
}
.next-steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  font-size: 0.97rem;
  color: var(--color-ink-2);
  text-wrap: pretty;
}
.next-steps li::before {
  content: counter(step, decimal-leading-zero);
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--color-rule-2);
  background: var(--color-card);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-accent);
}
.next-steps strong { color: var(--color-ink); font-weight: 500; }

/* ---------- The inquiry form ---------- */
.form-card {
  border: 1px solid var(--color-rule);
  border-radius: 18px;
  background: var(--color-card);
  box-shadow: var(--shadow-card);
  padding: clamp(20px, 3vw, 32px);
}
.form-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--color-rule);
}
.form-card-head h2, .form-card-head h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.014em;
}
.form-card-head .kicker { font-size: 0.64rem; }
.inquiry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
}
/* align-content keeps a short field from stretching when its row neighbor
   is taller */
.field { display: grid; gap: 7px; align-content: start; min-width: 0; margin: 0; padding: 0; border: 0; }
.field.wide { grid-column: 1 / -1; }
.field > label, .field > legend {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-ink);
  padding: 0;
}
.field > legend { margin-bottom: 9px; }
.opt {
  margin-left: 6px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-faint);
}
.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid var(--color-rule-2);
  border-radius: var(--radius-btn);
  background: var(--color-paper);
  color: var(--color-ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.45;
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease), background 160ms var(--ease);
}
.field textarea { resize: vertical; min-height: 92px; }
.field select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23646b78' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--color-faint); }
.field input:hover,
.field textarea:hover,
.field select:hover { border-color: oklch(76% 0.02 252); }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--color-accent);
  background: var(--color-card);
  box-shadow: 0 0 0 4px oklch(45% 0.1 252 / 0.12);
}
.hint { margin: 0; font-size: 0.82rem; color: var(--color-muted); text-wrap: pretty; }
.choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
/* Each option is a tile: the box, then a name over a short mono line that
   says what the option actually is */
.choice {
  position: relative;
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 3px;
  align-items: center;
  align-content: center;
  min-height: 64px;
  padding: 11px 14px 11px 14px;
  border: 1px solid var(--color-rule-2);
  border-radius: var(--radius-btn);
  background: var(--color-paper);
  cursor: pointer;
  user-select: none;
  transition: border-color 160ms var(--ease), background 160ms var(--ease), box-shadow 160ms var(--ease);
}
.choice-name {
  grid-column: 2;
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--color-ink);
  transition: color 160ms var(--ease);
}
.choice-meta {
  grid-column: 2;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--color-muted);
}
.field .choice input {
  appearance: none;
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 16px;
  height: 16px;
  min-height: 0;
  padding: 0;
  margin: 0;
  border: 1.5px solid var(--color-rule-2);
  border-radius: 5px;
  background: var(--color-card);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 160ms var(--ease), border-color 160ms var(--ease);
}
.field .choice input::after {
  content: "";
  width: 8px;
  height: 5px;
  border-left: 2px solid var(--color-on-accent);
  border-bottom: 2px solid var(--color-on-accent);
  transform: rotate(-45deg) translate(1px, -1px) scale(0);
  transition: transform 160ms var(--ease-out);
}
.field .choice input:checked { background: var(--color-accent); border-color: var(--color-accent); }
.field .choice input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.choice:has(input:checked) {
  border-color: var(--color-accent);
  background: var(--color-accent-bg);
  box-shadow: inset 0 0 0 1px var(--color-accent);
}
.choice:has(input:checked) .choice-name { color: var(--color-accent-2); }
.choice:has(input:focus-visible) { outline: 2px solid var(--color-focus); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  .choice:hover { border-color: oklch(76% 0.02 252); }
}
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status { margin: 16px 0 0; font-size: 0.92rem; color: var(--color-no); text-wrap: pretty; }
.form-status:empty { display: none; }
.form-status a { color: var(--color-accent); border-bottom: 1px solid var(--color-accent-soft); }
.form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--color-rule);
}
.form-note { margin: 0; flex: 1 1 220px; font-size: 0.85rem; color: var(--color-muted); text-wrap: pretty; }

/* ---------- Page heads (inner pages) ---------- */
.page-hero { padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 80px); position: relative; }
.page-hero .hero-bg-glow { left: 30%; bottom: 0; }
.page-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.page-hero-grid.is-solo { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.page-hero-copy { display: grid; gap: clamp(18px, 2.2vw, 24px); justify-items: start; }
.page-hero-copy .hero-kicker,
.page-hero-copy .hero-sub { padding: 0; }
.page-hero-copy .hero-headline { font-size: clamp(2.25rem, 5vw, 3.75rem); max-width: 18ch; }
.page-hero-copy .hero-actions { justify-content: flex-start; }
.facts-card {
  border: 1px solid var(--color-rule);
  border-radius: 18px;
  background: var(--color-card);
  box-shadow: var(--shadow-card);
  padding: 26px;
  display: grid;
  gap: 18px;
  margin: 0;
  opacity: 0;
  animation: fade-up 560ms var(--ease-out) 0.3s forwards;
}
.facts-card > div { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; }
.facts-card svg { width: 17px; height: 17px; color: var(--color-accent); margin-top: 3px; }
.facts-card dt {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.facts-card dd { margin: 2px 0 0; font-size: 0.97rem; color: var(--color-ink); }

/* ---------- Subpages (about, essays, privacy) ---------- */
.subpage { max-width: 720px; }
.subpage .section-title { margin-top: 12px; }
h1.section-title { font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: 1.08; }
.subpage-prose { margin-top: 28px; color: var(--color-ink-2); font-size: 0.99rem; line-height: 1.65; }
.subpage-prose h2 {
  margin: 34px 0 10px;
  font-size: 1.15rem;
  letter-spacing: -0.015em;
  color: var(--color-ink);
}
.subpage-prose h3 { margin: 26px 0 8px; font-size: 1.02rem; color: var(--color-ink); }
.subpage-prose p { margin: 0 0 14px; text-wrap: pretty; }
.subpage-prose ul, .subpage-prose ol { margin: 0 0 14px; padding-left: 20px; display: grid; gap: 8px; }
.subpage-prose strong { color: var(--color-ink); font-weight: 600; }
.subpage-prose a { color: var(--color-accent); border-bottom: 1px solid var(--color-accent-soft); }
.subpage-prose a:hover { color: var(--color-accent-2); border-color: var(--color-accent); }
.subpage-prose blockquote {
  margin: 20px 0;
  padding: 14px 18px;
  border-left: 3px solid var(--color-accent);
  background: var(--color-paper-2);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  color: var(--color-ink);
}
.subpage-prose blockquote p:last-child { margin-bottom: 0; }
.subpage-prose table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 0.92rem; }
.subpage-prose th, .subpage-prose td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--color-rule); vertical-align: top; }
.subpage-prose th { color: var(--color-ink); font-weight: 600; }
.subpage-back { margin-top: 36px; font-size: 0.92rem; }
.subpage-back a { color: var(--color-ink-2); border-bottom: 1px solid var(--color-rule-2); }
.subpage-back a:hover { color: var(--color-ink); border-color: var(--color-accent); }
.subpage-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.byline {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--color-rule);
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: center;
  font-size: 0.92rem;
  color: var(--color-muted);
}
.byline img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; outline: 1px solid var(--color-image-outline); outline-offset: -1px; }
.byline strong { color: var(--color-ink); font-weight: 600; }
.byline a { color: var(--color-accent); border-bottom: 1px solid var(--color-accent-soft); }

/* About: portrait beside the intro */
.about-intro {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
  margin-top: 8px;
}

/* Essay list */
.essay-list { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--color-rule); }
.essay-list li { padding: 22px 0; border-bottom: 1px solid var(--color-rule); display: grid; gap: 8px; }
.essay-list a {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
  transition: color 160ms var(--ease);
}
.essay-list a:hover { color: var(--color-accent); }
.essay-list p { margin: 0; color: var(--color-ink-2); text-wrap: pretty; }

/* Thanks */
.thanks-card { max-width: 640px; }
.thanks-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }


/* ---------- Footer ---------- */
/* The mark at full size, then the links, then the legal line (the same
   order as Public Parish). The oak stands on the legal line's rule: under
   the links on phones, beside them once there's room. */
.footer {
  border-top: 1px solid var(--color-rule);
  padding: clamp(36px, 5vw, 56px) 0 max(clamp(28px, 4vw, 40px), env(safe-area-inset-bottom));
}
.footer-inner {
  display: grid;
  grid-template-areas: "brand" "links" "art" "note";
  gap: 14px 40px;
  font-size: 0.9rem;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  justify-self: start;
  min-height: 44px;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-ink);
}
.footer-brand img { width: 56px; height: 56px; border-radius: 13px; }
.footer-links a { color: var(--color-ink-2); }
.footer-links a:hover,
.footer-links a:active { color: var(--color-ink); text-decoration-color: var(--color-accent); }
.footer-brand { grid-area: brand; }
.footer-links { grid-area: links; display: flex; flex-wrap: wrap; gap: 0 20px; }
/* Desktop puts pages on one line and ways to reach me on the next */
.footer-break { display: none; }
.footer-art {
  grid-area: art;
  justify-self: end;
  align-self: end;
  display: block;
  width: min(100%, 340px);
  height: auto;
  margin-top: 18px;
}
.footer-note {
  grid-area: note;
  margin: -14px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--color-rule);
  font-size: 0.85rem;
  color: var(--color-muted);
}
@media (min-width: 821px) {
  .footer-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand art" "links art" "note note";
    grid-template-rows: auto 1fr auto;
  }
  .footer-brand { align-self: end; }
  .footer-brand img { width: 64px; height: 64px; border-radius: 15px; }
  .footer-links { align-self: start; }
  .footer-break { display: block; flex-basis: 100%; height: 0; }
  .footer-art { width: clamp(280px, 30vw, 400px); margin-top: 0; }
  .footer-note { padding-top: 20px; }
}
/* 44px touch targets; underline via text-decoration so it stays glued to
   the text instead of dropping to the bottom of the taller tap box */
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-decoration-color: var(--color-rule-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 180ms var(--ease), text-decoration-color 180ms var(--ease);
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-btn);
  background: var(--color-ink);
  color: var(--color-card);
  font-size: 0.9rem;
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 1; transform: none; }
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.js .reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 60ms; }
.reveal.d2 { transition-delay: 120ms; }
.reveal.d3 { transition-delay: 180ms; }
.reveal.d4 { transition-delay: 240ms; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .page-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .facts-card { max-width: 560px; }
  .cta-grid { grid-template-columns: minmax(0, 1fr); }
  .cta-body { position: static; }
  /* The form is the point of /start/; keep it near the top on small screens */
  .is-page .cta-list { display: none; }
}
@media (max-width: 820px) {
  .nav-links > a:not(.btn) { display: none; }
  /* With JS, the header is the brand and the menu button */
  .js .nav-links { display: none; }
  .js .nav-menu-btn { display: grid; }
  .js .nav-row { padding-top: 8px; padding-bottom: 8px; }
  /* Cards stack in narrative order and the "or" circles rejoin the flow */
  .compare, .compare.is-two { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .compare-or { display: grid; justify-self: center; }
  .compare-card-head { text-align: left; }
  .compare-card-head p { text-wrap: pretty; }
  .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .proof-inner { grid-template-columns: minmax(0, 1fr); }
  .proof-inner .loom-video { order: -1; }
  .proof-segments { grid-template-columns: minmax(0, 1fr); }
  .proof-segment:first-child { padding-right: 0; padding-bottom: 22px; }
  .proof-segment + .proof-segment {
    padding-left: 0;
    padding-top: 22px;
    border-left: 0;
    border-top: 1px solid var(--color-rule);
  }
  .faq-intro { position: static; }
  .founder-grid { grid-template-columns: minmax(0, 1fr); }
  .headshot { max-width: 280px; }
  .about-intro { grid-template-columns: 120px minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .nav-row { gap: 12px; }
  .nav-links { margin-left: auto; }
  .brand { font-size: 0.98rem; }
  /* The lower pair of logos would sit on the buttons; the top pair carries
     the motif on a phone */
  .hero-chip.c3, .hero-chip.c4 { display: none; }
  /* On a phone the form follows the pitch directly; the email is in the
     footer and the form note says when to expect a reply */
  .cta-section:not(.is-page) .cta-list { display: none; }
  /* Both hero buttons share one width so the pair reads as a set */
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; }
  .hero-actions .btn { justify-content: center; }
  .page-hero-copy .hero-actions { align-items: flex-start; }
  .nav .btn { min-height: 44px; padding: 9px 11px 9px 13px; font-size: 0.82rem; }
  .nav-cta-full { display: none; }
  .nav-cta-short { display: inline; }
  .proof-card { padding: 18px 18px 20px; }
  .placeholder-status { left: 10px; bottom: 10px; }
  .faq-item summary { min-height: 70px; grid-template-columns: minmax(0, 1fr) 40px; gap: 12px; }
  .faq-answer p { padding-right: 0; }
  .inquiry-grid { grid-template-columns: minmax(0, 1fr); }
  /* Options become a single list, each name over what it is */
  .choices { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .choice { min-height: 56px; padding: 9px 14px; }
  .form-actions .btn { width: 100%; justify-content: center; }
  .about-intro { grid-template-columns: minmax(0, 1fr); }
  .about-intro .headshot { max-width: 200px; }
}

/* ---------- Reduced transparency ---------- */
@media (prefers-reduced-transparency: reduce) {
  .nav[data-scrolled] {
    background: var(--color-paper);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-kicker, .hero-headline, .hero-sub, .hero-actions, .creds, .facts-card { animation: none; opacity: 1; }
  .site-menu, .nav-burger path,
  .site-menu .nav-burger path, .site-menu-links a, .site-menu-bottom { animation: none; transition: none; }
  .hero-chip { animation: hero-chip-float-in 1ms forwards; }
  .integration-chips.in .integration-chip { animation: none; }
  .placeholder-status i { animation: none; }
  .pickboard-bar i { transition: none !important; transform: scaleX(var(--w, 0)) !important; }
  .js .agenda-bar:not(.in) span { transform: none; opacity: 1; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; }
}
