/* =========================================================================
   Balant: home page sections (loaded after site.css, home page only).
   Order follows the page: section heads, hero and approval inbox, close
   binder and its sample schedules, swimlane, the live K-1 run (upload
   form), close calendar, due-diligence answers, pricing, team, FAQ,
   booking, run overlay.
   ========================================================================= */

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

.section-title {
  font-size: clamp(1.8rem, 1.25rem + 1.8vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.section-lede { color: var(--ink-2); font-size: 17px; line-height: 1.6; }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 56px); }
.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: 20px;
  font-size: clamp(2.3rem, 1.2rem + 2.4vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}
.hero h1 .line { display: block; }
.hero-lede {
  max-width: 33em;
  margin-top: 22px;
  color: var(--ink-2);
  font-size: clamp(17px, .4vw + 15px, 19px);
  line-height: 1.55;
}
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 30px; }
.hero-tools {
  max-width: 34em;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.6;
}
.hero-tools b { color: var(--ink-2); font-weight: 500; }

/* The approval inbox: prepared items floating on the painting. */
.inbox-panel {
  --painting-pos: 62% 50%;
  display: grid;
  place-items: center;
  min-height: clamp(460px, 42vw, 560px);
  padding: clamp(18px, 3vw, 40px);
  border-radius: var(--r-lg);
}
.inbox { display: grid; gap: 10px; width: min(100%, 440px); }
.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; }
.inbox-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.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: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 12px;
  padding: 13px 14px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-lift);
  color: var(--ink);
}
.inbox-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.inbox-icon svg { width: 18px; height: 18px; }
.inbox-text { display: grid; gap: 1px; min-width: 0; }
.inbox-kind { color: var(--ink-3); font-size: 12px; }
.inbox-name { font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.inbox-meta { color: var(--ink-2); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.inbox-act {
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}
.inbox-act.is-approve { background: var(--btn-bg); color: #fff; }
.inbox-act.is-review { background: var(--btn-2-bg); color: var(--ink); }
.inbox-note {
  justify-self: center;
  margin-top: 4px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgb(10 14 30 / .55);
  color: rgb(255 255 255 / .92);
  font-size: 12px;
  text-align: center;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
@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; }
  .inbox-item { grid-template-columns: 30px minmax(0, 1fr); padding: 12px; }
  .inbox-icon { width: 30px; height: 30px; }
  .inbox-act { grid-column: 2; justify-self: start; margin-top: 6px; }
  .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-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; }
}

/* How it works: one quarter-end in two lanes ---------------------------- */

.lanes-fig { padding: clamp(20px, 3vw, 32px); }
.lane-edge { display: grid; gap: 10px; }
.lane-cap { color: var(--ink); font-size: 13px; font-weight: 600; }
.src-list,
.out-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.src-chip,
.out-chip {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.3;
}
.src-chip { border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); }
.src-chip.is-file { border-style: dashed; background: transparent; color: var(--ink-2); }
.out-chip { background: var(--accent-soft); color: var(--accent-ink); }
.lanes-grid { margin-block: 24px; }
.lane-band,
.lane-label,
.lanes-line { display: none; }
.lanes { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }

/* Phones: one timeline, each step tagged with its lane. */
.lane-step {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: center;
  gap: 4px 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: 0 1px 2px rgb(18 23 38 / .05);
}
.step-n {
  display: grid;
  grid-row: span 2;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 12.5px;
  font-weight: 600;
}
.by-balant .step-n { background: var(--btn-bg); color: #fff; }
.by-team .step-n { border: 1.5px solid var(--ink-2); color: var(--ink); }
.step-lane {
  justify-self: start;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
}
.by-balant .step-lane { background: var(--accent-soft); color: var(--accent-ink); }
.by-team .step-lane { background: var(--btn-2-bg); color: var(--ink-2); }
.step-t { font-size: 14px; font-weight: 500; line-height: 1.35; }

@media (min-width: 601px) {
  .step-lane {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }
  .step-n { grid-row: auto; }
  .lanes-grid { display: grid; }
  .lane-band { display: block; border-radius: var(--r-md); }
  .band-balant { background: var(--accent-soft); }
  .band-team { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
  .lane-label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
  .lane-label > svg,
  .lane-label .brand-mark { flex: none; width: 22px; height: 22px; }
  .lane-team > svg { color: var(--ink-2); }
}

/* Tablets and small laptops: two lanes side by side, steps top to bottom. */
@media (min-width: 601px) and (max-width: 1179px) {
  .lanes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto repeat(8, auto) 4px;
    gap: 8px 14px;
  }
  .lane-band { grid-row: 1 / -1; }
  .band-balant { grid-column: 1; }
  .band-team { grid-column: 2; }
  .lane-label { grid-row: 1; padding: 14px 16px 6px; }
  .lane-balant { grid-column: 1; }
  .lane-team { grid-column: 2; }
  .lanes {
    grid-column: 1 / -1;
    grid-row: 2 / span 8;
    grid-template-columns: subgrid;
    grid-template-rows: subgrid;
  }
  .lane-step { margin-inline: 12px; }
  .lane-step.by-balant { grid-column: 1; }
  .lane-step.by-team { grid-column: 2; }
  .lane-step.at-1 { grid-row: 1; }
  .lane-step.at-2 { grid-row: 2; }
  .lane-step.at-3 { grid-row: 3; }
  .lane-step.at-4 { grid-row: 4; }
  .lane-step.at-5 { grid-row: 5; }
  .lane-step.at-6 { grid-row: 6; }
  .lane-step.at-7 { grid-row: 7; }
  .lane-step.at-8 { grid-row: 8; }
}

/* Wide screens: two horizontal lanes, with the hand-off line between the
   steps. Equal row heights keep the line on the step centres. */
@media (min-width: 1180px) {
  .lanes-grid {
    grid-template-columns: 96px repeat(8, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(104px, 1fr));
    gap: 10px 8px;
  }
  .lane-band { grid-column: 1 / -1; }
  .band-balant { grid-row: 1; }
  .band-team { grid-row: 2; }
  .lane-label {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    grid-column: 1;
    padding-left: 16px;
  }
  .lane-balant { grid-row: 1; }
  .lane-team { grid-row: 2; }
  .lanes-line {
    position: relative;
    z-index: 1;
    display: block;
    grid-column: 2 / -1;
    grid-row: 1 / -1;
  }
  .lanes-line svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
  .lanes-line polyline {
    fill: none;
    stroke: var(--accent);
    stroke-dasharray: 4 5;
    stroke-linejoin: round;
    stroke-width: 1.5;
    opacity: .7;
    vector-effect: non-scaling-stroke;
  }
  .lanes {
    position: relative;
    z-index: 2;
    grid-column: 2 / -1;
    grid-row: 1 / -1;
    grid-template-columns: subgrid;
    grid-template-rows: subgrid;
  }
  .lane-step {
    grid-template-columns: 1fr;
    align-self: center;
    gap: 8px;
    margin-block: 10px;
    padding: 12px;
  }
  .lane-step.by-balant { grid-row: 1; }
  .lane-step.by-team { grid-row: 2; }
  .lane-step.at-1 { grid-column: 1; }
  .lane-step.at-2 { grid-column: 2; }
  .lane-step.at-3 { grid-column: 3; }
  .lane-step.at-4 { grid-column: 4; }
  .lane-step.at-5 { grid-column: 5; }
  .lane-step.at-6 { grid-column: 6; }
  .lane-step.at-7 { grid-column: 7; }
  .lane-step.at-8 { grid-column: 8; }
  .step-t { font-size: 13.5px; }
}

.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-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; }
.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); }
.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; }
@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) {
  .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; }
}

/* Due diligence (dark band) --------------------------------------------- */

.ddq-cols,
.ddq-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px minmax(0, 1.5fr);
  gap: 8px 28px;
}
.ddq-cols {
  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-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; }
.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; }
}

/* Team (placeholders) --------------------------------------------------- */

.team-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: stretch;
  gap: 24px 40px;
}
.people { display: grid; gap: 12px; padding: 0; list-style: none; }
.person-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
}
.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;
}
.person-name { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 16px; font-weight: 600; }
.person-role { color: var(--ink-2); font-size: 14px; }
.person-prev { color: var(--ink-3); font-size: 13px; }
.quote-card {
  display: grid;
  align-content: space-between;
  gap: 28px;
  padding: clamp(24px, 3.5vw, 40px);
}
.quote-card blockquote p {
  font-size: clamp(1.3rem, 1.05rem + .9vw, 1.7rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.quote-card figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: var(--ink-3); font-size: 14px; }
@media (max-width: 900px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* 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); }
.faq-item { border-bottom: 1px solid var(--line); }
.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;
}
.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 .2s ease;
}
.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: clamp(2rem, 1.35rem + 2.3vw, 3rem); }
.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-lg);
}
.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";
  }
}
