:root,
body > main {
  background: #fff;
}

.scalebound-proof.proof-logos {
  margin-top: clamp(1.25rem, 3vw, 2rem);
}

.explainer-page {
  margin-inline: -1.15rem;
  background: #fff;
}

@media (max-width: 37.5rem) {
  .explainer-page { margin-inline: -.875rem; }
}

.explainer-main {
  width: min(100%, 70rem);
  margin: 0 auto;
  padding: 0 1rem clamp(3rem, 8vw, 6rem);
}

.explainer-hero {
  padding: calc(clamp(1.5rem, 4vw, 3rem) + clamp(.875rem, 2vw, 1.5rem)) 0 clamp(2rem, 6vw, 5rem);
  text-align: center;
}

.explainer-hero .inline-explainer-title {
  margin: 0 auto;
  text-wrap: balance;
  max-width: 16em;
  font-size: clamp(2.1rem, 5.5vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -.038em;
  line-height: 1.15;
}

.hero-jobs {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: .075em;
  text-underline-offset: .13em;
}

.process-jump {
  display: inline-grid;
  width: 3.25rem;
  height: 3.25rem;
  margin-top: 1.15rem;
  place-items: center;
  border: 1px solid #d5eae3;
  border-radius: 50%;
  background: #fff;
  font-size: 1.65rem;
  text-decoration: none;
}

.process-jump:hover { background: var(--tint); }
#how-it-works { scroll-margin-top: 1rem; }
#process-title { text-align: center; }

.section-title {
  margin: 0 0 1.2rem;
  font-size: clamp(1.85rem, 4.35vw, 3rem);
  font-weight: 800;
  line-height: 1.13;
}

.process-steps {
  display: grid;
  gap: clamp(1.15rem, 3vw, 2.15rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.25rem, 4vw, 3.5rem);
  min-height: 19rem;
  padding: clamp(1.3rem, 4vw, 2.75rem);
  border: 1px solid var(--line);
  border-radius: 1.3rem;
  background: #fff;
}

.step-number {
  display: inline-block;
  margin-bottom: .75rem;
  padding: .3rem .65rem;
  border-radius: .35rem;
  background: var(--tint);
  color: var(--accent-dark);
  font-size: .85rem;
  font-weight: 800;
}

.step-copy h3 {
  margin: 0 0 .7rem;
  font-size: clamp(1.45rem, 2.75vw, 2.15rem);
  letter-spacing: -.032em;
  line-height: 1.16;
}

.step-copy p {
  margin: .5rem 0 0;
  color: var(--muted);
  font-size: clamp(.95rem, 1.5vw, 1.06rem);
  line-height: 1.62;
}

.trial-faq { max-width: 52rem; margin: clamp(3rem, 7vw, 5rem) auto 0; }
.trial-faq details { margin-bottom: .55rem; border: 1px solid var(--line); border-radius: .65rem; background: #fff; }
.trial-faq summary { min-height: 2.85rem; padding: .75rem .9rem; cursor: pointer; font-weight: 800; }
.trial-faq details p { margin: 0; padding: 0 .9rem .8rem; color: var(--muted); line-height: 1.55; }

.trial-apply {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  margin-top: .85rem;
  text-decoration: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.step-demo {
  min-width: 0;
  padding: clamp(.75rem, 2.25vw, 1.4rem);
  border-radius: 1rem;
  background: #e6f5ef;
}

.demo-window {
  overflow: hidden;
  border: 1px solid #c9e3d9;
  border-radius: .8rem;
  background: #fff;
  box-shadow: 0 8px 24px #174b390e;
}

.demo-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .35rem .75rem;
  padding: .7rem .85rem;
  background: #064637;
  color: #fff;
  font-size: .8rem;
  font-weight: 750;
}
.demo-bar small { color: #d1f1e5; font-weight: 600; }
.demo-scenes { min-height: 12.25rem; padding: .85rem; }
.demo-frame { display: grid; gap: .55rem; line-height: 1.35; }
.demo-scene-title { margin: 0 0 .2rem; font-size: 1rem; font-weight: 800; }
.demo-frame small { display: block; color: #435f56; }

.mock-account, .mock-line {
  display: flex;
  align-items: center;
  gap: .55rem;
  justify-content: space-between;
  padding: .5rem;
  border: 1px solid #d7e8e0;
  border-radius: .45rem;
  font-size: .8rem;
}

.mock-account { justify-content: flex-start; }
.mock-account .demo-check { margin-left: auto; }
.mock-account b, .demo-check, .mock-success b {
  display: inline-grid;
  flex: 0 0 1.5rem;
  width: 1.5rem;
  height: 1.5rem;
  place-items: center;
  border-radius: .4rem;
  background: #d9f3e9;
  color: var(--accent-dark);
}

.mock-toggle { flex: 0 0 1.6rem; height: .9rem; border-radius: 2rem; background: var(--accent-dark); }
.mock-toggle::after { display: block; width: .6rem; height: .6rem; margin: .15rem .15rem .15rem auto; border-radius: 50%; background: #fff; content: ""; }
.mock-action { justify-self: start; padding: .38rem .63rem; border-radius: .35rem; background: var(--accent-dark); color: #fff; font-size: .76rem; font-weight: 800; }
.mock-success { display: grid; justify-items: center; gap: .35rem; padding: .55rem 0; text-align: center; font-size: .86rem; }
.mock-success b { width: 2.1rem; height: 2.1rem; font-size: 1.25rem; }
.mock-ad { padding: .6rem; border: 1px solid #d7e8e0; border-radius: .45rem; }
.mock-ad strong { display: block; margin: .15rem 0 0; font-size: .92rem; }
.mock-ad p { margin: .18rem 0 .45rem; font-size: .76rem; }
.mock-ad .mock-action { display: inline-block; }
.mock-message { justify-self: start; padding: .4rem .52rem; border-radius: .55rem .55rem .55rem 0; background: #edf1ef; font-size: .76rem; }
.mock-message.reply { justify-self: end; border-radius: .55rem .55rem 0 .55rem; background: #d9f3e9; }
.mock-confirm { padding: .43rem .5rem; border-radius: .35rem; background: #ebf8f3; color: var(--accent-dark); font-size: .77rem; font-weight: 800; }
.live-dot { flex: 0 0 .65rem; height: .65rem; border-radius: 50%; background: var(--accent); }
.mock-calendar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .28rem; text-align: center; }
.mock-calendar div { padding: .4rem 0; border-radius: .4rem; background: #e3f6ef; }
.mock-calendar b { display: block; padding-top: .25rem; color: var(--accent-dark); }

.demo-controls, .demo-pages { display: flex; flex-wrap: wrap; gap: .35rem; }
.demo-controls { justify-content: space-between; margin-top: .55rem; }
.demo-controls button {
  min-height: 2.75rem;
  min-width: 2.75rem;
  padding: .33rem .5rem;
  border: 1px solid #b8d6cb;
  border-radius: .48rem;
  background: #fff;
  color: #064637;
  font-size: .78rem;
  font-weight: 800;
}
.demo-controls button[aria-pressed="true"] { border-color: #064637; background: #064637; color: #fff; }

@media (prefers-reduced-motion: no-preference) {
  .demo-frame:not([hidden]) > * { animation: demo-enter .42s ease-out both; }
  .demo-frame:not([hidden]) > :nth-child(2) { animation-delay: .08s; }
  .demo-frame:not([hidden]) > :nth-child(3) { animation-delay: .17s; }
  .demo-frame:not([hidden]) > :nth-child(4) { animation-delay: .26s; }
  .mock-calendar b { animation: demo-enter .34s ease-out both; }
  .mock-calendar div:nth-child(2) b { animation-delay: .14s; }
  .mock-calendar div:nth-child(3) b { animation-delay: .28s; }
  .mock-calendar div:nth-child(4) b { animation-delay: .42s; }
  .mock-calendar div:nth-child(5) b { animation-delay: .56s; }
  @keyframes demo-enter {
    from { opacity: 0; transform: translateY(.65rem); }
    to { opacity: 1; transform: translateY(0); }
  }
}

.trial-calculator { margin-top: clamp(3rem, 8vw, 6rem); }
.calculator-intro { margin-bottom: 1.6rem; text-align: center; }
.calculator-intro .section-title { margin-bottom: .55rem; }
.calculator-intro p { margin: 0; color: var(--muted); line-height: 1.5; }
.calculator-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.22fr);
  overflow: hidden;
  border: 1px solid #d2e4dc;
  border-radius: 1.3rem;
  background: #fff;
  box-shadow: 0 14px 38px #163f3010;
}
.calculator-input, .calculator-results { padding: clamp(1rem, 3.4vw, 2.5rem); }
.calculator-results { border-left: 1px solid #d2e4dc; background: #f2f8f5; }
.calculator-results h3 { margin: 0 0 1rem; font-size: 1.2rem; letter-spacing: -.025em; }
.job-value-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .55rem; font-weight: 800; }
.money-input {
  display: flex;
  align-items: center;
  width: 8rem;
  padding-inline: .62rem;
  border: 1px solid #91b5a6;
  border-radius: .6rem;
  background: #f9fcfa;
}
.money-input:focus-within { outline: 2px solid var(--accent-dark); outline-offset: 2px; }
.money-input input { width: 100%; min-width: 0; min-height: 2.8rem; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 1.15rem; font-weight: 800; }
.slider-field { margin-top: 1rem; }
#job-value-slider { width: 100%; height: 2.75rem; margin: 0; accent-color: var(--accent-dark); cursor: pointer; }
.slider-marks { display: flex; justify-content: space-between; gap: .2rem; color: var(--muted); font-size: .76rem; font-weight: 700; }
.slider-marks span { min-width: 0; overflow-wrap: anywhere; }
#job-value-help, .calculator-note { color: var(--muted); font-size: .82rem; line-height: 1.5; }
.guarantee-box { margin-top: 1.4rem; padding: .9rem; border-left: .23rem solid var(--accent-dark); border-radius: 0 .65rem .65rem 0; background: #eaf8f2; }
.guarantee-box p { margin: .3rem 0 0; font-size: .92rem; line-height: 1.5; }
.roi-breakdown { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; margin: 0; }
.roi-breakdown div { padding: .7rem; border: 1px solid #d2e4dc; border-radius: .65rem; background: #fff; }
.roi-breakdown dt { color: var(--muted); font-size: .82rem; }
.roi-breakdown dd { margin: .2rem 0; font-size: clamp(1.48rem, 4vw, 2.4rem); font-weight: 800; overflow-wrap: anywhere; letter-spacing: -.045em; }
.roi-breakdown span { display: block; color: var(--accent-dark); font-size: .74rem; font-weight: 800; letter-spacing: 0; }
.trial-math { display: grid; gap: .6rem; margin: .9rem 0; padding: .8rem 0; border-block: 1px solid #d2e4dc; font-size: .85rem; }
.trial-math div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1ch; }
.trial-math dd { min-width: 0; margin: 0; overflow-wrap: anywhere; }
.trial-math dt { color: var(--muted); }
.roi-result, #roi-explanation { margin: 0; font-weight: 800; }
#ad-roi { color: var(--accent-dark); font-size: clamp(2.5rem, 7vw, 4.5rem); letter-spacing: -.055em; line-height: 1; overflow-wrap: anywhere; }
.roi-unit { font-size: .92rem; }
#roi-explanation { margin-top: .45rem; font-size: .9rem; line-height: 1.5; }
.trial-apply { gap: .5rem; }

@media (max-width: 43rem) {
  .process-step, .calculator-body { grid-template-columns: minmax(0, 1fr); }
  .process-step { min-height: 0; }
  .calculator-results { border-left: 0; border-top: 1px solid #d2e4dc; }
  .trial-apply { width: 100%; }
}
@font-face {
  font-family: "Patrick Hand";
  src: url("/assets/patrick-hand.woff2") format("woff2");
  font-display: swap;
}

.meta-flow { margin-top: clamp(3rem, 8vw, 6rem); scroll-margin-top: 1rem; }
.meta-flow h2 { text-align: center; }
.sketch-flow {
  --pen: #262625;
  --lane-gap: clamp(.7rem, 4vw, 4rem);
  max-width: 58rem;
  margin: 0 auto;
  padding: clamp(1rem, 4.5vw, 2.6rem);
  background: #fff;
  border: 1px solid #dce5df;
  border-radius: 1.15rem;
  color: var(--pen);
  font-family: "Patrick Hand", "Segoe Print", cursive;
  font-size: clamp(1.12rem, 2.85vw, 1.73rem);
  line-height: 1.15;
  text-align: center;
}
.sketch-branches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--lane-gap); }
.sketch-lane { display: grid; grid-template-rows: 1fr auto 1fr; min-width: 0; }
.sketch-box {
  display: grid;
  min-height: 3.25rem;
  align-content: center;
  padding: .58rem .42rem;
  border: 2px solid var(--pen);
  border-radius: .75rem .63rem .77rem .61rem / .65rem .78rem .57rem .73rem;
  background: #e9eaed;
}
.sketch-lane:first-child .sketch-box { background: #fff0b4; transform: rotate(-.33deg); }
.sketch-lane:last-child .sketch-box { background: #ead1f3; transform: rotate(.39deg); }
.sketch-lane:last-child .sketch-box:last-child { background: #dbcdf5; }
.sketch-box small { display: block; margin-top: .22rem; font-size: .78em; }
.sketch-arrow { position: relative; width: .8rem; height: 1.6rem; margin: 0 auto; }
.sketch-arrow::before, .sketch-arrow::after { position: absolute; left: 50%; content: ""; }
.sketch-arrow::before { top: 0; bottom: .29rem; width: 2px; background: var(--pen); transform: rotate(.8deg); }
.sketch-arrow::after { bottom: .29rem; width: .43rem; height: .43rem; border: solid var(--pen); border-width: 0 2px 2px 0; transform: translateX(-40%) rotate(45deg); }
.sketch-join { width: calc((100% + var(--lane-gap)) / 2); height: .95rem; margin: 0 auto; border: solid var(--pen); border-width: 0 2px 2px; border-radius: 0 0 .22rem .3rem; }
.sketch-path { width: min(100%, 24rem); margin: 0 auto; padding: 0; list-style: none; }
.sketch-path .sketch-box { min-height: 0; }
.sketch-path li:first-child .sketch-box { background: #bcebc5; transform: rotate(-.25deg); }
.sketch-path li:nth-child(2) .sketch-box { background: #9edb92; transform: rotate(.35deg); }
.sketch-path li:nth-last-child(2) .sketch-box { background: #fff1dd; }
.sketch-path li:last-child .sketch-box { background: #bcebc5; transform: rotate(-.34deg); }


.trial-chart { margin: 1rem 0 0; padding: .8rem .85rem; border: 1px solid #d2e4dc; border-radius: .65rem; background: #fff; }
.trial-chart figcaption { margin-bottom: .58rem; font-weight: 800; font-size: .89rem; }
.trial-chart-row + .trial-chart-row { margin-top: .56rem; }
.trial-chart-label, .trial-chart-scale { display: flex; justify-content: space-between; gap: .4rem; font-size: .76rem; }
.trial-chart-label { margin-bottom: .22rem; }
.trial-chart-scale { margin-top: .35rem; color: var(--muted); }
.trial-chart-track { height: .55rem; overflow: hidden; border-radius: 100px; background: #ebf1ee; }
.trial-chart-fill { display: block; width: var(--bar); height: 100%; border-radius: inherit; background: var(--accent-dark); }
.trial-chart-row:first-of-type .trial-chart-fill { background: #83958e; }

.trial-comparison { margin-top: clamp(3rem, 8vw, 6rem); scroll-margin-top: 1rem; }
.trial-comparison h2 { margin-bottom: clamp(1.2rem, 4vw, 2.4rem); text-align: center; }
.comparison-frame { overflow: hidden; border: 1px solid #d2e4dc; border-radius: 1.15rem; background: #fff; }
.comparison-table { width: 100%; border-collapse: collapse; text-align: left; font-size: .94rem; line-height: 1.5; }
.comparison-table th, .comparison-table td { padding: .95rem clamp(.75rem, 2vw, 1.3rem); vertical-align: top; }
.comparison-table thead th { background: #edf7f2; font-weight: 800; }
.comparison-table th:first-child { width: 20%; }
.comparison-table thead th:last-child { background: #064637; color: #fff; }
.comparison-table tbody tr + tr { border-top: 1px solid #dce9e3; }
.comparison-table tbody td:last-child { background: #e8f6ef; color: #064637; font-weight: 750; }
.comparison-label { display: none; }
.comparison-note { max-width: 68ch; margin: .9rem auto 0; text-align: center; color: var(--muted); font-size: .86rem; line-height: 1.55; }

@media (max-width: 43rem) {
  .comparison-frame { overflow: visible; border: 0; background: transparent; }
  .comparison-table, .comparison-table tbody, .comparison-table tr { display: grid; }
  .comparison-table { position: relative; }
  .comparison-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .comparison-table tbody { gap: .7rem; }
  .comparison-table tbody tr { overflow: hidden; border: 1px solid #d2e4dc; border-radius: .85rem; background: #fff; }
  .comparison-table tbody th:first-child { width: auto; background: #edf7f2; }
  .comparison-table tbody th, .comparison-table td { padding: .65rem .85rem; }
  .comparison-table tbody td + td { border-top: 1px solid #e5efea; }
  .comparison-label { display: block; margin-bottom: .12rem; color: #385b4f; font-size: .76rem; font-weight: 800; }
}
