/* Raise exit value page (raise-exit-value.html). Page-only styles; tokens and reveal come from site.css. */
.xv-panel { position: relative; overflow: hidden; border-radius: 36px; color: var(--paper);
  background-image: radial-gradient(120% 95% at 15% 0%, rgba(255,255,255,.14), rgba(255,255,255,0) 55%), linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.2)), linear-gradient(135deg, #111111, #2a2f2c);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 34px 70px -38px rgba(17,17,17,.7); }
.xv-stone { display: inline-block; width: 58px; height: 20px; border-radius: 999px; flex: none;
  background: radial-gradient(90% 120% at 25% 10%, rgba(255,255,255,.55), rgba(255,255,255,0) 45%), linear-gradient(180deg, #14b8aa, #0a8075);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 -2px 3px rgba(0,0,0,.25), 0 8px 16px -8px rgba(17,17,17,.6); }
.xv-stone.ink { background: radial-gradient(90% 120% at 25% 10%, rgba(255,255,255,.35), rgba(255,255,255,0) 45%), linear-gradient(180deg, #3a3f3c, #111111); }
.xv-stone.moss { background: radial-gradient(90% 120% at 25% 10%, rgba(255,255,255,.35), rgba(255,255,255,0) 45%), linear-gradient(180deg, #4a5650, #2f3833); }
.xv-stone.deep { background: radial-gradient(90% 120% at 25% 10%, rgba(255,255,255,.4), rgba(255,255,255,0) 45%), linear-gradient(180deg, #11786d, #0a5a52); }
.xv-kicker { font: 700 13px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin: 0 0 14px; }
.xv-src { display: block; margin-top: 8px; font-size: 12px; color: var(--ink-soft); opacity: .8; }

/* 1. Savings vs value: text + drawn chart */
.xv-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: center; margin-top: clamp(64px, 9vw, 120px); }
.xv-split h2 { font: 800 clamp(40px, 5vw, 72px)/1 var(--display); letter-spacing: -.02em; margin: 0 0 22px; }
.xv-split p { font-size: 18px; color: var(--ink-soft); max-width: 46ch; margin: 0 0 14px; }
.xv-chart { margin: 0; padding: clamp(22px, 3vw, 36px); }
.xv-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.xv-chart .grid line { stroke: rgba(244,245,242,.08); }
.xv-chart .save { fill: none; stroke: rgba(244,245,242,.45); stroke-width: 3; stroke-dasharray: 2 9; stroke-linecap: round; }
.xv-chart .value { fill: none; stroke: #14b8aa; stroke-width: 5; stroke-linecap: round; }
.xv-chart .area { fill: url(#xvArea); }
.xv-chart .dot { fill: #14b8aa; }
.xv-chart .halo { fill: #14b8aa; opacity: .25; }
.xv-chart text { font: 600 14px var(--body); fill: rgba(244,245,242,.75); }
.xv-chart text.hi { font: 800 18px var(--display); fill: var(--paper); }

/* 2. The equation + needle */
.xv-needle { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; margin-top: clamp(64px, 9vw, 120px); }
.xv-needle .xv-panel { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; border-radius: 36px 0 0 36px; }
.xv-eq { font: 800 clamp(30px, 3.4vw, 50px)/1.05 var(--display); letter-spacing: -.02em; margin: 0; }
.xv-eq b { color: #14b8aa; font-weight: 800; }
.xv-eq span { color: rgba(244,245,242,.45); font-weight: 600; }
.xv-gauge svg { display: block; width: 100%; max-width: 440px; height: auto; margin: 0 auto; }
.xv-gauge .track { fill: none; stroke: rgba(244,245,242,.1); stroke-width: 22; stroke-linecap: round; }
.xv-gauge .fill { fill: none; stroke: url(#xvGauge); stroke-width: 22; stroke-linecap: round; }
.xv-gauge .tick { stroke: rgba(244,245,242,.35); stroke-width: 2; stroke-linecap: round; }
.xv-gauge .hand { transform-box: view-box; transform-origin: 160px 170px; transform: rotate(63deg); }
.xv-gauge .hand line { stroke: var(--paper); stroke-width: 5; stroke-linecap: round; }
.xv-gauge .hub { fill: var(--paper); }
.xv-gauge .hubc { fill: #14b8aa; }
.xv-gauge text { font: 700 12px var(--body); letter-spacing: .08em; text-transform: uppercase; fill: rgba(244,245,242,.55); }
.xv-levers { list-style: none; margin: 0; padding: clamp(28px, 4vw, 52px); background: var(--paper); border-radius: 0 36px 36px 0;
  box-shadow: inset 0 1px 0 #fff, 0 34px 70px -40px rgba(17,17,17,.45); display: grid; gap: 0; align-content: center; }
.xv-levers h2 { font: 800 clamp(32px, 3.4vw, 50px)/1.02 var(--display); letter-spacing: -.02em; margin: 0 0 12px; }
.xv-levers > p { color: var(--ink-soft); margin: 0 0 18px; font-size: 17px; }
.xv-levers li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: start; padding: 18px 0; border-top: 1px solid var(--line); }
.xv-levers li .xv-stone { margin-top: 6px; width: 44px; height: 16px; }
.xv-levers h3 { font: 800 21px/1.15 var(--display); margin: 0 0 4px; }
.xv-levers li p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
.xv-tag { font: 700 11px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--teal-deep); background: var(--mist); padding: 7px 10px; border-radius: 999px; white-space: nowrap; margin-top: 4px; }

/* 3. Path to the data room: stepping stones on a track */
.xv-path-head { margin-top: clamp(72px, 10vw, 140px); max-width: 760px; }
.xv-path-head h2 { font: 800 clamp(40px, 5vw, 72px)/1 var(--display); letter-spacing: -.02em; margin: 0 0 16px; }
.xv-path-head p { font-size: 18px; color: var(--ink-soft); margin: 0; }
.xv-path { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); margin-top: 40px; padding-top: 150px; }
.xv-path::before { content: ""; position: absolute; left: 0; right: 0; top: 150px; height: 4px; border-radius: 4px; background: var(--line); }
.xv-path::after { content: ""; position: absolute; left: 0; top: 150px; height: 4px; width: 100%; border-radius: 4px; background: linear-gradient(90deg, #111111, #2f3833, #0a5a52, #0fa89b); transform-origin: left; }
.xv-step { position: relative; padding-top: 28px; }
.xv-step .xv-stone { position: absolute; left: 0; width: clamp(80px, 9vw, 120px); height: clamp(28px, 3vw, 38px); }
.xv-step:nth-child(1) .xv-stone { top: -48px; } .xv-step:nth-child(2) .xv-stone { top: -78px; }
.xv-step:nth-child(3) .xv-stone { top: -108px; } .xv-step:nth-child(4) .xv-stone { top: -138px; }
.xv-step .when { font: 700 12px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--teal-deep); }
.xv-step h3 { font: 800 clamp(20px, 1.8vw, 25px)/1.12 var(--display); margin: 10px 0 8px; }
.xv-step p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }

/* 4. Buyer numbers, big and open */
.xv-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: 36px; }
.xv-stat { border-top: 2px solid var(--ink); padding-top: 18px; }
.xv-stat .num { font: 900 clamp(64px, 8vw, 120px)/.9 var(--display); letter-spacing: -.04em; color: var(--ink); display: block; }
.xv-stat .num em { font-style: normal; color: var(--teal); }
.xv-stat p { margin: 14px 0 0; color: var(--ink-soft); font-size: 16px; max-width: 30ch; }
.xv-note { margin-top: 30px; font: 700 clamp(20px, 2vw, 26px)/1.25 var(--display); max-width: 44ch; }

/* 5. Both sides of the table */
.xv-table { margin-top: clamp(72px, 10vw, 140px); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.xv-table h2 { font: 800 clamp(38px, 4.6vw, 64px)/1 var(--display); letter-spacing: -.02em; margin: 0 0 20px; color: var(--paper); }
.xv-table p { color: rgba(244,245,242,.78); font-size: 17px; margin: 0 0 14px; max-width: 50ch; }
.xv-sides { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 260px; }
.xv-sides::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, rgba(244,245,242,0), rgba(244,245,242,.5), rgba(244,245,242,0)); }
.xv-side { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 0 clamp(14px, 2vw, 28px); }
.xv-side:first-child { align-items: flex-end; text-align: right; }
.xv-side .xv-stone { width: clamp(90px, 10vw, 130px); height: clamp(30px, 3.2vw, 42px); }
.xv-side b { font: 800 clamp(18px, 1.7vw, 23px)/1.15 var(--display); color: var(--paper); }
.xv-side small { display: block; font: 700 11px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: #14b8aa; margin-bottom: 8px; }

/* 6. Fit and network: two open columns */
.xv-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 72px); margin-top: clamp(64px, 9vw, 120px); }
.xv-duo article { border-top: 2px solid var(--ink); padding-top: 22px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; }
.xv-duo .xv-stone { margin-top: 10px; }
.xv-duo h3 { font: 800 clamp(24px, 2.4vw, 32px)/1.1 var(--display); margin: 0 0 12px; letter-spacing: -.01em; }
.xv-duo p { margin: 0; color: var(--ink-soft); font-size: 17px; }

@media (max-width: 900px) {
  .xv-split, .xv-needle, .xv-table, .xv-duo { grid-template-columns: minmax(0, 1fr); }
  .xv-needle .xv-panel { border-radius: 32px 32px 0 0; }
  .xv-levers { border-radius: 0 0 32px 32px; }
  .xv-path { grid-template-columns: minmax(0, 1fr); padding-top: 0; padding-left: 74px; gap: 34px; }
  .xv-path::before, .xv-path::after { top: 0; bottom: 0; left: 22px; width: 4px; height: auto; right: auto; background: var(--line); }
  .xv-path::after { background: linear-gradient(180deg, #111111, #2f3833, #0a5a52, #0fa89b); transform-origin: top; }
  .xv-step { padding-top: 0; }
  .xv-step .xv-stone, .xv-step:nth-child(n) .xv-stone { top: 2px; left: -74px; width: 48px; height: 18px; }
  .xv-stats { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) { .xv-levers li { grid-template-columns: auto minmax(0, 1fr); } .xv-tag { grid-column: 2; justify-self: start; margin-top: 0; } }

/* Motion (only with JS and no reduced-motion preference) */
@media (prefers-reduced-motion: no-preference) {
  .js .xv-chart .value, .js .xv-chart .save { stroke-dasharray: 900; stroke-dashoffset: 900; }
  .js .xv-chart .save { stroke-dasharray: 900; }
  .js .xv-chart .area, .js .xv-chart .dot, .js .xv-chart .halo, .js .xv-chart text { opacity: 0; }
  .js .xv-chart.in .value { transition: stroke-dashoffset 2s var(--ease) .2s; stroke-dashoffset: 0; }
  .js .xv-chart.in .save { transition: stroke-dashoffset 1.6s ease .1s; stroke-dashoffset: 0; }
  .js .xv-chart.in .area { transition: opacity 1.2s ease 1.2s; opacity: 1; }
  .js .xv-chart.in text, .js .xv-chart.in .dot { transition: opacity .6s ease 1.8s; opacity: 1; }
  .js .xv-chart.in .halo { opacity: .25; animation: xv-pulse 2.4s ease-in-out 2s infinite; transform-box: fill-box; transform-origin: center; }
  @keyframes xv-pulse { 0%, 100% { transform: scale(1); opacity: .25; } 50% { transform: scale(1.9); opacity: 0; } }

  .js .xv-gauge .hand { transform: rotate(-78deg); }
  .js .xv-gauge .fill { stroke-dasharray: 410; stroke-dashoffset: 410; }
  .js .xv-gauge.in .hand { transition: transform 2.2s cubic-bezier(.34, 1.36, .5, 1) .4s; transform: rotate(63deg); }
  .js .xv-gauge.in .fill { transition: stroke-dashoffset 2.2s var(--ease) .4s; stroke-dashoffset: 62; }

  .js .xv-path::after { transform: scaleX(0); }
  .js .xv-path.in::after { transition: transform 2s var(--ease) .2s; transform: scaleX(1); }
  .js .xv-path .xv-stone { opacity: 0; translate: 0 26px; scale: .8; }
  .js .xv-path.in .xv-stone { transition: opacity .5s ease, translate .7s cubic-bezier(.34, 1.56, .64, 1), scale .7s cubic-bezier(.34, 1.56, .64, 1); opacity: 1; translate: 0 0; scale: 1; }
  .js .xv-path.in .xv-step:nth-child(1) .xv-stone { transition-delay: .3s; } .js .xv-path.in .xv-step:nth-child(2) .xv-stone { transition-delay: .75s; }
  .js .xv-path.in .xv-step:nth-child(3) .xv-stone { transition-delay: 1.2s; } .js .xv-path.in .xv-step:nth-child(4) .xv-stone { transition-delay: 1.65s; }

  .js .xv-sides .xv-side:first-child .xv-stone { translate: -60px 0; opacity: 0; }
  .js .xv-sides .xv-side:last-child .xv-stone { translate: 60px 0; opacity: 0; }
  .js .xv-sides.in .xv-side .xv-stone { transition: translate 1.1s var(--ease) .3s, opacity .6s ease .3s; translate: 0 0; opacity: 1; }
  .js .xv-sides::before { scale: 1 0; }
  .js .xv-sides.in::before { transition: scale 1s var(--ease); scale: 1 1; }
  .xv-stone { transition: rotate .4s var(--ease); }
  .xv-levers li:hover .xv-stone, .xv-duo article:hover .xv-stone { rotate: -8deg; }
}
@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
  .js .xv-path::after { transform: scaleY(0); } .js .xv-path.in::after { transform: scaleY(1); }
}
.xv-stat .num small { display: block; font-size: .42em; letter-spacing: -.01em; margin-bottom: .1em; }
