:root {
  color-scheme: light;
  --passport-navy: #10233d;
  --freedom-gold: #c8a96a;
  --cloud-ivory: #f8f5f0;
  --journey-sage: #8fa58a;
  --midnight-ink: #2d2d2d;
  --white: #fffdf8;
  --muted: #706a60;
  --line: rgba(16, 35, 61, 0.14);
  --shadow: 0 24px 70px rgba(16, 35, 61, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

.site-footer {
  border-top: 1px solid var(--line);
  background: #f1eee8;
  color: var(--passport-navy);
  padding: 24px 0;
}

.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer p { margin: 0; color: var(--muted); font-size: 0.78rem; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 20px; }
.site-footer a { font-size: 0.78rem; font-weight: 800; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.legal-page { background: linear-gradient(180deg, #fffdf8, var(--cloud-ivory)); }
.legal-shell { width: min(820px, calc(100% - 48px)); }
.legal-header { padding: 28px 0 48px; }
.legal-header .brand { margin-bottom: 64px; }
.legal-header h1 { max-width: 760px; color: var(--passport-navy); font-size: clamp(2.8rem, 10vw, 5rem); line-height: 1; }
.legal-header > p:not(.eyebrow) { max-width: 680px; color: var(--muted); }
.legal-content { border-top: 1px solid var(--line); padding: 42px 0 72px; }
.legal-content section { margin-bottom: 38px; }
.legal-content h2 { color: var(--passport-navy); font-size: clamp(1.55rem, 5vw, 2.15rem); line-height: 1.12; }
.legal-content h3 { color: var(--passport-navy); font-size: 1.05rem; }
.legal-content p, .legal-content li { color: #4b5563; line-height: 1.75; }
.legal-content ul { padding-left: 22px; }
.legal-note { border-left: 3px solid var(--freedom-gold); background: #fff9eb; padding: 18px 20px; }
.policy-effective { color: var(--muted); font-size: 0.82rem; font-weight: 700; }
.support-form { display: grid; gap: 18px; max-width: 680px; }
.support-form textarea { min-height: 160px; resize: vertical; }
.support-form input, .support-form select, .support-form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--midnight-ink); padding: 14px;
}

button,
input {
  font: inherit;
}

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

a {
  color: inherit;
}

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

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3rem, 16vw, 5.8rem);
  line-height: 0.92;
  margin-bottom: 18px;
}

h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 9vw, 3.4rem);
  line-height: 1;
  margin-bottom: 14px;
}

h3 {
  font-size: clamp(1.28rem, 5vw, 1.85rem);
  line-height: 1.14;
  margin-bottom: 10px;
}

p {
  line-height: 1.65;
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.narrow {
  width: min(760px, calc(100% - 32px));
}

.page {
  min-height: 100vh;
  padding: 22px 0 54px;
}

.centered-page {
  display: grid;
  place-items: center;
}

.landing {
  min-height: 100vh;
  position: relative;
  display: grid;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 12%, rgba(143, 165, 138, 0.16), transparent 34%),
    linear-gradient(180deg, #fffdf8 0%, var(--cloud-ivory) 100%);
  color: var(--passport-navy);
}

.hero-media,
.hero-overlay,
.hero-shell {
  grid-area: 1 / 1;
}

.hero-media {
  display: none;
}

.hero-overlay {
  display: none;
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(28px, 5vw, 44px) 0 clamp(64px, 8vw, 96px);
}

.topbar,
.assessment-top,
.hub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--passport-navy);
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
}

.brand.compact {
  color: var(--passport-navy);
}

.brand-mark {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(200, 169, 106, 0.72);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--freedom-gold);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.hero-copy {
  display: grid;
  width: 100%;
  max-width: 1120px;
  grid-template-columns: minmax(380px, 0.9fr) minmax(360px, 0.78fr);
  column-gap: clamp(48px, 8vw, 112px);
  align-items: center;
  padding-top: clamp(70px, 10vh, 118px);
}

.mobile-hero-art {
  display: block;
  grid-column: 2;
  grid-row: 1 / 5;
  width: 100%;
  aspect-ratio: 0.86;
  border-radius: 28px;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 30px 90px rgba(16, 35, 61, 0.18);
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--freedom-gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.subheadline {
  max-width: 550px;
  margin-bottom: 46px;
  color: #4b5563;
  font-size: clamp(1.08rem, 4vw, 1.28rem);
}

.hero-copy .eyebrow {
  margin-bottom: 30px;
  grid-column: 1;
}

.hero-copy h1 {
  grid-column: 1;
  max-width: 620px;
  margin-bottom: 36px;
  color: var(--passport-navy);
  font-size: clamp(4rem, 7.2vw, 6.2rem);
  line-height: 0.96;
}

.hero-copy .subheadline,
.hero-copy .button {
  grid-column: 1;
}

.hero-title {
  display: grid;
  gap: 0.02em;
}

.hero-title span {
  display: block;
  overflow-wrap: normal;
  white-space: nowrap;
}

.button {
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  cursor: pointer;
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

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

.button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
}

.button-gold {
  background: var(--freedom-gold);
  color: var(--passport-navy);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.button-navy {
  background: var(--passport-navy);
  color: var(--cloud-ivory);
}

.button-ghost {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--passport-navy);
}

.assessment-page {
  display: flex;
  align-items: center;
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.96), rgba(248, 245, 240, 1)),
    var(--cloud-ivory);
  padding: 22px 0 42px;
}

.assessment-shell {
  width: min(1020px, calc(100% - 32px));
  margin: 0 auto;
}

.assessment-top {
  margin: 4px 0 18px;
}

.step-count {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.progress {
  height: 4px;
  margin-bottom: 20px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(16, 35, 61, 0.1);
}

.progress-bar {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--journey-sage), var(--freedom-gold));
  transition: width 0.24s ease;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.question-panel,
.lead-panel,
.loading-panel {
  padding: clamp(24px, 7vw, 46px);
}

.question-panel {
  position: relative;
  padding: 38px;
  overflow: hidden;
}

.question-copy {
  position: relative;
  z-index: 1;
}

.question-copy h2 {
  max-width: 780px;
  color: var(--passport-navy);
  font-size: 2.8rem;
  line-height: 1.06;
}

.question-note {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
}

.answer-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.answer {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--midnight-ink);
  cursor: pointer;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 14px;
  padding: 15px 16px;
  text-align: left;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.answer:hover,
.answer.selected {
  border-color: var(--freedom-gold);
  background: #fffaf0;
  transform: translateY(-1px);
}

.answer.selected {
  box-shadow: 0 14px 30px rgba(16, 35, 61, 0.1);
}

.answer-index {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(143, 165, 138, 0.18);
  color: var(--passport-navy);
  font-size: 0.76rem;
  font-weight: 900;
}

.answer-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.answer strong {
  font-weight: 750;
  line-height: 1.35;
}

.answer small {
  color: var(--muted);
  line-height: 1.4;
}

.answer-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--freedom-gold);
  color: var(--passport-navy);
  font-size: 0.75rem;
  font-weight: 900;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.answer.selected .answer-check {
  opacity: 1;
  transform: scale(1);
}

.simple-answer {
  min-height: 78px;
}

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

.visual-answer {
  min-height: 122px;
  align-items: start;
  padding: 20px;
}

.visual-answer:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.question-layout-visual {
  background:
    linear-gradient(135deg, rgba(200, 169, 106, 0.08), transparent 42%),
    var(--white);
}

.question-layout-split {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.question-layout-split .question-copy {
  min-height: 100%;
  border-radius: 8px;
  background: var(--passport-navy);
  color: var(--cloud-ivory);
  padding: 28px;
}

.question-layout-split .question-copy h2 {
  color: var(--cloud-ivory);
  font-size: 2.4rem;
}

.question-layout-split .question-note {
  color: rgba(248, 245, 240, 0.72);
}

.question-layout-split .answer-list {
  margin-top: 0;
}

.question-layout-split .actions {
  grid-column: 1 / -1;
  margin-top: 0;
}

.assessment-motif {
  width: 132px;
  height: 132px;
  border: 1px solid rgba(200, 169, 106, 0.55);
  border-radius: 50%;
  display: grid;
  place-content: center;
  gap: 5px;
  margin-top: 34px;
  color: var(--freedom-gold);
  text-align: center;
}

.assessment-motif span {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 3rem;
  line-height: 0.9;
}

.assessment-motif small {
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.insight-panel {
  position: relative;
  min-height: 610px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--white);
  padding: 54px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.insight-copy {
  position: relative;
  z-index: 1;
}

.insight-copy h2 {
  color: var(--passport-navy);
  font-size: 3.75rem;
  line-height: 1.02;
}

.insight-copy > p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.08rem;
}

.insight-orbit {
  position: relative;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(200, 169, 106, 0.5);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--freedom-gold);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.8rem;
}

.insight-orbit::before,
.insight-orbit::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(143, 165, 138, 0.35);
  border-radius: 50%;
}

.insight-orbit::before {
  inset: 24px;
}

.insight-orbit::after {
  inset: 58px;
}

.insight-minimal {
  grid-template-columns: 1fr;
  place-items: center;
  text-align: center;
}

.insight-minimal .insight-orbit {
  position: absolute;
  width: 430px;
  height: 430px;
  opacity: 0.34;
}

.insight-minimal .insight-copy {
  max-width: 760px;
}

.insight-minimal .insight-copy > p:not(.eyebrow) {
  margin-right: auto;
  margin-left: auto;
}

.insight-reassurance,
.insight-final {
  border-color: rgba(200, 169, 106, 0.35);
  background: var(--passport-navy);
}

.insight-reassurance .insight-copy h2,
.insight-final .insight-copy h2 {
  color: var(--cloud-ivory);
}

.insight-reassurance .insight-copy > p:not(.eyebrow),
.insight-final .insight-copy > p:not(.eyebrow) {
  color: rgba(248, 245, 240, 0.74);
}

.insight-final {
  grid-template-columns: 0.55fr 1fr;
}

.insight-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}

.insight-actions .button {
  min-width: 190px;
}

.assessment-back-link {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  padding: 12px 0;
  font-weight: 800;
}

.insight-reassurance .assessment-back-link,
.insight-final .assessment-back-link {
  color: rgba(248, 245, 240, 0.7);
}

.assessment-stage {
  animation: assessment-enter 0.28s ease both;
}

@keyframes assessment-enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 26px;
}

.lead-panel .field {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}

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

.field input {
  min-height: 54px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: #fff;
  color: var(--midnight-ink);
}

.field input:focus {
  outline: 3px solid rgba(200, 169, 106, 0.22);
  border-color: var(--freedom-gold);
}

.loading-page {
  background: var(--passport-navy);
  color: var(--cloud-ivory);
}

.loading-panel {
  border-color: rgba(200, 169, 106, 0.28);
  background: rgba(255, 253, 248, 0.06);
  color: var(--cloud-ivory);
  text-align: center;
}

.loading-mark {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  border: 2px solid rgba(248, 245, 240, 0.16);
  border-top-color: var(--freedom-gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loading-list {
  display: grid;
  gap: 12px;
  max-width: 420px;
  margin: 26px auto 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.loading-list li {
  border: 1px solid rgba(248, 245, 240, 0.12);
  border-radius: 8px;
  padding: 13px 14px;
  background: rgba(255, 253, 248, 0.06);
}

.loading-list li::before,
.system-card strong::before {
  content: "✓ ";
  color: var(--freedom-gold);
}

.results-page,
.pricing-page,
.hub-page {
  background: var(--cloud-ivory);
}

.report-hero,
.hub-header {
  margin-bottom: 16px;
  border-radius: 8px;
  background: var(--passport-navy);
  color: var(--cloud-ivory);
  padding: clamp(24px, 7vw, 46px);
  box-shadow: var(--shadow);
}

.report-hero h1 {
  max-width: 780px;
  font-size: clamp(2.7rem, 12vw, 5rem);
}

.report-hero > p:not(.eyebrow),
.hub-header p {
  color: rgba(248, 245, 240, 0.78);
}

.score-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 22px;
  margin-top: 28px;
}

.score-orb {
  width: 138px;
  height: 138px;
  border: 1px solid rgba(200, 169, 106, 0.46);
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding: 16px;
  text-align: center;
}

.score-orb strong {
  color: var(--freedom-gold);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 3.45rem;
  line-height: 0.8;
}

.score-orb span {
  color: rgba(248, 245, 240, 0.76);
  font-size: 0.72rem;
  font-weight: 800;
}

.score-row h2 {
  color: var(--freedom-gold);
}

.insight-grid,
.breakdown,
.product-grid,
.system-grid {
  display: grid;
  gap: 14px;
}

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

.insight-grid .panel,
.results-page > .shell > .panel,
.offer-panel,
.next-panel {
  padding: clamp(20px, 5vw, 30px);
  margin-bottom: 16px;
}

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

.breakdown {
  grid-template-columns: repeat(5, 1fr);
}

.breakdown-card,
.product-card,
.system-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
}

.breakdown-card span,
.product-card span,
.system-status {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.breakdown-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--passport-navy);
  font-size: 1.75rem;
}

.breakdown-card small {
  color: var(--journey-sage);
  font-weight: 900;
}

.meter {
  height: 7px;
  margin-top: 14px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(16, 35, 61, 0.1);
}

.meter div {
  height: 100%;
  border-radius: inherit;
  background: var(--freedom-gold);
}

.path-panel {
  background: #fffaf0;
}

.offer-section {
  margin-top: 26px;
}

.offer-panel {
  border-color: rgba(200, 169, 106, 0.6);
  background:
    linear-gradient(135deg, rgba(200, 169, 106, 0.18), rgba(255, 253, 248, 0.92)),
    var(--white);
}

.price {
  margin: 16px 0 18px;
  color: var(--passport-navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 3rem;
  font-weight: 700;
}

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

.product-card {
  display: flex;
  min-height: 224px;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 14px 34px rgba(16, 35, 61, 0.08);
}

.product-card strong {
  color: var(--passport-navy);
  font-size: 1.8rem;
}

.product-card p {
  color: var(--muted);
  font-size: 0.94rem;
}

.product-card.featured {
  border-color: rgba(200, 169, 106, 0.46);
  background: #fff9eb;
}

.pricing-header {
  max-width: 820px;
  padding: clamp(32px, 7vw, 68px) 0 24px;
}

.pricing-header h1 {
  color: var(--passport-navy);
  font-size: clamp(2.7rem, 10vw, 5rem);
  line-height: 1.02;
}

.pricing-header p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-bottom: 56px;
}

.pricing-card {
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(16, 35, 61, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(22px, 4vw, 30px);
}

.pricing-card.recommended {
  border-color: rgba(200, 169, 106, 0.68);
  background:
    linear-gradient(145deg, rgba(200, 169, 106, 0.16), rgba(255, 253, 248, 0.98)),
    var(--white);
}

.pricing-card.owned-card,
.offer-panel.owned-card {
  border-color: rgba(92, 136, 96, 0.38);
  background:
    linear-gradient(145deg, rgba(143, 165, 138, 0.16), rgba(255, 253, 248, 0.98)),
    var(--white);
}

.pricing-card h2 {
  color: var(--passport-navy);
  font-size: clamp(1.85rem, 5vw, 2.7rem);
  line-height: 1.04;
}

.pricing-card h3 {
  color: var(--passport-navy);
  font-size: 1.18rem;
  line-height: 1.25;
}

.pricing-card p:not(.eyebrow) {
  color: var(--muted);
}

.purchase-shell { padding-top: clamp(24px, 5vw, 52px); }
.purchase-brand { display: inline-flex; margin-bottom: clamp(40px, 7vw, 72px); }
.purchase-status-panel { max-width: 720px; margin: 8vh auto 0; padding: clamp(28px, 7vw, 54px); text-align: center; }
.purchase-status-panel h1 { color: var(--passport-navy); }
.purchase-status-panel .button { margin-top: 18px; }
.purchase-notice { min-height: 24px; color: #8a2f2f; font-weight: 700; }
.final-sale-acknowledgement {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.6fr);
  gap: 24px;
  margin: 6px 0 28px;
  border: 1px solid rgba(200, 169, 106, 0.5);
  border-radius: 8px;
  background: #fff9eb;
  padding: 22px;
}
.final-sale-acknowledgement strong { color: var(--passport-navy); font-size: 1.05rem; }
.final-sale-acknowledgement p { margin: 8px 0 0; color: #5e5548; font-size: 0.84rem; line-height: 1.55; }
.final-sale-acknowledgement a { font-weight: 800; }
.purchase-consent { display: flex; align-items: flex-start; gap: 12px; color: var(--passport-navy); font-size: 0.9rem; font-weight: 800; line-height: 1.5; }
.purchase-consent input { width: 20px; height: 20px; flex: 0 0 auto; margin: 2px 0 0; accent-color: var(--passport-navy); }
.button:disabled { cursor: not-allowed; opacity: 0.46; box-shadow: none; }
.final-sale-note { max-width: 620px; margin: 10px 0 16px; color: var(--muted); font-size: 0.76rem; line-height: 1.55; }
.final-sale-note a { color: var(--passport-navy); font-weight: 800; }
.package-value { margin: 4px 0 0; color: var(--journey-sage) !important; font-weight: 800; }

.owned-message {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(92, 136, 96, 0.22);
  border-radius: 8px;
  background: rgba(143, 165, 138, 0.13);
  color: #355f3b;
  padding: 18px;
}

.owned-message strong {
  color: #295331;
  font-size: 1.02rem;
}

.owned-message span {
  color: #4c684f;
  line-height: 1.5;
}

.owned-message.celebratory {
  background: rgba(200, 169, 106, 0.14);
  color: var(--passport-navy);
}

.upgrade-label {
  display: block;
  margin-bottom: -8px;
  color: var(--journey-sage);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hub-header h1 {
  margin-bottom: 8px;
  font-size: clamp(2.6rem, 10vw, 4.7rem);
}

.next-panel {
  background: #fffaf0;
}

.system-grid {
  grid-template-columns: repeat(5, 1fr);
}

.system-card {
  min-height: 230px;
  box-shadow: 0 14px 34px rgba(16, 35, 61, 0.08);
}

.system-card.locked {
  opacity: 0.58;
}

.system-card.locked strong::before {
  content: "🔒 ";
}

.system-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.system-card strong {
  color: var(--passport-navy);
}

.developer-panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 16px;
  padding: clamp(20px, 4vw, 28px);
  background: rgba(255, 253, 248, 0.78);
}

.dev-control-grid,
.hub-metrics {
  display: grid;
  gap: 12px;
}

.dev-control-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.hub-metrics {
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 16px;
}

.metric-card {
  padding: 20px;
  box-shadow: 0 14px 34px rgba(16, 35, 61, 0.08);
}

.metric-card span,
.system-status-card span {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric-card strong {
  color: var(--passport-navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.5rem;
}

.system-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.system-card .button {
  margin-top: auto;
}

.system-card small {
  color: var(--journey-sage);
  font-weight: 900;
}

.system-page {
  background:
    radial-gradient(circle at 85% 12%, rgba(143, 165, 138, 0.14), transparent 32%),
    var(--cloud-ivory);
}

.system-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 16px;
  border-radius: 8px;
  background: var(--passport-navy);
  color: var(--cloud-ivory);
  padding: clamp(24px, 7vw, 46px);
  box-shadow: var(--shadow);
}

.system-hero h1 {
  max-width: 760px;
  font-size: clamp(2.8rem, 9vw, 5.2rem);
}

.system-hero p:not(.eyebrow) {
  max-width: 700px;
  color: rgba(248, 245, 240, 0.78);
}

.system-status-card {
  border: 1px solid rgba(200, 169, 106, 0.32);
  border-radius: 8px;
  display: grid;
  align-content: center;
  gap: 14px;
  background: rgba(255, 253, 248, 0.06);
  padding: 20px;
}

.system-status-card strong {
  color: var(--freedom-gold);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 3.2rem;
  line-height: 0.9;
}

.system-steps,
.plan-grid {
  display: grid;
  gap: 14px;
}

.system-steps {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 16px;
}

.system-steps .panel {
  padding: 22px;
}

.system-steps span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: rgba(200, 169, 106, 0.18);
  color: var(--passport-navy);
  font-weight: 900;
}

.system-section,
.plan-tool,
.completion-panel,
.plan-results,
.locked-system-panel {
  margin-bottom: 18px;
}

.toolkit-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(16, 35, 61, 0.08);
  overflow: hidden;
}

.toolkit-item {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.toolkit-item:last-child {
  border-bottom: 0;
}

.toolkit-item summary,
.toolkit-item-single {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  min-height: 104px;
  padding: 20px 24px;
}

.toolkit-item summary {
  cursor: pointer;
  list-style: none;
}

.toolkit-item summary::-webkit-details-marker {
  display: none;
}

.toolkit-copy {
  display: grid;
  gap: 5px;
}

.toolkit-copy strong {
  color: var(--passport-navy);
  font-size: 1.08rem;
}

.toolkit-copy > span {
  max-width: 680px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.toolkit-action {
  min-width: 88px;
  border: 1px solid rgba(16, 35, 61, 0.18);
  border-radius: 8px;
  background: transparent;
  color: var(--passport-navy);
  padding: 10px 16px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.toolkit-item[open] .toolkit-action {
  border-color: rgba(200, 169, 106, 0.5);
  background: rgba(200, 169, 106, 0.12);
}

.toolkit-links {
  display: grid;
  gap: 1px;
  border-top: 1px solid var(--line);
  background: var(--line);
}

.toolkit-links a,
.toolkit-links .resource-placeholder {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  border: 0;
  background: rgba(248, 245, 240, 0.55);
  color: var(--passport-navy);
  padding: 14px 24px;
  font: inherit;
  font-weight: 800;
  text-align: left;
  text-decoration: none;
}

.toolkit-links .resource-placeholder {
  cursor: not-allowed;
  opacity: 0.72;
}

.toolkit-link-group {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.toolkit-link-group header {
  display: grid;
  gap: 4px;
  background: var(--white);
  padding: 18px 24px 12px;
}

.toolkit-link-group header strong {
  color: var(--passport-navy);
}

.toolkit-link-group header span {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.toolkit-link-group header .toolkit-group-eyebrow,
.dashboard-toolkit-group .toolkit-group-eyebrow {
  color: var(--freedom-gold);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0;
}

.toolkit-link-group header p,
.dashboard-toolkit-group p {
  margin: 3px 0 0;
  color: var(--midnight-ink);
  font-size: 0.82rem;
  line-height: 1.45;
}

.toolkit-link-copy,
.dashboard-toolkit-link-copy {
  display: grid;
  gap: 3px;
}

.toolkit-link-copy small,
.dashboard-toolkit-link-copy small {
  max-width: 560px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.4;
}

.resource-link-action {
  flex: 0 0 auto;
  color: var(--passport-navy);
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.banking-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  background: var(--cloud-ivory);
  padding: 16px;
}

.banking-resource-card,
.banking-info-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 20px;
}

.banking-resource-card {
  display: flex;
  align-items: stretch;
  flex-direction: column;
  gap: 12px;
}

.banking-resource-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.banking-card-type {
  margin: 0 0 5px;
  color: var(--freedom-gold);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.banking-resource-card h4,
.banking-info-card h4,
.banking-info-card h5 {
  margin: 0;
  color: var(--passport-navy);
}

.banking-resource-card > p,
.banking-info-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.banking-badge {
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(143, 165, 138, 0.16);
  color: #597057;
  padding: 5px 8px;
  font-size: 0.66rem;
  font-weight: 900;
}

.banking-card-secondary {
  color: var(--passport-navy) !important;
  font-weight: 700;
}

.banking-card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  margin-top: auto;
  border: 1px solid rgba(16, 35, 61, 0.16);
  border-radius: 8px;
  background: transparent;
  color: var(--passport-navy);
  padding: 10px 12px;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 900;
  text-align: left;
  text-decoration: none;
}

.banking-card-placeholder {
  align-items: flex-start;
  flex-direction: column;
  cursor: not-allowed;
  opacity: 0.68;
}

.banking-card-placeholder small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
}

.banking-info-card {
  display: grid;
  grid-column: 1 / -1;
  gap: 16px;
}

.banking-card-intro {
  color: var(--passport-navy) !important;
  font-size: 0.96rem !important;
  font-weight: 700;
}

.banking-info-card section {
  display: grid;
  gap: 5px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.banking-info-card h5 {
  font-size: 0.76rem;
  text-transform: uppercase;
}

.banking-card-note {
  color: var(--muted);
  font-size: 0.72rem;
}

.banking-question-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: var(--midnight-ink);
  font-size: 0.84rem;
  line-height: 1.45;
}

.belongings-tool {
  background: var(--white);
  padding: clamp(22px, 5vw, 42px);
}

.belongings-heading {
  max-width: 780px;
}

.belongings-heading h3 {
  margin: 8px 0 10px;
  color: var(--passport-navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.35rem);
  line-height: 1.02;
}

.belongings-heading > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.6;
}

.belongings-heading blockquote,
.belongings-panel blockquote {
  margin: 22px 0 0;
  border-left: 3px solid var(--freedom-gold);
  color: var(--passport-navy);
  padding: 4px 0 4px 18px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.12rem;
  line-height: 1.45;
}

.keep-or-go {
  margin-top: 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

.keep-or-go h4,
.belongings-panel h4,
.item-sorter h4 {
  margin: 6px 0 0;
  color: var(--passport-navy);
  font-size: 1.25rem;
}

.decision-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.decision-flow span {
  display: grid;
  gap: 4px;
  min-height: 76px;
  background: var(--cloud-ivory);
  padding: 14px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.decision-flow b {
  color: var(--freedom-gold);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.belongings-paths {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
}

.belongings-paths button {
  display: grid;
  gap: 8px;
  min-height: 126px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--passport-navy);
  padding: 18px;
  text-align: left;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.belongings-paths button:hover,
.belongings-paths button.selected {
  border-color: var(--freedom-gold);
  box-shadow: 0 12px 28px rgba(16, 35, 61, 0.1);
  transform: translateY(-2px);
}

.belongings-paths strong {
  font-size: 0.9rem;
  text-transform: uppercase;
}

.belongings-paths span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.belongings-panels {
  margin-top: 16px;
}

.belongings-panel {
  border-top: 1px solid var(--line);
  padding: 28px 0 8px;
}

.belongings-panel[hidden] {
  display: none;
}

.belongings-panel > p,
.belongings-panel li {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.sell-resource-grid,
.belongings-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.sell-resource-grid article {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}

.sell-resource-grid h5,
.belongings-detail-grid h5,
.belongings-list h5 {
  margin: 0;
  color: var(--passport-navy);
}

.sell-resource-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.sell-resource-grid > article > strong {
  color: #597057;
  font-size: 0.8rem;
}

.sell-resource-grid a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  margin-top: auto;
  border: 1px solid rgba(16, 35, 61, 0.16);
  border-radius: 8px;
  color: var(--passport-navy);
  padding: 10px 12px;
  font-size: 0.8rem;
  font-weight: 900;
  text-decoration: none;
}

.belongings-detail-grid > div {
  background: var(--cloud-ivory);
  padding: 20px;
}

.belongings-detail-grid ul,
.belongings-detail-grid ol,
.belongings-panel > ul,
.belongings-panel > ol {
  display: grid;
  gap: 7px;
  margin: 12px 0 0;
  padding-left: 20px;
}

.belongings-reminder,
.take-decision {
  margin-top: 18px;
  background: rgba(143, 165, 138, 0.12);
  padding: 16px;
}

.take-decision p {
  margin: 4px 0;
}

.item-sorter {
  margin-top: 38px;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}

.item-sorter form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 0.35fr) auto;
  gap: 10px;
  align-items: end;
  margin-top: 18px;
}

.item-sorter label {
  display: grid;
  gap: 6px;
  color: var(--passport-navy);
  font-size: 0.78rem;
  font-weight: 800;
}

.item-sorter input,
.item-sorter select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--passport-navy);
  padding: 10px 12px;
  font: inherit;
}

.item-sorter .button {
  min-height: 46px;
}

.belongings-lists {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.belongings-list {
  min-width: 0;
  background: var(--cloud-ivory);
  padding: 14px;
}

.belongings-list > p {
  color: var(--muted);
  font-size: 0.76rem;
}

.belongings-list ul {
  display: grid;
  gap: 6px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.belongings-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 7px;
  color: var(--passport-navy);
  font-size: 0.78rem;
}

.belongings-list li span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.belongings-list li button {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.1rem;
}

.dashboard-toolkit-jump {
  border: 1px solid rgba(16, 35, 61, 0.14);
  border-radius: 8px;
  background: transparent;
  color: var(--passport-navy);
  padding: 8px 10px;
  font-size: 0.86rem;
  font-weight: 800;
}

.toolkit-links a:hover,
.toolkit-action:hover {
  background: rgba(143, 165, 138, 0.12);
}

.plan-tool,
.completion-panel,
.plan-results,
.locked-system-panel {
  padding: clamp(22px, 5vw, 32px);
}

.plan-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.plan-form .actions {
  grid-column: 1 / -1;
}

.freedom-dashboard {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 46px rgba(16, 35, 61, 0.1);
  overflow: hidden;
}

.dashboard-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  background: var(--passport-navy);
  color: var(--cloud-ivory);
  padding: clamp(26px, 5vw, 40px);
}

.dashboard-heading h2 {
  color: var(--cloud-ivory);
}

.dashboard-heading > p {
  max-width: 420px;
  margin: 0;
  color: rgba(248, 245, 240, 0.74);
  text-align: right;
}

.dashboard-section {
  border-bottom: 1px solid var(--line);
  padding: clamp(24px, 5vw, 36px);
}

.dashboard-section:last-of-type {
  border-bottom: 0;
}

.dashboard-section-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.dashboard-section-title > span {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(200, 169, 106, 0.18);
  color: var(--passport-navy);
  font-weight: 900;
}

.dashboard-section-title h3,
.dashboard-section-title p {
  margin: 0;
}

.dashboard-section-title p {
  color: var(--muted);
  font-size: 0.9rem;
}

.first-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  counter-reset: first-step;
  list-style: none;
}

.first-steps li {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cloud-ivory);
  color: var(--passport-navy);
  padding: 18px;
  line-height: 1.5;
}

.week-checklist {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.week-task {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding: 16px 18px;
  cursor: pointer;
}

.week-task:last-child {
  border-bottom: 0;
}

.week-task input {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  accent-color: var(--journey-sage);
}

.week-task span {
  color: var(--passport-navy);
  font-weight: 700;
}

.week-task.completed {
  background: rgba(143, 165, 138, 0.12);
}

.week-task.completed span {
  color: #597057;
  text-decoration: line-through;
}

.dashboard-toolkit {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.dashboard-toolkit-item {
  display: grid;
  grid-template-columns: minmax(180px, 0.45fr) 1fr;
  gap: 18px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding: 16px 18px;
}

.dashboard-toolkit-item:last-child {
  border-bottom: 0;
}

.dashboard-toolkit-item > strong {
  color: var(--passport-navy);
}

.dashboard-toolkit-item > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dashboard-toolkit-path {
  display: block;
  padding: 0;
}

.dashboard-toolkit-path summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
}

.dashboard-toolkit-path summary::-webkit-details-marker {
  display: none;
}

.dashboard-toolkit-path summary strong,
.dashboard-toolkit-path summary span {
  color: var(--passport-navy);
}

.dashboard-toolkit-path summary span {
  font-size: 0.84rem;
  font-weight: 900;
}

.dashboard-toolkit-path > div {
  border-top: 1px solid var(--line);
  padding: 14px 18px 18px;
}

.dashboard-toolkit-group {
  display: grid;
  gap: 8px;
  flex-basis: 100%;
  padding-top: 8px;
}

.dashboard-toolkit-group > strong {
  color: var(--passport-navy);
  font-size: 0.92rem;
}

.dashboard-toolkit-group > small {
  color: var(--muted);
  line-height: 1.45;
}

.dashboard-toolkit-item a,
.dashboard-toolkit-item .resource-placeholder {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(16, 35, 61, 0.14);
  border-radius: 8px;
  background: transparent;
  color: var(--passport-navy);
  padding: 8px 10px;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  text-align: left;
  text-decoration: none;
}

.dashboard-toolkit-item a:has(.dashboard-toolkit-link-copy small),
.dashboard-toolkit-item .resource-placeholder:has(.dashboard-toolkit-link-copy small) {
  align-items: flex-start;
  flex-basis: 100%;
  justify-content: space-between;
}

.dashboard-toolkit-item .resource-placeholder {
  cursor: not-allowed;
  opacity: 0.72;
}

.dashboard-toolkit-item a:hover {
  background: rgba(143, 165, 138, 0.12);
}

.dashboard-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.dashboard-progress > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 0;
  background: var(--cloud-ivory);
  padding: 16px;
}

.dashboard-progress span,
.dashboard-progress strong {
  display: block;
}

.dashboard-progress span {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-progress strong {
  color: var(--passport-navy);
  line-height: 1.5;
}

.next-unlock ul {
  margin: 0;
  padding-left: 20px;
}

.system-disclaimer {
  border: 1px solid rgba(143, 165, 138, 0.28);
  border-radius: 8px;
  margin: 18px 0;
  background: rgba(143, 165, 138, 0.12);
  color: #3f6345;
  padding: 14px;
  font-weight: 800;
}

.context-disclosure {
  margin-top: 18px;
  border: 1px solid rgba(143, 165, 138, 0.28);
  border-radius: 8px;
  background: rgba(143, 165, 138, 0.1);
  color: #355f3b;
}
.context-disclosure summary { cursor: pointer; padding: 15px 18px; font-weight: 800; }
.context-disclosure > div { border-top: 1px solid rgba(143, 165, 138, 0.22); padding: 15px 18px 4px; }
.context-disclosure p { margin-bottom: 10px; font-size: 0.82rem; line-height: 1.6; }
.context-disclosure > a { display: inline-block; margin: 0 18px 16px; font-size: 0.82rem; font-weight: 800; }

.next-unlock {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 24px;
}

.locked-system-panel {
  max-width: 760px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 900px) {
  .decision-flow,
  .belongings-paths,
  .belongings-lists {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .breakdown,
  .product-grid,
  .pricing-grid,
  .system-grid,
  .hub-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 680px) {
  .decision-flow,
  .belongings-paths,
  .sell-resource-grid,
  .belongings-detail-grid,
  .belongings-lists,
  .item-sorter form {
    grid-template-columns: 1fr;
  }

  .belongings-tool {
    padding: 22px 18px;
  }

  .belongings-paths button {
    min-height: 0;
  }

  .banking-card-grid {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .banking-info-card {
    grid-column: auto;
  }

  .shell,
  .narrow {
    width: min(100% - 48px, 1120px);
  }

  .landing {
    min-height: 100vh;
    background: var(--cloud-ivory);
    color: var(--passport-navy);
  }

  .hero-shell {
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    padding: 0 0 44px;
  }

  .hero-media,
  .hero-overlay {
    display: none;
  }

  .landing .topbar {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    z-index: 2;
    width: calc(100% - 48px);
    margin: 24px auto;
    align-self: auto;
  }

  .landing .brand {
    width: fit-content;
    max-width: calc(100% - 76px);
    padding: 8px 16px 8px 8px;
    border-radius: 999px;
    background: rgba(248, 245, 240, 0.82);
    backdrop-filter: blur(14px);
    box-shadow: 0 14px 34px rgba(16, 35, 61, 0.12);
  }

  .landing .brand-mark {
    background: rgba(248, 245, 240, 0.64);
    border-color: rgba(200, 169, 106, 0.86);
    color: var(--freedom-gold);
  }

  .hero-copy {
    display: flex;
    width: 100%;
    max-width: 100%;
    flex-direction: column;
    align-items: center;
    padding-top: 0;
    text-align: center;
  }

  .mobile-hero-art {
    display: block;
    order: 0;
    width: 100%;
    max-width: none;
    height: min(48vh, 410px);
    margin: 0 0 34px;
    border-radius: 0;
    object-fit: cover;
    object-position: center top;
    background: #fffdf8;
    box-shadow: none;
    -webkit-mask-image: linear-gradient(to bottom, #000 76%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to bottom, #000 76%, rgba(0, 0, 0, 0) 100%);
  }

  .hero-copy h1 {
    order: 2;
    width: min(350px, 96vw);
    max-width: none;
    margin: 0 auto 24px;
    background: transparent;
    backdrop-filter: none;
    color: #13294b;
    font-size: clamp(3.5rem, 14vw, 3.95rem);
    font-weight: 700;
    line-height: 0.92;
    padding: 0;
    text-align: center;
    transform: scaleX(0.86);
    transform-origin: center;
  }

  .hero-copy .eyebrow {
    order: 1;
    margin-bottom: 28px;
    color: var(--freedom-gold);
    font-size: 0.92rem;
    letter-spacing: 0.24em;
    text-align: center;
  }

  .subheadline {
    order: 3;
    max-width: 300px;
    margin: 0 auto 32px;
    color: #4b5563;
    font-size: 18px;
    line-height: 1.5;
    text-align: center;
  }

  .brand span:last-child {
    max-width: 180px;
    color: #13294b;
    line-height: 1.15;
    text-shadow: 0 1px 14px rgba(248, 245, 240, 0.9);
  }

  .hero-title {
    display: block;
    white-space: pre-line;
  }

  .hero-title span {
    display: inline;
    white-space: normal;
  }

  .hero-title span:nth-child(1)::after,
  .hero-title span:nth-child(2)::after {
    content: "\A";
  }

  .landing .button-gold {
    order: 4;
    width: calc(100% - 48px);
    min-height: 56px;
    margin: 0 24px;
    border-radius: 16px;
    background: #d4b46a;
    color: #13294b;
    font-weight: 700;
  }

  .assessment-top,
  .hub-header,
  .score-row,
  .insight-grid,
  .breakdown,
  .product-grid,
  .pricing-grid,
  .system-grid,
  .system-hero,
  .system-steps,
  .plan-grid,
  .plan-form,
  .developer-panel,
  .hub-metrics,
  .dev-control-grid {
    grid-template-columns: 1fr;
  }

  .site-footer-inner, .final-sale-acknowledgement { grid-template-columns: 1fr; }
  .site-footer-inner { align-items: flex-start; flex-direction: column; }
  .site-footer nav { justify-content: flex-start; }

  .assessment-top,
  .hub-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .assessment-page {
    align-items: flex-start;
    padding-top: 16px;
  }

  .assessment-page .assessment-top {
    align-items: center;
    flex-direction: row;
  }

  .assessment-page .brand {
    max-width: 210px;
  }

  .assessment-shell {
    width: min(100% - 24px, 1020px);
  }

  .question-panel {
    padding: 24px 20px;
  }

  .question-copy h2,
  .question-layout-split .question-copy h2 {
    font-size: 2rem;
    line-height: 1.08;
  }

  .visual-answer-grid,
  .question-layout-split {
    grid-template-columns: 1fr;
  }

  .visual-answer:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .visual-answer {
    min-height: 102px;
    padding: 16px;
  }

  .question-layout-split {
    gap: 18px;
  }

  .question-layout-split .question-copy {
    min-height: 0;
    padding: 22px;
  }

  .question-layout-split .actions {
    grid-column: auto;
  }

  .assessment-motif {
    width: 86px;
    height: 86px;
    margin-top: 22px;
  }

  .assessment-motif span {
    font-size: 2rem;
  }

  .answer {
    grid-template-columns: 38px minmax(0, 1fr) 22px;
    gap: 11px;
    padding: 14px;
  }

  .answer-index {
    width: 38px;
    height: 38px;
  }

  .answer small {
    font-size: 0.78rem;
  }

  .insight-panel,
  .insight-final {
    min-height: calc(100vh - 118px);
    grid-template-columns: 1fr;
    gap: 26px;
    align-content: center;
    padding: 30px 22px;
  }

  .insight-orbit {
    width: 150px;
    height: 150px;
    font-size: 2rem;
  }

  .insight-minimal .insight-orbit {
    width: 270px;
    height: 270px;
  }

  .insight-copy h2 {
    font-size: 2.55rem;
    line-height: 1.04;
  }

  .insight-copy > p:not(.eyebrow) {
    font-size: 1rem;
  }

  .insight-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .insight-actions .button {
    width: 100%;
  }

  .actions,
  .button {
    width: 100%;
  }

  .actions {
    flex-direction: column-reverse;
  }

  .score-orb {
    width: 124px;
    height: 124px;
  }

  .system-hero {
    padding: 24px;
  }

  .system-status-card {
    padding: 18px;
  }

  .dashboard-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .dashboard-heading > p {
    text-align: left;
  }

  .first-steps,
  .dashboard-progress {
    grid-template-columns: 1fr;
  }

  .dashboard-toolkit-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .toolkit-item summary,
  .toolkit-item-single {
    gap: 14px;
    min-height: 0;
    padding: 18px;
  }

  .toolkit-action {
    min-width: 72px;
    padding: 9px 12px;
  }

  .toolkit-links a {
    padding: 14px 18px;
  }

  .plan-form .actions {
    grid-column: auto;
  }
}

.topbar-link,
.hub-actions button,
.account-back,
.account-links button {
  border: 0;
  background: transparent;
  color: var(--passport-navy);
  cursor: pointer;
  font-weight: 800;
}

.app-notice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  border: 1px solid rgba(16, 35, 61, 0.14);
  border-radius: 8px;
  background: #fffdf8;
  padding: 14px 44px 14px 16px;
  color: var(--passport-navy);
  box-shadow: 0 10px 28px rgba(16, 35, 61, 0.08);
}

.app-notice-success { border-color: rgba(83, 130, 88, 0.35); background: #f1f7f0; }
.app-notice-warning { border-color: rgba(200, 169, 106, 0.55); background: #fff9eb; }
.app-notice-error { border-color: rgba(157, 75, 68, 0.35); background: #fff4f1; }
.app-notice button { border: 0; background: transparent; color: var(--passport-navy); cursor: pointer; font-weight: 800; }
.app-notice [data-dismiss-notice] { position: absolute; right: 12px; font-size: 1.35rem; }

.flexible-payment {
  margin: -6px 0 18px;
  color: var(--muted);
  font-size: 0.82rem;
}

.hub-shell { max-width: 960px; }
.hub-welcome { align-items: center; }
.hub-score { min-width: 160px; border-left: 1px solid rgba(248, 245, 240, 0.18); display: grid; padding-left: 28px; }
.hub-score span, .hub-score small { color: rgba(248, 245, 240, 0.7); font-size: 0.76rem; font-weight: 800; text-transform: uppercase; }
.hub-score strong { color: var(--freedom-gold); font-family: "Playfair Display", Georgia, serif; font-size: 4rem; line-height: 1; }

.current-focus {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 32px;
  margin-bottom: 42px;
  border: 1px solid rgba(200, 169, 106, 0.45);
  border-radius: 8px;
  background: var(--white);
  padding: clamp(24px, 5vw, 38px);
  box-shadow: var(--shadow);
}
.current-focus h2 { color: var(--passport-navy); }
.focus-progress { display: flex; justify-content: space-between; color: var(--muted); font-size: 0.86rem; }
.today-step { border-left: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; padding-left: 32px; }
.today-step > span { color: var(--journey-sage); font-size: 0.76rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.today-step h3 { margin: 10px 0 22px; color: var(--passport-navy); font-size: 1.45rem; }
.today-step .button { align-self: flex-start; }
.hub-section { margin-bottom: 34px; }
.hub-section-heading h2 { color: var(--passport-navy); font-size: 2rem; }
.completed-list { display: grid; gap: 10px; }
.completed-list button { min-height: 64px; border: 1px solid rgba(83, 130, 88, 0.25); border-radius: 8px; display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 12px; background: #f7fbf5; color: var(--passport-navy); padding: 12px 16px; cursor: pointer; text-align: left; }
.success-check { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--journey-sage); color: white; font-weight: 900; }
.empty-copy { border-top: 1px solid var(--line); padding-top: 18px; color: var(--muted); }
.next-freedom-step { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 34px 0; }
.next-freedom-step h2 { color: var(--passport-navy); font-size: 2.25rem; }
.next-freedom-step > p:not(.eyebrow) { max-width: 660px; color: var(--muted); }
.next-step-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.next-step-footer > strong { color: var(--passport-navy); font-family: "Playfair Display", Georgia, serif; font-size: 2.4rem; }
.future-systems { margin: 16px 0 40px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 253, 248, 0.62); }
.future-systems summary { display: flex; justify-content: space-between; cursor: pointer; padding: 18px; color: var(--passport-navy); font-weight: 800; }
.future-systems summary span { color: var(--muted); }
.future-systems div { border-top: 1px solid var(--line); padding: 4px 18px; }
.future-systems p { display: flex; justify-content: space-between; margin: 0; border-bottom: 1px solid var(--line); padding: 14px 0; }
.future-systems p:last-child { border: 0; }
.future-systems p span { color: var(--muted); }
.hub-actions { display: flex; justify-content: center; gap: 22px; }

.plan-goal { display: grid; gap: 5px; max-width: 360px; color: var(--passport-navy); }
.plan-goal span { color: var(--journey-sage); font-size: 0.75rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.best-path-name, .next-milestone { display: block; border-left: 3px solid var(--freedom-gold); background: #fff9eb; color: var(--passport-navy); padding: 16px 18px; font-size: 1.08rem; }
.tools-reviewed-button { margin-top: 16px; }
.account-page { background: linear-gradient(145deg, #fffdf8, var(--cloud-ivory)); }
.account-shell { max-width: 560px; }
.account-back { margin-bottom: 16px; padding: 8px 0; }
.account-panel { border: 1px solid var(--line); border-radius: 8px; background: var(--white); padding: clamp(26px, 6vw, 42px); box-shadow: var(--shadow); }
.account-panel h1 { color: var(--passport-navy); font-size: clamp(2.5rem, 10vw, 4rem); line-height: 1; }
.account-panel > p:not(.eyebrow) { color: var(--muted); }
.account-panel form { display: grid; gap: 16px; margin-top: 24px; }
.field { display: grid; gap: 8px; }
.account-links { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; }
.provider-status { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 18px; font-size: 0.78rem; }

@media (max-width: 680px) {
  .topbar-link { padding: 12px 0; }
  .hub-score { width: 100%; border-top: 1px solid rgba(248, 245, 240, 0.18); border-left: 0; grid-template-columns: 1fr auto; align-items: end; padding: 18px 0 0; }
  .hub-score strong { grid-row: 1 / 3; grid-column: 2; font-size: 3.5rem; }
  .current-focus { grid-template-columns: 1fr; gap: 24px; }
  .today-step { border-top: 1px solid var(--line); border-left: 0; padding: 24px 0 0; }
  .today-step .button, .next-step-footer .button { width: 100%; }
  .next-step-footer { align-items: stretch; flex-direction: column; }
  .completed-list button { grid-template-columns: 30px minmax(0, 1fr) auto; }
  .app-notice { align-items: flex-start; flex-direction: column; }
  .account-links { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .assessment-stage {
    animation: none;
  }
}
