/* Censum /win premium visual polish.
   Copy stays in appeal-result.jsx. This file owns only visual system,
   spacing, responsive layout, and overflow control for the standalone page. */

:root {
  --bg: #0d0e10;
  --bg-2: #111215;
  --surface: rgba(31, 32, 37, 0.92);
  --surface-2: rgba(40, 40, 45, 0.86);
  --surface-3: rgba(243, 239, 229, 0.055);
  --rule: rgba(243, 239, 229, 0.15);
  --rule-soft: rgba(243, 239, 229, 0.085);
  --ink: #f3efe5;
  --ink-2: #ddd6c8;
  --ink-60: #b4aa99;
  --ink-40: #706959;
  --accent: #d4a857;
  --accent-2: #e4c27c;
  --good: #7bb395;
  --warn: #c97064;
  --win-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --win-shadow-soft: 0 16px 42px rgba(0, 0, 0, 0.24);
  --win-desktop-scale: 0.92;
}

html,
body {
  min-height: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  background-color: #0d0e10 !important;
  background-image: linear-gradient(180deg, #0d0e10 0%, #111216 48%, #0c0d0f 100%) !important;
  color: var(--ink) !important;
}

body.win-premium {
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.win-premium::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.34;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.035), transparent 24%, rgba(255, 255, 255, 0.018) 58%, transparent);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.18));
}

#root {
  position: relative;
  z-index: 1;
  overflow-x: clip;
}

@media (min-width: 900px) {
  #root {
    zoom: var(--win-desktop-scale);
  }
}

#root,
#root * {
  box-sizing: border-box;
  min-width: 0;
}

#root > .win-page {
  min-height: 100vh;
  padding-bottom: 0 !important;
  background: transparent !important;
}

#root .win-shell {
  width: 100% !important;
  /* 1260 → 1340 so the graphs / deliverables / FAQ line up with the Hero +
     pricing sections (both 1340) down the whole page — Chad 2026-06-09 */
  max-width: 1340px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

/* Header */
.win-topbar {
  border-bottom: 1px solid rgba(243, 239, 229, 0.12) !important;
  background: rgba(13, 14, 16, 0.92) !important;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28) !important;
  backdrop-filter: blur(18px) saturate(145%) !important;
}

.win-topbar-inner {
  max-width: 1340px !important;
  padding: 20px 32px !important;
}

.win-topbar-inner > span:first-child {
  color: var(--ink) !important;
  font-size: 27px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  text-transform: capitalize;
}

.win-topbar-inner > span:first-child span {
  background: var(--accent) !important;
  box-shadow: 0 0 18px rgba(212, 168, 87, 0.28);
}

.win-topbar .hide-mobile {
  padding: 9px 14px;
  border: 1px solid rgba(243, 239, 229, 0.11);
  border-radius: 16px;
  background: rgba(243, 239, 229, 0.035);
}

.win-topbar a[href="#choose"] {
  display: inline-flex !important;
  align-items: center;
  min-height: 38px !important;
  padding: 9px 14px 8px !important;
  border: 1px solid rgba(212, 168, 87, 0.54) !important;
  border-radius: 16px !important;
  background: rgba(212, 168, 87, 0.10);
  color: var(--ink) !important;
  text-decoration: none !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* Shared sections */
.win-section,
.win-footer {
  position: relative;
  border-color: rgba(243, 239, 229, 0.12) !important;
  background: transparent !important;
}

.win-section {
  padding: 88px 32px !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background-color: transparent !important;
  background-image: none !important;
}

/* Tighter gap between the scoreboard (Hero) and the savings graphs (Math).
   Hero bottom is also set by the .win-hero rule below (edited to 40px). — Chad 2026-06-09 */
.win-math { padding-top: 32px !important; }

.win-footer {
  border-top: 0 !important;
}

.win-section:nth-of-type(even) {
  background-image: none !important;
}

.win-section-label {
  margin-bottom: 38px !important;
}

.win-section-label > span:not(:first-child):not(:last-child) {
  background: transparent !important;
  opacity: 0 !important;
}

#root h1,
#root h2,
#root h3,
#root p,
#root li,
#root a,
#root button,
#root input {
  letter-spacing: 0 !important;
}

#root h1,
#root h2,
#root h3 {
  color: var(--ink) !important;
  text-wrap: balance;
}

#root h1 {
  font-size: 84px !important;
  font-weight: 800 !important;
  line-height: 0.96 !important;
}

#root h2 {
  font-size: 50px !important;
  font-weight: 750 !important;
  line-height: 1.08 !important;
}

#root h3 {
  font-size: 34px !important;
  font-weight: 700 !important;
  line-height: 1.12 !important;
}

#root .tnum {
  font-variant-numeric: tabular-nums;
}

#root [style*="fontStyle: 'italic'"],
#root [style*="font-style: italic"] {
  color: var(--ink-60) !important;
}

/* Hero */
.win-hero {
  padding-top: 72px !important;
  padding-bottom: 40px !important;
}

.win-hero-meta {
  margin-bottom: 38px !important;
  padding: 18px 0;
  border-top: 1px solid rgba(243, 239, 229, 0.12);
  border-bottom: 1px solid rgba(243, 239, 229, 0.08);
}

.win-hero-meta > div {
  padding: 2px 0;
}

.win-address-row {
  margin-bottom: 44px !important;
}

.win-address-block {
  max-width: 760px;
}

#root .win-address-block h1 {
  font-size: clamp(38px, 4.8vw, 62px) !important;
  line-height: 0.98 !important;
}

.win-hero-media-card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid rgba(243, 239, 229, 0.16);
  border-radius: 16px;
  background: rgba(21, 22, 25, 0.72);
  box-shadow: var(--win-shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.win-hero-media-art {
  position: absolute;
  inset: 0;
}

.win-hero-media-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.88) contrast(1.04) brightness(0.86);
}

.win-hero-media-card.has-image .win-property-house,
.win-hero-media-card.has-image .win-parcel-boundary {
  display: none;
}

.win-hero-media-card.has-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(13, 14, 16, 0.08), rgba(13, 14, 16, 0.38)),
    radial-gradient(circle at 78% 20%, rgba(212, 168, 87, 0.12), transparent 42%);
}

.win-hero-media-card--photo .win-hero-media-art {
  background:
    radial-gradient(circle at 22% 18%, rgba(243, 239, 229, 0.18), transparent 18%),
    linear-gradient(180deg, rgba(107, 132, 111, 0.22), transparent 35%),
    linear-gradient(135deg, #22272a 0%, #191a1d 42%, #101113 100%);
}

.win-property-house {
  position: absolute;
  left: 13%;
  right: 13%;
  bottom: 18%;
  height: 58%;
  filter: drop-shadow(0 20px 34px rgba(0, 0, 0, 0.34));
}

.win-property-roof,
.win-property-body,
.win-property-window {
  position: absolute;
  display: block;
}

.win-property-roof {
  left: 3%;
  right: 3%;
  top: 4%;
  height: 42%;
  clip-path: polygon(50% 0, 100% 58%, 88% 58%, 88% 78%, 12% 78%, 12% 58%, 0 58%);
  background: linear-gradient(180deg, #8d7a55, #514638);
}

.win-property-body {
  left: 15%;
  right: 15%;
  bottom: 0;
  height: 58%;
  border: 1px solid rgba(243, 239, 229, 0.14);
  background: linear-gradient(180deg, #b7aa8f, #6d6558);
}

.win-property-window {
  bottom: 20%;
  width: 18%;
  height: 22%;
  border: 1px solid rgba(243, 239, 229, 0.30);
  background: linear-gradient(180deg, rgba(228, 194, 124, 0.42), rgba(21, 22, 25, 0.62));
}

.win-property-window--one {
  left: 27%;
}

.win-property-window--two {
  right: 27%;
}

.win-hero-media-card--parcel .win-hero-media-art {
  background:
    linear-gradient(34deg, rgba(151, 176, 118, 0.16) 0 18%, transparent 18% 28%, rgba(122, 148, 93, 0.12) 28% 48%, transparent 48% 100%),
    linear-gradient(116deg, transparent 0 28%, rgba(243, 239, 229, 0.10) 28% 29%, transparent 29% 58%, rgba(243, 239, 229, 0.08) 58% 59%, transparent 59% 100%),
    radial-gradient(circle at 76% 24%, rgba(212, 168, 87, 0.18), transparent 24%),
    linear-gradient(180deg, #182116, #111718 62%, #101113);
}

.win-parcel-boundary {
  position: absolute;
  inset: 14px;
  width: calc(100% - 28px);
  height: calc(100% - 28px);
  filter: drop-shadow(0 0 18px rgba(212, 168, 87, 0.32));
}

.win-parcel-boundary path {
  fill: rgba(212, 168, 87, 0.13);
  stroke: var(--accent-2);
  stroke-width: 3;
  stroke-linejoin: round;
}

.win-parcel-boundary circle {
  fill: var(--accent-2);
  stroke: rgba(21, 18, 11, 0.8);
  stroke-width: 2;
}

.win-hero-media-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding-top: 54px;
  background: linear-gradient(180deg, transparent, rgba(13, 14, 16, 0.88));
}

.win-hero-media-caption > span:last-child {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.1;
  text-align: right;
}

.win-address-block .glow-trace {
  min-height: 36px;
  border: 1px solid rgba(212, 168, 87, 0.68) !important;
  border-radius: 16px !important;
  background:
    linear-gradient(180deg, rgba(212, 168, 87, 0.20), rgba(212, 168, 87, 0.07)) padding-box,
    linear-gradient(90deg, rgba(212, 168, 87, 0.92), rgba(228, 194, 124, 0.64)) border-box !important;
  box-shadow: 0 14px 38px rgba(212, 168, 87, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.win-address-block .glow-trace > span:first-child {
  background: #15120b !important;
  box-shadow: 0 0 0 4px rgba(21, 18, 11, 0.08) !important;
}

.win-address-block .glow-trace > span:last-child {
  color: #15120b !important;
  font-weight: 700 !important;
}

.win-hero-metrics {
  overflow: hidden;
  border: 1px solid rgba(243, 239, 229, 0.15) !important;
  border-radius: 16px !important;
  background:
    linear-gradient(135deg, rgba(243, 239, 229, 0.090), rgba(243, 239, 229, 0.030) 48%, rgba(212, 168, 87, 0.045)) !important;
  box-shadow: var(--win-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.055) !important;
}

.win-primary-metric {
  padding-top: 46px !important;
  padding-bottom: 42px !important;
}

.win-primary-metric-odds {
  padding-left: 34px !important;
}

.win-primary-metric-savings {
  padding-right: 34px !important;
}

.win-primary-metric [style*="font-size: clamp(72px"],
.win-primary-metric [style*="font-size: clamp(44px"] {
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.win-target-grid {
  border-top-color: rgba(243, 239, 229, 0.12) !important;
}

.win-target-grid > div {
  min-height: 132px;
}

.win-summary-strip {
  overflow: hidden;
  margin-top: 24px !important;
  border: 1px solid rgba(243, 239, 229, 0.13) !important;
  border-radius: 16px;
  background: rgba(243, 239, 229, 0.032);
  box-shadow: var(--win-shadow-soft);
}

.win-summary-strip > div {
  padding: 22px 24px !important;
  border-color: rgba(243, 239, 229, 0.10) !important;
}

@property --newsletter-trace-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.win-area-newsletter {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
  margin-top: 28px;
  padding: 22px 24px;
  overflow: hidden;
  border: 1px solid rgba(212, 168, 87, 0.34);
  border-radius: 16px;
  background:
    radial-gradient(circle at 88% 0%, rgba(212, 168, 87, 0.13), transparent 36%),
    linear-gradient(145deg, rgba(243, 239, 229, 0.070), rgba(243, 239, 229, 0.026));
  box-shadow: var(--win-shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.win-area-newsletter::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 2px;
  border-radius: inherit;
  pointer-events: none;
  background:
    conic-gradient(
      from var(--newsletter-trace-angle),
      transparent 0deg,
      transparent 46deg,
      rgba(212, 168, 87, 0.10) 56deg,
      rgba(255, 239, 178, 0.98) 74deg,
      rgba(212, 168, 87, 0.98) 96deg,
      rgba(212, 168, 87, 0.20) 122deg,
      transparent 146deg,
      transparent 360deg
    );
  filter: drop-shadow(0 0 9px rgba(212, 168, 87, 0.48));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  animation: winNewsletterTrace 4.8s linear infinite;
}

.win-area-newsletter-copy,
.win-area-newsletter-fields {
  position: relative;
  z-index: 2;
}

@keyframes winNewsletterTrace {
  to { --newsletter-trace-angle: 360deg; }
}

.win-area-newsletter-copy {
  display: flex;
  gap: 24px;
  align-items: baseline;
  justify-content: space-between;
  width: 100%;
}

#root .win-area-newsletter-copy h2 {
  flex: 0 0 auto;
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(20px, 1.65vw, 26px) !important;
  font-weight: 600 !important;
  line-height: 1.12 !important;
  letter-spacing: 0;
}

.win-area-newsletter-copy p {
  flex: 1 1 auto;
  max-width: none;
  margin: 0;
  color: var(--ink-60);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.45;
  text-align: right;
}

.win-area-newsletter-fields {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) minmax(180px, 0.9fr) minmax(220px, 1fr) minmax(180px, 0.82fr);
  gap: 14px;
  align-items: end;
  width: 100%;
}

.win-area-newsletter label {
  display: grid;
  gap: 8px;
}

.win-area-newsletter label span {
  color: var(--ink-60);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.win-area-newsletter input {
  width: 100%;
  min-height: 56px;
  padding: 14px 16px;
  border: 1px solid rgba(243, 239, 229, 0.14);
  border-radius: 16px;
  outline: 0;
  background: rgba(13, 14, 16, 0.48);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.win-area-newsletter input:focus {
  border-color: rgba(212, 168, 87, 0.72);
  box-shadow: 0 0 0 3px rgba(212, 168, 87, 0.13);
}

.win-area-newsletter button {
  min-height: 56px;
  padding: 0 20px;
  border: 1px solid rgba(212, 168, 87, 0.70);
  border-radius: 16px;
  background: linear-gradient(180deg, #e4c27c, #d4a857);
  color: #15120b;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 14px 32px rgba(212, 168, 87, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.win-area-newsletter button:disabled {
  cursor: wait;
  opacity: 0.72;
}

/* Framed surfaces */
.win-plan-card,
.win-ledger,
.win-savings-graph,
.win-packet-grid > div,
#root [style*="border: 1px solid var(--rule)"] {
  border-color: rgba(243, 239, 229, 0.14) !important;
  border-radius: 16px !important;
  background:
    linear-gradient(145deg, rgba(243, 239, 229, 0.082), rgba(243, 239, 229, 0.030)) !important;
  box-shadow: var(--win-shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

/* Choice cards */
.win-choose {
  padding-top: 44px !important;
  padding-bottom: 56px !important;
}

#root .win-choose .win-shell,
#root .win-choose-shell {
  max-width: 1340px !important;
}

.win-plan-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  align-items: stretch !important;
}

.win-plan-card {
  overflow: hidden;
  transform: translateY(0);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    filter 220ms ease;
  will-change: transform;
}

.win-plan-card:hover,
.win-plan-card:focus-within {
  transform: translateY(-10px) scale(1.012);
  border-color: rgba(212, 168, 87, 0.62) !important;
  filter: brightness(1.035) saturate(1.04);
  box-shadow:
    0 34px 100px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(212, 168, 87, 0.18) inset,
    0 0 44px rgba(212, 168, 87, 0.08) !important;
}

.win-plan-card.is-recommended {
  border-color: rgba(212, 168, 87, 0.76) !important;
  background:
    linear-gradient(145deg, rgba(212, 168, 87, 0.16), rgba(243, 239, 229, 0.036)) !important;
  box-shadow: 0 26px 92px rgba(0, 0, 0, 0.40), 0 0 0 1px rgba(212, 168, 87, 0.14) inset !important;
}

.win-plan-card.is-recommended:hover,
.win-plan-card.is-recommended:focus-within {
  border-color: rgba(228, 194, 124, 0.96) !important;
  box-shadow:
    0 38px 112px rgba(0, 0, 0, 0.52),
    0 0 0 1px rgba(228, 194, 124, 0.22) inset,
    0 0 58px rgba(212, 168, 87, 0.14) !important;
}

@media (prefers-reduced-motion: reduce) {
  .win-plan-card {
    transition: none;
    will-change: auto;
  }

  .win-plan-card:hover,
  .win-plan-card:focus-within {
    transform: none;
  }
}

.win-plan-ribbon {
  padding: 15px 28px !important;
  border-bottom-color: rgba(243, 239, 229, 0.12) !important;
  background: rgba(212, 168, 87, 0.075) !important;
}

.win-plan-body {
  padding: 38px 30px 30px !important;
}

.win-plan-card button,
.win-mobile-buybar a,
.win-save button {
  min-height: 52px;
  border-radius: 16px !important;
  text-decoration: none !important;
}

.win-plan-card button[style*="var(--accent)"],
.win-mobile-buybar a[style*="var(--accent)"] {
  background: linear-gradient(180deg, #e4c27c, #d4a857) !important;
  color: #15120b !important;
  box-shadow: 0 14px 32px rgba(212, 168, 87, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.34) !important;
}

.win-plan-card button:not([style*="var(--accent)"]) {
  background: rgba(243, 239, 229, 0.94) !important;
  color: #111214 !important;
}

.win-plan-card li span:first-child {
  color: var(--accent) !important;
}

/* Packet */
.win-packet-grid {
  gap: 18px !important;
  border: 0 !important;
}

.win-packet-grid > div {
  padding: 30px !important;
  border: 1px solid rgba(243, 239, 229, 0.13) !important;
}

.win-packet-grid > div + div {
  border-left: 1px solid rgba(243, 239, 229, 0.13) !important;
}

.win-packet a[href="#"],
.win-topbar a[href="#choose"],
#root a[style*="border-bottom"] {
  text-underline-offset: 4px;
}

/* Math */
.win-math-grid {
  gap: 56px !important;
}

#root .win-math-shell {
  max-width: 1340px !important;
}

.win-math-grid--bars-only {
  justify-content: start;
}

.win-math-grid--bars-only .win-savings-graph {
  width: 100%;
}

.win-math-grid--split-graphs {
  width: min(1340px, calc(100vw - 64px)) !important;
  max-width: none !important;
  margin-left: 50%;
  transform: translateX(-50%);
  justify-content: stretch;
  gap: 12px !important;
}

.win-math-grid--split-graphs .win-savings-graph {
  width: 100%;
}

.win-net-graph,
.win-year-graph {
  min-height: 100%;
}

.win-ledger {
  padding: 30px 34px !important;
}

.win-savings-graph {
  position: relative;
  overflow: hidden;
  padding: 30px 34px;
  border: 1px solid rgba(243, 239, 229, 0.14);
  border-radius: 16px;
  background:
    radial-gradient(circle at 82% 6%, rgba(212, 168, 87, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(243, 239, 229, 0.082), rgba(243, 239, 229, 0.030));
}

.win-savings-graph::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(105deg, transparent 0 28%, rgba(255, 255, 255, 0.065) 44%, transparent 60%);
  transform: translateX(-70%);
}

.win-savings-graph.is-visible::before {
  opacity: 0.6;
  animation: winGraphSweep 4.8s ease-in-out 0.6s infinite;
}

.win-savings-graph > * {
  position: relative;
  z-index: 1;
}

.win-graph-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(243, 239, 229, 0.12);
}

.win-graph-scoreboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: 12px;
  margin-top: 18px;
}

.win-graph-scoreboard > div {
  padding: 16px;
  border: 1px solid rgba(243, 239, 229, 0.10);
  border-radius: 16px;
  background: rgba(13, 14, 16, 0.34);
}

.win-graph-scoreboard span,
.win-net-row-head span,
.win-net-row-foot,
.win-year-meta span,
.win-graph-callout span {
  display: block;
  font-family: var(--sans);
  color: var(--ink-60);
}

.win-graph-scoreboard span,
.win-year-meta span,
.win-graph-callout span {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.win-graph-scoreboard strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1;
}

.win-graph-scoreboard > div:first-child strong,
.win-graph-callout strong {
  color: var(--accent);
}

.win-year-bars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  min-height: 190px;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid rgba(243, 239, 229, 0.10);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(243, 239, 229, 0.04), rgba(243, 239, 229, 0.012));
}

.win-math-grid--bars-only .win-year-bars,
.win-math-grid--split-graphs .win-year-bars {
  min-height: 270px;
  margin-top: 22px;
  padding: 24px;
}

.win-year-column {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 10px;
  min-height: 184px;
}

.win-year-value {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(21px, 2vw, 28px);
  font-weight: 400;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.win-year-track {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 122px;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.040), rgba(255, 255, 255, 0.014));
}

.win-math-grid--bars-only .win-year-track,
.win-math-grid--split-graphs .win-year-track {
  min-height: 176px;
}

.win-year-fill {
  position: relative;
  width: 100%;
  height: var(--bar-height);
  min-height: 34px;
  border-radius: 16px 16px 0 0;
  background:
    linear-gradient(180deg, rgba(228, 194, 124, 0.98), rgba(212, 168, 87, 0.70));
  box-shadow: 0 -12px 34px rgba(212, 168, 87, 0.18);
  transform: scaleY(0);
  transform-origin: bottom;
}

.win-savings-graph.is-visible .win-year-fill {
  animation: winBarRise 900ms cubic-bezier(0.2, 0.8, 0.18, 1) var(--delay) forwards;
}

.win-year-fill span {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 0 35%, rgba(255, 255, 255, 0.28) 48%, transparent 62%);
  transform: translateX(-110%);
}

.win-savings-graph.is-visible .win-year-fill span {
  animation: winBarGlint 2.8s ease-in-out var(--glint-delay) infinite;
}

.win-year-meta {
  display: block;
  text-align: center;
}

.win-net-bars {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.win-net-graph .win-net-bars {
  gap: 20px;
}

.win-net-row {
  display: grid;
  gap: 10px;
}

.win-net-row-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
}

.win-net-row-head span {
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}

.win-net-row-head p {
  margin: 5px 0 0;
  color: var(--ink-60);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.45;
}

.win-net-row-head strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
}

.win-net-track {
  height: 20px;
  overflow: hidden;
  border: 1px solid rgba(243, 239, 229, 0.10);
  border-radius: 999px;
  background: rgba(13, 14, 16, 0.48);
}

.win-net-fill {
  position: relative;
  width: var(--bar-width);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(212, 168, 87, 0.72), rgba(228, 194, 124, 0.98));
  box-shadow: 0 0 28px rgba(212, 168, 87, 0.18);
  transform: scaleX(0);
  transform-origin: left;
}

.win-savings-graph.is-visible .win-net-fill {
  animation: winBarWidth 1050ms cubic-bezier(0.2, 0.8, 0.18, 1) var(--delay) forwards;
}

.win-net-row.green .win-net-fill {
  background: linear-gradient(90deg, rgba(123, 179, 149, 0.62), rgba(228, 194, 124, 0.88));
}

.win-net-row.warn .win-net-fill {
  background: linear-gradient(90deg, rgba(201, 112, 100, 0.54), rgba(180, 170, 153, 0.78));
}

.win-fee-slice {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: var(--fee-width);
  min-width: 2px;
  border-left: 1px solid rgba(13, 14, 16, 0.58);
  background: rgba(13, 14, 16, 0.46);
}

.win-net-row-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  line-height: 1.35;
}

.win-net-row.warn .win-net-row-foot span:last-child,
.win-net-row.warn .win-net-row-head strong {
  color: var(--warn);
}

.win-graph-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 18px;
  align-items: baseline;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(243, 239, 229, 0.14);
}

.win-graph-callout strong {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 700;
  line-height: 1;
}

.win-graph-callout p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--ink-60);
  font-family: var(--sans);
  font-size: 13px;
  font-style: italic;
  line-height: 1.5;
}

@keyframes winBarRise {
  from { transform: scaleY(0); opacity: 0.65; }
  to { transform: scaleY(1); opacity: 1; }
}

@keyframes winBarWidth {
  from { transform: scaleX(0); opacity: 0.7; }
  to { transform: scaleX(1); opacity: 1; }
}

@keyframes winBarGlint {
  0%, 24% { transform: translateX(-115%); }
  54%, 100% { transform: translateX(115%); }
}

@keyframes winGraphSweep {
  0%, 58%, 100% { transform: translateX(-72%); }
  82% { transform: translateX(72%); }
}

@media (prefers-reduced-motion: reduce) {
  .win-savings-graph::before,
  .win-year-fill,
  .win-year-fill span,
  .win-net-fill {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

.win-ledger [style*="borderBottom"],
.win-ledger [style*="border-bottom"],
.win-ledger [style*="borderTop"],
.win-ledger [style*="border-top"] {
  border-color: rgba(243, 239, 229, 0.12) !important;
}

/* Proof rows */
.win-proof-rows {
  border-top-color: rgba(243, 239, 229, 0.13) !important;
}

.win-proof-rows > div {
  grid-template-columns: minmax(180px, 0.32fr) 1fr !important;
  border-bottom-color: rgba(243, 239, 229, 0.11) !important;
}

/* Save and footer */
.win-save {
  background-image: none !important;
}

.win-save-shell {
  max-width: 1080px !important;
}

.win-save form {
  max-width: 760px !important;
  overflow: hidden;
  border: 1px solid rgba(243, 239, 229, 0.16) !important;
  border-radius: 16px;
  background: rgba(243, 239, 229, 0.04);
  box-shadow: var(--win-shadow-soft);
}

.win-save input {
  padding-left: 18px !important;
  color: var(--ink) !important;
}

.win-save button[type="submit"] {
  padding-right: 18px !important;
  color: var(--ink) !important;
}

.win-footer {
  padding: 56px 32px 38px !important;
  border-top-color: rgba(243, 239, 229, 0.12) !important;
  background: rgba(7, 8, 10, 0.72) !important;
}

.win-footer-grid {
  max-width: 1340px !important;
}

.win-footer-meta {
  max-width: 1340px !important;
  border-top-color: rgba(243, 239, 229, 0.10) !important;
}

.win-footer .win-footer-grid > div:first-child > span:first-child {
  color: var(--ink) !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  text-transform: capitalize;
}

@media (prefers-reduced-motion: reduce) {
  .pulse-dot,
  .pulse-text,
  .glow-trace,
  .win-area-newsletter::before,
  .pulse-green {
    animation: none !important;
  }
}

@media (max-width: 900px) {
  .win-topbar-inner {
    padding: 16px 20px !important;
  }

  .win-section {
    padding: 62px 22px !important;
  }

  .win-hero {
    padding-top: 46px !important;
  }

  .win-hero-meta {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .win-hero-meta > div:last-child {
    text-align: left !important;
  }

  .win-address-row {
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
  }

  .win-address-block {
    max-width: none;
  }

  .win-hero-media-card {
    min-height: 190px;
  }

  #root h1 {
    font-size: 54px !important;
    line-height: 1.0 !important;
    overflow-wrap: anywhere;
  }

  #root h2 {
    font-size: 38px !important;
    line-height: 1.12 !important;
  }

  #root h3 {
    font-size: 28px !important;
  }

  .win-hero-metrics > div {
    grid-template-columns: 1fr !important;
  }

  .win-primary-metric {
    padding: 30px 24px !important;
    border-right: 0 !important;
  }

  .win-primary-metric + .win-primary-metric {
    border-top: 1px solid rgba(243, 239, 229, 0.11);
  }

  .win-target-grid {
    grid-template-columns: 1fr !important;
  }

  .win-target-grid > div {
    min-height: 0;
    padding: 18px 0 !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(243, 239, 229, 0.10);
  }

  .win-target-grid > div:last-child {
    border-bottom: 0;
  }

  .win-summary-strip {
    grid-template-columns: 1fr 1fr !important;
  }

  .win-summary-strip > div {
    border-right: 0 !important;
  }

  .win-plan-grid,
  .win-packet-grid,
  .win-math-grid {
    grid-template-columns: 1fr !important;
  }

  .win-math-grid--split-graphs {
    width: 100% !important;
    margin-left: 0;
    transform: none;
  }

  .win-graph-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .win-graph-scoreboard {
    grid-template-columns: 1fr;
  }

  .win-area-newsletter,
  .win-area-newsletter-fields {
    grid-template-columns: 1fr;
  }

  .win-area-newsletter-copy {
    display: grid;
    gap: 8px;
  }

  .win-area-newsletter-copy p {
    text-align: left;
  }

  .win-year-bars {
    min-height: 170px;
  }

  .win-proof-rows > div {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .win-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
}

@media (max-width: 520px) {
  .win-topbar-inner {
    padding: 14px 16px !important;
    gap: 10px !important;
  }

  .win-topbar-inner > span:first-child {
    font-size: 19px !important;
  }

  .win-topbar a[href="#choose"] {
    min-height: 34px !important;
    padding: 7px 10px !important;
    font-size: 11px !important;
  }

  .win-section {
    padding: 48px 18px !important;
  }

  .win-hero {
    padding-top: 34px !important;
  }

  .win-address-row {
    margin-bottom: 30px !important;
  }

  #root h1 {
    font-size: 43px !important;
  }

  #root h2 {
    font-size: 31px !important;
  }

  #root h3 {
    font-size: 24px !important;
  }

  .win-hero-metrics {
    border-radius: 16px !important;
  }

  .win-primary-metric [style*="font-size: clamp(72px"] {
    font-size: 78px !important;
  }

  .win-primary-metric [style*="font-size: clamp(44px"] {
    font-size: 50px !important;
  }

  .win-summary-strip {
    grid-template-columns: 1fr !important;
  }

  .win-plan-body,
  .win-packet-grid > div,
  .win-ledger,
  .win-savings-graph,
  .win-area-newsletter {
    padding: 24px !important;
  }

  .win-area-newsletter {
    margin-top: 22px;
    gap: 18px;
  }

  #root .win-area-newsletter-copy h2 {
    font-size: 24px !important;
  }

  .win-area-newsletter button {
    width: 100%;
  }

  .win-year-bars {
    gap: 10px;
    padding: 12px;
  }

  .win-year-column {
    min-height: 162px;
  }

  .win-year-track {
    min-height: 92px;
  }

  .win-year-value {
    font-size: 18px;
  }

  .win-net-row-head,
  .win-graph-callout {
    grid-template-columns: 1fr;
  }

  .win-net-row-head strong,
  .win-graph-callout strong {
    justify-self: start;
  }

  .win-save form {
    grid-template-columns: 1fr !important;
  }

  .win-save input,
  .win-save button[type="submit"] {
    width: 100% !important;
    padding: 15px 16px !important;
    text-align: left;
  }

  .win-mobile-buybar {
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)) !important;
    background: rgba(13, 14, 16, 0.96) !important;
    border-top-color: rgba(243, 239, 229, 0.14) !important;
  }

  .win-mobile-buybar a {
    min-height: 48px;
    padding: 12px 10px !important;
  }

  .win-footer {
    padding-bottom: 106px !important;
  }
}

@media (max-width: 900px) {
  #root .win-math-grid--split-graphs {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    margin-left: 0 !important;
    transform: none !important;
    gap: 18px !important;
  }
}
