:root {
  color-scheme: dark;
  --bg: #05070a;
  --bg-2: #0b1118;
  --panel: rgba(13, 18, 24, 0.92);
  --panel-strong: rgba(17, 25, 35, 0.94);
  --border: rgba(38, 50, 65, 0.98);
  --accent-rgb: 41, 98, 255;
  --accent-2-rgb: 53, 120, 255;
  --border-hot: rgba(var(--accent-rgb), 0.74);
  --positive-rgb: 8, 153, 129;
  --negative-rgb: 242, 54, 69;
  --text: #e7eef7;
  --soft: #c9d7ea;
  --muted: #a8b3c3;
  --green: #2962ff;
  --green-2: #3578ff;
  --green-3: #1b3fbd;
  --green-soft: rgba(var(--accent-rgb), 0.14);
  --positive: #22ab94;
  --positive-2: #089981;
  --positive-soft: rgba(var(--positive-rgb), 0.16);
  --red: #f23645;
  --red-2: #ff4d5e;
  --red-soft: rgba(var(--negative-rgb), 0.15);
  --shadow: rgba(0, 0, 0, 0.46);
  --radius: 2px;
  --radius-sm: 2px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 7% 8%, rgba(8, 153, 129, 0.13), transparent 30rem),
    radial-gradient(circle at 80% 16%, rgba(41, 98, 255, 0.24), transparent 34rem),
    linear-gradient(180deg, #05070a 0%, #08111d 45%, #030507 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(41, 98, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41, 98, 255, 0.07) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent 68%);
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.hero,
.section,
.footer {
  width: min(1480px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  min-height: auto;
  padding: 18px 0 46px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
}

.brand,
.nav-cta {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand {
  gap: 10px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
}

.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 32%, #ffffff 0 9%, transparent 10%),
    linear-gradient(135deg, #3578ff, var(--green), var(--green-3));
  box-shadow: 0 0 24px rgba(var(--accent-rgb), 0.42);
}

.nav-cta {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--border-hot);
  border-radius: var(--radius);
  background: rgba(var(--accent-rgb), 0.09);
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(480px, 0.78fr);
  align-items: start;
  gap: clamp(28px, 4vw, 64px);
  padding-top: clamp(34px, 5.4vh, 58px);
}

.hero-copy {
  max-width: 740px;
  min-width: 0;
  padding-top: clamp(8px, 2.4vh, 28px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(60px, 5.9vw, 86px);
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: 0;
}

.subheadline {
  max-width: 640px;
  margin-bottom: 24px;
  color: var(--soft);
  font-size: 21px;
  line-height: 1.35;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  min-width: 190px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:focus-visible,
.nav-cta:focus-visible,
.brand:focus-visible,
.modal-close:focus-visible,
input:focus-visible,
textarea:focus-visible,
.period-tab:focus-visible {
  outline: 3px solid rgba(var(--accent-rgb), 0.72);
  outline-offset: 4px;
}

.button-primary {
  background: linear-gradient(180deg, #5f8dff 0%, var(--green) 46%, #183dbb 100%);
  color: #ffffff;
  box-shadow: 0 20px 58px rgba(var(--accent-rgb), 0.34), 0 0 32px rgba(var(--accent-rgb), 0.22), inset 0 1px rgba(255, 255, 255, 0.34);
}

.button-secondary,
.button-ghost {
  border-color: var(--border);
  background: rgba(3, 13, 44, 0.82);
  color: #ffffff;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
}

.button-ghost {
  min-width: 156px;
  color: var(--green);
}

.button-secondary:hover,
.button-ghost:hover {
  border-color: var(--border-hot);
  background: rgba(var(--accent-rgb), 0.08);
}

.trust-line {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.results-panel {
  position: relative;
  width: 100%;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--border-hot);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 2%, rgba(var(--accent-rgb), 0.18), transparent 15rem),
    linear-gradient(180deg, rgba(41, 98, 255, 0.22), rgba(17, 25, 35, 0.34)),
    var(--panel-strong);
  box-shadow: 0 22px 80px var(--shadow), 0 0 46px rgba(36, 119, 255, 0.12);
  backdrop-filter: blur(10px);
}

.results-panel::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 24%, rgba(var(--accent-rgb), 0.04));
}

.results-panel > * {
  position: relative;
}

.panel-topline,
.risk-control label,
.result-total,
.card-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.panel-topline {
  margin-bottom: 18px;
}

.panel-topline .eyebrow {
  margin-bottom: 8px;
}

.panel-topline h2 {
  font-size: 30px;
}

.live-pill,
.badge {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid var(--border-hot);
  border-radius: var(--radius);
  background: var(--green-soft);
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.risk-control {
  margin-bottom: 14px;
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(2, 8, 28, 0.74);
}

.risk-control label {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.risk-control label strong {
  color: var(--positive);
  font-size: 20px;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--green);
}

.period-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.period-tab {
  min-height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(8, 13, 18, 0.9);
  color: var(--soft);
  font-size: 13px;
  font-weight: 900;
}

.period-tab.is-active {
  border-color: var(--border-hot);
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.18), rgba(43, 91, 255, 0.16));
  color: var(--green);
  box-shadow: 0 0 26px rgba(var(--accent-rgb), 0.14), inset 0 -2px rgba(var(--accent-rgb), 0.18);
}

.result-total {
  align-items: flex-end;
  margin-bottom: 14px;
  padding: 16px;
  border: 1px solid rgba(var(--positive-rgb), 0.26);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(var(--positive-rgb), 0.14), rgba(17, 25, 35, 0.82)), rgba(8, 13, 18, 0.88);
}

.result-total span,
.metric-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.result-total strong {
  color: var(--positive);
  font-size: 46px;
  line-height: 0.95;
  text-shadow: 0 0 28px rgba(var(--positive-rgb), 0.26);
}

.result-total.is-updating strong {
  animation: result-pop 240ms ease-out;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.metric-grid div {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(8, 13, 18, 0.86);
}

.metric-grid strong {
  display: block;
  margin-top: 4px;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.1;
}

.metric-grid div:nth-child(2) strong,
.metric-grid div:nth-child(4) strong {
  color: var(--positive);
}

.metric-grid div:nth-child(3) {
  border-color: rgba(var(--negative-rgb), 0.32);
  background: linear-gradient(135deg, rgba(var(--negative-rgb), 0.1), rgba(8, 13, 18, 0.86));
}

.metric-grid div:nth-child(3) strong {
  color: var(--red);
}

.outcome-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.outcome-strip span {
  min-height: 44px;
  padding: 8px;
  border-radius: var(--radius);
  background: rgba(var(--positive-rgb), 0.085);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.outcome-strip b {
  display: block;
  color: var(--positive);
  font-size: 17px;
}

.outcome-strip span:last-child {
  border: 1px solid rgba(var(--negative-rgb), 0.3);
  background: var(--red-soft);
}

.outcome-strip span:last-child b {
  color: var(--red);
}

.panel-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.section {
  padding: 52px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 24px;
}

.section-heading p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 18px;
}

h2 {
  margin-bottom: 0;
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: 0;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.path-card {
  display: flex;
  min-width: 0;
  min-height: 500px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(46, 112, 255, 0.14), rgba(42, 255, 238, 0.035)),
    var(--panel);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(8px);
}

.partner-card {
  border-color: rgba(var(--positive-rgb), 0.24);
}

.waitlist-card {
  border-color: var(--border-hot);
  background:
    radial-gradient(circle at 92% 0%, rgba(var(--accent-rgb), 0.12), transparent 14rem),
    var(--panel-strong);
}

.step-number {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 20px;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

h3 {
  margin-bottom: 14px;
  font-size: 25px;
  line-height: 1.08;
}

.path-card p {
  color: var(--soft);
  font-size: 16px;
}

ul {
  display: grid;
  gap: 12px;
  margin: 8px 0 28px;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

li {
  position: relative;
  padding-left: 24px;
}

li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: var(--radius);
  content: "";
  background: var(--positive);
  box-shadow: 0 0 16px rgba(var(--positive-rgb), 0.42);
}

.card-action {
  width: 100%;
  margin-top: auto;
}

.text-link {
  display: inline-flex;
  width: fit-content;
  margin: 14px auto 0;
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.partner-note {
  margin-bottom: 72px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--accent-rgb), 0.12), transparent 16rem),
    var(--panel);
  backdrop-filter: blur(8px);
}

.partner-note p:last-child {
  max-width: 820px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 13px;
}

.footer strong {
  color: #ffffff;
  font-size: 15px;
}

.footer p {
  max-width: 680px;
  margin: 0;
  text-align: right;
}

.waitlist-modal {
  width: min(520px, calc(100% - 28px));
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
}

.waitlist-modal::backdrop {
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(10px);
}

.waitlist-panel {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--border-hot);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--accent-rgb), 0.14), transparent 16rem),
    var(--panel-strong);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(22px);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(8, 12, 18, 0.88);
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
}

.waitlist-panel h2 {
  padding-right: 34px;
  font-size: 34px;
}

.modal-copy,
.modal-status {
  margin: 0;
  color: var(--muted);
}

label {
  display: grid;
  gap: 7px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 800;
}

label em {
  color: var(--muted);
  font-style: normal;
  font-weight: 500;
}

input:not([type="range"]) {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(8, 12, 18, 0.9);
  color: #ffffff;
  padding: 0 14px;
}

input::placeholder {
  color: rgba(216, 232, 221, 0.5);
}

textarea {
  width: 100%;
  min-height: 118px;
  resize: vertical;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(8, 12, 18, 0.9);
  color: #ffffff;
  padding: 14px;
  font: inherit;
}

.modal-submit {
  width: 100%;
  margin-top: 4px;
}

.modal-status {
  min-height: 21px;
  color: var(--green);
  font-size: 14px;
}

.partner-page .hero {
  min-height: auto;
}

.partner-hero {
  padding-bottom: 72px;
}

.partner-hero-grid {
  padding-top: 70px;
}

.hero-bullet-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 720px;
  margin-top: 24px;
  margin-bottom: 0;
}

.partner-visual {
  padding: 24px;
}

.partner-phone,
.lifestyle-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 68% 18%, rgba(var(--accent-rgb), 0.2), transparent 13rem),
    linear-gradient(145deg, rgba(0, 0, 0, 0.36), rgba(255, 255, 255, 0.055));
}

.partner-phone {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
  padding: 82px 18px 18px;
}

.partner-phone > span {
  position: absolute;
  top: 18px;
  left: 50%;
  width: 108px;
  height: 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.16);
  transform: translateX(-50%);
}

.partner-phone div,
.lifestyle-screen {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.28);
  padding: 14px;
}

.partner-phone b,
.lifestyle-screen b {
  display: block;
  color: #ffffff;
  font-size: 15px;
}

.partner-phone small,
.lifestyle-screen small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.audience-grid article {
  min-height: 88px;
  display: grid;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--soft);
  font-weight: 900;
}

.partner-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.partner-steps .path-card {
  min-height: 300px;
}

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

.feature-grid article {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.032)),
    rgba(255, 255, 255, 0.03);
}

.feature-grid span {
  display: block;
  width: 10px;
  height: 10px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  background: var(--green);
  box-shadow: 0 0 18px rgba(var(--accent-rgb), 0.48);
}

.feature-grid h3 {
  font-size: 21px;
}

.feature-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.two-column-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.two-column-list .path-card {
  min-height: 0;
}

.partner-lifestyle {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1fr);
  align-items: center;
  gap: 30px;
}

.lifestyle-frame {
  min-height: 360px;
  padding: 24px;
}

.lifestyle-frame::before {
  position: absolute;
  inset: 32px 24px auto auto;
  width: 116px;
  height: 116px;
  border-radius: var(--radius);
  content: "";
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.34), transparent 67%);
}

.lifestyle-screen {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
}

.lifestyle-screen span {
  display: block;
  width: 54px;
  height: 54px;
  margin-bottom: 52px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 40% 35%, #ffffff 0 8%, transparent 9%),
    linear-gradient(145deg, var(--green), var(--green-3));
  box-shadow: 0 0 38px rgba(var(--accent-rgb), 0.36);
}

.partner-lifestyle p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.apply-section {
  margin-bottom: 72px;
}

.partner-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--border-hot);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--accent-rgb), 0.13), transparent 16rem),
    rgba(255, 255, 255, 0.046);
  backdrop-filter: blur(18px);
}

.form-wide {
  grid-column: 1 / -1;
}

.partner-onepage {
  min-height: calc(100svh - 92px);
}

.partner-compact-hero {
  min-height: auto;
  padding-bottom: 34px;
}

.partner-compact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: 38px;
  padding-top: 62px;
}

.partner-page-compact h1 {
  max-width: 780px;
  font-size: 62px;
}

.partner-page-compact .subheadline {
  max-width: 690px;
}

.compact-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.compact-proof-row span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--border-hot);
  border-radius: var(--radius);
  background: var(--green-soft);
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.partner-trader-link {
  display: inline-flex;
  width: fit-content;
  min-width: 190px;
  margin-bottom: 22px;
}

.compact-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
}

.compact-split article {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
}

.compact-split strong {
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 15px;
}

.compact-split p,
.partner-form-intro {
  margin: 0;
  color: var(--muted);
}

.partner-contact-card {
  padding: 22px;
}

.partner-contact-card .panel-topline {
  margin-bottom: 12px;
}

.partner-contact-card h2 {
  font-size: 30px;
}

.partner-form-intro {
  margin-bottom: 18px;
  font-size: 14px;
}

.partner-contact-form {
  display: grid;
  gap: 13px;
}

.partner-contact-form .button {
  width: 100%;
  margin-top: 2px;
}

.partner-compact-footer {
  padding-top: 18px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

@keyframes result-pop {
  0% {
    transform: scale(0.98);
    filter: brightness(0.86);
  }

  60% {
    transform: scale(1.035);
    filter: brightness(1.2);
  }

  100% {
    transform: scale(1);
    filter: brightness(1);
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    padding-bottom: 42px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 52px;
  }

  .results-panel {
    max-width: 720px;
  }

  h1 {
    font-size: 56px;
  }

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

  .partner-steps,
  .feature-grid,
  .audience-grid,
  .two-column-list,
  .partner-lifestyle,
  .partner-form {
    grid-template-columns: 1fr;
  }

  .path-card {
    min-height: 0;
  }

  .partner-hero-grid {
    padding-top: 52px;
  }

  .partner-lifestyle {
    gap: 20px;
  }

  .partner-compact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 46px;
  }

  .partner-page-compact h1 {
    font-size: 50px;
  }
}

@media (max-width: 620px) {
  .hero,
  .section,
  .footer {
    width: calc(100% - 24px);
  }

  .hero {
    padding-top: 12px;
  }

  .topbar {
    min-height: 48px;
  }

  .nav-cta {
    display: none;
  }

  .partner-page .nav-cta {
    display: inline-flex;
    min-height: 38px;
    padding: 0 13px;
    font-size: 12px;
  }

  .hero-grid {
    gap: 24px;
    padding-top: 30px;
  }

  .hero-copy {
    padding-top: 0;
  }

  h1 {
    max-width: 360px;
    font-size: 43px;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 23px;
  }

  .subheadline {
    margin-bottom: 22px;
    font-size: 17px;
  }

  .cta-row,
  .button {
    width: 100%;
  }

  .button {
    min-width: 0;
  }

  .trust-line {
    max-width: 330px;
  }

  .results-panel {
    padding: 10px;
    border-radius: var(--radius);
  }

  .panel-topline {
    display: flex;
    margin-bottom: 8px;
  }

  .panel-topline h2 {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .live-pill {
    width: fit-content;
    padding: 5px 8px;
    font-size: 11px;
  }

  .risk-control {
    margin-bottom: 10px;
    padding: 10px;
  }

  .risk-control label {
    display: flex;
    margin-bottom: 7px;
    gap: 8px;
    font-size: 11px;
  }

  .risk-control label strong {
    font-size: 14px;
  }

  input[type="range"] {
    display: block;
    height: 18px;
  }

  .period-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 8px;
    margin-right: 0;
    overflow: visible;
    padding-bottom: 0;
  }

  .period-tab {
    min-height: 31px;
    min-width: 0;
    padding: 0 7px;
    font-size: 10px;
  }

  .result-total {
    display: flex;
    margin-bottom: 8px;
    padding: 10px;
  }

  .result-total strong {
    display: block;
    margin-top: 0;
    font-size: 31px;
  }

  .result-total span,
  .metric-grid span {
    font-size: 10px;
  }

  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 0;
  }

  .metric-grid div {
    padding: 8px;
  }

  .metric-grid strong {
    margin-top: 2px;
    font-size: 15px;
  }

  .outcome-strip {
    display: none;
  }

  .panel-note {
    display: none;
  }

  .hero-bullet-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .partner-compact-hero {
    padding-bottom: 24px;
  }

  .partner-page-compact h1 {
    max-width: 360px;
    font-size: 40px;
  }

  .compact-split {
    grid-template-columns: 1fr;
  }

  .compact-proof-row span {
    min-height: 34px;
    font-size: 12px;
  }

  .partner-contact-card {
    padding: 18px;
  }

  .audience-grid article {
    min-height: 62px;
    padding: 16px;
  }

  .partner-steps .path-card {
    min-height: 0;
  }

  .feature-grid article,
  .partner-form {
    border-radius: var(--radius);
    padding: 20px;
  }

  .partner-phone {
    padding-top: 72px;
  }

  .lifestyle-frame {
    min-height: 300px;
  }

  .section {
    padding: 42px 0;
  }

  .path-card,
  .partner-note,
  .waitlist-panel {
    padding: 22px;
    border-radius: var(--radius);
  }

  .partner-note {
    margin-bottom: 46px;
  }

  .footer {
    display: grid;
    padding-bottom: 28px;
  }

  .footer p {
    text-align: left;
  }
}

@media (max-width: 420px) {
  .hero,
  .section,
  .footer {
    width: min(350px, calc(100% - 32px));
    margin-left: 16px;
    margin-right: auto;
  }

  h1 {
    font-size: 40px;
  }

  .subheadline {
    max-width: 340px;
  }
}
