/* =====================================================================
   PetitionHQ — marketing site (petitionhq.com)
   One language with the product (Style A): whitespace is the structure,
   hairlines second; color is information; bold for what you can touch,
   quiet for what you read. Replaces base.css + components.css.
   ===================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; }

.mono { font-family: var(--font-mono); }

body:not(.v1e) ::selection { background: var(--brand-soft); }

/* v1e: text selection carries the brand — the EXACT rule the app ships
   (css/redesign-app.css, intake, setup): brand-soft ground, brand-deep
   text. Same tokens, same values, same look as the sign-in screen. */
.v1e ::selection {
  background: var(--brand-soft);
  color: var(--brand-deep);
}

:where(button, a, [tabindex], summary):focus-visible {
  outline: 2px solid rgba(25, 50, 247, .45);
  outline-offset: 2px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------------------------------------------------------------------
   Layout primitives
--------------------------------------------------------------------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.container--narrow { max-width: 760px; }

.section {
  padding: var(--s-12) 0;
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.section--canvas {
  background: var(--canvas);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.section__head { max-width: 640px; margin-bottom: var(--s-8); }

.section__head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section__title {
  font-size: var(--text-h2);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.12;
}

.section__lede {
  margin-top: 14px;
  font-size: var(--text-lg);
  line-height: 1.6;
  color: var(--muted);
}

.eyebrow {
  display: block;
  margin-bottom: 14px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--brand);
}

/* ---------------------------------------------------------------------
   Primitives — buttons, pills, dots, kbd
--------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color .12s ease, border-color .12s ease, color .12s ease, box-shadow .12s ease;
}

.btn svg { width: 15px; height: 15px; }

.btn__arrow { font-size: 14px; line-height: 1; transition: transform .12s ease; }
.btn:hover .btn__arrow { transform: translateX(2px); }

/* The one primary action sits proud (bold for touch) */
.btn--primary {
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  box-shadow: var(--shadow-btn);
}

.btn--primary:hover { background: var(--brand-deep); box-shadow: var(--shadow-btn-hover); }

.btn--secondary {
  border: 1px solid var(--rule-strong);
  background: var(--paper);
  color: var(--ink);
}

.btn--secondary:hover { border-color: #C7CCDA; background: var(--hover); }

/* Secondary on the ink CTA band */
.btn--inverse {
  border: 1px solid rgba(255, 255, 255, .24);
  color: #fff;
}

.btn--inverse:hover { border-color: rgba(255, 255, 255, .44); background: rgba(255, 255, 255, .06); }

.btn--compact { height: 34px; padding: 0 14px; font-size: 13.5px; }
.btn--full { width: 100%; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 8px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 500;
}

.pill--red { background: var(--red-soft); color: var(--red); }
.pill--amber { background: var(--amber-soft); color: var(--amber); }
.pill--green { background: var(--green-soft); color: var(--green); }
.pill--brand { background: var(--brand-soft); color: var(--brand-deep); }
.pill--neutral { background: var(--canvas); color: var(--muted); border: 1px solid var(--rule); }

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: var(--r-pill);
  background: var(--rule-strong);
  flex: none;
}

.dot--red { background: var(--red); }
.dot--amber { background: var(--amber-bright); }
.dot--green { background: var(--green-bright); }
.dot--brand { background: var(--brand); }

kbd.kbd {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--faint);
  background: var(--canvas);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 0 5px;
  line-height: 17px;
}

/* ---------------------------------------------------------------------
   Brand
--------------------------------------------------------------------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink);
}

.brand__mark {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  padding: 3px;
}

/* ---------------------------------------------------------------------
   Header (single fixed header, light)
--------------------------------------------------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--header-h);
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--rule);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 100%;
}

.header__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.header__links a {
  padding: 7px 11px;
  border-radius: 7px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
}

.header__links a:hover { background: var(--hover); color: var(--ink); }

.header__links a.is-active { color: var(--ink); }

.header__cta { margin-left: 8px; }

/* Hamburger (mobile) */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 36px;
  height: 36px;
  padding: 8px;
  margin-left: auto;
  border-radius: 7px;
}

.menu-toggle:hover { background: var(--hover); }

.menu-toggle span {
  display: block;
  height: 1.5px;
  border-radius: 2px;
  background: var(--ink);
}

/* Mobile drawer */
.mobile-drawer { position: fixed; inset: 0; z-index: 60; }

.mobile-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(16, 20, 38, .32);
  opacity: 0;
  transition: opacity .2s ease;
}

.mobile-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 86vw);
  display: flex;
  flex-direction: column;
  padding: 14px 20px 24px;
  background: var(--paper);
  border-left: 1px solid var(--rule);
  transform: translateX(100%);
  transition: transform .22s ease;
}

.mobile-drawer.is-open .mobile-drawer__overlay { opacity: 1; }
.mobile-drawer.is-open .mobile-drawer__panel { transform: translateX(0); }

.mobile-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 46px;
  margin-bottom: 18px;
}

.mobile-drawer__close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 7px;
  color: var(--muted);
}

.mobile-drawer__close:hover { background: var(--hover); color: var(--ink); }
.mobile-drawer__close svg { width: 18px; height: 18px; }

.mobile-drawer__links { display: grid; }

.mobile-drawer__links a {
  display: block;
  padding: 13px 2px;
  border-bottom: 1px solid var(--rule);
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink);
}

.mobile-drawer__cta { margin-top: 22px; }

/* ---------------------------------------------------------------------
   Hero
--------------------------------------------------------------------- */
.hero {
  padding: calc(var(--header-h) + 76px) 0 0;
  text-align: center;
}

.hero__headline {
  max-width: 760px;
  margin: 0 auto;
  font-size: var(--text-display);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.05;
  text-wrap: balance;
}

.hero__lede {
  max-width: 600px;
  margin: 20px auto 0;
  font-size: var(--text-lg);
  line-height: 1.65;
  color: var(--muted);
}

.hero__ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.hero__note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}

.hero__note .sep { margin: 0 7px; color: var(--rule-strong); }

/* ---------------------------------------------------------------------
   Product shot — a faithful, scaled replica of the attorney portal's
   Review screen (Style A). App-density type on purpose: this is the
   actual product, not an illustration.
--------------------------------------------------------------------- */
.shot-stage {
  max-width: 1120px;
  margin: 60px auto 0;
  padding: 0 var(--container-px);
}

.shot {
  position: relative;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: var(--shadow-window);
  overflow: hidden;
  text-align: left;
  font-size: 13px;
  line-height: 1.5;
}

/* Window chrome */
.shot__bar {
  display: grid;
  grid-template-columns: 1fr minmax(0, max-content) 1fr;
  align-items: center;
  justify-items: center;
  height: 40px;
  padding: 0 14px;
  border-bottom: 1px solid var(--rule);
  background: var(--canvas);
}

.shot__dots { display: flex; gap: 6px; justify-self: start; }

.shot__dots span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--rule-strong);
}

.shot__address {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 24px;
  max-width: 100%;
  padding: 0 12px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shot__address svg { flex: none; }

.shot__address svg { width: 10px; height: 10px; color: var(--faint); }

/* App frame */
.shot__app {
  display: grid;
  grid-template-columns: 212px minmax(0, 1fr);
}

/* Sidebar */
.shot__side {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 8px;
  border-right: 1px solid var(--rule);
  background: var(--canvas);
}

.shot__ws {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 8px;
}

.shot__ws-mark {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.shot__ws-name {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shot__ws svg { width: 14px; height: 14px; color: var(--faint); }

.shot__search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0 10px;
  padding: 0 10px;
  height: 30px;
  border: 1px solid var(--rule-strong);
  border-radius: 8px;
  background: var(--paper);
  color: var(--faint);
  font-size: 13px;
}

.shot__search svg { width: 14px; height: 14px; }
.shot__search span { flex: 1; }

.shot__nav { display: flex; flex-direction: column; gap: 1px; }

.shot__nav-label {
  margin: 14px 8px 4px;
  font-size: 11px;
  font-weight: 500;
  color: var(--faint);
}

.shot__nav-item {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 30px;
  padding: 0 8px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.shot__nav-item svg { width: 16px; height: 16px; flex: none; }
.shot__nav-item span { flex: 1; white-space: nowrap; overflow: hidden; }

.shot__nav-item.is-active {
  background: #E2E7FE;
  color: var(--brand-deep);
  font-weight: 600;
}

.shot__nav-count {
  flex: none !important;
  font-size: 12px;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}

.shot__nav-item.is-active .shot__nav-count { color: var(--brand-deep); }

.shot__side-foot {
  margin-top: 18px;
  padding: 10px 0 4px 8px;
  border-top: 1px solid var(--rule);
  display: flex;
  align-items: center;
  gap: 9px;
}

.shot__avatar {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #E8EAF2;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}

.shot__side-foot small { display: block; font-size: 12px; font-weight: 500; color: var(--ink); line-height: 1.3; }
.shot__side-foot em { font-style: normal; font-size: 11px; color: var(--faint); }

/* Main column */
.shot__main { padding: 22px 28px 24px; }

.shot__case-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.shot__case-head h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.2;
}

.shot__case-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--faint);
}

.shot__case-meta .sep { color: var(--rule-strong); }

.shot__case-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted);
}

.shot__case-actions { display: flex; align-items: flex-start; gap: 9px; }

.shot-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 30px;
  padding: 0 11px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
}

.shot-btn svg { width: 13px; height: 13px; }

.shot-btn--ghost { color: var(--muted); }

.shot-btn--secondary {
  border: 1px solid var(--rule-strong);
  background: var(--paper);
  color: var(--ink);
}

.shot-btn--primary {
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(16, 20, 38, .16), 0 3px 8px rgba(25, 50, 247, .28);
}

.shot-btn--primary.is-disabled {
  background: #AEB4C9;
  box-shadow: none;
  cursor: default;
}

.shot-btn--sm { height: 26px; padding: 0 9px; font-size: 12px; border-radius: 7px; }

.shot__sign { display: grid; gap: 3px; justify-items: end; }

.shot__sign-reason { font-size: 11px; color: var(--faint); }

/* Tabs */
.shot__tabs {
  display: flex;
  gap: 20px;
  margin-top: 16px;
  border-bottom: 1px solid var(--rule);
}

.shot__tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 1px 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.shot__tab small { font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; }

.shot__tab.is-active { color: var(--ink); font-weight: 600; }

.shot__tab.is-active::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--brand);
}

/* Work area: docket + rail */
.shot__work {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 264px;
  gap: 28px;
  margin-top: 20px;
  align-items: start;
}

/* The Associate's memo */
.shot__memo {
  display: grid;
  gap: 7px;
  margin: 2px 0 18px;
  padding: 2px 0 2px 14px;
  border-left: 2px solid var(--brand);
}

.shot__memo p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink);
  max-width: 60ch;
}

.shot__memo footer {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  color: var(--faint);
}

.shot__memo footer svg { width: 12px; height: 12px; color: var(--brand); }

/* The docket */
.shot__docket { border-top: 1px solid var(--rule); }

.shot__finding { border-bottom: 1px solid var(--rule); }

.shot__finding-row {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 11px 4px;
}

.shot__finding-row > svg.chev { width: 13px; height: 13px; color: var(--rule-strong); }
.shot__finding-row > svg.ok { width: 14px; height: 14px; color: var(--green); }

.shot__finding-title { display: block; font-size: 13px; font-weight: 500; color: var(--ink); }
.shot__finding-sub { display: block; margin-top: 1px; font-size: 11.5px; color: var(--faint); }

.shot__finding--done .shot__finding-title { color: var(--muted); font-weight: 400; }

.shot__finding.is-open .chev { transform: rotate(180deg); }

.shot__finding-body { padding: 2px 4px 16px 25px; }

.shot__finding-body > p {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 62ch;
}

.shot__chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }

.shot__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 25px;
  padding: 0 9px;
  border: 1px solid var(--rule);
  border-radius: 7px;
  background: var(--canvas);
  font-size: 11.5px;
  color: var(--muted);
}

.shot__chip svg { width: 12px; height: 12px; color: var(--faint); }
.shot__chip b { font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; color: var(--ink); }

.shot__attrib {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 13px 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--faint);
}

.shot__attrib svg { width: 12px; height: 12px; flex: none; margin-top: 2px; color: var(--brand); }
.shot__attrib b { color: var(--muted); font-weight: 500; }

.shot__finding-actions { display: flex; align-items: center; gap: 8px; }

/* The Associate bar */
.shot__assoc {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 8px 13px;
  min-height: 42px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 2px 4px rgba(16, 20, 38, .05), 0 12px 28px rgba(16, 20, 38, .12), 0 28px 64px rgba(16, 20, 38, .16);
  color: var(--faint);
  font-size: 12.5px;
  line-height: 1.45;
}

.shot__assoc svg {
  width: 24px;
  height: 24px;
  padding: 5px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  flex: none;
}

.shot__assoc span { flex: 1; }

.shot__assoc kbd {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--brand-deep);
  background: var(--brand-soft);
  border: 1px solid #D5DAFC;
  border-radius: 4px;
  padding: 0 5px;
  line-height: 17px;
}

/* Right rail */
.shot__rail { display: grid; gap: 14px; align-content: start; }

.shot__card {
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: var(--paper);
  box-shadow: 0 1px 2px rgba(16, 20, 38, .04);
  padding: 14px;
}

.shot__card h4 { font-size: 12.5px; font-weight: 600; margin-bottom: 9px; }

.shot__meter {
  height: 4px;
  border-radius: 999px;
  background: var(--rule);
  overflow: hidden;
}

.shot__meter i { display: block; width: 93%; height: 100%; background: var(--brand); border-radius: 999px; }

.shot__meter-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 7px 0 5px;
  font-size: 11px;
  color: var(--faint);
}

.shot__meter-line b { color: var(--red); font-weight: 500; font-size: 11.5px; }

.shot__check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 0;
}

.shot__check + .shot__check { border-top: 1px solid var(--rule); }
.shot__check svg { width: 14px; height: 14px; flex: none; margin-top: 1px; }
.shot__check--done svg { color: var(--green); }
.shot__check--open svg { color: var(--rule-strong); }
.shot__check b { display: block; font-size: 11.5px; font-weight: 500; color: var(--ink); }
.shot__check--done b { color: var(--muted); }
.shot__check small { display: block; font-size: 10.5px; color: var(--faint); margin-top: 1px; }

.shot__posture {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 6px 0;
}

.shot__posture + .shot__posture { border-top: 1px solid var(--rule); }
.shot__posture .dot { margin-top: 4px; }
.shot__posture b { display: block; font-size: 11.5px; font-weight: 500; color: var(--ink); }
.shot__posture--amber b { color: var(--amber); }
.shot__posture small { display: block; font-size: 10.5px; color: var(--faint); }

/* ---------------------------------------------------------------------
   Fact strip
--------------------------------------------------------------------- */
.facts {
  margin-top: var(--s-12);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--canvas);
}

.facts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.facts__cell {
  padding: 26px 28px;
  text-align: left;
}

.facts__cell + .facts__cell { border-left: 1px solid var(--rule); }

.facts__num {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}

.facts__sub { margin-top: 3px; font-size: 13px; color: var(--muted); }

/* ---------------------------------------------------------------------
   How it works — six steps
--------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px 36px;
}

.step__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  height: 178px;
  padding: 18px;
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  background: var(--canvas);
  overflow: hidden;
}

.step__num {
  display: block;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--faint);
}

.step h3 {
  margin-top: 6px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.01em;
}

.step p {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

/* Step 1 — chat */
.chat-bubble { display: flex; gap: 8px; align-items: flex-end; }
.chat-bubble--out { justify-content: flex-end; }

.chat-bubble__avatar {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 10px;
  font-weight: 700;
  flex: none;
}

.chat-bubble__msg {
  padding: 7px 11px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  border-bottom-left-radius: 4px;
  background: var(--paper);
  font-size: 12.5px;
  color: var(--ink);
}

.chat-bubble--out .chat-bubble__msg {
  border: 0;
  border-radius: 10px;
  border-bottom-right-radius: 4px;
  background: var(--brand);
  color: #fff;
}

.chat-bubble__msg--typing { display: inline-flex; gap: 4px; padding: 10px 12px; }

.chat-bubble__msg--typing span {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--faint);
  animation: typing 1.2s infinite ease-in-out;
}

.chat-bubble__msg--typing span:nth-child(2) { animation-delay: .15s; }
.chat-bubble__msg--typing span:nth-child(3) { animation-delay: .3s; }

@keyframes typing {
  0%, 60%, 100% { opacity: .35; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-2px); }
}

/* Step 2 — uploads */
.upload-doc {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--paper);
}

.upload-doc__icon { width: 15px; height: 15px; color: var(--faint); flex: none; }
.upload-doc__body { flex: 1; min-width: 0; }

.upload-doc__name {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.upload-doc__bar {
  height: 3px;
  margin-top: 6px;
  border-radius: 999px;
  background: var(--rule);
  overflow: hidden;
}

.upload-doc__fill { display: block; height: 100%; border-radius: 999px; background: var(--brand); }
.upload-doc__fill--1 { width: 100%; }
.upload-doc__fill--2 { width: 72%; }
.upload-doc__fill--3 { width: 38%; }

/* Step 3 — extraction */
.extract-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 2px;
}

.extract-row + .extract-row { border-top: 1px solid var(--rule); }
.extract-row__label { font-size: 12.5px; color: var(--muted); }

.extract-row__value {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* Step 4 — assembly */
.build-row { display: flex; align-items: center; gap: 10px; padding: 6px 0; }

.build-row__label { width: 96px; font-size: 12px; color: var(--muted); flex: none; }

.build-row__bar {
  flex: 1;
  height: 3px;
  border-radius: 999px;
  background: var(--rule);
  overflow: hidden;
}

.build-row__bar-fill { display: block; height: 100%; border-radius: 999px; background: var(--brand); }
.build-row__bar-fill--1 { width: 100%; }
.build-row__bar-fill--2 { width: 100%; }
.build-row__bar-fill--3 { width: 84%; }
.build-row__bar-fill--4 { width: 56%; }

.build-row__dot { width: 7px; height: 7px; border-radius: 999px; background: var(--rule-strong); flex: none; }
.build-row__dot--high { background: var(--green-bright); }
.build-row__dot--med { background: var(--amber-bright); }

/* Step 5 — review */
.review-line { display: flex; align-items: center; gap: 9px; padding: 6px 0; }

.review-check {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  flex: none;
}

.review-check--done { background: var(--green-soft); color: var(--green); }
.review-check--flag { background: var(--amber-soft); color: var(--amber); }

.review-line__text { font-size: 12.5px; color: var(--ink); }

.review-sign {
  align-self: flex-start;
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 11px;
  border-radius: 7px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(16, 20, 38, .16), 0 3px 8px rgba(25, 50, 247, .28);
}

/* Step 6 — filed */
.step__visual--filed { align-items: center; gap: 12px; }

.filed-seal {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
}

.filed-seal svg { width: 20px; height: 20px; }

.filed-meta { text-align: center; }
.filed-meta__label { font-size: 12.5px; font-weight: 600; color: var(--green); }

.filed-meta__case {
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}

/* ---------------------------------------------------------------------
   The Associate
--------------------------------------------------------------------- */
.associate { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: center; }

.associate__copy .section__head { margin-bottom: var(--s-6); }

.cap { display: flex; gap: 14px; padding: 18px 0; }
.cap + .cap { border-top: 1px solid var(--rule); }

.cap__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--paper);
  color: var(--brand);
  flex: none;
}

.cap__icon svg { width: 16px; height: 16px; }

.cap h3 { font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; }

.cap p { margin-top: 4px; font-size: 14px; line-height: 1.6; color: var(--muted); }

/* Artifact stack: memo + finding + ask bar, reusing the shot styles */
.associate__artifact { display: grid; gap: 16px; }

.associate__card {
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: var(--shadow-pop);
  padding: 22px 24px;
  font-size: 13px;
  line-height: 1.5;
}

.associate__card .shot__memo { margin: 0 0 16px; }
.associate__card .shot__docket { border-top: 1px solid var(--rule); }

/* The open Associate panel — a grounded answer */
.apanel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}

.apanel__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}

.apanel__title svg {
  width: 24px;
  height: 24px;
  padding: 5px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
}

.apanel__q {
  margin: 16px 0 0 auto;
  max-width: 78%;
  width: fit-content;
  padding: 9px 13px;
  border-radius: 10px;
  border-bottom-right-radius: 4px;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
}

.apanel__a { margin-top: 16px; }

.apanel__a > p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink);
}

.apanel__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
}

.apanel__ground { font-size: 11.5px; color: var(--faint); }

.apanel__actions { display: inline-flex; align-items: center; gap: 8px; }

/* Provenance mark: a value the Associate derived carries a quiet dotted
   underline; in the product, hover names the source. */
.prov {
  text-decoration: underline dotted var(--rule-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* ---------------------------------------------------------------------
   Platform features
--------------------------------------------------------------------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 48px;
}

.feature {
  padding: 26px 0 30px;
  border-top: 1px solid var(--rule);
}

.feature__icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--canvas);
  color: var(--brand);
  margin-bottom: 16px;
}

.feature__icon svg { width: 17px; height: 17px; }

.feature__title { font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; }

.feature__body { margin-top: 7px; font-size: 14px; line-height: 1.62; color: var(--muted); }

/* ---------------------------------------------------------------------
   Pricing
--------------------------------------------------------------------- */
.billing-toggle-wrap { display: flex; justify-content: center; margin-bottom: var(--s-8); }

.billing-toggle {
  display: inline-grid;
  grid-auto-flow: column;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--rule);
  border-radius: 9px;
  background: var(--paper);
}

.billing-toggle__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 14px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.billing-toggle__btn:hover { color: var(--ink); }

/* Selected control fills brand (bold for touch) */
.billing-toggle__btn.is-active {
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(25, 50, 247, .35);
}

.billing-toggle__save {
  font-size: 10.5px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-deep);
}

.billing-toggle__btn.is-active .billing-toggle__save {
  background: rgba(255, 255, 255, .18);
  color: #fff;
}

/* Comparison table (desktop) */
.price-table {
  display: grid;
  grid-template-columns: minmax(150px, 1.1fr) repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
}

.price-table__hdr-label { border-bottom: 1px solid var(--rule); }

.price-table__hdr {
  padding: 22px 18px 18px;
  border-bottom: 1px solid var(--rule);
  text-align: center;
}

.price-table__tier { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }

.price-table__audience { margin-top: 2px; font-size: 12px; color: var(--faint); }

.price-table__price { margin-top: 12px; }

.price-table__amt {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}

.price-table__amt--word { font-size: 20px; }

.price-table__unit { font-size: 13px; color: var(--faint); margin-left: 2px; }

.price-table__label {
  display: flex;
  align-items: center;
  padding: 13px 4px;
  border-bottom: 1px solid var(--rule);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
}

.price-table__cell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 12px;
  border-bottom: 1px solid var(--rule);
  font-size: 13.5px;
  color: var(--ink);
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* Featured column — a quiet tint and a firm top rule, nothing louder */
.price-table__hdr--feat { position: relative; }

.price-table__hdr--feat::before {
  content: "";
  position: absolute;
  inset: -1px 0 auto;
  height: 2px;
  background: var(--brand);
}

.price-table__feat-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
}

.price-table__hdr--feat,
.price-table__cell--feat { background: #F7F8FE; }

.price-table__cell--cta { padding: 18px 12px; }

.pricing__footnote {
  margin-top: var(--s-6);
  text-align: center;
  font-size: 13px;
  color: var(--faint);
}

/* Mobile pricing cards (hidden on desktop) */
.price-cards { display: none; }

.price-card {
  position: relative;
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  background: var(--paper);
  padding: 22px;
}

.price-card--feat { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand) inset; }

.price-card__badge {
  position: absolute;
  top: -11px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  height: 21px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

.price-card__head { padding-bottom: 16px; border-bottom: 1px solid var(--rule); }

.price-card__tier { font-size: 16px; font-weight: 600; }
.price-card__audience { font-size: 12.5px; color: var(--faint); margin-top: 1px; }
.price-card__price { margin-top: 10px; }
.price-card__price .price-table__amt { font-size: 28px; }
.price-card__unit { font-size: 13px; color: var(--faint); margin-left: 2px; }

.price-card__features { display: grid; }

.price-card__features li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 13px;
}

.price-card__feat-label { color: var(--muted); }
.price-card__feat-value { color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }

.price-card__cta { margin-top: 18px; width: 100%; }

/* ---------------------------------------------------------------------
   FAQ
--------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--rule); }

.faq__item { border-bottom: 1px solid var(--rule); }

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 2px;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -.005em;
  cursor: pointer;
  list-style: none;
}

.faq__q::-webkit-details-marker { display: none; }

.faq__q:hover { color: var(--brand-deep); }

.faq__icon { position: relative; width: 14px; height: 14px; flex: none; }

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 0;
  width: 14px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--faint);
  transform: translateY(-50%);
  transition: transform .16s ease, background-color .16s ease;
}

.faq__icon::after { transform: translateY(-50%) rotate(90deg); }

.faq__item[open] .faq__icon::after { transform: translateY(-50%) rotate(0deg); }
.faq__item[open] .faq__icon::before,
.faq__item[open] .faq__icon::after { background: var(--brand); }

.faq__a { padding: 0 36px 20px 2px; }

.faq__a p {
  font-size: 14.5px;
  line-height: 1.68;
  color: var(--muted);
  max-width: 64ch;
}

.faq__more {
  margin-top: var(--s-6);
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

.faq__more a { color: var(--brand); font-weight: 500; }
.faq__more a:hover { color: var(--brand-deep); }

/* ---------------------------------------------------------------------
   Closing CTA — the one dark moment on the page
--------------------------------------------------------------------- */
.cta {
  border-radius: var(--r-lg);
  background: var(--ink);
  padding: 72px 56px;
  text-align: center;
}

.cta .eyebrow { color: rgba(255, 255, 255, .56); }

.cta h2 {
  max-width: 620px;
  margin: 0 auto;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.12;
  color: #fff;
  text-wrap: balance;
}

.cta__buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

/* ---------------------------------------------------------------------
   Footer
--------------------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--rule);
  padding: var(--s-10) 0 var(--s-8);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 48px;
}

.footer__tagline {
  margin-top: 14px;
  max-width: 30ch;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}

.footer__contact { margin-top: 14px; }

.footer__contact-line { font-size: 13.5px; color: var(--muted); }
.footer__contact-line:hover { color: var(--brand-deep); }

.footer__col-title { font-size: 13px; font-weight: 600; margin-bottom: 14px; }

.footer__col ul { display: grid; gap: 9px; }

.footer__col a { font-size: 13.5px; color: var(--muted); }
.footer__col a:hover { color: var(--ink); }

.footer__bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-top: var(--s-10);
  padding-top: var(--s-5);
  border-top: 1px solid var(--rule);
}

.footer__copy { font-size: 12.5px; color: var(--faint); white-space: nowrap; }

.footer__disclaimer {
  max-width: 560px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--faint);
  text-align: right;
}

/* ---------------------------------------------------------------------
   Legal pages (privacy, terms)
--------------------------------------------------------------------- */
.legal-nav {
  height: var(--header-h);
  border-bottom: 1px solid var(--rule);
}

.legal-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.legal-nav__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
}

.legal-nav__back:hover { color: var(--ink); }
.legal-nav__back svg { width: 14px; height: 14px; }

.legal-page { padding: var(--s-10) 0 var(--s-12); }

.legal-page__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.legal-page__eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 12px;
}

.legal-page h1 {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.1;
}

.legal-page__meta {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--faint);
}

.legal-page__content { margin-top: var(--s-6); }

.legal-page__content h2 {
  margin: 36px 0 10px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.01em;
}

.legal-page__content h3 {
  margin: 22px 0 6px;
  font-size: 15px;
  font-weight: 600;
}

.legal-page__content p,
.legal-page__content li {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}

.legal-page__content p + p { margin-top: 12px; }

.legal-page__content ul {
  list-style: disc;
  padding-left: 22px;
  display: grid;
  gap: 7px;
  margin: 10px 0;
}

.legal-page__content strong { color: var(--ink); font-weight: 600; }

.legal-page__content a { color: var(--brand); }
.legal-page__content a:hover { color: var(--brand-deep); }

/* ---------------------------------------------------------------------
   V1a — iteration layer. Additive only: every selector requires the
   .v1a body class, so the original V1 page renders pixel-identical.
--------------------------------------------------------------------- */

/* Gentle scroll reveals (section heads and a few blocks) */
.v1a .rv {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .55s ease, transform .55s ease;
}

.v1a .rv.in { opacity: 1; transform: none; }

/* The hero shot assembles once on load, then rests */
.v1a [data-enter] {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s ease, transform .5s ease;
}

.v1a [data-enter].in { opacity: 1; transform: none; }

/* A live case has a heartbeat */
.v1a .dot--live { animation: dotlive 2.8s ease-in-out infinite; }

@keyframes dotlive {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

/* Provenance hover card — the product's signature, working on the page */
.v1a .prov { cursor: help; }

.v1a .prov:hover,
.v1a .prov:focus { text-decoration-color: var(--brand); outline: none; }

.v1a .prov-wrap { position: relative; }

.v1a .prov-wrap::after {
  content: attr(data-prov);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 9px);
  transform: translateX(-50%) translateY(3px);
  white-space: nowrap;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: .02em;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  border-radius: 7px;
  padding: 6px 10px;
  box-shadow: var(--shadow-pop);
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease;
  z-index: 6;
}

.v1a .prov-wrap:hover::after,
.v1a .prov-wrap:focus::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* What it catches — quiet proof rows inside the Associate section */
.catchlist {
  grid-column: 1 / -1;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--rule);
}

.catchlist__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 4px;
}

.catchlist__title { font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; }

.catchlist__sub { font-size: 12.5px; color: var(--faint); }

.catchlist__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}

.catchrow {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid var(--rule);
}

.catchrow .dot { position: relative; top: -1px; }

.catchrow p { font-size: 14px; line-height: 1.55; color: var(--ink); }
.catchrow p b { font-weight: 600; }

.catchrow code {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--faint);
  white-space: nowrap;
}

/* Closing CTA small print */
.cta__note { margin-top: 16px; font-size: 13px; color: rgba(255, 255, 255, .62); }
.cta__note .sep { margin: 0 7px; color: rgba(255, 255, 255, .22); }

/* V1a compare pill (dev chrome — strip before shipping) */
.comparepill {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 36px;
  padding: 0 8px 0 13px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .06em;
  color: var(--muted);
  box-shadow: var(--shadow-pop);
}

.comparepill a {
  padding: 4px 7px;
  border-radius: 999px;
  font-weight: 500;
  color: var(--ink);
}

.comparepill a:hover { background: var(--brand-soft); color: var(--brand-deep); }

@media (max-width: 860px) {
  .catchlist__grid { grid-template-columns: 1fr; }
  .catchlist__head { flex-direction: column; gap: 3px; }
}

/* ---------------------------------------------------------------------
   V1c — structural iteration. Namespaced: pages carry body class
   "v1a v1c" (inherits the v1a layer), so V1/V1a render unchanged.
--------------------------------------------------------------------- */

/* The journey: four moves, two by two */
.v1c .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 48px; }

.v1c .step__visual { height: 190px; }

.v1c .build-row__label { width: 122px; }

/* The intelligence exhibits */
.intel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}

.intel .associate__card { display: flex; flex-direction: column; }

.xlabel {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -.005em;
}

.xlabel svg {
  width: 26px;
  height: 26px;
  padding: 6px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  flex: none;
}

/* Reasoning trace — how it got there */
.trace {
  margin: 14px 0 2px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}

.trace__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 8px;
}

.trace__line {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 8px;
  padding: 5px 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--muted);
}

.trace__line i {
  font-style: normal;
  color: var(--faint);
}

.trace__line b { font-weight: 500; color: var(--ink); }
.trace__line .law { color: var(--brand-deep); }

/* Ask the Associate — interactive exhibit */
.ask__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 16px;
}

.ask__chip {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  background: var(--paper);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  transition: color .12s ease, background-color .12s ease, border-color .12s ease, box-shadow .12s ease;
}

.ask__chip:hover { border-color: #C9D0FB; color: var(--brand-deep); }

/* Selected control fills brand (bold for touch) */
.ask__chip.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(25, 50, 247, .35);
}

.ask__thread { flex: 1; }

.ask__typing {
  display: inline-flex;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  border-bottom-left-radius: 4px;
  background: var(--canvas);
  margin-top: 14px;
}

.ask__typing[hidden],
.ask__answer[hidden] { display: none; }

.ask__typing span {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--faint);
  animation: typing 1.2s infinite ease-in-out;
}

.ask__typing span:nth-child(2) { animation-delay: .15s; }
.ask__typing span:nth-child(3) { animation-delay: .3s; }

.ask__answer { margin-top: 14px; }

.ask__answer > p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink);
}

.ask__answer .shot__chips { margin-top: 12px; }

.ask__foot {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
  font-size: 11.5px;
  color: var(--faint);
}

/* Trust strip — three quiet commitments */
.trust {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust__cell {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 26px 28px;
}

.trust__cell + .trust__cell { border-left: 1px solid var(--rule); }

.trust__cell svg {
  width: 30px;
  height: 30px;
  padding: 7px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--canvas);
  color: var(--brand);
  flex: none;
}

.trust__cell b { display: block; font-size: 14px; font-weight: 600; letter-spacing: -.005em; }

.trust__cell p { margin-top: 3px; font-size: 13px; line-height: 1.55; color: var(--muted); }

@media (max-width: 1080px) {
  .intel { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .trust__grid { grid-template-columns: 1fr; }
  .trust__cell + .trust__cell { border-left: 0; border-top: 1px solid var(--rule); }
  .trust__cell { padding: 20px 22px; }
}

@media (max-width: 760px) {
  .v1c .steps { grid-template-columns: 1fr; }
  .v1c .step__visual { height: 178px; }
}

/* ---------------------------------------------------------------------
   V1d — the flex layer. Pages carry body class "v1a v1c v1d";
   V1/V1a/V1c render unchanged.
--------------------------------------------------------------------- */

/* Six steps again */
.v1d .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 36px; }

.v1d .step__visual { height: 192px; }

.v1d .build-row__label { width: 96px; }

/* The integration wall — the record, from the source */
.intwall {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
}

.intwall__row { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }

.intwall__k {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint);
  width: 52px;
  flex: none;
}

/* Text-chip look for V1d's word wall only — the V1e logo wall keeps
   its .intwall__k caption quiet, so the kicker is excluded here. */
.intwall__row span:not(.intwall__k) {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink);
  padding: 3px 8px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--paper);
  white-space: nowrap;
}

.intwall__more {
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .04em;
  color: var(--brand-deep);
}

/* Draft timer — the minutes flex */
.drafttime {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .04em;
  color: var(--green);
}

.drafttime svg { width: 12px; height: 12px; }

/* Mini self-review visual (step 05) */
.minimemo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.minimemo__quote {
  border-left: 2px solid var(--brand);
  padding-left: 10px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink);
}

.minimemo__finding {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
  padding: 8px 10px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--paper);
}

.minimemo__finding .dot { position: relative; top: -1px; }
.minimemo__finding b { display: block; font-size: 12px; font-weight: 600; color: var(--ink); }
.minimemo__finding small { display: block; font-family: var(--font-mono); font-size: 9.5px; color: var(--faint); letter-spacing: .04em; }

/* Step 06: signed + filed combined */
.v1d .filed-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .04em;
  color: var(--green);
}

.v1d .filed-line svg { width: 13px; height: 13px; }

@media (max-width: 1080px) {
  .v1d .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .v1d .steps { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------
   V1e — authority layer. Pages carry body "v1a v1c v1d v1e".
--------------------------------------------------------------------- */

/* The source bar — real marks, real weight */
.srcbar { padding: 36px 0 6px; }

.srcbar__label {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 26px;
  white-space: nowrap;
}

.srcbar__label::before,
.srcbar__label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
}

.srcbar__row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px 21px;
  color: #6A7086;
}

.srcbar__plus {
  font-size: 13px;
  font-weight: 550;
  color: var(--faint);
  white-space: nowrap;
}

.srcbar__more {
  text-align: center;
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .05em;
  color: var(--brand-deep);
}

/* Official logo images, rendered as a uniform grayscale bar.
   Heights are optically normalized per mark; tone outliers get
   per-logo filter tweaks so the row reads as one weight. */
.blogo-img {
  height: 19px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .75;
  transition: filter .15s ease, opacity .15s ease;
}

.blogo-img:hover { filter: grayscale(0) !important; opacity: 1 !important; }

.l-chase { height: 20px; }
.l-bofa { height: 21px; }
.l-wf { height: 30px; }
.l-citi { height: 29px; }

/* ADP: the published lockup carries a tagline that's mush at bar
   size — crop to the letterform band (window sized so the letters
   fill the height and the tag falls below the crop). */
.l-adp {
  height: 26px;
  width: 76px;
  object-fit: cover;
  object-position: 50% 25%;
}

.l-gusto { height: 26px; }
.l-paychex { height: 19px; opacity: .72; }
.l-irs { height: 31px; opacity: .55; }
.l-equifax { height: 17px; opacity: .62; }
.l-experian { height: 24px; }
.l-transunion { height: 21px; filter: grayscale(1) brightness(.62) contrast(1.25); opacity: .9; }

.intwall .blogo-img { height: 17px; max-width: 96px; }
.intwall .l-wf, .intwall .l-irs { height: 22px; }
.intwall .l-adp { height: 18px; width: 36px; }
.intwall .l-gusto { height: 18px; }

/* Brand marks — hand-set, grayscale. Licensed assets replace these
   before launch; geometry and weight are tuned to read at 22px. */
.blogo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 24px;
  color: inherit;
  white-space: nowrap;
}

.blogo svg { height: 20px; width: auto; display: block; }

.blogo b { font-weight: 700; letter-spacing: .04em; font-size: 13.5px; color: inherit; }

.blogo--chase b { letter-spacing: .12em; }

.blogo--bofa b { font-size: 12.5px; letter-spacing: .01em; font-weight: 650; }

.blogo--wf b {
  font-size: 10.5px;
  letter-spacing: .08em;
  border: 2px solid currentColor;
  padding: 2px 5px;
  line-height: 1.25;
}

.blogo--citi { position: relative; }
.blogo--citi b { font-size: 17px; font-weight: 600; letter-spacing: 0; text-transform: lowercase; }
.blogo--citi svg { position: absolute; top: 1px; left: 9px; height: 8px; }

.blogo--adp b { font-weight: 800; font-style: italic; font-size: 14.5px; letter-spacing: .02em; }

.blogo--gusto b { font-size: 15px; font-weight: 700; text-transform: lowercase; letter-spacing: -.01em; }

.blogo--paychex b { font-size: 12.5px; letter-spacing: .06em; }

.blogo--irs {
  gap: 6px;
}

.blogo--irs i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  font-style: normal;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: .04em;
}

.blogo--irs b { font-size: 11px; font-weight: 600; letter-spacing: .04em; }

.blogo--equifax b { font-size: 12px; letter-spacing: .14em; }

.blogo--experian b { font-size: 14.5px; font-weight: 700; text-transform: lowercase; letter-spacing: -.01em; }

.blogo--transunion b { font-size: 13px; letter-spacing: 0; }

/* Smaller marks inside the step-02 visual */
.intwall .blogo { height: 20px; color: var(--muted); }
.intwall .blogo b { font-size: 11.5px; }
.intwall .blogo svg { height: 16px; }
.intwall .blogo--citi b { font-size: 14px; }
.intwall .blogo--citi svg { height: 6px; top: 2px; left: 7px; }
.intwall .blogo--wf b { font-size: 9px; padding: 1px 4px; border-width: 1.5px; }
.intwall .blogo--irs i { width: 19px; height: 19px; font-size: 7px; border-width: 1.25px; }
.intwall .blogo--irs b { display: none; }
.intwall__row { gap: 12px; }

/* ---- Your mornings, rebuilt: the queue ---- */
.queue {
  max-width: 860px;
  margin: 0 auto;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: var(--shadow-pop);
  padding: 20px 24px 10px;
  font-size: 13px;
}

.queue__group {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0 10px;
  font-size: 12.5px;
  font-weight: 600;
}

.queue__group + .queue__group { margin-top: 14px; border-top: 1px solid var(--rule); padding-top: 16px; }

.queue__count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--brand-deep);
  background: var(--brand-soft);
  border-radius: 999px;
  padding: 1px 8px;
}

.queue__row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 11px 2px;
  border-top: 1px solid var(--rule);
}

.queue__who b { display: block; font-size: 13.5px; font-weight: 600; }
.queue__who small { font-family: var(--font-mono); font-size: 10.5px; color: var(--faint); }

.queue__ready {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--green);
  white-space: nowrap;
}

.queue__ready--quiet { color: var(--faint); }

.queue__note { font-size: 12.5px; color: var(--muted); }

.queue__cap {
  max-width: 860px;
  margin: 18px auto 0;
  text-align: center;
  font-size: 13px;
  color: var(--faint);
}

/* ---- Not another forms platform: the versus table ---- */
.versus {
  max-width: 940px;
  margin: 0 auto;
  border-top: 1px solid var(--rule);
}

.versus__hdr,
.versus__row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 18px;
  align-items: center;
  padding: 13px 2px;
  border-bottom: 1px solid var(--rule);
}

.versus__hdr {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
}

.versus__hdr .us { color: var(--brand-deep); }

.versus__row p { font-size: 14px; font-weight: 550; color: var(--ink); }

.versus__no {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--faint);
}

.versus__no svg { width: 13px; height: 13px; flex: none; }

.versus__yes {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 550;
  color: var(--ink);
}

.versus__yes svg { width: 14px; height: 14px; flex: none; color: var(--green-bright); position: relative; top: 2px; }

/* The PetitionHQ column carries a quiet brand rule */
.versus__hdr .us,
.versus__yes { border-left: 2px solid #D9DEFC; padding-left: 16px; }

.versus__hdr .us { display: inline-flex; }

/* Compare pill: current page marker */
.comparepill .is-here {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 500;
}

/* ---- Micro-motion: billing toggle + price amounts ---- */
.v1e .billing-toggle__btn {
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
}

@keyframes amtswap {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.v1e .price-table__amt { display: inline-block; }
.v1e .price-table__amt.swap { animation: amtswap .26s ease; }

/* FAQ bodies animate open/closed via JS (Web Animations API);
   keep overflow tame while height is in flight. */
.v1e .faq__a.animating { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .v1e .price-table__amt.swap { animation: none; }
}

@media (max-width: 760px) {
  .srcbar__row { gap: 14px 22px; }

  .queue__row { grid-template-columns: minmax(0, 1fr) auto; }
  .queue__note { display: none; }
  .queue__open { display: none; }

  /* Versus: drop the "by hand" column on phones */
  .versus__hdr, .versus__row { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.15fr); gap: 10px; }
  .versus__hand { display: none; }
  .versus__row p { font-size: 13px; }
  .versus__hdr .us, .versus__yes { padding-left: 10px; }
}

@media (max-width: 480px) {
  .catchrow { grid-template-columns: 14px minmax(0, 1fr); }
  .catchrow code { grid-column: 2; white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  .v1a .rv,
  .v1a [data-enter] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .v1a .dot--live { animation: none; }
}

/* ---------------------------------------------------------------------
   Responsive
--------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .associate { grid-template-columns: 1fr; gap: 40px; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
}

@media (max-width: 1000px) {
  /* Product shot: drop the rail, keep docket + sidebar */
  .shot__work { grid-template-columns: 1fr; }
  .shot__rail { display: none; }

  /* Pricing: table → cards */
  .price-table { display: none; }
  .price-cards { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .header__links { display: none; }
  .header__cta { display: none; }
  .menu-toggle { display: flex; }

  .facts__grid { grid-template-columns: repeat(2, 1fr); }
  .facts__cell { padding: 20px 22px; }
  .facts__cell:nth-child(3) { border-left: 0; }
  .facts__cell:nth-child(n+3) { border-top: 1px solid var(--rule); }

  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .footer__bottom { flex-direction: column; }
  .footer__disclaimer { text-align: left; }
}

@media (max-width: 760px) {
  .section { padding: var(--s-10) 0; }

  /* Product shot: main column only */
  .shot__app { grid-template-columns: 1fr; }
  .shot__side { display: none; }
  .shot__main { padding: 18px 18px 20px; }
  .shot__case-actions .shot-btn--ghost,
  .shot__case-actions .shot-btn--secondary { display: none; }
  .shot-stage { padding: 0 14px; }

  .hero { padding-top: calc(var(--header-h) + 52px); }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: min(320px, 100%); }

  .steps { grid-template-columns: 1fr; gap: 36px; }
  .features { grid-template-columns: 1fr; }
  .price-cards { grid-template-columns: 1fr; }

  .cta { padding: 56px 24px; }
  .cta__buttons { flex-direction: column; }
  .cta__buttons .btn { width: min(320px, 100%); }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
}
