:root {
  --ink: #070912;
  --ink-soft: #0c0f1a;
  --panel: #101421;
  --panel-2: #171c2b;
  --line: rgba(232, 236, 255, 0.10);
  --line-strong: rgba(232, 236, 255, 0.19);
  --text: #f5f7ff;
  --muted: #a7aabd;
  --acid: #a58cff;
  --acid-2: #4fe0b5;
  --red: #ff7b72;
  --amber: #f6c85f;
  --cyan: #69b8ff;
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.38);
  --radius: 20px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--ink);
}

.prediction-crosslink { color: var(--acid-2); text-decoration: none; font-size: .76rem; margin-right: 14px; white-space: nowrap; }
@media(max-width:600px) { .header-meta { flex-wrap: wrap; justify-content: flex-end; gap: 6px; } .prediction-crosslink { margin-right: 0; } }

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 84% -4%, rgba(165, 140, 255, 0.13), transparent 31rem),
    radial-gradient(circle at -8% 58%, rgba(79, 224, 181, 0.045), transparent 30rem),
    linear-gradient(180deg, #070912 0%, #090c16 46%, #060810 100%);
  color: var(--text);
}

body.is-analyzing {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

[hidden] { display: none !important; }

.onboarding {
  min-height: calc(100vh - 86px);
  padding: 58px 0 72px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(42px, 7vw, 90px);
  align-items: center;
}

.onboarding-intro h1 {
  margin-bottom: 24px;
  font-size: clamp(3.1rem, 6.5vw, 5.8rem);
}

.sale-callout {
  width: fit-content;
  margin-top: 28px;
  padding: 11px 14px;
  display: flex;
  gap: 10px;
  border: 1px solid rgba(165, 140, 255,.22);
  border-radius: 12px;
  background: rgba(165, 140, 255,.07);
  color: var(--muted);
  font-size: .78rem;
}

.sale-callout strong { color: var(--acid); }

.flow-panel {
  min-height: 610px;
  padding: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  background: linear-gradient(155deg, rgba(18, 23, 38, .98), rgba(9, 12, 22, .96));
  box-shadow: var(--shadow);
}

.progress-steps {
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}

.progress-steps li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
  color: #70758b;
  font-weight: 750;
}

.progress-steps small {
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.15;
}

.progress-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 15px;
  left: calc(50% + 18px);
  width: calc(100% - 36px);
  height: 1px;
  background: var(--line-strong);
}

.progress-steps span {
  position: relative;
  z-index: 1;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--panel);
}

.progress-steps li.is-active,
.progress-steps li.is-complete { color: var(--text); }
.progress-steps li.is-active span,
.progress-steps li.is-active span,
.progress-steps li.is-complete span { border-color: var(--acid); background: var(--acid); color: var(--ink); }
.progress-steps li.is-complete:not(:last-child)::after { background: rgba(79, 224, 181, .58); }

.flow-step { padding: 6px 10px 10px; }
.flow-step h2 { margin-bottom: 9px; font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -.045em; }
.step-count { margin-bottom: 10px; color: var(--acid); font-size: .7rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.step-copy { margin-bottom: 25px; color: var(--muted); font-size: .88rem; line-height: 1.55; }
.field-label { display: block; margin: 16px 0 7px; color: #e9e5dc; font-size: .76rem; font-weight: 750; }
.text-input {
  width: 100%;
  min-height: 51px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: rgba(255,255,255,.045);
  color: var(--text);
}
.text-input:focus { border-color: var(--acid); outline: 2px solid rgba(165, 140, 255,.13); }
.consent-row { margin: 20px 0; display: grid; grid-template-columns: 18px 1fr; gap: 10px; color: var(--muted); font-size: .74rem; line-height: 1.48; cursor: pointer; }
.consent-row input { width: 17px; height: 17px; accent-color: var(--acid); }
.flow-button, .analyze-button { width: 100%; min-height: 52px; }
.flow-button { display: flex; align-items: center; justify-content: space-between; }
.analyze-button { margin-top: 14px; }
.analyze-button:disabled { opacity: .45; cursor: not-allowed; }
.step-nav { margin-bottom: 18px; display: flex; justify-content: space-between; align-items: center; }
.step-nav > button { padding: 0; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.sample-divider { margin: 17px 0 11px; display: flex; align-items: center; gap: 12px; color: #708178; }
.sample-divider::before, .sample-divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.sample-divider span { font-size: .72rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.sample-row { margin-top: 0; }
.sample-row .text-button {
  width: 100%;
  min-height: 48px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: rgba(255,255,255,.035);
  color: #ece8de;
  font-size: .86rem;
  font-weight: 800;
}
.sample-row .text-button:hover { border-color: rgba(165, 140, 255,.48); background: rgba(165, 140, 255,.055); color: var(--acid); }
.sample-row .text-button span { color: var(--acid); font-size: 1rem; }

.analysis-loading {
  position: fixed;
  z-index: 100;
  inset: 0;
  min-height: 100dvh;
  padding: 28px;
  display: grid;
  place-items: center;
  overflow: auto;
  background:
    radial-gradient(circle at 50% 42%, rgba(165, 140, 255,.12), transparent 24rem),
    linear-gradient(150deg, #070912, #111626 58%, #060810);
}

.analysis-loading-inner {
  width: min(100%, 820px);
  text-align: center;
}

.loading-progress {
  width: min(100%, 470px);
  margin: 0 auto 46px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.loading-progress > div {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: var(--muted);
}

.loading-progress > div:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 17px;
  left: calc(50% + 21px);
  width: calc(100% - 42px);
  height: 1px;
  background: rgba(79, 224, 181, .68);
  box-shadow: 0 0 12px rgba(79, 224, 181, .16);
}

.loading-progress span {
  position: relative;
  z-index: 1;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(165, 140, 255,.5);
  border-radius: 50%;
  background: var(--acid);
  color: var(--ink);
  font-size: .82rem;
  font-weight: 950;
}

.loading-progress .is-active span {
  background: rgba(165, 140, 255,.1);
  color: var(--acid);
  box-shadow: 0 0 0 0 rgba(165, 140, 255,.28);
  animation: resultPulse 1.5s ease-out infinite;
}

.loading-progress small {
  color: #ece8de;
  font-size: .875rem;
  font-weight: 800;
}

.analysis-orbit {
  position: relative;
  width: 178px;
  height: 178px;
  margin: 0 auto 34px;
  display: grid;
  place-items: center;
}

.orbit {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(165, 140, 255,.2);
  border-radius: 50%;
}

.orbit::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 18px rgba(165, 140, 255,.8);
}

.orbit-one { animation: orbitSpin 2.8s linear infinite; }
.orbit-two { inset: 22px; animation: orbitSpin 2s linear infinite reverse; }
.orbit-three { inset: 44px; animation: orbitSpin 1.4s linear infinite; }

.analysis-signal {
  width: 72px;
  height: 62px;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 5px;
}

.analysis-signal i {
  width: 7px;
  height: 18px;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--acid), var(--acid-2));
  animation: signalRead 1s ease-in-out infinite alternate;
}

.analysis-signal i:nth-child(2) { height: 34px; animation-delay: -.25s; }
.analysis-signal i:nth-child(3) { height: 52px; animation-delay: -.5s; }
.analysis-signal i:nth-child(4) { height: 29px; animation-delay: -.72s; }
.analysis-signal i:nth-child(5) { height: 42px; animation-delay: -.38s; }

.analysis-loading h2 {
  max-width: 820px;
  margin: 9px auto 15px;
  font-size: clamp(2.5rem, 6.4vw, 5.6rem);
  line-height: .94;
  letter-spacing: -.06em;
}

.loading-copy {
  max-width: 620px;
  margin: 0 auto;
  color: #a8aaa4;
  font-size: 1rem;
  line-height: 1.6;
}

.loading-phases {
  margin-top: 26px;
  display: flex;
  justify-content: center;
  gap: 22px;
  color: #6f716d;
  font-size: .76rem;
  font-weight: 850;
}

.loading-phases span { animation: phaseFocus 1.8s ease-in-out infinite; }
.loading-phases span:nth-child(2) { animation-delay: .6s; }
.loading-phases span:nth-child(3) { animation-delay: 1.2s; }

@keyframes orbitSpin { to { transform: rotate(360deg); } }
@keyframes signalRead { to { transform: scaleY(.55); opacity: .55; } }
@keyframes resultPulse { 70% { box-shadow: 0 0 0 14px rgba(165, 140, 255,0); } 100% { box-shadow: 0 0 0 0 rgba(165, 140, 255,0); } }
@keyframes phaseFocus { 0%, 28%, 100% { color: #6f716d; } 38%, 62% { color: var(--acid); } }

.flow-step .drop-zone { min-height: 225px; }
.results { padding-top: 58px; }
.plan-price s, .custom-footer s { margin-top: 4px; display: block; color: var(--muted); font-size: .72rem; font-weight: 650; }
.custom-footer s { color: rgba(7,16,13,.52); }
.plan-price .sale-label { color: var(--acid); font-weight: 800; }

@media (max-width: 900px) {
  .onboarding { grid-template-columns: 1fr; padding-top: 42px; }
  .onboarding-intro h1 { max-width: 720px; }
  .flow-panel { min-height: 0; }
}

@media (max-width: 640px) {
  .onboarding { width: min(100% - 24px, 1180px); padding-top: 32px; gap: 30px; }
  .onboarding-intro h1 { font-size: 3.15rem; }
  .flow-panel { padding: 16px 11px; border-radius: 20px; }
  .flow-step { padding-inline: 5px; }
  .analysis-loading { padding: 22px 18px; }
  .loading-progress { margin-bottom: 30px; }
  .loading-progress small { font-size: .78rem; }
  .analysis-orbit { width: 142px; height: 142px; margin-bottom: 26px; }
  .analysis-loading h2 { font-size: clamp(2.45rem, 13vw, 4rem); }
  .loading-phases { gap: 11px; flex-wrap: wrap; }
  .custom-dll-control { grid-template-columns: 1fr; }
  .custom-comparison { grid-template-columns: .82fr 1fr 1fr; font-size: .8rem; }
}

button,
label {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
label:focus-within,
a:focus-visible {
  outline: 3px solid rgba(165, 140, 255, 0.55);
  outline-offset: 3px;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  width: min(1240px, calc(100% - 40px));
  height: 86px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--acid);
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 950;
  letter-spacing: -0.05em;
  transform: skew(-4deg);
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 650;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--acid-2);
  box-shadow: 0 0 0 5px rgba(79, 224, 181, 0.1);
}

.hero {
  min-height: 540px;
  padding: 60px 0 64px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: clamp(40px, 7vw, 98px);
}

.eyebrow,
.panel-label {
  margin: 0 0 14px;
  color: var(--acid);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 710px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 6.4vw, 5.7rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
  font-weight: 820;
}

.hero-lede {
  max-width: 620px;
  margin-bottom: 0;
  color: #b7b7b1;
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  line-height: 1.65;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
}

.trust-row > div {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #e1ddd4;
  font-size: 0.86rem;
  font-weight: 700;
}

.trust-index {
  color: var(--acid);
  font-size: 0.65rem;
  font-weight: 900;
}

.upload-card {
  padding: 20px;
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  background: linear-gradient(155deg, rgba(22, 39, 32, 0.98), rgba(11, 23, 18, 0.96));
  box-shadow: var(--shadow);
}

.card-kicker,
.upload-actions,
.custom-topline,
.custom-footer,
.results-heading,
.panel-heading,
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.card-kicker {
  margin: 2px 2px 16px;
  color: #ece8de;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.privacy-pill,
.quality-chip {
  padding: 7px 10px;
  border: 1px solid rgba(165, 140, 255, 0.18);
  border-radius: 999px;
  background: rgba(165, 140, 255, 0.07);
  color: var(--acid);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: none;
}

.drop-zone {
  min-height: 270px;
  padding: 34px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px dashed rgba(165, 140, 255, 0.32);
  border-radius: 18px;
  background:
    linear-gradient(rgba(165, 140, 255,0.03), rgba(165, 140, 255,0.01)),
    repeating-linear-gradient(135deg, transparent 0 12px, rgba(255,255,255,0.012) 12px 13px);
  text-align: center;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.drop-zone:hover,
.drop-zone.is-dragging {
  border-color: rgba(165, 140, 255, 0.8);
  background-color: rgba(165, 140, 255, 0.04);
  transform: translateY(-2px);
}

.drop-zone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.upload-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 10px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--acid);
  color: var(--ink);
}

.upload-icon svg {
  width: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.drop-zone strong {
  font-size: 1.05rem;
}

.drop-zone > span:not(.upload-icon):not(.browse-button) {
  color: var(--muted);
  font-size: 0.78rem;
}

.browse-button {
  margin-top: 14px;
  padding: 11px 17px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 800;
}

.upload-actions {
  margin: 14px 3px 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.sample-controls {
  display: flex;
  align-items: center;
  gap: 9px;
}

.sample-controls label {
  color: #e1ddd4;
  font-weight: 750;
}

.sample-controls select {
  max-width: 210px;
  min-height: 36px;
  padding: 0 32px 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: #121720;
  color: var(--text);
  font: inherit;
  font-size: 0.75rem;
  cursor: pointer;
}

.text-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--acid);
  font-weight: 800;
  cursor: pointer;
}

.file-status {
  min-height: 0;
  margin: 12px 3px 0;
  color: #d2d0c9;
  font-size: 0.8rem;
}

.file-status:empty {
  display: none;
}

.error-panel {
  margin-top: 14px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 123, 114, 0.35);
  border-radius: 12px;
  background: rgba(255, 123, 114, 0.08);
  color: #ffd2ce;
  font-size: 0.82rem;
  line-height: 1.5;
}

.profile-status {
  margin: 10px 2px 0;
  color: #ffd2ce;
  font-size: .82rem;
  line-height: 1.45;
}

.proof-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.018);
}

.proof-grid {
  padding: 23px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.proof-grid > div {
  padding: 6px 28px;
  border-right: 1px solid var(--line);
}

.proof-grid > div:first-child {
  padding-left: 0;
}

.proof-grid > div:last-child {
  border-right: 0;
}

.proof-grid strong,
.proof-grid span {
  display: block;
}

.proof-grid strong {
  margin-bottom: 6px;
  font-size: 0.86rem;
}

.proof-grid span {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.results {
  padding: 66px 0 54px;
}

.results-heading {
  margin-bottom: 34px;
  align-items: end;
}

.results-heading h2,
.section-heading h2,
.compact-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.analysis-meta {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.secondary-button,
.primary-button,
.interest-confirmation button {
  min-height: 45px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: rgba(255,255,255,0.05);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.primary-button {
  border-color: var(--acid);
  background: var(--acid);
  color: var(--ink);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.metric-card {
  min-height: 132px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,0.024);
}

.metric-card span,
.metric-card small {
  display: block;
  color: var(--muted);
  font-size: 0.73rem;
}

.metric-card strong {
  display: block;
  margin: 17px 0 7px;
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: -0.035em;
}

.positive { color: var(--acid-2) !important; }
.negative { color: var(--red) !important; }

.analysis-grid,
.detail-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1.55fr 0.85fr;
  gap: 14px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(13, 27, 21, 0.88);
}

.equity-panel,
.fingerprint-panel,
.diagnostics-panel {
  padding: 24px;
}

.panel h3 {
  margin-bottom: 0;
  font-size: 1.2rem;
  letter-spacing: -0.025em;
}

.panel-label {
  margin-bottom: 7px;
  font-size: 0.66rem;
}

.chart-wrap {
  height: 268px;
  margin-top: 18px;
  border-radius: 12px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 100% 25%, 12.5% 100%;
}

#equityChart {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.chart-scale {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.68rem;
}

.fit-score-wrap {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 16px;
  align-items: center;
}

.fit-score {
  --score: 0deg;
  width: 112px;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--panel) 58%, transparent 60%),
    conic-gradient(var(--acid) var(--score), rgba(255,255,255,0.08) 0);
  text-align: center;
}

.fit-score span {
  font-size: 1.62rem;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.fit-score small {
  color: var(--muted);
  font-size: 0.62rem;
}

.fit-score-wrap p {
  margin: 0;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.6;
}

.fingerprint-bars {
  margin-top: 22px;
  display: grid;
  gap: 14px;
}

.trait-row {
  display: grid;
  grid-template-columns: 90px 1fr 34px;
  gap: 10px;
  align-items: center;
  color: #d4ddd7;
  font-size: 0.73rem;
}

.trait-track {
  height: 7px;
  border-radius: 99px;
  background: rgba(255,255,255,0.07);
  overflow: hidden;
}

.trait-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--acid-2), var(--acid));
}

.trait-row em {
  color: var(--muted);
  font-style: normal;
  text-align: right;
}

.section-heading {
  margin: 58px 0 22px;
  align-items: end;
}

.section-heading > p {
  max-width: 440px;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.6;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.funded-terms {
  margin-top: 14px;
  padding: 16px 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,0.025);
}

.funded-terms > div {
  padding: 2px 18px;
  border-right: 1px solid var(--line);
}

.funded-terms > div:first-child {
  padding-left: 0;
}

.funded-terms > div:last-child {
  padding-right: 0;
  border-right: 0;
}

.funded-terms strong,
.funded-terms span {
  display: block;
}

.funded-terms strong {
  font-size: 0.9rem;
}

.funded-terms span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.7rem;
}

.plan-card {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(21, 38, 31, 0.95), rgba(10, 21, 16, 0.92));
  overflow: hidden;
}

.plan-card.is-best {
  border-color: rgba(165, 140, 255, 0.55);
  box-shadow: 0 14px 48px rgba(92, 192, 85, 0.08);
}

.best-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--acid);
  color: var(--ink);
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.plan-card h3 {
  margin: 0 0 5px;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
}

.plan-tag {
  color: var(--muted);
  font-size: 0.75rem;
}

.plan-card-top {
  min-height: 62px;
  margin-top: 26px;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.plan-price {
  flex: 0 0 auto;
  text-align: right;
}

.plan-price strong,
.plan-price span {
  display: block;
}

.plan-price strong {
  color: var(--acid);
  font-size: 2.25rem;
  line-height: 1;
  letter-spacing: -0.055em;
}

.plan-price span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.64rem;
}

.dll-switch {
  margin-top: 17px;
  padding: 4px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  border-radius: 13px;
  background: rgba(255,255,255,0.07);
}

.dll-switch button {
  min-height: 54px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.dll-switch button span,
.dll-switch button small {
  display: block;
}

.dll-switch button span {
  font-size: 0.76rem;
  font-weight: 850;
}

.dll-switch button small {
  margin-top: 2px;
  font-size: 0.66rem;
}

.dll-switch button.is-selected {
  border-color: rgba(165, 140, 255,0.35);
  background: var(--acid);
  color: var(--ink);
}

.price-effect {
  margin: 9px 2px 0;
  color: #e1ddd4;
  font-size: 0.7rem;
  font-weight: 750;
  text-align: center;
}

.fit-summary {
  margin-top: 22px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,0.025);
}

.fit-pill {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fit-pill.safe {
  background: rgba(83, 226, 183,0.13);
  color: var(--acid-2);
}

.fit-pill.tight {
  background: rgba(246,200,95,0.13);
  color: var(--amber);
}

.fit-pill.breach {
  background: rgba(255,123,114,0.13);
  color: var(--red);
}

.fit-summary p {
  margin: 12px 0 0;
  color: #bfcbc3;
  font-size: 0.75rem;
  line-height: 1.55;
}

.constraint-list {
  margin: 19px 0 21px;
  display: grid;
  gap: 14px;
}

.constraint-head {
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #ece8de;
  font-size: 0.69rem;
}

.constraint-head strong {
  font-size: 0.67rem;
}

.constraint-track {
  height: 7px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,0.07);
}

.constraint-track div {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--acid-2), var(--acid));
}

.constraint-row.is-breach .constraint-track div {
  background: linear-gradient(90deg, var(--amber), var(--red));
}

.constraint-row.is-disabled {
  opacity: 0.52;
}

.constraint-row small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.64rem;
}

.plan-terms {
  margin: 0;
  padding: 18px 0 0;
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  list-style: none;
}

.plan-terms li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.72rem;
}

.plan-terms strong {
  color: #e9f0eb;
  font-weight: 750;
}

.detail-grid {
  margin-top: 14px;
  grid-template-columns: 0.86fr 1.34fr;
}

.history-facts {
  margin-top: 22px;
  display: grid;
  gap: 0;
}

.history-fact {
  padding: 14px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 14px;
  border-bottom: 1px solid var(--line);
}

.history-fact:last-child {
  border-bottom: 0;
}

.history-fact span {
  color: #ece8de;
  font-size: 0.74rem;
}

.history-fact strong {
  color: var(--acid);
  font-size: 0.82rem;
  text-transform: capitalize;
}

.history-fact small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.66rem;
  line-height: 1.45;
}

.custom-card {
  padding: 26px;
  border: 1px solid rgba(165, 140, 255,.25);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 90% 2%, rgba(165, 140, 255,.09), transparent 25rem),
    linear-gradient(145deg, #171b24, #0d1016 72%);
  color: var(--text);
  box-shadow: 0 26px 72px rgba(0,0,0,.24);
}

.result-primary {
  margin-top: 14px;
}

.custom-topline {
  padding-bottom: 18px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--acid);
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.benefit-hero {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(190px, 0.5fr);
  align-items: stretch;
  gap: 18px;
}

.benefit-message {
  align-self: center;
}

.benefit-kicker {
  display: block;
  color: var(--acid);
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.custom-card h3 {
  max-width: 720px;
  margin: 10px 0 12px;
  font-size: clamp(2rem, 4.6vw, 4.2rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.benefit-message p {
  max-width: 720px;
  margin: 0;
  color: #bbb9b2;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.5;
}

.price-lockup {
  min-width: 0;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 16px;
  border: 1px solid rgba(165, 140, 255,.28);
  background: rgba(3,10,7,.68);
  color: var(--text);
}

.price-lockup span,
.price-lockup small,
.price-lockup strong,
.price-lockup s {
  display: block;
}

.price-lockup span {
  color: rgba(241,247,243,0.62);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.price-lockup strong {
  margin: 7px 0 5px;
  color: var(--acid);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.price-lockup small,
.price-lockup s {
  color: rgba(241,247,243,0.58);
  font-size: 0.7rem;
  line-height: 1.4;
}

.price-lockup s {
  margin-top: 8px;
}

.primary-shift {
  margin-top: 20px;
  padding: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr);
  align-items: stretch;
  gap: 7px;
  border-radius: 17px;
  border: 1px solid var(--line);
  background: rgba(3,10,7,.62);
  color: var(--text);
}

.primary-shift > div {
  min-width: 0;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 12px;
}

.primary-shift > div.is-ranked {
  border-color: rgba(165, 140, 255,0.45);
  background: rgba(165, 140, 255,0.1);
}

.primary-shift span,
.primary-shift strong,
.primary-shift small {
  display: block;
}

.primary-shift div > span {
  color: rgba(241,247,243,0.58);
  font-size: 0.68rem;
  font-weight: 800;
}

.primary-shift strong {
  margin-top: 7px;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.primary-shift .is-ranked strong,
.primary-shift .is-ranked small {
  color: var(--acid-2);
}

.primary-shift small {
  margin-top: 8px;
  font-size: 0.72rem;
  font-weight: 850;
}

.shift-arrow {
  align-self: center;
  color: var(--acid);
  font-size: 1.25rem;
  font-weight: 900;
  text-align: center;
}

.benefit-highlights {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.benefit-highlights > div {
  min-width: 0;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255,255,255,.035);
}

.benefit-highlights strong,
.benefit-highlights span {
  display: block;
}

.benefit-highlights strong {
  color: var(--acid);
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: -0.035em;
}

.benefit-highlights > div.is-benefit strong {
  color: var(--acid-2);
}

.benefit-highlights span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 800;
  line-height: 1.35;
}

.custom-cta-row {
  margin-top: 20px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid rgba(165, 140, 255,.26);
  border-radius: 15px;
  background: radial-gradient(circle at 92% 0%, rgba(165, 140, 255,.12), transparent 17rem), rgba(165, 140, 255,.045);
}

.custom-cta-row > div strong,
.custom-cta-row > div span,
.custom-cta-row > div small {
  display: block;
}

.custom-cta-row > div strong {
  font-size: 1.02rem;
}

.custom-cta-row > div span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.4;
}

.launch-copy { max-width: 620px; }
.launch-copy > small {
  margin-top: 9px;
  color: #a8aaa4;
  font-size: .72rem;
  font-weight: 750;
}
.custom-cta-row .launch-badge {
  width: fit-content;
  margin: 0 0 9px;
  padding: 5px 8px;
  border: 1px solid rgba(165, 140, 255,.32);
  border-radius: 999px;
  background: rgba(165, 140, 255,.1);
  color: var(--acid);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}
.custom-cta-row .primary-button { min-width: 190px; }

.rule-details,
.analysis-details {
  overflow: hidden;
  border-radius: 18px;
}

.rule-details {
  margin-top: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.018));
}

.proof-heading {
  padding: 22px 20px 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.proof-heading h2 {
  margin: 5px 0 0;
  font-size: clamp(1.7rem, 3.3vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.proof-heading p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 720;
  line-height: 1.5;
}

.proof-kicker {
  color: var(--acid);
  font-size: 0.64rem;
  font-weight: 950;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.rule-details-body {
  padding: 0 20px 20px;
  border-top: 1px solid var(--line);
}

.rule-explanation {
  margin: 16px 0 0;
  color: #b5b4ae;
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.55;
}

.analysis-details {
  margin-top: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255,255,255,0.035), rgba(255,255,255,0.018));
}

.analysis-heading {
  padding: 30px 28px 26px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
}

.analysis-heading h2 {
  max-width: 620px;
  margin-top: 7px;
  font-size: clamp(2rem, 4.8vw, 4rem);
  line-height: 0.96;
  letter-spacing: -0.052em;
}

.analysis-heading > p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.6;
}

.analysis-details-body {
  padding: 28px 28px 26px;
  border-top: 1px solid var(--line);
}

.detail-section-label {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.analysis-details .section-heading {
  margin-top: 46px;
}

.why-ranked {
  position: relative;
  margin-top: 18px;
  padding: clamp(30px, 5vw, 54px);
  overflow: hidden;
  border: 1px solid rgba(165, 140, 255,0.22);
  border-radius: 22px;
  background:
    radial-gradient(circle at 86% 8%, rgba(165, 140, 255,0.12), transparent 22rem),
    linear-gradient(145deg, #171b24, #0d1016 72%);
  box-shadow: 0 24px 70px rgba(0,0,0,0.2);
}

.why-ranked::after {
  content: "RANKED";
  position: absolute;
  right: -0.04em;
  bottom: -0.22em;
  color: rgba(165, 140, 255,0.035);
  font-size: clamp(6.8rem, 18vw, 14rem);
  font-weight: 950;
  letter-spacing: -0.08em;
  line-height: 1;
  pointer-events: none;
}

.why-ranked-intro,
.firm-comparison,
.trust-line {
  position: relative;
  z-index: 1;
}

.why-ranked-intro h2 {
  max-width: 850px;
  margin: 8px 0 14px;
  font-size: clamp(2.35rem, 5.7vw, 5.15rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.why-ranked-intro > p:last-child {
  max-width: 720px;
  margin: 0;
  color: #bbb9b2;
  font-size: 0.94rem;
  line-height: 1.65;
}

.firm-comparison {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.firm-model {
  min-width: 0;
  padding: clamp(22px, 3.2vw, 34px);
  border-radius: 18px;
}

.firm-model-fixed {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.035);
}

.firm-model-ranked {
  border: 1px solid rgba(165, 140, 255,0.5);
  background: var(--acid);
  color: var(--ink);
  box-shadow: 0 18px 54px rgba(165, 140, 255,0.1);
}

.model-label {
  display: inline-flex;
  min-height: 28px;
  padding: 0 10px;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.firm-model-ranked .model-label {
  border-color: rgba(7,16,13,0.2);
  background: var(--ink);
  color: var(--acid);
}

.firm-model h3 {
  margin: 18px 0 22px;
  font-size: clamp(1.65rem, 3vw, 2.7rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.firm-model ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 13px;
  list-style: none;
}

.firm-model li {
  position: relative;
  padding-left: 24px;
  color: #b1c1b8;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.45;
}

.firm-model li::before {
  content: "×";
  position: absolute;
  left: 0;
  color: #71837a;
  font-weight: 900;
}

.firm-model-ranked li {
  color: rgba(7,16,13,0.74);
}

.firm-model-ranked li::before {
  content: "✓";
  color: var(--ink);
}

.trust-line {
  margin: 20px 0 0;
  color: #98aaa0;
  font-size: 0.74rem;
  font-weight: 720;
  text-align: center;
}

.trust-line strong {
  color: var(--text);
}

.custom-dll-control {
  margin-top: 20px;
  padding: 14px;
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(240px, 0.8fr);
  align-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.035);
}

.custom-dll-control > div:first-child span,
.custom-dll-control > div:first-child small {
  display: block;
}

.custom-dll-control > div:first-child span {
  font-size: 0.88rem;
  font-weight: 900;
}

.custom-dll-control > div:first-child small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.76rem;
}

.custom-dll-switch {
  margin-top: 0;
  background: rgba(255,255,255,.05);
}

.custom-dll-switch button {
  color: var(--muted);
}

.custom-dll-switch button.is-selected {
  border-color: var(--acid);
  background: var(--acid);
  color: var(--ink);
}

.custom-comparison {
  margin: 26px 0 18px;
  display: grid;
  grid-template-columns: 0.92fr 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.custom-fixed-terms {
  margin: -7px 0 18px;
  color: var(--muted) !important;
  font-size: 0.76rem !important;
  font-weight: 750;
  text-align: center;
}

.comparison-head,
.comparison-cell {
  min-width: 0;
  padding: 12px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.comparison-head:nth-child(3n),
.comparison-cell:nth-child(3n) {
  border-right: 0;
}

.comparison-cell:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.comparison-head {
  background: rgba(255,255,255,.045);
}

.comparison-head span,
.comparison-head small,
.comparison-cell span,
.comparison-cell strong {
  display: block;
}

.comparison-head span {
  font-size: 0.78rem;
  font-weight: 900;
}

.comparison-head small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.7rem;
}

.comparison-label {
  color: #b6c7bd;
}

.comparison-cell {
  display: grid;
  align-items: center;
  min-height: 48px;
}

.comparison-cell span {
  font-size: 0.75rem;
  font-weight: 750;
}

.comparison-cell strong {
  font-size: 0.86rem;
}

.comparison-head.is-custom,
.comparison-cell.is-custom {
  background: rgba(165, 140, 255,.055);
}

.comparison-cell.is-custom.better strong {
  color: var(--acid-2);
}

.comparison-cell.is-custom.offset strong {
  color: var(--amber);
}

.custom-value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.custom-deal {
  display: grid;
  grid-template-columns: 1fr 1fr 0.72fr;
  gap: 10px;
}

.custom-deal > div {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(7,16,13,0.18);
  border-radius: 12px;
  background: rgba(255,255,255,0.2);
}

.custom-deal span,
.custom-deal strong {
  display: block;
}

.custom-deal small {
  display: block;
  margin-top: 5px;
  color: rgba(7,16,13,0.62);
  font-size: 0.68rem;
  font-weight: 750;
  line-height: 1.35;
}

.custom-deal span {
  color: rgba(7,16,13,0.58);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.custom-deal strong {
  margin-top: 6px;
  font-size: 0.82rem;
  line-height: 1.35;
}

.terms-line {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  text-align: center;
}

.custom-value-grid > div,
.custom-why,
.rule-budget {
  padding: 15px;
  border: 1px solid rgba(7,16,13,0.18);
  border-radius: 12px;
  background: rgba(255,255,255,0.18);
}

.custom-value-label,
.custom-why > span,
.rule-budget span {
  display: block;
  color: rgba(7,16,13,0.58);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.custom-value-grid ul {
  margin: 10px 0 0;
  padding-left: 18px;
  font-size: 0.75rem;
  font-weight: 750;
  line-height: 1.5;
}

.custom-why {
  margin-top: 10px;
}

.custom-why p {
  margin: 8px 0 0;
  color: rgba(7,16,13,0.72);
  font-size: 0.78rem;
  line-height: 1.5;
}

.rule-budget {
  margin-top: 10px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  background: rgba(7,16,13,0.08);
}

.rule-budget strong {
  display: block;
  margin-top: 4px;
  font-size: 1rem;
}

.rule-budget p {
  margin: 0;
  color: rgba(7,16,13,0.66);
  font-size: 0.7rem;
  line-height: 1.45;
}

.custom-footer {
  margin-top: 22px;
  align-items: end;
}

.custom-footer span,
.custom-footer strong {
  display: block;
}

.custom-footer span {
  color: rgba(7,16,13,0.6);
  font-size: 0.65rem;
}

.custom-footer strong {
  margin-top: 2px;
  font-size: 1.55rem;
}

.custom-card .primary-button {
  min-height: 49px;
  border-color: var(--acid);
  background: var(--acid);
  color: var(--ink);
}

.interest-confirmation {
  margin-top: 20px;
  padding: 15px;
  border: 1px solid rgba(165, 140, 255,.28);
  border-radius: 12px;
  background: rgba(165, 140, 255,.07);
}

.interest-confirmation strong { color: var(--acid); font-size: 1rem; }

.interest-confirmation strong,
.interest-confirmation span {
  display: block;
}

.interest-confirmation span {
  margin: 5px 0 11px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.interest-confirmation button {
  min-height: 36px;
  border-color: var(--line-strong);
  background: transparent;
  color: var(--text);
}

.method-note {
  margin-top: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.55;
}

.method-note strong {
  color: #ece8de;
}

.how-it-works {
  padding: 22px 0 84px;
}

.compact-heading {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.024);
}

.site-footer {
  min-height: 105px;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.7rem;
}

[hidden] {
  display: none !important;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 62px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .upload-card {
    max-width: 720px;
  }

  .analysis-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 760px) {
  .shell,
  .site-header {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    height: 72px;
  }

  .hero {
    min-height: 0;
    padding: 54px 0 58px;
    gap: 46px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  .drop-zone {
    min-height: 280px;
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .proof-grid > div,
  .proof-grid > div:first-child {
    padding: 15px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .results-heading,
  .section-heading,
  .compact-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .results {
    padding-top: 66px;
  }

  .plans-grid {
    grid-template-columns: 1fr;
  }

  .funded-terms {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 0;
  }

  .funded-terms > div,
  .funded-terms > div:first-child,
  .funded-terms > div:last-child {
    padding: 0 14px;
    border-right: 0;
  }

  .section-heading {
    margin-top: 66px;
  }

  .section-heading > p {
    max-width: 650px;
  }

  .custom-value-grid,
  .rule-budget,
  .custom-deal {
    grid-template-columns: 1fr;
  }

  .benefit-hero {
    grid-template-columns: 1fr;
  }

  .price-lockup {
    min-height: 150px;
  }

  .benefit-highlights {
    grid-template-columns: 1fr;
  }

  .custom-cta-row {
    align-items: stretch;
    flex-direction: column;
  }

  .proof-heading,
  .analysis-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .custom-dll-control {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .custom-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .firm-comparison {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}

@media (max-width: 500px) {
  .header-meta span:last-child {
    display: none;
  }

  .upload-card,
  .equity-panel,
  .fingerprint-panel,
  .diagnostics-panel,
  .plan-card,
  .custom-card,
  .compact-heading {
    padding: 18px;
  }

  .upload-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .sample-controls {
    width: 100%;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .sample-controls select {
    max-width: none;
    flex: 1 1 190px;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .metric-card {
    min-height: 118px;
    padding: 16px;
  }

  .metric-card strong {
    font-size: 1.25rem;
  }

  .fit-score-wrap {
    grid-template-columns: 100px 1fr;
  }

  .fit-score {
    width: 96px;
  }

  .comparison-head,
  .comparison-cell {
    padding: 9px 7px;
  }

  .comparison-head span,
  .comparison-cell strong {
    font-size: 0.68rem;
  }

  .comparison-head small,
  .comparison-cell span {
    font-size: 0.6rem;
  }

  .custom-card h3 {
    font-size: clamp(2rem, 12vw, 3.3rem);
  }

  .custom-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .primary-shift {
    grid-template-columns: 1fr;
  }

  .shift-arrow {
    transform: rotate(90deg);
  }

  .primary-shift > div {
    padding: 16px;
  }

  .rule-details-body,
  .analysis-details-body {
    padding-left: 14px;
    padding-right: 14px;
  }

  .proof-heading,
  .analysis-heading {
    padding-left: 18px;
    padding-right: 18px;
  }

  .why-ranked {
    padding: 26px 18px;
  }
}

.baseline-card,
.path-surface {
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 17px;
  background: rgba(255,255,255,.025);
}

.baseline-card {
  background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
}

.instant-builder {
  margin-top: 10px;
  border-color: rgba(165, 140, 255,.32);
  background: radial-gradient(circle at 92% 0%, rgba(165, 140, 255,.09), transparent 18rem), rgba(7, 9, 18, .65);
}

.verified-path { margin-top: 10px; }

.path-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.path-heading span,
.path-heading h3,
.path-heading strong { display: block; }
.path-heading span { margin-bottom: 4px; color: var(--acid); font-size: .65rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.path-heading h3 { margin: 0; color: var(--text); font-size: 1.08rem; letter-spacing: -.025em; }
.path-heading > strong { flex: 0 0 auto; padding: 6px 9px; border: 1px solid rgba(165, 140, 255,.22); border-radius: 999px; background: rgba(165, 140, 255,.08); color: var(--acid); font-size: .66rem; }
.instant-builder > p,
.verified-path > p { margin: 7px 0 14px; color: var(--muted); font-size: .78rem; line-height: 1.45; }

.choice-label { display: block; margin: 13px 0 6px; color: #ece8de; font-size: .7rem; font-weight: 800; }
.choice-switch { padding: 4px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; border: 1px solid var(--line); border-radius: 11px; background: rgba(0,0,0,.22); }
.choice-switch.three-up { grid-template-columns: repeat(3, 1fr); }
.choice-switch button { min-height: 40px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: .76rem; font-weight: 850; cursor: pointer; }
.choice-switch button span,
.choice-switch button small { display: block; }
.choice-switch button small { margin-top: 2px; font-size: .62rem; }
.choice-switch button.is-selected { background: var(--acid); color: var(--ink); }

.standard-snapshot { margin-top: 15px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 13px; overflow: hidden; }
.standard-term { min-width: 0; padding: 11px 12px; border-bottom: 1px solid var(--line); background: rgba(0,0,0,.14); }
.standard-term:nth-child(odd) { border-right: 1px solid var(--line); }
.standard-term:nth-last-child(-n+2) { border-bottom: 0; }
.standard-term span,
.standard-term strong,
.standard-term small { display: block; }
.standard-term span { color: #7e807b; font-size: .59rem; font-weight: 850; letter-spacing: .045em; text-transform: uppercase; }
.standard-term strong { margin-top: 5px; color: var(--text); font-size: .84rem; line-height: 1.2; }
.standard-term small { margin-top: 3px; color: #979994; font-size: .6rem; line-height: 1.35; }
.standard-term.price-term strong { color: var(--acid-2); }
.baseline-card .path-heading > strong {
  border-color: rgba(79, 224, 181, .26);
  background: rgba(79, 224, 181, .08);
  color: var(--acid-2);
}

.path-choice-heading { margin: 21px 0 9px; }
.path-choice-heading span { display: block; margin-bottom: 3px; color: var(--acid); font-size: .62rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.path-choice-heading h3 { margin: 0; font-size: 1rem; letter-spacing: -.02em; }
.path-mode-switch { padding: 4px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; border: 1px solid var(--line-strong); border-radius: 13px; background: rgba(0,0,0,.28); }
.path-mode-switch button { min-width: 0; min-height: 55px; padding: 9px 11px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); text-align: left; cursor: pointer; }
.path-mode-switch button strong,
.path-mode-switch button span { display: block; }
.path-mode-switch button strong { color: var(--text); font-size: .78rem; }
.path-mode-switch .recommended-label {
  margin-left: 6px;
  color: var(--acid-2);
  font-style: normal;
  letter-spacing: .01em;
  white-space: nowrap;
}
.path-mode-switch button span { margin-top: 3px; font-size: .61rem; line-height: 1.25; }
.path-mode-switch button.is-selected {
  background: linear-gradient(135deg, rgba(165, 140, 255, .2), rgba(165, 140, 255, .09));
  color: var(--muted);
  box-shadow: inset 0 0 0 1px rgba(165, 140, 255, .62), 0 8px 22px rgba(0, 0, 0, .16);
}
.path-mode-switch button.is-selected strong { color: var(--text); }
.path-mode-switch button.is-selected .recommended-label {
  color: var(--acid-2);
}

.instant-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.instant-benefits button { min-width: 0; min-height: 137px; padding: 12px; border: 1px solid var(--line-strong); border-radius: 11px; background: rgba(255,255,255,.03); color: var(--text); text-align: left; cursor: pointer; }
.instant-benefits button span,
.instant-benefits button strong,
.instant-benefits button small,
.instant-benefits button em { display: block; }
.instant-benefits button span { color: var(--muted); font-size: .67rem; font-weight: 750; line-height: 1.3; }
.instant-benefits button strong { margin: 10px 0 5px; color: var(--acid-2); font-size: 1rem; line-height: 1; }
.instant-benefits button small { color: #979994; font-size: .63rem; line-height: 1.3; }
.instant-benefits button em { margin-top: 9px; padding-top: 8px; border-top: 1px solid var(--line); color: #cbc8c0; font-size: .59rem; font-style: normal; line-height: 1.3; }
.instant-benefits button.is-selected { border-color: var(--acid); background: rgba(165, 140, 255,.1); box-shadow: inset 0 0 0 1px rgba(165, 140, 255,.16); }
.instant-benefits button:disabled { opacity: .45; cursor: not-allowed; }

.instant-button { width: 100%; min-height: 49px; margin-top: 12px; display: flex; align-items: center; justify-content: space-between; }
.instant-guardrail { margin: 9px 0 0 !important; color: #7d7f7a !important; font-size: .65rem !important; text-align: center; }
.verified-benefit-preview { margin: 14px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.verified-benefit-row { min-width: 0; padding: 12px; border: 1px solid rgba(165, 140, 255,.22); border-radius: 11px; background: rgba(165, 140, 255,.06); }
.verified-benefit-row span,
.verified-benefit-row strong,
.verified-benefit-row small { display: block; }
.verified-benefit-row span { color: var(--muted); font-size: .62rem; font-weight: 800; line-height: 1.3; }
.verified-benefit-row strong { margin: 7px 0 4px; color: var(--acid-2); font-size: .76rem; line-height: 1.25; }
.verified-benefit-row small { color: #a7a8a2; font-size: .59rem; line-height: 1.3; }
.verified-benefit-row.is-unavailable { opacity: .5; }
.verified-path .drop-zone { min-height: 164px; padding: 20px; }
.verified-path .upload-icon { width: 45px; height: 45px; margin-bottom: 4px; border-radius: 13px; }
.verified-path .browse-button { margin-top: 7px; }

/* Step 2 becomes a focused beta workspace instead of stretching the split hero. */
.onboarding.is-customizing {
  width: min(100% - 40px, 980px);
  min-height: auto;
  padding: 30px 0 54px;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 0;
}
.onboarding.is-customizing .onboarding-intro { display: none; }
.onboarding.is-customizing .flow-panel { width: 100%; min-height: 0; padding: 18px 24px 24px; }
.onboarding.is-customizing .progress-steps { width: min(100%, 460px); margin: 0 auto 16px; }
.onboarding.is-customizing .flow-step { padding: 0; }
.onboarding.is-customizing .step-nav { margin-bottom: 10px; }
.onboarding.is-customizing .step-count { margin-bottom: 6px; }
.onboarding.is-customizing #uploadTitle { margin-bottom: 5px; font-size: clamp(1.7rem, 3vw, 2.15rem); }
.onboarding.is-customizing #uploadStep > .step-copy { margin-bottom: 13px; font-size: .875rem; }
.onboarding.is-customizing .baseline-card,
.onboarding.is-customizing .path-surface { padding: 14px; }

.baseline-controls { display: grid; grid-template-columns: 1.35fr 1fr; gap: 10px; }
.baseline-control .choice-label { margin-top: 10px; }
.onboarding.is-customizing .choice-switch button { min-height: 38px; font-size: .8rem; }
.onboarding.is-customizing .choice-switch button small { font-size: .72rem; }
.onboarding.is-customizing .standard-snapshot {
  margin-top: 11px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.onboarding.is-customizing .standard-term,
.onboarding.is-customizing .standard-term:nth-child(odd),
.onboarding.is-customizing .standard-term:nth-last-child(-n+2) {
  padding: 9px 10px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.onboarding.is-customizing .standard-term:nth-child(4n) { border-right: 0; }
.onboarding.is-customizing .standard-term:nth-last-child(-n+4) { border-bottom: 0; }
.onboarding.is-customizing .standard-term span { font-size: .7rem; }
.onboarding.is-customizing .standard-term strong { margin-top: 4px; font-size: .88rem; }
.onboarding.is-customizing .standard-term small { font-size: .7rem; }

.path-selector-row { margin-top: 12px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 16px; align-items: end; }
.path-selector-row .path-choice-heading { margin: 0; }
.onboarding.is-customizing .path-choice-heading span { font-size: .7rem; }
.onboarding.is-customizing .path-choice-heading h3 { font-size: 1rem; }
.onboarding.is-customizing .path-mode-switch button { min-height: 50px; }
.onboarding.is-customizing .path-mode-switch button strong { font-size: .8rem; }
.onboarding.is-customizing .path-mode-switch button span { font-size: .72rem; }
.onboarding.is-customizing .path-heading span,
.onboarding.is-customizing .path-heading > strong { font-size: .7rem; }
.onboarding.is-customizing .instant-builder > p,
.onboarding.is-customizing .verified-path > p { font-size: .8rem; }

.verified-main { display: grid; grid-template-columns: .9fr 1.1fr; gap: 12px; align-items: stretch; }
.onboarding.is-customizing .verified-benefit-preview { margin: 0; grid-template-columns: 1fr; gap: 6px; }
.onboarding.is-customizing .verified-benefit-row { padding: 9px 11px; }
.onboarding.is-customizing .verified-benefit-row span { font-size: .72rem; }
.onboarding.is-customizing .verified-benefit-row strong { margin: 4px 0 2px; font-size: .86rem; }
.onboarding.is-customizing .verified-benefit-row small { font-size: .7rem; }
.verified-upload { min-width: 0; }
.onboarding.is-customizing .verified-upload .drop-zone { min-height: 140px; padding: 13px; }
.onboarding.is-customizing .verified-upload .upload-icon { width: 36px; height: 36px; }
.onboarding.is-customizing .verified-upload .analyze-button { min-height: 45px; margin-top: 8px; }
.onboarding.is-customizing .verified-upload .sample-divider { margin: 8px 0 6px; }
.onboarding.is-customizing .verified-upload .sample-row .text-button { min-height: 38px; }
.beta-data-note { margin: 7px 1px 0; color: #979994; font-size: .72rem; line-height: 1.35; }
.onboarding.is-customizing .file-status { min-height: 0; margin-top: 6px; }

@media (max-width: 640px) {
  .onboarding.is-customizing { width: min(100% - 24px, 980px); padding-top: 24px; }
  .onboarding.is-customizing .flow-panel { padding: 15px 12px 18px; }
  .baseline-controls,
  .path-selector-row,
  .verified-main { grid-template-columns: 1fr; }
  .onboarding.is-customizing .standard-snapshot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .onboarding.is-customizing .standard-term,
  .onboarding.is-customizing .standard-term:nth-child(odd),
  .onboarding.is-customizing .standard-term:nth-last-child(-n+2),
  .onboarding.is-customizing .standard-term:nth-child(4n),
  .onboarding.is-customizing .standard-term:nth-last-child(-n+4) { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .onboarding.is-customizing .standard-term:nth-child(2n) { border-right: 0; }
  .onboarding.is-customizing .standard-term:nth-last-child(-n+2) { border-bottom: 0; }
  .instant-benefits { grid-template-columns: 1fr; }
  .instant-benefits button { min-height: 122px; }
  .verified-benefit-preview { grid-template-columns: 1fr; }
  .verified-benefit-row { padding: 11px 12px; }
}

@media (max-width: 430px) {
  .onboarding.is-customizing .standard-snapshot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .path-mode-switch button { padding-inline: 8px; }
}

/* Ranked identity — precise fit, with outcome green reserved for real benefits. */
html { color-scheme: dark; }

body {
  font-family: "Avenir Next", "Segoe UI Variable", Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-feature-settings: "ss01" 1, "tnum" 1;
}

body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(112deg, transparent 0 72%, rgba(165, 140, 255, .025) 72% 72.08%, transparent 72.08%),
    linear-gradient(112deg, transparent 0 78%, rgba(165, 140, 255, .018) 78% 78.08%, transparent 78.08%);
}

.site-header {
  position: relative;
  height: 92px;
  border-bottom-color: rgba(232, 236, 255, .12);
}

.site-header::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 76px;
  height: 2px;
  background: var(--acid);
}

.brand {
  gap: 12px;
  letter-spacing: 0;
}

.brand-fit-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 10px 24px rgba(165, 140, 255, .18));
  transition: transform 180ms ease, filter 180ms ease;
}

.brand:hover .brand-fit-mark {
  transform: translateY(-1px);
  filter: drop-shadow(0 14px 28px rgba(165, 140, 255, .28));
}

.brand-fit-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ranked-wordmark {
  width: 154px;
  height: auto;
  display: block;
  fill: var(--text);
}

.fit-frame { fill: var(--acid); }
.fit-core { fill: var(--acid-2); }

.header-meta {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .025);
  color: #b8bbca;
  font-size: .71rem;
  font-weight: 750;
  letter-spacing: .025em;
}

.header-meta i {
  margin: 0 4px;
  color: #656762;
  font-style: normal;
}

.status-dot {
  width: 7px;
  height: 7px;
  background: var(--acid-2);
  box-shadow: 0 0 0 4px rgba(79, 224, 181, .1);
}

.onboarding-intro h1 {
  max-width: 760px;
  font-weight: 780;
}

.onboarding-intro h1 span {
  display: block;
  color: var(--acid);
}

.sale-callout {
  padding: 0;
  gap: 0;
  overflow: hidden;
  border-color: rgba(165, 140, 255, .25);
  border-radius: 10px;
  background: rgba(165, 140, 255, .045);
}

.sale-callout span,
.sale-callout strong {
  padding: 11px 13px;
}

.sale-callout span {
  background: var(--acid);
  color: var(--ink);
  font-size: .62rem;
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.sale-callout strong {
  color: #e9ecf8;
}

.sale-callout strong em {
  color: var(--acid-2);
  font-style: normal;
}

.flow-panel {
  position: relative;
  overflow: hidden;
  border-color: rgba(165, 140, 255, .2);
  background:
    radial-gradient(circle at 100% 0, rgba(165, 140, 255, .075), transparent 19rem),
    linear-gradient(155deg, rgba(23, 28, 37, .98), rgba(12, 15, 21, .98));
}

.flow-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  width: 72px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--acid);
}

.primary-button,
.secondary-button,
.text-input,
.path-mode-switch button,
.choice-switch button,
.instant-benefits button {
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.primary-button {
  box-shadow: 0 10px 28px rgba(165, 140, 255, .11);
}

.primary-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(165, 140, 255, .2);
}

.secondary-button:hover {
  border-color: rgba(165, 140, 255, .5);
  color: var(--acid);
}

.text-input:focus {
  box-shadow: 0 0 0 4px rgba(165, 140, 255, .06);
}

.custom-card {
  position: relative;
  overflow: hidden;
}

.custom-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--acid) 0 38%, rgba(165, 140, 255, .08) 38% 100%);
}

.ranked-product-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mini-fit-mark {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  display: block;
}

.mini-fit-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.analysis-core-logo {
  z-index: 2;
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 20px 38px rgba(165, 140, 255, .23));
  animation: coreBreathe 1.8s ease-in-out infinite;
}

.analysis-core-logo svg {
  width: 100%;
  height: 100%;
}

@keyframes coreBreathe {
  0%, 100% { transform: scale(.96) translateY(2px); }
  50% { transform: scale(1) rotate(0deg); }
}

.firm-model-ranked {
  box-shadow: 0 24px 64px rgba(165, 140, 255, .12);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.footer-wordmark {
  width: 76px;
  height: auto;
  display: block;
  fill: var(--text);
}

.footer-brand em {
  color: var(--muted);
  font-style: normal;
}

@media (max-width: 760px) {
  .site-header { height: 78px; }
  .brand-fit-mark { width: 31px; height: 31px; flex-basis: 31px; }
  .ranked-wordmark { width: 136px; }
}

@media (max-width: 500px) {
  .header-meta { padding: 8px; }
  .sale-callout { width: 100%; align-items: stretch; flex-direction: column; }
  .sale-callout span, .sale-callout strong { padding: 10px 12px; }
  .footer-brand { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* Stage 3 verified upgrade — a direct path from instant preview to a larger matched benefit. */
.verified-upgrade {
  position: relative;
  margin-top: 18px;
  padding: clamp(22px, 3vw, 34px);
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(310px, .82fr);
  gap: clamp(22px, 4vw, 46px);
  overflow: hidden;
  border: 1px solid rgba(79, 224, 181, .28);
  border-radius: 20px;
  background:
    radial-gradient(circle at 96% 0%, rgba(79, 224, 181, .11), transparent 25rem),
    radial-gradient(circle at 0% 100%, rgba(165, 140, 255, .1), transparent 28rem),
    linear-gradient(145deg, rgba(18, 23, 37, .98), rgba(8, 12, 20, .98));
  box-shadow: 0 28px 80px rgba(0, 0, 0, .28);
}

.verified-upgrade::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 42%;
  height: 3px;
  background: linear-gradient(90deg, var(--acid-2), var(--acid));
}

.upgrade-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--acid-2);
  font-size: .875rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.upgrade-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--acid-2);
  box-shadow: 0 0 0 5px rgba(79, 224, 181, .1);
}

.upgrade-copy h2 {
  max-width: 680px;
  margin: 12px 0 14px;
  font-size: clamp(2rem, 4.2vw, 3.7rem);
  line-height: .98;
  letter-spacing: -.045em;
}

.upgrade-copy > p {
  max-width: 680px;
  margin-bottom: 0;
  color: #b9bcc9;
  font-size: 1rem;
  line-height: 1.6;
}

.upgrade-range {
  margin-top: 24px;
  padding: 9px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr);
  gap: 8px;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(0, 0, 0, .24);
}

.upgrade-range > div {
  min-width: 0;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 11px;
  background: rgba(255, 255, 255, .025);
}

.upgrade-range > div.is-verified {
  border-color: rgba(79, 224, 181, .36);
  background: rgba(79, 224, 181, .075);
}

.upgrade-range span,
.upgrade-range strong,
.upgrade-range small {
  display: block;
}

.upgrade-range div > span {
  color: var(--muted);
  font-size: .875rem;
  font-weight: 800;
}

.upgrade-range strong {
  margin-top: 9px;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.3;
}

.upgrade-range .is-verified strong,
.upgrade-range .is-verified small {
  color: var(--acid-2);
}

.upgrade-range small {
  margin-top: 6px;
  color: #9599a8;
  font-size: .875rem;
  line-height: 1.35;
}

.upgrade-arrow {
  align-self: center;
  color: var(--acid);
  font-size: 1.2rem;
  font-weight: 900;
  text-align: center;
}

.upgrade-guards {
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  list-style: none;
}

.upgrade-guards li {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, .025);
}

.upgrade-guards strong,
.upgrade-guards span {
  display: block;
}

.upgrade-guards strong {
  color: var(--text);
  font-size: .875rem;
}

.upgrade-guards span {
  margin-top: 4px;
  color: #8f93a3;
  font-size: .875rem;
  line-height: 1.35;
}

.upgrade-upload {
  min-width: 0;
  align-self: center;
  padding: 13px;
  border: 1px solid rgba(165, 140, 255, .22);
  border-radius: 18px;
  background: rgba(7, 9, 18, .72);
}

.result-drop-zone {
  min-height: 250px;
  padding: 24px 20px;
  border-color: rgba(79, 224, 181, .36);
  background:
    linear-gradient(rgba(79, 224, 181, .035), rgba(165, 140, 255, .02)),
    repeating-linear-gradient(135deg, transparent 0 12px, rgba(255, 255, 255, .014) 12px 13px);
}

.result-drop-zone:hover,
.result-drop-zone.is-dragging {
  border-color: rgba(79, 224, 181, .85);
  background-color: rgba(79, 224, 181, .045);
}

.result-drop-zone .upload-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 3px;
  background: var(--acid-2);
}

.result-drop-zone strong {
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: 1rem;
}

.result-drop-zone > span:not(.upload-icon):not(.browse-button) {
  font-size: .875rem;
  line-height: 1.4;
}

.result-analyze-button {
  width: 100%;
  min-height: 52px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.upgrade-data-note {
  margin: 10px 3px 0;
  color: #969aaa;
  font-size: .875rem;
  line-height: 1.45;
  text-align: center;
}

.upgrade-upload .file-status {
  margin-top: 8px;
  color: var(--acid-2);
  font-size: .875rem;
  text-align: center;
}

.upgrade-upload .error-panel {
  margin-top: 10px;
}

@media (max-width: 900px) {
  .verified-upgrade {
    grid-template-columns: 1fr;
  }

  .upgrade-upload {
    width: 100%;
  }

  .result-drop-zone {
    min-height: 220px;
  }
}

@media (max-width: 600px) {
  .verified-upgrade {
    padding: 18px;
    border-radius: 17px;
  }

  .upgrade-range {
    grid-template-columns: 1fr;
  }

  .upgrade-arrow {
    transform: rotate(90deg);
  }

  .upgrade-guards {
    grid-template-columns: 1fr;
  }

  .result-drop-zone {
    min-height: 210px;
  }
}
