/* The site's base.css resets and shared classes, which don't reach into a shadow tree. */
*,
*::before,
*::after {
  box-sizing: border-box;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
h1,
h2,
h3,
h4,
p,
ul,
ol {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
:focus-visible {
  outline: 3px solid var(--focus, #c2560f);
  outline-offset: 3px;
}
::selection {
  background: var(--mint, #8fcb9f);
  color: var(--forest, #0f2a1f);
}
.calc-root {
  display: block;
}
.heading-style-h2 {
  font: 700 clamp(40px, 5.6vw, 88px) / 0.96 var(--fd, sans-serif);
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.text-lede {
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.55;
  color: var(--tx2, #44523f);
  max-width: 34em;
  text-wrap: pretty;
}
.text-struck {
  text-decoration: line-through;
  text-decoration-color: var(--ember, #e2741d);
  text-decoration-thickness: 0.09em;
  color: var(--ink-3, #6b7159);
}
.split-line {
  display: block;
  overflow: hidden;
  padding-block: 0.06em 0.14em;
  margin-block: -0.06em -0.14em;
}
.split-line > span {
  display: inline-block;
}
.is-split-ready:not(.is-in) .split-line > span {
  transform: translateY(112%);
}
/* Hidden before hydration only when the page's `html.js` sets these (see the canvas contract). */
[data-split]:not(.is-split) {
  opacity: var(--rv-o, 1);
}
[data-rv] {
  opacity: var(--rv-o, 1);
  transform: var(--rv-tf, none);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  font: 600 15px/1 var(--fb, sans-serif);
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.6s var(--ease, cubic-bezier(0.16, 1, 0.3, 1)),
    background-color 0.3s,
    color 0.3s,
    box-shadow 0.3s;
}
.button svg {
  width: 16px;
  height: 16px;
  transition: transform 0.6s var(--ease, cubic-bezier(0.16, 1, 0.3, 1));
}
.button .icon-bag {
  width: 18px;
  height: 20px;
}
.is-primary {
  background: var(--pb, var(--forest, #0f2a1f));
  color: var(--pf, var(--butter, #fde19f));
}
.is-secondary {
  color: var(--tx, #0f2a1f);
  box-shadow: inset 0 0 0 1.5px var(--lns, rgba(15, 42, 31, 0.28));
}
.button:focus-visible {
  transform: translateY(-2px);
}
.is-primary:focus-visible {
  background: var(--ph, var(--pine, #1e4838));
  box-shadow: 0 14px 26px -14px rgba(15, 42, 31, 0.55);
}
.is-secondary:focus-visible {
  box-shadow: inset 0 0 0 1.5px var(--tx, #0f2a1f);
}
@media (hover: hover) {
  .button:hover {
    transform: translateY(-2px);
  }
  .is-primary:hover {
    background: var(--ph, var(--pine, #1e4838));
    box-shadow: 0 14px 26px -14px rgba(15, 42, 31, 0.55);
  }
  .is-secondary:hover {
    box-shadow: inset 0 0 0 1.5px var(--tx, #0f2a1f);
  }
}
.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.tick-list {
  display: grid;
  gap: 14px;
}
.tick-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 500;
  text-wrap: pretty;
}
.tick-list li::before {
  content: '';
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: -1px;
  border-radius: 50%;
  background: var(--leaf, #2f6e48)
    url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 12 12%27%3E%3Cpath d=%27M2.8 6.2 5 8.3l4.2-4.6%27 fill=%27none%27 stroke=%27%23FFF3D1%27 stroke-width=%271.7%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E")
    center/12px no-repeat;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}

/* Shared by the slider calculators: a centred head, then sliders on the left and a forest
   result panel on the right, then a note. */
.calc_head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-bottom: clamp(40px, 5vw, 64px);
  text-align: center;
}
.calc_note {
  margin-top: 24px;
  color: var(--tx2, #44523f);
  text-align: center;
  text-wrap: balance;
}
.calc_box {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(12px, 1.4vw, 20px);
  padding: clamp(12px, 1.4vw, 20px);
  border-radius: 32px;
  background: var(--cream, #fff3d1);
  box-shadow: inset 0 0 0 1px var(--ln, rgba(15, 42, 31, 0.14));
}
.calc_inputs {
  display: grid;
  align-content: center;
  gap: clamp(32px, 3.6vw, 48px);
  padding: clamp(16px, 2.4vw, 36px);
}
.calc_label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 14px;
  font-weight: 600;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.2;
}
.calc_label output {
  font: 700 clamp(22px, 2vw, 28px) / 1 var(--fd, sans-serif);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
/* Thumb 26px wide: its centre runs from 13px to (100% - 13px), so fill and ticks use the same span. */
.calc_range {
  --f: 0;
  --at: calc(13px + (100% - 26px) * var(--f));
  display: block;
  width: 100%;
  height: 28px;
  margin: 0;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.calc_range::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    var(--calc-fill, var(--leaf, #2f6e48)) var(--at),
    var(--lns, rgba(15, 42, 31, 0.28)) var(--at)
  );
}
.calc_range::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    var(--calc-fill, var(--leaf, #2f6e48)) var(--at),
    var(--lns, rgba(15, 42, 31, 0.28)) var(--at)
  );
}
.calc_range::-webkit-slider-thumb {
  width: 26px;
  height: 26px;
  margin-top: -10px;
  border-radius: 50%;
  background: var(--paper, #fffaec);
  box-shadow:
    inset 0 0 0 2px var(--leaf, #2f6e48),
    0 6px 14px -6px rgba(15, 42, 31, 0.45);
  transition: transform 0.3s var(--ease, cubic-bezier(0.16, 1, 0.3, 1));
  -webkit-appearance: none;
  appearance: none;
}
.calc_range::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: var(--paper, #fffaec);
  box-shadow:
    inset 0 0 0 2px var(--leaf, #2f6e48),
    0 6px 14px -6px rgba(15, 42, 31, 0.45);
  transition: transform 0.3s var(--ease, cubic-bezier(0.16, 1, 0.3, 1));
}
.calc_range:active::-webkit-slider-thumb {
  transform: scale(1.12);
}
.calc_range:active::-moz-range-thumb {
  transform: scale(1.12);
}
/* Dark styles follow the page's inherited color-scheme, so they hold from first paint, before hydration. */
.calc_box {
  --calc-fill: light-dark(var(--leaf, #2f6e48), var(--mint, #8fcb9f));
}
.calc_box .calc_range::-webkit-slider-thumb {
  box-shadow:
    inset 0 0 0 2px light-dark(var(--leaf, #2f6e48), var(--mint, #8fcb9f)),
    0 6px 14px -6px light-dark(rgba(15, 42, 31, 0.45), rgba(0, 0, 0, 0.7));
}
.calc_box .calc_range::-moz-range-thumb {
  box-shadow:
    inset 0 0 0 2px light-dark(var(--leaf, #2f6e48), var(--mint, #8fcb9f)),
    0 6px 14px -6px light-dark(rgba(15, 42, 31, 0.45), rgba(0, 0, 0, 0.7));
}
.calc_range:focus-visible {
  outline: 2px solid var(--focus, #c2560f);
  outline-offset: 6px;
  border-radius: 999px;
}
.calc_ticks {
  position: relative;
  height: 14px;
  margin-top: 10px;
  font: 500 12px/1 var(--fm, monospace);
  color: var(--tx2, #44523f);
}
.calc_ticks span {
  position: absolute;
  left: calc(13px + (100% - 26px) * var(--i));
  transform: translateX(-50%);
  white-space: nowrap;
}
.calc_result {
  --pb: var(--butter, #fde19f);
  --pf: var(--forest, #0f2a1f);
  --ph: var(--butter-2, #f9d686);
  --tx: var(--on-dark, #fff3d1);
  --tx2: var(--on-dark-2, #b9c2a6);
  --lns: rgba(255, 243, 209, 0.3);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: clamp(24px, 3vw, 40px);
  border-radius: 24px;
  background: light-dark(var(--forest, #0f2a1f), var(--g-forest, #08150f));
  box-shadow: inset 0 0 0 1px light-dark(transparent, var(--ln, rgba(255, 243, 209, 0.14)));
  color: var(--tx);
}
.calc_stat {
  display: grid;
  gap: 8px;
  color: var(--tx2, #44523f);
}
.calc_stat-label {
  font: 500 12px/1 var(--fm, monospace);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.calc_stat b {
  font: 700 clamp(26px, 3.2vw, 44px) / 1 var(--fd, sans-serif);
  letter-spacing: -0.03em;
  color: var(--tx, #0f2a1f);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 860px) {
  .calc_box {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Unlike the pricing calculator's cream box and forest panel, this one is forest throughout:
   sliders on the left, what each feature wins back on the right. */
.recovery_box {
  --tx: var(--on-dark, #fff3d1);
  --tx2: var(--on-dark-2, #b9c2a6);
  --lns: rgba(255, 243, 209, 0.25);
  --calc-fill: var(--butter, #fde19f);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(24px, 4vw, 56px);
  border-radius: 32px;
  background: light-dark(var(--forest, #0f2a1f), var(--g-forest, #08150f));
  box-shadow: inset 0 0 0 1px light-dark(transparent, var(--ln, rgba(255, 243, 209, 0.14)));
  color: var(--tx);
}
.recovery_inputs {
  display: grid;
  align-content: center;
  gap: clamp(28px, 3vw, 40px);
}
.recovery_results {
  display: grid;
  align-content: start;
  gap: 16px;
  color: var(--tx2);
}
.recovery_modes {
  display: grid;
  gap: 12px;
}
/* The head and plan share a row, the plan pushed right; on a narrow card the plan wraps below. */
.recovery_mode {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding: clamp(18px, 2vw, 24px);
  border-radius: 20px;
  background: var(--butter, #fde19f);
  color: var(--forest, #0f2a1f);
}
.recovery_mode-head {
  flex: 1 0 auto;
  white-space: nowrap;
  font: 600 clamp(20px, 2vw, 26px) / 1.1 var(--fd, sans-serif);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.recovery_mode-head b {
  font-weight: 700;
}
.recovery_mode-per {
  opacity: 0.7;
}
/* A faint white pill, so the plan reads as a tag on the card rather than more revenue. */
.recovery_mode-plan {
  margin-left: auto;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 0 0 1px rgba(15, 42, 31, 0.18);
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
}
.recovery_mode-line,
.recovery_mode-note {
  flex-basis: 100%;
}
.recovery_mode-line {
  font-size: 15px;
  line-height: 1.35;
}
.recovery_mode-note {
  font: 500 12px/1.3 var(--fm, monospace);
  opacity: 0.7;
}
@media (max-width: 860px) {
  .recovery_box {
    grid-template-columns: minmax(0, 1fr);
  }
}

