/* How it works — the lifecycle chamber, pricing, and what "delivered" means.
   The stage is a sticky tank that shares a grid cell with the scrolling copy,
   so the 3D order travels while the step cards pass over it. */

/* ── lifecycle chamber ───────────────────────────────────────────────── */

.life {
  --band: 46svh;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  /* stage-relative left edge of the shared .wrap column */
  --wl: max(calc(var(--margin) - var(--tank-inset)), calc((100% + 2 * var(--tank-inset) - var(--max)) / 2 - var(--tank-inset)));
}

.life__flow,
.life__stage {
  grid-area: 1 / 1;
}

.life__flow {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.life__flow > * {
  pointer-events: auto;
}

.life__stage.tank {
  position: sticky;
  top: var(--tank-inset);
  z-index: 1;
  align-self: start;
  min-height: 0;
  height: calc(100svh - var(--tank-inset) * 2);
  /* stays the containing block for its layers even if something un-sticks it */
  contain: layout;
  background:
    radial-gradient(38% 48% at 70% 50%, var(--life-glow), transparent 100%),
    radial-gradient(110% 62% at 70% 112%, var(--life-floor) 0%, transparent 62%),
    radial-gradient(52% 46% at 66% -6%, var(--life-sun), transparent 72%),
    linear-gradient(180deg, var(--life-top) 0%, var(--life-mid) 56%, var(--life-bottom) 100%);
  --life-top: #f2f6f5;
  --life-mid: #e4eeec;
  --life-bottom: #d5e6e2;
  --life-floor: #c6dfd9;
  --life-sun: rgb(255 255 255 / 0.85);
  --life-glow: rgb(214 205 240 / 0.5);
}

[data-theme="dark"] .life__stage.tank {
  --life-top: #0c2433;
  --life-mid: #091d29;
  --life-bottom: #06151e;
  --life-floor: #0e3340;
  --life-sun: rgb(108 198 200 / 0.16);
  --life-glow: rgb(82 181 185 / 0.12);
}

/* the region the 3D (and the SVG diagram) is framed into */
.life__region {
  position: absolute;
  z-index: 0;
  top: 7%;
  bottom: 9%;
  left: calc(var(--wl) + min(540px, 40%));
  right: var(--wl);
  pointer-events: none;
}

.life__diagram {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  transition: opacity 900ms var(--ease-out);
}

.life__stage.has-webgl.is-live .life__diagram {
  opacity: 0;
}

.life__stage .tank__canvas {
  z-index: 1;
  opacity: 0;
  transition: opacity 900ms var(--ease-out);
}

.life__stage.is-live .tank__canvas {
  opacity: 1;
}

.life__scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, color-mix(in oklab, var(--life-top) 86%, transparent) 0%, color-mix(in oklab, var(--life-top) 40%, transparent) 30%, transparent 48%);
}

.life__leaders {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.life__leaders line {
  stroke: var(--line-strong);
  stroke-width: 1;
  transition: stroke var(--t-med);
}

.life__leaders line.is-active {
  stroke: var(--accent);
}

.life__leaders line.is-money {
  stroke: var(--accent);
}

.life__leaders circle {
  fill: var(--accent);
}

.life__tags {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.life-tag {
  /* no backdrop-filter: this sits on a live 3D scene or video; blurring it re-reads that
     surface every frame and flickers on some GPUs */
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 4px 12px 4px 4px;
  border-radius: var(--r-pill);
  background: var(--surface-glass-solid);
  box-shadow: 0 0 0 1px color-mix(in oklab, var(--line) 70%, transparent) inset;
  white-space: nowrap;
  transform: translate3d(var(--x, -999px), var(--y, -999px), 0) translate(-50%, -50%);
  opacity: 0;
  transition: opacity var(--t-slow) var(--ease-out), box-shadow var(--t-med), background-color var(--t-med);
}

.life__stage.is-placed .life-tag {
  opacity: 0.94;
}

.life-tag__n {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line-strong) inset;
  font-size: 0.75rem;
  font-weight: 660;
  transition: background-color var(--t-med), color var(--t-med), box-shadow var(--t-med);
}

.life-tag__text {
  display: grid;
  line-height: 1.2;
}

.life-tag__name {
  font-size: 0.875rem;
  font-weight: 640;
  letter-spacing: -0.008em;
}

.life-tag__who {
  font-size: 0.71875rem;
  color: var(--ink-3);
}

.life-tag.is-past .life-tag__n {
  background: var(--held);
  color: #fff;
  box-shadow: none;
}

.life__stage.is-placed .life-tag.is-active {
  opacity: 1;
  background: var(--surface);
  box-shadow: var(--shadow-float);
}

.life-tag.is-active .life-tag__n {
  background: var(--accent);
  color: #0b2230;
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 22%, transparent);
}

/* the money annotation tied to the escrow vessel */
.life-money {
  /* no backdrop-filter: this sits on a live 3D scene or video; blurring it re-reads that
     surface every frame and flickers on some GPUs */
  position: absolute;
  left: 0;
  top: 0;
  z-index: 4;
  width: 248px;
  padding: 12px 14px 13px 16px;
  border-radius: 14px;
  background: var(--surface-glass-solid);
  box-shadow: var(--shadow-float), 0 0 0 1px color-mix(in oklab, var(--line) 60%, transparent) inset;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(var(--x, -999px), var(--y, -999px), 0);
  transition: opacity var(--t-slow) var(--ease-out);
}

.life__stage.is-placed .life-money {
  opacity: 1;
}

.life-money::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 2px;
  border-radius: 2px;
  background: var(--money-tone, var(--held));
}

.life-money__t {
  font-size: 0.9375rem;
  font-weight: 640;
  line-height: 1.3;
}

.life-money__b {
  margin-top: 3px;
  font-size: 0.8125rem;
  line-height: 1.42;
  color: var(--ink-2);
}

.life-money.is-swapping .life-money__t,
.life-money.is-swapping .life-money__b {
  opacity: 0;
}

.life-money__t,
.life-money__b {
  transition: opacity 180ms var(--ease-out);
}

.life-holdtag {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 4;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: var(--surface);
  box-shadow: var(--shadow-float);
  font-size: 0.75rem;
  font-weight: 640;
  white-space: nowrap;
  color: var(--ink);
  opacity: 0;
  transform: translate3d(var(--x, -999px), var(--y, -999px), 0) translate(-50%, -50%);
  transition: opacity var(--t-med);
  pointer-events: none;
}

.life-holdtag.is-on {
  opacity: 1;
}

.life-now {
  display: none;
}

/* ── the SVG diagram (poster, reduced motion, no WebGL) ── */

.lf-path {
  fill: none;
  stroke: color-mix(in oklab, var(--line-strong) 70%, var(--ink-3));
  stroke-width: 1.6;
  stroke-dasharray: 2 5;
  stroke-linecap: round;
}

.lf-ring {
  fill: none;
  stroke: color-mix(in oklab, var(--line-strong) 60%, var(--ink-3));
  stroke-width: 1.5;
  transition: stroke 260ms;
}

.lf-ring.is-past {
  stroke: var(--held);
}

.lf-ring.is-active {
  stroke: var(--accent);
  stroke-width: 2;
}

.lf-vault__body,
.lf-vault__rim {
  fill: color-mix(in oklab, var(--surface) 58%, transparent);
  stroke: color-mix(in oklab, var(--held) 60%, var(--line-strong));
  stroke-width: 1.3;
}

.lf-vault__lid {
  fill: color-mix(in oklab, var(--held) 22%, transparent);
  stroke: var(--held);
  stroke-width: 1.3;
  transform-box: fill-box;
  transform-origin: 0% 100%;
  transform: translate(0, -26px) rotate(-14deg);
  transition: transform 300ms var(--ease-out);
}

.life__stage[data-phase="locked"] .lf-vault__lid,
.life__stage[data-phase="hold"] .lf-vault__lid {
  transform: none;
}

.lf-pearl {
  transition: opacity 300ms;
}

.life__stage[data-phase="draft"] .lf-pearl,
.life__stage[data-phase="paid"] .lf-pearl {
  opacity: 0;
}

.lf-hold__arc {
  fill: none;
  stroke: var(--line);
  stroke-width: 3;
  stroke-linecap: round;
  opacity: 0;
  transition: opacity 300ms, stroke 300ms;
}

.life__stage[data-phase="hold"] .lf-hold__arc,
.life__stage[data-phase="paid"] .lf-hold__arc {
  opacity: 1;
}

.lf-hold__arc.is-full {
  stroke: var(--held);
}

.lf-spec {
  transition: transform 420ms var(--ease-out);
}

.lf-spec__halo {
  fill: none;
  stroke: color-mix(in oklab, var(--accent) 45%, transparent);
  stroke-width: 1;
}

.lf-anchors circle {
  fill: none;
}

[data-theme="dark"] .lf-spec__body {
  filter: drop-shadow(0 0 10px rgb(255 112 102 / 0.4));
}

/* ── scrolling copy ── */

.life__block {
  display: grid;
  align-content: center;
  min-height: 100svh;
  padding: 64px calc(var(--tank-inset) + var(--wl) + var(--tank-inset)) 64px;
}

.life__hero {
  min-height: calc(100svh - var(--tank-inset));
  padding-top: calc(var(--header-h) + 56px);
  padding-bottom: 72px;
}

.life__hero-copy {
  display: grid;
  gap: 20px;
  max-width: min(620px, 44vw);
}

.life__label {
  font-size: 0.9375rem;
  font-weight: 640;
  color: var(--current);
}

[data-theme="dark"] .life__label {
  color: var(--link);
}

.life__title {
  max-width: 12ch;
  color: var(--ink);
}

.life__lede {
  max-width: 38ch;
  font-size: var(--fs-body-l);
  line-height: 1.55;
  color: var(--ink-2);
  text-wrap: pretty;
}

.life__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.life__hint {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: clamp(20px, 4vh, 44px);
  font-size: 0.875rem;
  font-weight: 540;
  color: var(--ink-3);
}

.life__hint-line {
  position: relative;
  flex: none;
  width: 1px;
  height: 40px;
  overflow: hidden;
  background: var(--line);
}

.life__hint-line::after {
  content: "";
  position: absolute;
  left: 0;
  top: -40%;
  width: 1px;
  height: 40%;
  background: var(--accent);
  animation: life-hint 2.6s var(--ease-in-out) infinite;
}

@keyframes life-hint {
  to {
    top: 100%;
  }
}

.life__tail {
  min-height: 46svh;
  padding: 0;
}

/* step cards: calm white panels framed inside the water */
.life-card {
  display: grid;
  gap: 16px;
  width: min(520px, 100%);
  padding: clamp(24px, 2.4vw, 34px);
  border-radius: var(--r-panel);
  background: var(--surface);
  box-shadow: var(--shadow-float), 0 0 0 1px color-mix(in oklab, var(--line) 50%, transparent) inset;
}

.life-card__step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  font-weight: 580;
  color: var(--ink-3);
}

.life-card__n {
  display: inline-grid;
  place-items: center;
  height: 28px;
  padding-inline: 10px;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 0.8125rem;
  font-weight: 700;
}

.life-card__title {
  max-width: 18ch;
}

.life-card__body {
  color: var(--ink-2);
  text-wrap: pretty;
}

.life-card__list {
  display: grid;
  gap: 8px;
}

.life-card__list li {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.hw-tick {
  position: relative;
  width: 16px;
  height: 16px;
  margin-top: 0.2em;
  border-radius: 50%;
  background: var(--held);
}

.hw-tick::after {
  content: "";
  position: absolute;
  left: 4.6px;
  top: 4.2px;
  width: 6.4px;
  height: 3.8px;
  border-left: 1.6px solid #fff;
  border-bottom: 1.6px solid #fff;
  transform: rotate(-45deg);
}

.life-panel {
  display: grid;
  gap: 12px;
  margin-top: 2px;
  padding: 16px;
  border-radius: var(--r-card);
  background: var(--surface-2);
}

.life-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.life-panel__title {
  font-size: 0.9375rem;
  font-weight: 640;
}

.life-panel__badge {
  flex: none;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  box-shadow: 0 0 0 1px var(--line-strong) inset;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-2);
}

.life-panel__note {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--ink-2);
}

.life-brief {
  display: grid;
  gap: 3px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--surface);
}

.life-brief__k {
  font-size: 0.75rem;
  font-weight: 620;
  color: var(--ink-3);
}

.life-brief__title {
  font-size: 1.0625rem;
  font-weight: 640;
  letter-spacing: -0.008em;
}

.life-brief__body {
  font-size: 0.875rem;
  color: var(--ink-2);
}

.life-brief__budget {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 560;
}

.life-brief__pearl,
.life-pearl-dot {
  flex: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #fff 0%, #ece6f6 52%, #b4a6d6 100%);
  box-shadow: 0 1px 3px rgb(11 34 48 / 0.18);
}

.life-quotes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.life-quote {
  display: grid;
  gap: 3px;
  align-content: start;
  padding: 14px 14px 12px;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 0 0 1px transparent inset;
  transition: box-shadow var(--t-med) var(--ease-out);
}

.life-quote__name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  font-weight: 640;
}

.life-quote__chosen {
  height: 22px;
  padding-inline: 8px 9px;
  font-size: 0.71875rem;
  transition: opacity var(--t-med), transform var(--t-med) var(--ease-spring);
}

.life-quote__scope {
  font-size: 0.875rem;
  line-height: 1.4;
}

.life-quote__time {
  font-size: 0.8125rem;
  color: var(--ink-3);
}

.life-quote__price {
  margin-top: 8px;
  font-size: 1.625rem;
  font-weight: 440;
  font-stretch: 86%;
  letter-spacing: -0.035em;
  line-height: 1;
}

.life-quote__price span {
  font-size: 0.71875rem;
  font-weight: 620;
  font-stretch: 100%;
  letter-spacing: 0;
  color: var(--ink-3);
}

.life.is-scripted .life-quote__chosen {
  opacity: 0;
  transform: scale(0.86);
}

.life.is-scripted .life-card.is-chosen .life-quote__chosen {
  opacity: 1;
  transform: none;
}

.life-card.is-chosen .life-quote[data-quote="b"] {
  box-shadow: 0 0 0 1.5px var(--held) inset;
}

.life-funds {
  display: grid;
}

.life-funds li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
}

.life-funds li:first-child {
  border-top: 0;
  padding-top: 2px;
}

.life-funds__n {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line-strong) inset;
  font-size: 0.75rem;
  font-weight: 640;
  transition: background-color var(--t-med), color var(--t-med), box-shadow var(--t-med);
}

.life-funds li.is-done .life-funds__n {
  background: var(--ink);
  color: var(--ink-inverse);
  box-shadow: none;
}

.life-funds li.is-current .life-funds__n {
  background: var(--held);
  color: #fff;
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--held) 20%, transparent);
}

.life-funds__t {
  font-size: 0.9375rem;
  font-weight: 620;
}

.life-funds__b {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--ink-2);
}

.life-review__title {
  font-weight: 640;
}

.life-review {
  display: grid;
  gap: 8px;
}

.life-review li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
}

.life-review__box {
  position: relative;
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--ok);
  transition: background-color var(--t-med), box-shadow var(--t-med);
}

.life-review__box::after {
  content: "";
  position: absolute;
  left: 5.6px;
  top: 5.6px;
  width: 8px;
  height: 4.6px;
  border-left: 1.8px solid #fff;
  border-bottom: 1.8px solid #fff;
  transform: rotate(-45deg);
  transition: opacity var(--t-fast);
}

.life.is-scripted .life-review li:not(.is-checked) .life-review__box {
  background: transparent;
  box-shadow: 0 0 0 1.5px var(--line-strong) inset;
}

.life.is-scripted .life-review li:not(.is-checked) .life-review__box::after {
  opacity: 0;
}

.life-card__states {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}

.life-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 12px 0 4px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: background-color var(--t-med), color var(--t-med);
}

.life-chip__n {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--surface);
  font-size: 0.71875rem;
  font-weight: 680;
  transition: background-color var(--t-med), color var(--t-med);
}

.life-chip.is-past .life-chip__n {
  background: var(--held);
  color: #fff;
}

.life-chip.is-active {
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.life-chip.is-active .life-chip__n {
  background: var(--accent);
  color: #0b2230;
}

/* ── band layout (tablets and phones): the stage pins as a band on top ── */

@media (max-width: 960px) {
  .life {
    --band: 44svh;
  }

  .life__stage.tank {
    z-index: 3;
    height: var(--band);
    min-height: 300px;
    --r-tank: 26px;
  }

  .life__region {
    left: 4%;
    right: 4%;
    top: calc(var(--header-h) + 14px);
    bottom: 46px;
  }

  .life__scrim {
    display: none;
  }

  .life__flow {
    padding-top: calc(var(--band) + var(--tank-inset) * 2);
  }

  .life__block {
    min-height: 0;
    padding: 18px var(--margin) 18px;
  }

  .life__hero {
    min-height: 0;
    padding-top: 22px;
    padding-bottom: 36px;
  }

  .life__hero-copy {
    max-width: 640px;
  }

  .life__block[data-life-block="1"],
  .life__block[data-life-block="2"],
  .life__block[data-life-block="3"],
  .life__block[data-life-block="4"] {
    min-height: 74svh;
    align-content: start;
  }

  .life__tail {
    min-height: 18svh;
  }

  .life-card {
    width: 100%;
    box-shadow: 0 0 0 1px var(--line-soft) inset;
  }

  .life-tag {
  /* no backdrop-filter: this sits on a live 3D scene or video; blurring it re-reads that
     surface every frame and flickers on some GPUs */
    padding: 0;
    background: none;
    box-shadow: none;
  }

  .life__stage.is-placed .life-tag.is-active {
    background: none;
    box-shadow: none;
  }

  .life-tag__text {
    display: none;
  }

  .life-tag__n {
    width: 22px;
    height: 22px;
    font-size: 0.6875rem;
  }

  .life-money {
    width: 200px;
    padding: 9px 11px 10px 13px;
  }

  .life-money__t {
    font-size: 0.8125rem;
  }

  .life-money__b {
    font-size: 0.75rem;
  }

  .life-now {
    position: absolute;
    left: 14px;
    bottom: 12px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px 4px 4px;
    border-radius: var(--r-pill);
    background: var(--surface);
    box-shadow: var(--shadow-float);
    font-size: 0.8125rem;
    font-weight: 640;
  }

  .life-now__n {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent);
    color: #0b2230;
    font-size: 0.71875rem;
  }
}

@media (max-width: 560px) {
  .life-quotes {
    grid-template-columns: 1fr;
  }

  .life-money {
    width: 168px;
  }

  .life-money__b {
    display: none;
  }
}

/* ── shared bits for the sections below ──────────────────────────────── */

.hw-kicker {
  margin-bottom: 14px;
  font-size: 0.9375rem;
  font-weight: 620;
  color: var(--current);
}

[data-theme="dark"] .hw-kicker {
  color: var(--link);
}

.hw-head__title {
  max-width: 20ch;
}

.hw-head__lede {
  margin-top: 18px;
  max-width: 60ch;
}

/* ── trust ───────────────────────────────────────────────────────────── */

.hw-trust__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: center;
}

.hw-trust__art {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: var(--r-panel);
  overflow: hidden;
  background: var(--surface-2);
}

.hw-trust__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 46% 60%;
}

.hw-trust__cap {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--surface-glass);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  font-size: 0.8125rem;
  font-weight: 560;
  color: var(--ink);
}

.hw-trust__cap-dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--held);
}

.hw-trust__copy .t-h1 {
  max-width: 14ch;
}

.hw-trust__list {
  margin-top: clamp(28px, 3vw, 40px);
}

.hw-trust__list > div {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 8px 24px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.hw-trust__list > div:last-child {
  border-bottom: 1px solid var(--line);
}

.hw-trust__list dt {
  font-size: 1.0625rem;
  font-weight: 640;
}

.hw-trust__list dd {
  margin: 0;
  color: var(--ink-2);
}

@media (max-width: 960px) {
  .hw-trust__grid {
    grid-template-columns: 1fr;
  }

  .hw-trust__list > div {
    grid-template-columns: 1fr;
  }
}

/* ── pricing slabs ───────────────────────────────────────────────────── */

.hw-pricing {
  padding-top: var(--section-tight);
}

.hw-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gutter);
  margin-top: clamp(40px, 5vw, 64px);
}

.hw-slab {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 560px;
  padding: clamp(24px, 2.6vw, 36px);
  border-radius: var(--r-panel);
  background: var(--surface);
  overflow: hidden;
  isolation: isolate;
}

.hw-slab__name {
  font-size: 1.0625rem;
  font-weight: 640;
}

.hw-slab__price {
  margin: clamp(24px, 4vw, 48px) 0 6px;
  font-size: clamp(3.6rem, 6.4vw, 6rem);
  font-weight: 330;
  font-stretch: 80%;
  letter-spacing: -0.05em;
  line-height: 0.86;
  font-variant-numeric: lining-nums proportional-nums;
}

.hw-slab__price--words {
  font-size: clamp(2.4rem, 3.6vw, 3.4rem);
  font-weight: 420;
  letter-spacing: -0.03em;
  line-height: 1;
  font-stretch: 86%;
}

.hw-slab__note {
  min-height: 3em;
  font-size: 0.9375rem;
  color: var(--ink-2);
  text-wrap: pretty;
}

.hw-slab__promo {
  align-self: flex-start;
  padding: 6px 11px;
  border-radius: 10px;
  background: color-mix(in oklab, var(--accent) 18%, transparent);
  font-size: 0.8125rem;
  font-weight: 560;
  line-height: 1.4;
}

.hw-slab__list {
  display: grid;
  gap: 11px;
  margin-top: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}

.hw-slab__list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.9375rem;
  line-height: 1.45;
}

.hw-slab__list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.42em;
  width: 9px;
  height: 5px;
  border-left: 1.6px solid var(--held);
  border-bottom: 1.6px solid var(--held);
  transform: rotate(-45deg);
}

.hw-slab__cta {
  align-self: flex-start;
  margin-top: auto;
}

.hw-slab__list + .hw-slab__cta {
  margin-top: auto;
}

.hw-slab .hw-slab__list {
  margin-bottom: 28px;
}

/* the one that matters: escrowed delivery on the night field */
.hw-slab--feature {
  background:
    radial-gradient(80% 60% at 100% 0%, rgb(168 151 216 / 0.34), transparent 62%),
    radial-gradient(60% 50% at 0% 100%, rgb(28 111 118 / 0.42), transparent 70%),
    #0b2230;
  color: #eef3f4;
}

.hw-slab--feature .hw-slab__note,
.hw-slab--feature .hw-slab__list li {
  color: #c4d3d8;
}

.hw-slab--feature .hw-slab__list {
  border-top-color: rgb(255 255 255 / 0.12);
}

.hw-slab--feature .hw-slab__list li::before {
  border-color: #6cc6c8;
}

.hw-slab--feature .hw-slab__promo {
  position: relative;
  padding: 0 0 0 16px;
  background: none;
  color: #ffc9c2;
}

.hw-slab--feature .hw-slab__promo::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

[data-theme="dark"] .hw-slab--feature {
  background:
    radial-gradient(80% 60% at 100% 0%, rgb(184 168 245 / 0.22), transparent 62%),
    radial-gradient(60% 50% at 0% 100%, rgb(82 181 185 / 0.2), transparent 70%),
    #123247;
  box-shadow: 0 0 0 1px var(--line-strong) inset;
}

@media (max-width: 1060px) {
  .hw-plans {
    grid-template-columns: 1fr;
    max-width: 640px;
  }

  .hw-slab {
    min-height: 0;
  }
}

/* ── where the money is ──────────────────────────────────────────────── */

.hw-money {
  margin-top: var(--section);
}

.hw-ledger {
  margin-top: clamp(32px, 4vw, 56px);
  padding: clamp(20px, 2.6vw, 36px);
  border-radius: var(--r-panel);
  background: var(--surface);
}

.hw-ledger__legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding-bottom: 18px;
  font-size: 0.8125rem;
  color: var(--ink-2);
}

.hw-ledger__legend .life-panel__badge {
  margin-left: auto;
}

.hw-ledger__key {
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 4px;
}

.hw-ledger__key + span {
  margin-right: 10px;
}

.hw-ledger__key--free {
  background: var(--surface-2);
  box-shadow: 0 0 0 1px var(--line-strong) inset;
}

.hw-ledger__key--held {
  background: var(--held);
}

.hw-ledger__row {
  display: grid;
  grid-template-columns: minmax(150px, 2.4fr) minmax(0, 5fr) minmax(220px, 3.2fr);
  gap: 16px 36px;
  align-items: center;
  padding: 26px 0;
  border-top: 1px solid var(--line-soft);
}

.hw-ledger__when {
  font-size: 0.9375rem;
  font-weight: 640;
  color: var(--current);
}

[data-theme="dark"] .hw-ledger__when {
  color: var(--link);
}

.hw-ledger__text p {
  margin-top: 6px;
  font-size: 0.9375rem;
  color: var(--ink-2);
  text-wrap: pretty;
}

.hw-bar {
  position: relative;
  display: flex;
  height: 16px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  box-shadow: 0 0 0 1px var(--line) inset;
}

.hw-bar > span {
  display: block;
  width: var(--w);
  height: 100%;
}

.hw-bar__free {
  border-radius: var(--r-pill) 0 0 var(--r-pill);
}

.hw-bar__held {
  border-radius: 0 var(--r-pill) var(--r-pill) 0;
  background: repeating-linear-gradient(-45deg, var(--held) 0 5px, color-mix(in oklab, var(--held) 78%, #fff) 5px 10px);
}

.hw-bar__ghost.hw-bar__ghost {
  position: absolute;
  left: var(--at);
  top: 0;
  border-radius: 6px;
  outline: 1.5px dashed color-mix(in oklab, var(--held) 70%, transparent);
  outline-offset: -1.5px;
}

.hw-bar__out {
  border-radius: 0 var(--r-pill) var(--r-pill) 0;
  background: var(--ok);
  opacity: 0.2;
}

.hw-bar__cap {
  grid-column: 3;
  margin-top: -6px;
  font-size: 0.8125rem;
  color: var(--ink-3);
}

@media (max-width: 960px) {
  .hw-ledger__row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hw-bar__cap {
    grid-column: 1;
    margin-top: 0;
  }

  .hw-ledger__legend .life-panel__badge {
    margin-left: 0;
  }
}

/* ── fee questions ───────────────────────────────────────────────────── */

.hw-faq {
  margin-top: var(--section);
}

.hw-faq__side {
  display: grid;
  gap: 14px;
  align-content: start;
}

.hw-faq__side .t-h2 {
  color: var(--ink);
}

.hw-faq__card {
  display: grid;
  gap: 8px;
  justify-items: start;
  margin-top: 16px;
  padding: 22px;
  border-radius: var(--r-card);
  background: var(--surface);
}

.hw-faq__card .btn {
  margin-top: 8px;
}

/* ── work: project references, set as type ─────────────────────────── */

.hw-cases {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
  margin-top: clamp(36px, 4vw, 56px);
}

.hw-case {
  grid-column: span 6;
}

.hw-case--a,
.hw-case--d {
  grid-column: span 7;
}

.hw-case--b,
.hw-case--c {
  grid-column: span 5;
}

.hw-case__link {
  --case-tone: var(--current);
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  gap: 14px;
  height: 100%;
  min-height: 360px;
  padding: clamp(22px, 2.6vw, 34px);
  border-radius: var(--r-panel);
  background: var(--surface);
  overflow: hidden;
  isolation: isolate;
  transition: box-shadow var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out);
}

/* a quiet tide-line in the corner: the only ornament, tinted by kind of work */
.hw-case__link::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -30%;
  bottom: -55%;
  width: 90%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in oklab, var(--case-tone) 16%, transparent), transparent 66%);
  transition: transform 900ms var(--ease-out);
}

.hw-case__link:hover {
  box-shadow: var(--shadow-float);
  transform: translateY(-3px);
}

.hw-case__link:hover::before {
  transform: translate(-6%, -6%);
}

.hw-case--a .hw-case__link { --case-tone: var(--data-2); }
.hw-case--b .hw-case__link { --case-tone: var(--data-3); }
.hw-case--c .hw-case__link { --case-tone: var(--data-5); }

.hw-case--d .hw-case__link {
  --case-tone: var(--data-1);
  background: #0b2230;
  color: #eef3f4;
}

[data-theme="dark"] .hw-case--d .hw-case__link {
  background: #041018;
  box-shadow: 0 0 0 1px var(--line) inset;
}

.hw-case__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
}

.hw-case__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 640;
  color: color-mix(in oklab, var(--case-tone) 80%, var(--ink));
}

.hw-case__label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--case-tone);
}

.hw-case__flag {
  background: var(--held-soft);
  color: color-mix(in oklab, var(--held) 70%, var(--ink));
}

.hw-case__title {
  max-width: 16ch;
  font-size: clamp(1.75rem, 2.6vw, 2.375rem);
  font-weight: 650;
  font-stretch: 86%;
  line-height: 1.04;
  letter-spacing: -0.024em;
  text-wrap: balance;
}

.hw-case__text {
  max-width: 46ch;
  font-size: 0.9375rem;
  color: var(--ink-2);
  text-wrap: pretty;
}

.hw-case__ask {
  display: grid;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

.hw-case__ask-k {
  font-size: 0.8125rem;
  font-weight: 620;
  color: var(--ink-3);
}

.hw-case__ask-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.hw-case__ask-item {
  position: relative;
  padding-left: 20px;
  font-size: 0.9375rem;
  font-weight: 560;
}

.hw-case__ask-item::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.38em;
  width: 9px;
  height: 5px;
  border-left: 1.6px solid var(--held);
  border-bottom: 1.6px solid var(--held);
  transform: rotate(-45deg);
}

.hw-case__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
}

.hw-case__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hw-case__go {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: color-mix(in oklab, var(--link) 45%, transparent);
}

.hw-case--d .hw-case__text,
.hw-case--d .hw-case__ask-k {
  color: #b8c9cf;
}

.hw-case--d .hw-case__ask {
  border-top-color: rgb(255 255 255 / 0.12);
}

.hw-case--d .hw-case__ask-item::before {
  border-color: #6cc6c8;
}

.hw-case--d .hw-case__label {
  color: #8fd8d9;
}

.hw-case--d .chip--outline {
  color: #c4d3d8;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.16) inset;
}

.hw-case--d .hw-case__flag {
  background: rgb(108 198 200 / 0.16);
  color: #bfeff0;
}

.hw-case--d .hw-case__go {
  color: #8fd8d9;
}

:lang(zh) .hw-case__title {
  max-width: none;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

@media (max-width: 860px) {
  .hw-case,
  .hw-case--a,
  .hw-case--b,
  .hw-case--c,
  .hw-case--d {
    grid-column: 1 / -1;
  }

  .hw-case__link {
    min-height: 0;
  }
}

/* ── what "delivered" means: an annotated anatomy ─────────────────────── */

.hw-proof {
  margin-top: var(--section);
}

.hw-proof__head {
  max-width: 760px;
}

.hw-proof__head .t-lede {
  margin-top: 18px;
  max-width: 54ch;
}

.hw-anatomy {
  position: relative;
  margin-top: clamp(32px, 4vw, 56px);
  min-height: clamp(520px, 46vw, 640px);
  border-radius: var(--r-tank);
  background:
    radial-gradient(42% 52% at 50% 50%, color-mix(in oklab, var(--lilac) 26%, transparent), transparent 70%),
    var(--surface);
  overflow: hidden;
}

.hw-anatomy__object {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(400px, 34%);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
}

.hw-anatomy__object img {
  position: relative;
  z-index: 1;
  width: 84%;
  filter: drop-shadow(0 32px 48px rgb(11 34 48 / 0.18));
}

.hw-anatomy__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.hw-anatomy__ring--a {
  inset: -6%;
}

.hw-anatomy__ring--b {
  inset: -22%;
  border-style: dashed;
  border-color: color-mix(in oklab, var(--line-strong) 60%, transparent);
}

.hw-anatomy__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hw-anatomy__lines polyline {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.hw-anatomy__lines circle {
  fill: var(--accent);
}

.hw-part {
  position: absolute;
  z-index: 2;
  width: min(280px, 26%);
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--surface-glass);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: var(--shadow-float);
}

.hw-part--a {
  right: 76%;
  bottom: 82%;
  transform: translate(0, 50%);
}

.hw-part--b {
  left: 78%;
  top: 38%;
  transform: translate(0, -50%);
}

.hw-part--c {
  right: 76%;
  top: 80%;
  transform: translate(0, -50%);
}

.hw-part__title {
  font-size: 1.0625rem;
  font-weight: 640;
}

.hw-part__body {
  margin-top: 4px;
  font-size: 0.9rem;
  color: var(--ink-2);
}

@media (max-width: 960px) {
  .hw-anatomy {
    min-height: 0;
    padding: 24px 20px;
    display: grid;
    gap: 14px;
  }

  .hw-anatomy__object {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: min(260px, 70%);
    margin: 20px auto 28px;
  }

  .hw-anatomy__lines {
    display: none;
  }

  .hw-anatomy__parts {
    display: grid;
    gap: 10px;
  }

  .hw-part,
  .hw-part--a,
  .hw-part--b,
  .hw-part--c {
    position: relative;
    inset: auto;
    width: 100%;
    transform: none;
    background: var(--surface-2);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* ── closer ──────────────────────────────────────────────────────────── */

.hw-closer {
  margin: var(--section) var(--tank-inset) 0;
  border-radius: var(--r-tank);
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 80% at 82% 6%, color-mix(in oklab, var(--lilac) 26%, transparent), transparent 60%),
    radial-gradient(ellipse 50% 60% at 8% 100%, color-mix(in oklab, var(--current) 18%, transparent), transparent 70%),
    var(--surface);
}

.hw-closer__inner {
  display: grid;
  justify-items: center;
  gap: 20px;
  max-width: 1040px;
  margin-inline: auto;
  padding: clamp(72px, 10vw, 140px) var(--margin);
  text-align: center;
}

.hw-closer__title {
  max-width: 12ch;
}

.hw-closer__lede {
  max-width: 52ch;
  font-size: var(--fs-body-l);
  line-height: 1.55;
  color: var(--ink-2);
}

.hw-intake {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  width: min(700px, 100%);
  margin-top: 14px;
  padding: 8px 8px 8px 22px;
  border-radius: 30px;
  background: var(--bg);
  box-shadow: var(--shadow-float), 0 0 0 1px color-mix(in oklab, var(--line) 70%, transparent) inset;
  text-align: left;
  transition: box-shadow var(--t-med) var(--ease-out);
}

.hw-intake:focus-within {
  box-shadow: var(--shadow-float), 0 0 0 1.5px var(--focus) inset, 0 0 0 6px color-mix(in oklab, var(--focus) 16%, transparent);
}

.hw-intake__input {
  flex: 1;
  min-height: 56px;
  max-height: 180px;
  padding: 16px 0 12px;
  border: 0;
  background: transparent;
  resize: none;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--ink);
  field-sizing: content;
}

.hw-intake__input::placeholder {
  color: var(--ink-3);
}

.hw-intake__input:focus-visible {
  outline: none;
}

.hw-closer__note {
  font-size: 0.8125rem;
  color: var(--ink-3);
}

@media (max-width: 640px) {
  .hw-intake {
    flex-direction: column;
    align-items: stretch;
    padding: 8px 8px 8px 16px;
    border-radius: 24px;
  }

  .hw-intake .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .life__hint-line::after {
    animation: none;
    top: 30%;
  }
}

/* 中文 headings: keep phrases together; break at punctuation or a zero-width hint */
:lang(zh) .life__title,
:lang(zh) .life-card__title,
:lang(zh) .hw-head__title,
:lang(zh) .hw-trust__copy .t-h1,
:lang(zh) .hw-proof__head .t-h1,
:lang(zh) .hw-closer__title,
:lang(zh) .hw-faq__side .t-h2 {
  max-width: none;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
