/* =========================================================================
   Balant: home page sections (loaded after site.css, home page only; the
   sample run form's answer page loads it too, for the form's look).
   Order follows the page: section heads, hero with the sample run form and
   the approval queue, close binder and its sample schedules, how it works
   (the three-move stepper), close calendar, due-diligence answers, pricing,
   founder, FAQ, booking, then motion: scroll reveals and reduced motion.

   Motion (owner request 2026-10-26): one signature loop, the hero queue
   approving its items; everything else enters once on --ease-out. Without
   JS everything shows; under reduced motion nothing moves.
   ========================================================================= */

/* Section heads --------------------------------------------------------- */

.section-title {
  font-size: var(--t-h2);
  line-height: 1.06;
  letter-spacing: -0.032em;
}
.section-lede { color: var(--ink-2); font-size: var(--t-lede); line-height: 1.6; }
.section-head { display: grid; gap: 16px; margin-bottom: var(--head-gap); }
.section-head.split {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 20px 64px;
}
.section-head.split .section-lede { justify-self: end; max-width: 30em; padding-top: 6px; }
@media (max-width: 880px) {
  .section-head.split { grid-template-columns: 1fr; }
  .section-head.split .section-lede { justify-self: start; padding-top: 0; }
}

/* Hero: pitch on the left, approval inbox on the painting --------------- */

.hero { padding-block: clamp(40px, 6vw, 80px) clamp(64px, 8vw, 104px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px clamp(32px, 5vw, 72px);
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-2);
  font-size: 15px;
}
.kicker::before {
  content: "";
  flex: none;
  width: 22px;
  height: 2px;
  border-radius: 1px;
  background: var(--accent);
}
.hero h1 {
  margin-top: 22px;
  font-size: var(--t-display);
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.hero h1 .line { display: block; }
.hero-lede {
  max-width: 33em;
  margin-top: 22px;
  color: var(--ink-2);
  font-size: var(--t-lede);
  line-height: 1.55;
}
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 30px; }
.hero-ctas .lead-form { flex: 1 1 100%; }

/* The sample run form: one bar, the work email joined to the button. It
   stacks under 480px. The honeypot is moved off-screen, never shown. */
.lead-form { width: 100%; max-width: 30rem; }
.lead-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 52px;
  padding: 4px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: 0 1px 2px rgb(18 23 38 / .04), 0 14px 30px -22px rgb(18 23 38 / .35);
  transition: border-color .15s ease, box-shadow .2s ease;
}
.lead-bar:hover { border-color: #b3bccb; }
.lead-bar:focus-within {
  border-color: var(--btn-bg);
  box-shadow: 0 0 0 3px rgb(52 80 200 / .14), 0 14px 30px -22px rgb(18 23 38 / .35);
}
/* 16px, so phones don't zoom in on focus. The bar draws the field's frame. */
.lead-input.input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 42px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  font-size: 16px;
}
.lead-input.input:focus { box-shadow: none; }
/* The label is visually hidden, so the hint has to be easy to read. */
.lead-input.input::placeholder { color: var(--ink-3); }
.lead-input:-webkit-autofill { -webkit-box-shadow: 0 0 0 40px var(--surface) inset; -webkit-text-fill-color: var(--ink); }
.lead-btn.btn { flex: none; min-height: 42px; padding: 0 18px; }
.lead-btn.btn:focus-visible { outline-offset: 2px; }
.lead-note { margin-top: 10px; }
.lead-error {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  color: var(--danger);
  font-size: 14px;
  line-height: 1.45;
}
.lead-error::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  background: currentColor;
  -webkit-mask: var(--icon-alert) 50% 50% / 16px 16px no-repeat;
  mask: var(--icon-alert) 50% 50% / 16px 16px no-repeat;
}
/* Keyed on the message being shown, so the server's error (no JS) and the
   script's both turn the bar red. */
.lead-form:has(.lead-error:not([hidden])) .lead-bar { border-color: var(--danger); }
.lead-form:has(.lead-error:not([hidden])) .lead-bar:focus-within { box-shadow: 0 0 0 3px rgb(180 35 24 / .14); }
.lead-form.is-sending .lead-btn.btn,
.lead-form.is-sending .lead-btn.btn:disabled { background: var(--btn-bg); opacity: .78; cursor: progress; }
.lead-form.is-sending .lead-btn.btn .arrow { animation: arrow-wait 1s var(--ease-soft) infinite; }
@keyframes arrow-wait {
  0%, 100% { transform: translateX(0); opacity: 1; }
  50% { transform: translateX(5px); opacity: .3; }
}
.lead-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 480px) {
  .lead-bar { flex-direction: column; align-items: stretch; gap: 10px; padding: 0; border: 0; background: none; box-shadow: none; }
  .lead-bar:focus-within { box-shadow: none; }
  .lead-input.input {
    min-height: 50px;
    padding: 0 14px;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-md);
    background: var(--surface);
  }
  .lead-input.input:focus { border-color: var(--btn-bg); box-shadow: 0 0 0 3px rgb(52 80 200 / .14); }
  .lead-form:has(.lead-error:not([hidden])) .lead-input.input { border-color: var(--danger); }
  .lead-btn.btn { width: 100%; min-height: 50px; }
}

/* The form's answer when it's posted without JS (sample_run.html). */
.lead-done { display: grid; justify-items: start; gap: 16px; max-width: 36rem; margin-inline: auto; padding-block: clamp(24px, 6vw, 72px); }
.lead-done h1 { font-size: clamp(2rem, 1.5rem + 1.8vw, 2.6rem); letter-spacing: -0.03em; }
.lead-done .lead-form { margin-top: 8px; }
/* "Works in" with a mark before each system (the symbols are in
   _system_marks.html). The line height leaves room for the marks when the
   sentence wraps. */
.hero-tools {
  max-width: 36em;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 14px;
  line-height: 2;
}
.sys { display: inline-block; color: var(--ink-2); font-weight: 500; white-space: nowrap; }
.sys-mark { display: inline-block; width: 18px; height: 18px; margin-right: 6px; vertical-align: -4px; }

/* The approval inbox: prepared items floating on the painting, with a
   switch for which audience's example queue is shown. The caption sits
   under the panel, in the same grid cell. */
.hero-visual { display: grid; gap: 12px; }
.inbox-panel {
  --painting-pos: 62% 50%;
  display: grid;
  place-items: center;
  min-height: clamp(420px, 38vw, 520px);
  padding: clamp(18px, 3vw, 40px);
  border-radius: var(--r-xl);
}
/* The painting drifts very slowly, only while the queue's loop runs, and
   stops with the same pause button. Without JS it stays still. */
.inbox-panel::before { transform-origin: 62% 50%; animation: drift 48s ease-in-out infinite alternate paused; }
.inbox-panel.is-moving::before { animation-play-state: running; will-change: transform; }
@keyframes drift { to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); } }
.inbox { display: grid; gap: 10px; width: min(100%, 440px); }
.lens {
  display: flex;
  justify-self: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgb(10 14 30 / .5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.lens-btn {
  padding: 7px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgb(255 255 255 / .86);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.lens-btn:hover { background: rgb(255 255 255 / .14); color: #fff; }
.lens-btn[aria-pressed="true"] { background: #fff; color: var(--ink); }
.lens-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (pointer: coarse) {
  .lens-btn { min-height: 34px; }
}
/* All three queues share one grid cell, so the panel is always as tall as
   the tallest one and switching never moves the hero copy. Switching
   crossfades them. */
.inbox-queues { display: grid; }
.inbox-queue {
  display: grid;
  grid-area: 1 / 1;
  align-self: start;
  gap: 10px;
  transition: opacity .4s var(--ease-out), visibility 0s;
}
.inbox-queue.is-off { visibility: hidden; opacity: 0; transition: opacity .18s ease-out, visibility 0s linear .18s; }
.inbox-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgb(255 255 255 / .92);
  box-shadow: 0 1px 2px rgb(8 12 28 / .12);
  color: var(--ink);
}
.inbox-title { font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; }
/* The count is a window onto a column of digits (3, 2, 1, 3), so it can
   roll as items are approved; without JS it shows the first. */
.inbox-count {
  display: inline-block;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--btn-bg);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 22px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.count-track,
.act-track { display: grid; transition: transform .5s var(--ease-out); }
.inbox-where { margin-left: auto; color: var(--ink-3); font-size: 12.5px; }
.inbox-list { display: grid; gap: 10px; padding: 0; list-style: none; }
.inbox-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-lift);
  color: var(--ink);
}
.inbox-text { display: grid; gap: 2px; min-width: 0; }
.inbox-name { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.inbox-meta { color: var(--ink-2); font-size: 13px; font-variant-numeric: tabular-nums; }
/* Each action chip holds two faces stacked in a column ("Approve" over
   "Approved"), as wide as the wider one; the window shows one at a time. */
.inbox-act {
  display: inline-block;
  height: 28px;
  overflow: hidden;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}
.act-face { display: flex; align-items: center; justify-content: center; gap: 5px; height: 28px; padding: 0 12px; }
.inbox-act.is-approve .act-face { background: var(--btn-bg); color: #fff; }
.inbox-act.is-review .act-face { background: var(--btn-2-bg); color: var(--ink); }
.inbox-act .act-face.is-done { background: var(--accent-soft); color: var(--check); }
.act-face.is-done::before {
  content: "";
  width: 12px;
  height: 12px;
  background: currentColor;
  -webkit-mask: var(--icon-check) 50% 50% / 12px 12px no-repeat;
  mask: var(--icon-check) 50% 50% / 12px 12px no-repeat;
}
.hero-note { color: var(--ink-3); font-size: 12.5px; text-align: center; }

/* The queue's loop (landing.js steps through these): row 1 is approved and
   settles, then row 2, then the rows lift away and the queue starts over.
   Only opacity and transforms move, so nothing around it shifts. */
.inbox-item:nth-child(2) { --i: 1; }
.inbox-item:nth-child(3) { --i: 2; }
.inbox-item {
  transition: opacity .5s var(--ease-out), transform .7s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.inbox-text { transition: opacity .5s ease; }
.q-a1 .inbox-item:nth-child(1) .act-track,
.q-a2 .inbox-item:nth-child(2) .act-track { transform: translateY(-50%); }
.q-d1 .inbox-item:nth-child(1) .inbox-text,
.q-d2 .inbox-item:nth-child(2) .inbox-text { opacity: .5; }
.q-a1 .count-track { transform: translateY(-25%); }
.q-a2 .count-track { transform: translateY(-50%); }
.q-out .count-track { transform: translateY(-75%); }
.q-out .inbox-item { opacity: 0; transform: translate3d(0, -8px, 0); transition-duration: .35s, .45s; }
.q-enter .inbox-item { opacity: 0; transform: translate3d(0, 14px, 0); }
.q-snap,
.q-snap * { transition: none !important; }

/* A pause button for anything that moves on its own (the queue's loop and
   the three moves). Hidden until the script shows it. */
.motion-toggle {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgb(255 255 255 / .8);
  color: var(--ink-2);
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.motion-toggle:hover { background: #fff; color: var(--ink); }
.motion-toggle::before {
  content: "";
  width: 10px;
  height: 10px;
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 3px 100% no-repeat,
    linear-gradient(currentColor, currentColor) 100% 0 / 3px 100% no-repeat;
}
.motion-toggle[aria-pressed="true"]::before {
  width: 10px;
  height: 11px;
  margin-left: 2px;
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.motion-toggle::after { content: ""; position: absolute; inset: -6px; }   /* a 44px target */
.motion-toggle.is-glass {
  border-color: rgb(255 255 255 / .2);
  background: rgb(10 14 30 / .45);
  color: #fff;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.motion-toggle.is-glass:hover { background: rgb(10 14 30 / .6); color: #fff; }
.motion-toggle.is-glass:focus-visible { outline-color: #fff; }

@media (max-width: 999px) {
  .hero-grid { grid-template-columns: 1fr; }
  .inbox-panel { min-height: 0; padding-block: clamp(28px, 6vw, 48px); }
  .inbox { width: min(100%, 480px); }
}
@media (max-width: 480px) {
  .inbox-panel { padding: 14px; }
  .lens-btn { padding: 7px 11px; font-size: 13px; }
  .inbox-item { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 12px; }
  .inbox-act { justify-self: start; }
  .inbox-where { width: 100%; margin-left: 0; }
}

/* Close binder: question tabs attached to one sheet ---------------------- */

.binder-tabs { display: flex; flex-direction: column; gap: 4px; padding-top: 24px; }
.binder-tab {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 14px 18px 14px 14px;
  border: 1px solid transparent;
  border-right: 0;
  border-radius: var(--r-md) 0 0 var(--r-md);
  background: transparent;
  color: var(--ink-2);
  text-align: left;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.binder-tab:hover { background: #e3e7f0; color: var(--ink); }
.binder-tab[aria-selected="true"] {
  z-index: 2;
  margin-right: -1px;
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
  box-shadow: -8px 8px 20px -16px rgb(18 23 38 / .4);
}
.tab-num {
  display: grid;
  place-items: center;
  height: 24px;
  border-radius: 6px;
  background: var(--tile);
  color: var(--ink-2);
  font: 500 11.5px/1 var(--font-mono);
}
.binder-tab[aria-selected="true"] .tab-num { background: var(--btn-bg); color: #fff; }
.tab-q { font-size: 15px; font-weight: 500; line-height: 1.35; letter-spacing: -0.01em; }
.tab-short { display: none; font-size: 14px; font-weight: 500; }

/* Without JS every panel is its own sheet, stacked under its heading. */
.binder-panel {
  position: relative;
  z-index: 1;
  padding: clamp(20px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  color: var(--ink);
}
.binder-panel + .binder-panel { margin-top: 20px; }
.is-tabs .binder-panel + .binder-panel { margin-top: 0; }
.binder-panel:focus-visible { outline-offset: 4px; }
.panel-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line-strong);
  color: var(--ink-3);
  font: 500 12px/1.4 var(--font-mono);
}
.panel-q {
  margin-top: 20px;
  font-size: clamp(1.35rem, 1.1rem + .8vw, 1.65rem);
  letter-spacing: -0.025em;
}
.panel-body {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 20px 40px;
  margin-top: 16px;
}
.panel-a { color: var(--ink-2); font-size: 16.5px; line-height: 1.6; }
.panel-wf-label { margin-bottom: 12px; color: var(--ink); font-size: 13px; font-weight: 600; }
.panel-wf .checklist { gap: 8px; }
.panel-wf .checklist > li { font-size: 14.5px; }
.binder-note { margin-top: 16px; color: var(--ink-3); font-size: 13px; }

@media (min-width: 1024px) {
  .binder.is-tabs {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    align-items: start;
  }
  .is-tabs .binder-tabs { grid-column: 1; grid-row: 1; }
  .is-tabs .binder-panel { grid-column: 2; grid-row: 1; min-height: 620px; }
  /* The selected tab already shows the question. */
  .is-tabs .panel-q {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }
  .is-tabs .panel-body { margin-top: 20px; }
}
@media (max-width: 1023px) {
  .binder-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 12px;
    padding-top: 0;
  }
  .binder-tab {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--surface);
  }
  .binder-tab:hover { background: var(--surface-2); }
  .binder-tab[aria-selected="true"] {
    margin-right: 0;
    border-color: var(--btn-bg);
    background: var(--btn-bg);
    color: #fff;
    box-shadow: none;
  }
  .binder-tab[aria-selected="true"] .tab-num { background: rgb(255 255 255 / .16); }
  .tab-num { height: 22px; padding: 0 6px; }
  .tab-q { display: none; }
  .tab-short { display: block; }
  .panel-body { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .binder-tab { display: block; padding: 10px 6px; text-align: center; }
  .tab-num { display: none; }
}

/* Sample schedules inside the binder. Each one sizes itself to its own
   width, so columns drop out wherever the sheet gets narrow. */
.mock {
  container: mock / inline-size;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  font-size: 13px;
}
.mock-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  border-radius: calc(var(--r-md) - 1px) calc(var(--r-md) - 1px) 0 0;
  background: var(--surface-2);
}
.mock-title { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.mock-head .pill { padding: 3px 10px; font-size: 12px; }
.mock .pill .tick { width: 14px; height: 14px; }
.mock .pill .tick::after { -webkit-mask-size: 10px 10px; mask-size: 10px 10px; }
.mock-table { width: 100%; border-collapse: collapse; }
.mock-table th {
  padding: 9px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 500;
  text-align: left;
  white-space: nowrap;
}
.mock-table td { padding: 10px 16px; border-bottom: 1px solid #eef0f5; vertical-align: top; }
.mock-table tbody tr:last-child td { border-bottom: 0; }
.mock-table .num { font-family: var(--font-mono); font-size: 12.5px; text-align: right; white-space: nowrap; }
.mock-table th.num { font-family: var(--font-sans); font-size: 12px; }
.mock-table .sub { display: block; margin-top: 1px; color: var(--ink-3); font-size: 12px; }
.mock-table .total td { border-top: 1px solid var(--line-strong); font-weight: 600; }
.mock-table td > .pill { margin-left: 6px; padding: 2px 8px; font-size: 11.5px; vertical-align: 1px; }
.st { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); white-space: nowrap; }
.st .tick,
.mock-foot .tick,
.elim-amt .tick { width: 15px; height: 15px; }
.st .tick::after,
.mock-foot .tick::after,
.elim-amt .tick::after { -webkit-mask-size: 10px 10px; mask-size: 10px 10px; }
.mock-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding: 11px 16px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 12.5px;
}
.mock-foot .pill { margin-left: auto; font-size: 12px; }

/* Two-part schedules (fund tree and eliminations, statement and note). */
.mock-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.mock-split > * + * { border-left: 1px solid var(--line); }
.tree,
.tree ul { margin: 0; padding: 0; list-style: none; }
.tree { padding: 14px 16px; }
.tree ul { margin: 4px 0 2px 11px; padding-left: 18px; border-left: 1px solid var(--line-strong); }
.tree li { position: relative; padding: 5px 0; }
.tree ul > li::before {
  content: "";
  position: absolute;
  top: 15px;
  left: -18px;
  width: 12px;
  border-top: 1px solid var(--line-strong);
}
.ent { display: block; font-size: 13px; font-weight: 600; }
.ent-role { display: block; color: var(--ink-3); font-size: 12px; }
.elims { padding: 14px 16px; }
.elims-title,
.mock-note-title { color: var(--ink); font-size: 13px; font-weight: 600; }
.elims ul { display: grid; gap: 12px; margin-top: 10px; padding: 0; list-style: none; }
.elims li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 12px; }
.elim-name { font-weight: 500; }
.elim-pair { grid-column: 1; color: var(--ink-3); font-size: 12px; }
.elim-amt {
  display: inline-flex;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-items: center;
  gap: 6px;
  font: 12.5px/1.3 var(--font-mono);
  white-space: nowrap;
}
.mock-note { padding: 14px 16px; }
.mock > .mock-note { border-top: 1px solid var(--line); }
.mock-note p + p { margin-top: 6px; color: var(--ink-2); font-size: 13px; line-height: 1.55; }
.stmt td:first-child { color: var(--ink-2); }
.stmt .total td:first-child { color: var(--ink); }

/* The K-1 sample. */
.doc { padding: 14px 16px 6px; }
.doc-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
}
.doc-form { font-size: 14px; font-weight: 700; line-height: 1.2; }
.doc-form small { display: block; margin-top: 3px; color: var(--ink-3); font-size: 12px; font-weight: 400; }
.doc-part {
  padding: 3px 7px;
  border-radius: 2px;
  background: var(--ink);
  color: #fff;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.doc-line {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid #e8ebf1;
}
.doc-line:last-child { border-bottom: 0; }
.doc-line .ln { font-size: 12.5px; font-weight: 700; }
.doc-line .lbl { overflow: hidden; color: var(--ink-2); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.doc-line .val {
  padding: 3px 7px;
  border-radius: 3px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font: 500 12px/1.3 var(--font-mono);
  white-space: nowrap;
}
.doc-line .val b { margin-right: 4px; }

/* Column budget: the full capital roll-forward needs about 680px and the
   full reconciliation about 600px. Narrower sheets drop whole columns and
   show status as an icon, so nothing spills. */
@container mock (max-width: 700px) {
  .hide-md { display: none; }
}
@container mock (max-width: 600px) {
  .st-t { display: none; }
  .mock-table td > .st-open {
    width: 14px;
    height: 14px;
    margin-left: 0;
    padding: 0;
    border-radius: 50%;
    background: #d99a2b;
  }
  .mock-table th,
  .mock-table td { padding-inline: 12px; }
  .mock-split { grid-template-columns: 1fr; }
  .mock-split > * + * { border-top: 1px solid var(--line); border-left: 0; }
}
@container mock (min-width: 461px) and (max-width: 600px) {
  .hide-mid { display: none; }
}
@container mock (max-width: 460px) {
  .hide-sm { display: none; }
  .mock-table th,
  .mock-table td { padding-inline: 10px; }
  .mock-head,
  .mock-foot,
  .tree,
  .elims,
  .mock-note { padding-inline: 12px; }
  .doc { padding-inline: 12px; }
}

/* When a question opens, or the binder scrolls into view, its sample's rows
   arrive one after another, the checks pop in and the K-1's values flash as
   they match. Only with JS (the classes come from landing.js). */
.mock :is(tbody, .doc, .tree ul, .elims ul) > :nth-child(2) { --i: 1; }
.mock :is(tbody, .doc, .tree ul, .elims ul) > :nth-child(3) { --i: 2; }
.mock :is(tbody, .doc, .tree ul, .elims ul) > :nth-child(4) { --i: 3; }
.mock :is(tbody, .doc, .tree ul, .elims ul) > :nth-child(5) { --i: 4; }
.mock :is(tbody, .doc, .tree ul, .elims ul) > :nth-child(6) { --i: 5; }
.mock :is(tbody, .doc, .tree ul, .elims ul) > :nth-child(7) { --i: 6; }
.mock :is(.mock-foot, .mock-note) { --i: 6; }
/* Opacity only on table rows: transforms on <tr> are unreliable. */
.binder:is(.is-in, .is-switched) .binder-panel:not([hidden]) .mock-table tbody tr {
  animation: fade-in .5s ease backwards;
  animation-delay: calc(.1s + var(--i, 0) * 70ms);
}
.binder:is(.is-in, .is-switched) .binder-panel:not([hidden]) :is(.doc-line, .tree li, .elims li, .mock-foot, .mock-note) {
  animation: row-in .5s var(--ease-out) backwards;
  animation-delay: calc(.1s + var(--i, 0) * 70ms);
}
.binder:is(.is-in, .is-switched) .binder-panel:not([hidden]) :is(.st .tick, .elim-amt .tick, .mock-foot .tick, .mock-head .pill) {
  animation: pop .45s var(--ease-out) backwards;
  animation-delay: calc(.35s + var(--i, 0) * 70ms);
}
.binder:is(.is-in, .is-switched) .binder-panel:not([hidden]) .doc-line .val {
  animation: stamp 1s ease backwards;
  animation-delay: calc(.3s + var(--i, 0) * 70ms);
}

/* How it works: three moves, kept short on purpose (CLAUDE.md, "Nothing
   proprietary"), each with a small sample of its outcome. Without JS, and
   under 900px, they're three cards with the sample inside. With JS on wider
   screens they become a slideshow: the moves on the left, a line filling
   under the open one, and its sample on a panel to the right. ----------- */

.stepper { --step-ms: 5600ms; }
.moves {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.move { padding: 22px 24px 24px; }
.move-who {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 600;
}
.move-n {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1.5px solid var(--ink-2);
  border-radius: 50%;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
}
.is-balant .move-n { border-color: var(--btn-bg); background: var(--btn-bg); color: #fff; }
.move-title { margin-top: 16px; font-size: var(--t-h3); font-weight: 600; letter-spacing: -0.02em; }
.move-text { margin-top: 8px; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.move-visual { margin: 18px -6px -6px; padding: 14px; border-radius: 12px; background: var(--panel); }
.move-bar { display: none; }
.binder-line { max-width: 62em; margin-top: 22px; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.binder-line strong { color: var(--ink); font-weight: 600; }
@media (max-width: 899px) {
  .moves { grid-template-columns: 1fr; }
}

/* A move's sample: a small card in the app's quiet style. */
.mini {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-lift);
  color: var(--ink);
  font-size: 13px;
}
.mini-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.mini-title { font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em; }
.mini-head .pill { padding: 3px 9px; font-size: 12px; }
.mini-rows { margin: 0; padding: 0; list-style: none; }
.mini-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 12px;
  padding: 12px 16px;
  border-top: 1px solid #eef0f5;
}
.mini-row:first-child { border-top: 0; }
.mini-row:nth-child(2) { --i: 1; }
.mini-row:nth-child(3) { --i: 2; }
.mini-text { display: grid; gap: 2px; min-width: 0; }
.mini-name { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.mini-meta { display: block; color: var(--ink-2); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.mini-state {
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.mini-row .st .tick { width: 15px; height: 15px; }
.mini-row .st .tick::after { -webkit-mask-size: 10px 10px; mask-size: 10px 10px; }
.mini-body { display: grid; gap: 12px; padding: 16px; }
.mini-ask { font-size: 15px; font-weight: 500; line-height: 1.45; letter-spacing: -0.01em; }
.mini-file {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: 12.5px;
}
.mini-file::before { content: ""; width: 10px; height: 13px; border: 1.5px solid currentColor; border-radius: 2px; }
.mini-answers { display: flex; flex-wrap: wrap; gap: 8px; }
.mini-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--btn-2-bg);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.mini-chip.is-pick { background: var(--btn-bg); color: #fff; }
.mini-sign {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  background: var(--surface-2);
}
.mini-sign strong { display: block; font-size: 14px; font-weight: 600; }
.mini-seal { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--check); }
.mini-seal::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  -webkit-mask: var(--icon-check) 50% 50% / 16px 16px no-repeat;
  mask: var(--icon-check) 50% 50% / 16px 16px no-repeat;
}
@media (max-width: 480px) {
  .mini-row { grid-template-columns: minmax(0, 1fr); }
  .mini-state,
  .mini-row .st { justify-self: start; }
}

/* The slideshow, from 900px with JS (landing.js adds .is-on). */
@media (min-width: 900px) {
  .stepper.is-on {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    align-items: stretch;
    gap: clamp(28px, 4vw, 64px);
  }
  .stepper.is-on .moves { grid-template-columns: 1fr; align-content: center; gap: 8px; }
  .stepper.is-on .move {
    padding: 0;
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease, transform .2s var(--ease-out);
  }
  .stepper.is-on .move.is-active { border-color: var(--line); background: var(--surface); box-shadow: var(--shadow-card); }
  .stepper.is-on .move-head { position: relative; padding: 20px 24px 26px; border-radius: var(--r-lg); cursor: pointer; }
  .stepper.is-on .move:not(.is-active) .move-title { color: var(--ink-2); }
  .stepper.is-on .move:not(.is-active) .move-text { color: var(--ink-3); }
  .stepper.is-on .move-bar {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 12px;
    display: block;
    height: 2px;
    overflow: hidden;
    border-radius: 2px;
    background: var(--line);
  }
  .stepper.is-on .move-bar::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
  }
  .stepper.is-on .move.is-active .move-bar::after { animation: step-fill var(--step-ms) linear forwards; }
  .stepper.is-paused .move.is-active .move-bar::after { animation-play-state: paused; }
  .stepper.is-stopped .move.is-active .move-bar::after { animation: none; transform: scaleX(1); }
  .stepper-stage {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 440px;
    padding: clamp(28px, 4vw, 56px);
    border-radius: var(--r-xl);
    background: var(--panel);
  }
  .stepper-stage > .move-visual {
    grid-area: 1 / 1;
    width: min(100%, 440px);
    margin: 0;
    padding: 0;
    background: none;
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, 12px, 0);
    transition: opacity .3s ease, transform .6s var(--ease-out), visibility 0s linear .3s;
  }
  .stepper-stage > .move-visual.is-active {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .45s ease .1s, transform .7s var(--ease-out) .1s, visibility 0s;
  }
  /* Each sample tells its moment once, when its move opens: the rows land;
     the answer is picked; the quarter is signed. */
  .stepper-stage > .is-active .mini-row { animation: row-in .55s var(--ease-out) backwards; animation-delay: calc(.25s + var(--i, 0) * 110ms); }
  .stepper-stage > .is-active .mini-state,
  .stepper-stage > .is-active .mini-row .tick { animation: pop .4s var(--ease-out) backwards; animation-delay: calc(.55s + var(--i, 0) * 110ms); }
  .stepper-stage > .is-active .mini-chip.is-pick { animation: pick 2.4s var(--ease-out) both; }
  .stepper-stage > .is-active .mini-chip.is-pick::before {
    content: "";
    width: 12px;
    height: 12px;
    background: currentColor;
    -webkit-mask: var(--icon-check) 50% 50% / 12px 12px no-repeat;
    mask: var(--icon-check) 50% 50% / 12px 12px no-repeat;
    animation: pop .4s var(--ease-out) 1.4s backwards;
  }
  .stepper-stage > .is-active .mini-sign { animation: rise-in .6s var(--ease-out) .5s backwards; }
  .stepper-stage > .is-active .mini-seal { animation: pop .5s var(--ease-out) .8s backwards; }
}
@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  .stepper.is-on .move:not(.is-active):hover { background: rgb(255 255 255 / .6); transform: translate3d(0, -2px, 0); }
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 40px;
  margin-top: 40px;
  padding: 0;
  list-style: none;
}
.principles li {
  padding-top: 16px;
  border-top: 1px solid var(--line-strong);
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.55;
}
.principles strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: 16px; font-weight: 600; }
@media (max-width: 800px) {
  .principles { grid-template-columns: 1fr; }
}

/* Close calendar: workflows by cadence ---------------------------------- */

.wf-tools { display: grid; gap: 8px; margin-bottom: 20px; }
.wf-aud {
  display: inline-flex;
  justify-self: start;
  gap: 2px;
  margin-bottom: 8px;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
}
.aud-btn {
  min-height: 34px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.aud-btn:hover { background: var(--surface-2); color: var(--ink); }
.aud-btn[aria-pressed="true"] { background: var(--btn-bg); color: #fff; }
.wf-pitch { max-width: 44em; margin-bottom: 12px; color: var(--ink); font-size: 16px; font-weight: 500; line-height: 1.5; }
.wf-search-label { color: var(--ink); font-size: 14px; font-weight: 500; }
.wf-search-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.wf-search { max-width: 420px; }
/* 16px on phones, so they don't zoom in on focus. */
@media (max-width: 720px) {
  .wf-search { font-size: 16px; }
}
.wf-count { color: var(--ink-3); font-size: 14px; }
/* clip, not hidden, so the column header can stick under the site header */
.wf-matrix {
  overflow: clip;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.wf-cols,
.wf {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) repeat(4, 84px);
  column-gap: 20px;
  padding-inline: 24px;
}
.wf-cols {
  position: sticky;
  top: var(--nav-h);
  z-index: 2;
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--ink-3);
  font-size: 12.5px;
  font-weight: 600;
}
.wf-cols .c { text-align: center; }
.wf-group-title {
  padding: 18px 24px 6px;
  border-top: 1px solid var(--line);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.wf-cols + .wf-group .wf-group-title { border-top: 0; }
.wf-list { margin: 0; padding: 0; list-style: none; }
.wf {
  position: relative;
  padding-block: 14px;
  border-top: 1px solid #eef0f5;
  transition: background-color .15s ease;
}
.wf:first-child { border-top: 0; }
.wf:hover { background: var(--surface-2); }
/* Rows that appear when the list opens rise in, one after another. */
.wf.is-arriving { animation: row-in .45s var(--ease-out) backwards; animation-delay: calc(var(--n, 0) * 24ms); }
.wf-text {
  display: grid;
  grid-column: 1 / 3;
  grid-template-columns: subgrid;
  align-items: baseline;
}
.wf-name { color: var(--ink); font-size: 15px; font-weight: 500; line-height: 1.4; letter-spacing: -0.01em; }
.wf-desc { color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
/* Cadence marks: a dot when the workflow runs at that close, a dash when it
   doesn't. The words stay in the markup for search and small screens. */
.wf-when {
  display: grid;
  grid-column: 3 / -1;
  grid-template-columns: subgrid;
  align-items: center;
  justify-items: center;
  font-size: 0;
}
.mk::before {
  content: "";
  display: block;
  width: 10px;
  height: 2px;
  border-radius: 1px;
  background: var(--line-strong);
}
.mk.on::before { height: 10px; border-radius: 50%; background: var(--accent); }
.wf-empty { padding: 28px 24px; color: var(--ink-2); font-size: 15px; }
/* With JS the matrix opens with the most common rows; this row holds the
   button for the rest. */
.wf-more {
  display: flex;
  justify-content: center;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--line);
  background: var(--surface-2);
}
@media (max-width: 1023px) {
  .wf-cols,
  .wf { grid-template-columns: minmax(0, 1fr) repeat(4, 64px); column-gap: 12px; padding-inline: 20px; }
  .wf-cols { font-size: 12px; }
  .wf-cols .c-desc { display: none; }
  .wf-group-title { padding-inline: 20px; }
  .wf-text { display: block; grid-column: 1; }
  .wf-desc { margin-top: 2px; font-size: 14px; }
  .wf-when { grid-column: 2 / -1; }
}
@media (max-width: 600px) {
  .aud-btn { padding: 0 11px; font-size: 13.5px; }
  .wf-cols { display: none; }
  .wf { display: block; padding: 14px 16px; }
  .wf-group-title { padding-inline: 16px; }
  .wf-cols + .wf-group .wf-group-title { border-top: 0; }
  .wf-when { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; font-size: 12px; }
  .mk {
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-ink);
    font-weight: 500;
    line-height: 1.5;
  }
  .mk:not(.on) { display: none; }
  .mk::before { display: none; }
  .wf-empty { padding: 22px 16px; }
  .wf-more { padding: 14px 16px 18px; }
}

/* Due diligence (dark band): the answers sit on a panel of their own. ---- */

.ddq {
  padding: 6px clamp(18px, 3vw, 36px) clamp(18px, 2.5vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--panel);
}
.ddq dl .ddq-row:last-child { border-bottom: 0; }
/* Each answer's check pops in as its row arrives. */
.ddq-row.is-in .ddq-short.ok::before { animation: pop .45s var(--ease-out) backwards; animation-delay: calc(.25s + var(--i, 0) * 90ms); }
.ddq-cols,
.ddq-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px minmax(0, 1.5fr);
  gap: 8px 28px;
}
.ddq-cols {
  padding-top: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink-3);
  font-size: 12.5px;
  font-weight: 600;
}
.ddq-row { padding-block: 18px; border-bottom: 1px solid var(--line); }
.ddq-q { font-size: 16px; font-weight: 500; letter-spacing: -0.01em; }
.ddq-short { display: flex; align-items: flex-start; gap: 8px; font-size: 15px; font-weight: 600; }
.ddq-short.ok::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  background: var(--check);
  -webkit-mask: var(--icon-check) 50% 50% / 16px 16px no-repeat;
  mask: var(--icon-check) 50% 50% / 16px 16px no-repeat;
}
.ddq-detail { color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.ddq-foot { margin-top: 20px; color: var(--ink-3); font-size: 14px; }
@media (max-width: 767px) {
  .ddq { padding: 4px 18px 18px; }
  .ddq-cols { display: none; }
  .ddq-row { grid-template-columns: 1fr; gap: 6px; }
}

/* Pricing --------------------------------------------------------------- */

.price-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px 72px;
}
.price-copy .section-lede { max-width: 28em; margin-top: 16px; }
.price-copy .btn { margin-top: 28px; }
/* A panel behind a section's card, as the hero's painting is behind its
   queue. */
.frame { padding: clamp(12px, 3vw, 40px); border-radius: var(--r-xl); background: var(--panel); }
.frame-tight { padding: clamp(10px, 2vw, 24px); }
.inputs-card { padding: clamp(22px, 3vw, 32px); }
.inputs-title { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.inputs { display: grid; margin-top: 8px; padding: 0; list-style: none; }
.inputs li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.inputs li:first-child { border-top: 0; }
.qi-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.qi-icon svg { width: 20px; height: 20px; }
.qi-name { font-size: 16.5px; font-weight: 600; letter-spacing: -0.01em; }
.qi-desc { margin-top: 4px; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
@media (max-width: 900px) {
  .price-grid { grid-template-columns: 1fr; }
}

/* Founder ---------------------------------------------------------------- */

.founder-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px 24px;
  padding: clamp(20px, 3vw, 32px);
}
.avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 28%, #f3c9c2, #9e6d8b 55%, #2b2f52);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
}
.avatar-lg { width: 72px; height: 72px; font-size: 22px; }
.founder-text { display: grid; gap: 4px; }
.person-name { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.person-role { color: var(--ink-2); font-size: 14.5px; }
.founder-note { max-width: 38em; margin-top: 6px; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
/* Cards you can act on lift a little under the pointer; cards you can't stay
   still, so nothing promises a click it won't answer. */
@media (hover: hover) and (pointer: fine) {
  .lift { transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out); }
  .lift:hover { transform: translate3d(0, -2px, 0); box-shadow: var(--shadow-lift); }
}
@media (max-width: 760px) {
  .founder-card { grid-template-columns: 56px minmax(0, 1fr); }
  .avatar-lg { width: 56px; height: 56px; font-size: 18px; }
  .founder-cta { grid-column: 1 / -1; justify-self: start; }
}

/* FAQ ------------------------------------------------------------------- */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 32px 72px;
}
.faq-list { border-top: 1px solid var(--line); interpolate-size: allow-keywords; }
.faq-item { border-bottom: 1px solid var(--line); }
/* Answers ease open where the browser can animate <details>; elsewhere they
   open at once, as before. Keep ::details-content in rules of its own: a
   browser that doesn't know it drops the whole rule. */
.faq-item::details-content {
  block-size: 0;
  overflow-y: clip;
  transition: block-size .35s var(--ease-out), content-visibility .35s allow-discrete;
}
.faq-item[open]::details-content { block-size: auto; }
.faq-item[open] .faq-a { animation: row-in .45s var(--ease-out) backwards; }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
  transition: color .15s ease;
}
.faq-q:hover { color: var(--accent-ink); }
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(currentColor, currentColor) 50% 50% / 14px 1.6px no-repeat,
    linear-gradient(currentColor, currentColor) 50% 50% / 1.6px 14px no-repeat;
  transition: transform .3s var(--ease-out);
}
.faq-item[open] .faq-q::after { transform: rotate(45deg); }
.faq-a { padding: 0 40px 22px 0; color: var(--ink-2); font-size: 16px; line-height: 1.65; }
@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-a { padding-right: 0; }
}

/* Book a sample run: steps on the painting, facing the hero's panel ------ */

.book-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: 1fr 1fr;
  grid-template-areas:
    "panel copy"
    "panel cta";
  gap: 24px clamp(40px, 6vw, 80px);
}
.book-copy { grid-area: copy; align-self: end; }
.book-copy .section-title { max-width: 14ch; font-size: calc(var(--t-h2) * 1.15); }
.book-copy .section-lede { max-width: 28em; margin-top: 18px; }
.book-panel {
  --painting-pos: 28% 58%;
  grid-area: panel;
  padding: clamp(16px, 3vw, 36px);
  border-radius: var(--r-xl);
}
/* The three steps arrive one after another when the panel scrolls in. */
.book-panel.is-in .book-step { animation: rise-in .7s var(--ease-out) backwards; animation-delay: calc(.2s + var(--i, 0) * 120ms); }
.book-steps { display: grid; gap: 12px; padding: 0; list-style: none; }
.book-step {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 4px 14px;
  padding: 18px 20px;
}
.book-n {
  display: grid;
  grid-row: span 2;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--btn-bg);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.book-step h3 { align-self: center; font-size: 16.5px; font-weight: 600; letter-spacing: -0.01em; }
.book-step p { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.book-cta { grid-area: cta; align-self: start; }
.book-note { margin-top: 12px; color: var(--ink-3); font-size: 13px; }
@media (max-width: 900px) {
  .book-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-template-areas: "copy" "panel" "cta";
  }
}

/* Motion ------------------------------------------------------------------ */

/* Scroll reveals. When the page has settled, landing.js marks the blocks
   that are still below the screen (.will-reveal) and adds .is-in as each
   one scrolls into view. Without JS, or under reduced motion, nothing is
   ever hidden. */
[data-reveal].will-reveal:not(.is-in) { opacity: 0; }
/* Tabbing into a block never lands on something invisible. */
[data-reveal].will-reveal:not(.is-in):focus-within { opacity: 1; }
/* backwards only: once a block is in, nothing stays applied that could
   fight a hover. */
[data-reveal].is-in { animation: rise-in .8s var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 90ms); }
.stagger > :nth-child(2) { --i: 1; }
.stagger > :nth-child(3) { --i: 2; }
.stagger > :nth-child(4) { --i: 3; }
.stagger > :nth-child(5) { --i: 4; }
.stagger > :nth-child(6) { --i: 5; }
.stagger > :nth-child(7) { --i: 6; }

@keyframes rise-in { from { opacity: 0; transform: translate3d(0, 18px, 0); } }
@keyframes row-in { from { opacity: 0; transform: translate3d(0, 8px, 0); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.55); } }
@keyframes stamp { from { background-color: #cdd6f8; } }
@keyframes step-fill { to { transform: scaleX(1); } }
@keyframes pick {
  0%, 55% { box-shadow: 0 0 0 0 rgb(52 80 200 / 0); }
  75% { box-shadow: 0 0 0 6px rgb(52 80 200 / .22); }
  100% { box-shadow: 0 0 0 3px rgb(52 80 200 / .2); }
}

@media print {
  [data-reveal].will-reveal { opacity: 1 !important; }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal].will-reveal,
  [data-reveal].is-in { opacity: 1 !important; animation: none !important; }
  .inbox-panel::before,
  .move-bar::after,
  .lead-form.is-sending .lead-btn.btn .arrow,
  .binder .mock *,
  .stepper-stage *,
  .faq-item[open] .faq-a,
  .wf.is-arriving,
  .book-step,
  .ddq-short.ok::before { animation: none !important; }
  .inbox-queue,
  .inbox-item,
  .inbox-text,
  .act-track,
  .count-track,
  .stepper-stage > .move-visual { transition: none !important; }
}
/* On its own: a browser that doesn't know ::details-content drops the rule. */
@media (prefers-reduced-motion: reduce) {
  .faq-item::details-content { transition: none !important; }
}
