:root {
  color-scheme: light;
  --ink: #151922;
  --muted: #626b78;
  --line: #dce1e5;
  --paper: #f7f6f2;
  --white: #ffffff;
  --charcoal: #101820;
  --navy: #132536;
  --teal: #0c8588;
  --green: #2f7052;
  --red: #d72f38;
  --gold: #bf9144;
  --plum: #5b435d;
  --shadow: 0 18px 44px rgba(16, 24, 32, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 12px clamp(16px, 4vw, 44px);
  border-bottom: 1px solid rgba(220, 225, 229, 0.82);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.brand,
.top-actions,
.hero-actions,
.script-tools,
.member-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand {
  min-width: 270px;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.14;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 10px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 850;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: #edf1f1;
  color: var(--ink);
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

.icon-btn:hover,
.icon-btn:focus-visible {
  border-color: var(--teal);
  color: var(--teal);
}

.hero {
  position: relative;
  min-height: calc(100svh - 72px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background-image: url("assets/luxury-service-hero.png");
  background-position: center;
  background-size: cover;
  color: var(--white);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 14, 18, 0.92) 0%, rgba(10, 14, 18, 0.72) 38%, rgba(10, 14, 18, 0.2) 76%),
    linear-gradient(0deg, rgba(10, 14, 18, 0.88), rgba(10, 14, 18, 0.06) 58%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, 1220px);
  margin: 0 auto;
  padding: 64px 0 28px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.passport-band .eyebrow,
.member-band .eyebrow {
  color: #f2c56e;
}

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

h1 {
  max-width: 680px;
  margin-bottom: 18px;
  font-size: 4.15rem;
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 2.65rem;
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0;
  font-size: 1.24rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-text {
  max-width: 660px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-weight: 900;
}

.primary-action {
  border: 1px solid var(--red);
  background: var(--red);
  color: var(--white);
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.launch-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  max-width: 100%;
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 199, 68, 0.48);
  border-radius: var(--radius);
  background: rgba(10, 14, 18, 0.54);
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.35;
  backdrop-filter: blur(14px);
}

.launch-badge svg {
  flex: 0 0 18px;
}

.section-shell {
  width: min(100% - 40px, 1220px);
  margin: 0 auto;
  padding: 76px 0;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(10, 14, 18, 0.58);
  overflow: hidden;
  backdrop-filter: blur(14px);
}

.hero-stats div {
  min-height: 86px;
  padding: 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-stats div:last-child {
  border-right: 0;
}

.hero-stats strong,
.hero-stats span,
.metric span,
.passport-economics span,
.value-summary span,
.small-label {
  display: block;
}

.hero-stats strong {
  color: var(--white);
  font-size: 1.15rem;
  line-height: 1.1;
}

.hero-stats span,
.metric span,
.passport-economics span,
.value-summary span,
.small-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.7);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(260px, 0.48fr);
  gap: 22px;
  align-items: end;
  margin-bottom: 28px;
}

.section-head > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.section-head.light {
  color: var(--white);
}

.section-head.light > p:last-child {
  color: rgba(255, 255, 255, 0.72);
}

.planner-grid,
.journey-layout,
.passport-grid,
.engineering-grid,
.value-layout,
.member-shell {
  display: grid;
  gap: 22px;
}

.planner-grid {
  grid-template-columns: minmax(360px, 1fr) minmax(360px, 0.9fr);
  align-items: start;
}

.planner-panel,
.result-panel,
.stage-detail,
.passport-panel,
.flow-panel,
.threshold-panel,
.script-panel,
.value-summary,
.source-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
}

.planner-panel,
.result-panel,
.stage-detail,
.passport-panel,
.flow-panel,
.threshold-panel,
.script-panel {
  padding: clamp(18px, 3vw, 28px);
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #eef2f2;
  padding: 4px;
}

.segment-btn {
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
}

.segment-btn.active {
  background: var(--white);
  color: var(--red);
  box-shadow: 0 8px 18px rgba(16, 24, 32, 0.1);
}

.input-grid,
.result-grid,
.benefit-grid,
.source-grid {
  display: grid;
  gap: 16px;
}

.input-grid,
.result-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field,
.odometer-field {
  display: grid;
  gap: 8px;
}

.field span,
.odometer-field span {
  color: var(--charcoal);
  font-size: 0.86rem;
  font-weight: 900;
}

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

output {
  color: var(--teal);
  font-size: 0.86rem;
  font-weight: 950;
}

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

.panel-title h3 {
  margin-top: 3px;
}

.result-grid {
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.metric {
  min-height: 104px;
  padding: 16px;
  background: #fbfcfd;
}

.metric strong {
  display: block;
  margin-top: 8px;
  font-size: 1.2rem;
  line-height: 1.18;
}

.fine-print {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.benefit-section {
  padding-top: 30px;
}

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

.benefit-grid article {
  min-height: 250px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.benefit-grid svg {
  width: 26px;
  height: 26px;
  color: var(--teal);
}

.benefit-grid h3 {
  margin-top: 18px;
}

.benefit-grid p,
.stage-detail p,
.flow-panel p,
.script-text,
.member-shell p {
  color: var(--muted);
}

.journey-layout {
  grid-template-columns: minmax(260px, 0.85fr) minmax(360px, 1.3fr);
  align-items: start;
}

.stage-rail {
  display: grid;
  gap: 10px;
}

.stage-btn {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 72px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  text-align: left;
}

.stage-btn svg {
  color: var(--teal);
}

.stage-btn span {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.stage-btn strong {
  display: block;
  margin-top: 2px;
  font-size: 0.92rem;
  line-height: 1.18;
}

.stage-btn.active {
  border-color: rgba(215, 47, 56, 0.46);
  background: var(--white);
  box-shadow: var(--shadow);
}

.stage-detail {
  min-height: 466px;
}

.stage-title-wrap {
  display: inline-block;
  max-width: 100%;
}

.stage-title-wrap h3 {
  margin-bottom: 8px;
}

.stage-info-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 0 0 2px;
  border: 0;
  border-bottom: 2px solid rgba(12, 133, 136, 0.28);
  background: transparent;
  color: var(--ink);
  cursor: help;
  font: inherit;
  outline: none;
  text-align: left;
}

.stage-info-trigger:focus-visible {
  border-radius: 4px;
  outline: 3px solid rgba(191, 145, 68, 0.35);
  outline-offset: 5px;
}

.stage-info-trigger svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
}

.stage-info-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 24px;
  padding: 10px 14px;
  border: 1px solid rgba(12, 133, 136, 0.34);
  border-radius: var(--radius);
  background: var(--teal);
  color: var(--white);
  font-weight: 900;
}

.stage-info-action:hover,
.stage-info-action:focus-visible {
  background: #096f72;
  outline: 3px solid rgba(12, 133, 136, 0.22);
  outline-offset: 3px;
}

.stage-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 25;
  background: rgba(16, 24, 32, 0.52);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 170ms ease, visibility 170ms ease;
}

.stage-modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.stage-info-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 26;
  width: min(820px, calc(100vw - 40px));
  max-height: min(84vh, 760px);
  overflow: auto;
  border: 1px solid rgba(15, 31, 45, 0.16);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(12, 133, 136, 0.08), rgba(191, 145, 68, 0.08) 42%, rgba(255, 255, 255, 0) 72%),
    var(--white);
  box-shadow: 0 28px 80px rgba(16, 24, 32, 0.24);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, calc(-50% + 10px)) scale(0.985);
  transform-origin: center;
  visibility: hidden;
  transition: opacity 170ms ease, transform 170ms ease, visibility 170ms ease;
}

.stage-info-modal.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
  visibility: visible;
}

.stage-info-header {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid rgba(220, 225, 229, 0.86);
  background: linear-gradient(135deg, var(--navy), var(--charcoal));
  color: var(--white);
}

.stage-info-close {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.stage-info-close:hover,
.stage-info-close:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  outline: 2px solid rgba(255, 199, 68, 0.44);
  outline-offset: 2px;
}

.stage-info-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border: 1px solid rgba(255, 199, 68, 0.42);
  border-radius: 999px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.stage-info-header h4 {
  max-width: 640px;
  margin: 12px 0 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.08;
}

.stage-info-body {
  display: grid;
  gap: 16px;
  padding: 22px 24px 24px;
}

.stage-info-body p {
  margin: 0;
  color: var(--muted);
}

.stage-info-section,
.stage-info-closing {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(220, 225, 229, 0.92);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  background: rgba(247, 246, 242, 0.62);
}

.stage-info-section h5,
.stage-info-closing h5 {
  margin: 0;
  color: var(--ink);
  font-size: 1.02rem;
}

.stage-info-section ul {
  display: grid;
  gap: 10px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.stage-info-section li {
  position: relative;
  padding-left: 22px;
  color: var(--charcoal);
}

.stage-info-section li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(191, 145, 68, 0.14);
}

.stage-info-closing {
  border-left-color: var(--red);
  background: rgba(255, 255, 255, 0.82);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f4f7f7;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.deliverable-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.deliverable-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.deliverable-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin: 8px auto 0;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(191, 145, 68, 0.16);
}

.passport-band,
.member-band {
  background: var(--charcoal);
}

.passport-shell,
.member-shell {
  color: var(--white);
}

.passport-grid {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.passport-panel {
  color: var(--ink);
}

.passport-topline,
.passport-economics,
.lab-header,
.meter-top,
.script-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.passport-topline {
  align-items: flex-start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.passport-topline strong {
  display: block;
  font-size: 1.3rem;
}

.passport-topline span:last-child {
  color: var(--muted);
}

.score-badge {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 1000;
}

.odometer-field {
  margin-top: 18px;
}

.progress-track {
  height: 12px;
  margin: 12px 0 18px;
  border-radius: 999px;
  background: #e8edf0;
  overflow: hidden;
}

.progress-track span {
  display: block;
  width: 43%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--green));
}

.passport-economics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
}

.passport-economics div {
  padding: 16px;
  background: #fbfcfd;
}

.passport-economics strong {
  display: block;
  margin-top: 6px;
  font-size: 1.2rem;
}

.lab-header {
  align-items: flex-end;
  margin-bottom: 12px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 30px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.status-pill.pass {
  background: rgba(47, 112, 82, 0.14);
  color: var(--green);
}

.status-pill.warn {
  background: rgba(191, 145, 68, 0.16);
  color: #8a640e;
}

.status-pill.fail {
  background: rgba(215, 47, 56, 0.12);
  color: #9e1d24;
}

.lab-meter-stack {
  display: grid;
  gap: 16px;
}

.lab-meter {
  display: grid;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.lab-meter:first-child {
  padding-top: 0;
  border-top: 0;
}

.meter-top strong {
  font-size: 0.92rem;
}

.meter-top span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.meter-bar {
  height: 10px;
  border-radius: 999px;
  background: #e8edf0;
  overflow: hidden;
}

.meter-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
}

.meter-bar.warn span {
  background: var(--gold);
}

.meter-bar.fail span {
  background: var(--red);
}

.engineering-grid {
  grid-template-columns: minmax(360px, 1fr) minmax(320px, 0.9fr);
}

.particle-visual {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.particle-card {
  display: grid;
  align-content: end;
  min-height: 180px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f7f9fa;
}

.particle-card strong {
  display: block;
  font-size: 1.22rem;
}

.particle-card span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 850;
}

.particle-card.danger {
  border-color: rgba(215, 47, 56, 0.28);
  background: rgba(215, 47, 56, 0.08);
}

.particle-card.standard {
  border-color: rgba(19, 37, 54, 0.24);
  background: rgba(19, 37, 54, 0.08);
}

.particle-card.protect {
  border-color: rgba(12, 133, 136, 0.24);
  background: rgba(12, 133, 136, 0.08);
}

.threshold-table {
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.threshold-row {
  display: grid;
  grid-template-columns: minmax(115px, 0.8fr) minmax(100px, 0.65fr) minmax(160px, 1.2fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.threshold-row:last-child {
  border-bottom: 0;
}

.threshold-row span {
  padding: 12px;
  background: #fbfcfd;
  color: var(--muted);
  font-size: 0.86rem;
}

.threshold-row strong {
  color: var(--ink);
}

.value-layout {
  grid-template-columns: minmax(0, 1fr) minmax(270px, 0.32fr);
  align-items: start;
}

.pricing-table {
  display: grid;
  gap: 10px;
}

.price-row {
  display: grid;
  grid-template-columns: minmax(86px, 0.45fr) minmax(220px, 1.15fr) minmax(120px, 0.55fr) minmax(200px, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
}

.price-row div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.96);
}

.price-row strong,
.price-row small {
  display: block;
}

.price-row small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.included {
  color: var(--green);
  font-weight: 1000;
  text-transform: uppercase;
}

.value-summary {
  display: grid;
  gap: 1px;
  padding: 0;
  background: var(--line);
  overflow: hidden;
}

.value-summary div {
  padding: 18px;
  background: #fbfcfd;
}

.value-summary strong {
  display: block;
  margin-top: 7px;
  font-size: 1.16rem;
  line-height: 1.18;
}

.secondary-action:not(.hero .secondary-action):not(.member-band .secondary-action) {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.script-tools {
  justify-content: flex-start;
  margin-bottom: 18px;
}

.script-text {
  max-width: 930px;
  font-size: 1.02rem;
}

.script-text p:last-child,
.member-shell p:last-child {
  margin-bottom: 0;
}

.member-shell {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.member-shell h2 {
  max-width: 760px;
}

.member-shell p {
  max-width: 820px;
}

.source-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.source-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 132px;
  padding: 18px;
  box-shadow: none;
}

.source-card strong,
.source-card small {
  display: block;
}

.source-card small {
  margin-top: 5px;
  color: var(--muted);
  font-weight: 800;
}

.source-card svg {
  color: var(--teal);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(100% - 40px, 1220px);
  margin: 0 auto;
  padding: 24px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

@media (max-width: 1080px) {
  h1 {
    font-size: 3.35rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .section-head,
  .planner-grid,
  .journey-layout,
  .passport-grid,
  .engineering-grid,
  .value-layout,
  .member-shell,
  .source-grid {
    grid-template-columns: 1fr;
  }

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

  .member-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .topbar {
    align-items: flex-start;
  }

  .brand {
    min-width: 0;
  }

  .nav-links {
    display: none;
  }

  .section-shell,
  .hero-content,
  .footer {
    width: min(100% - 28px, 1220px);
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-top: 58px;
  }

  h1 {
    font-size: 2.48rem;
  }

  h2 {
    font-size: 1.95rem;
  }

  .hero-actions,
  .member-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .hero-stats,
  .input-grid,
  .result-grid,
  .benefit-grid,
  .passport-economics,
  .particle-visual,
  .price-row,
  .threshold-row {
    grid-template-columns: 1fr;
  }

  .hero-stats div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .hero-stats div:last-child {
    border-bottom: 0;
  }

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

  .stage-detail {
    min-height: auto;
  }
}

@media (max-width: 460px) {
  h1 {
    font-size: 2.12rem;
  }

  h2 {
    font-size: 1.68rem;
  }

  .brand strong {
    max-width: 190px;
    font-size: 0.86rem;
  }

  .planner-panel,
  .result-panel,
  .stage-detail,
  .passport-panel,
  .flow-panel,
  .threshold-panel,
  .script-panel {
    padding: 16px;
  }
}
