/* ============================================================
   MINDSET WEALTH SHIFT™ — Design System
   Cream · Gold · Ink · Sage — private-bank calm, mobile-first
   ============================================================ */
:root {
  --cream: #FFF8E7;
  --cream-deep: #F6EDD6;
  --gold: #D4AF37;
  --gold-soft: #E5CC74;
  --gold-line: rgba(212, 175, 55, 0.45);
  --sage: #C8E6C9;
  --sage-ink: #2E5A33;
  --glow: #FFF7C0;
  --ink: #211B12;
  --ink-soft: #5C5343;
  --black: #0E0C08;
  --white: #FFFFFF;
  --danger: #9C3A2E;
  --radius: 14px;
  --shadow: 0 10px 34px rgba(33, 27, 18, 0.10);
  --shadow-soft: 0 4px 16px rgba(33, 27, 18, 0.07);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: "Jost", system-ui, sans-serif;
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, .display {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.4rem, 6.5vw, 4rem); }
h2 { font-size: clamp(1.7rem, 4.5vw, 2.5rem); }
h3 { font-size: 1.35rem; }

.eyebrow {
  font-family: "Jost", sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}
.muted { color: var(--ink-soft); }
.small { font-size: 0.88rem; }

/* ---------- Shell ---------- */
.wrap { width: min(1080px, 92%); margin: 0 auto; }
main { min-height: calc(100vh - 140px); padding-bottom: 80px; }

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 248, 231, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gold-line);
}
header.site .bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.brandmark { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brandmark img { height: 44px; width: 44px; object-fit: contain; background: var(--black); border-radius: 10px; padding: 4px; }
.brandmark .name {
  font-family: "Cormorant Garamond", serif; font-weight: 600;
  font-size: 1.12rem; letter-spacing: 0.06em;
}
.brandmark .tag { font-size: 0.6rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); }
nav.actions { display: flex; gap: 10px; align-items: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: "Jost", sans-serif; font-weight: 500; font-size: 0.95rem;
  padding: 12px 26px; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:active { transform: scale(0.98); }
.btn-gold { background: var(--gold); color: var(--black); box-shadow: var(--shadow-soft); }
.btn-gold:hover { background: var(--gold-soft); box-shadow: var(--shadow); }
.btn-ink { background: var(--black); color: var(--glow); }
.btn-ink:hover { background: #241F15; }
.btn-ghost { border-color: var(--gold-line); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--cream-deep); }
.btn-wide { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

/* ---------- Landing ---------- */
.hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 48px; align-items: center; padding: 72px 0 56px;
}
.hero .lede { font-size: 1.12rem; color: var(--ink-soft); margin: 20px 0 30px; max-width: 46ch; }
.hero-photo { position: relative; }
.hero-photo img {
  border-radius: 18px; box-shadow: var(--shadow);
  border: 1px solid var(--gold-line);
}
.hero-photo::after {
  content: ""; position: absolute; inset: 14px -14px -14px 14px;
  border: 1px solid var(--gold-line); border-radius: 18px; z-index: -1;
}
.hero h1 em { font-style: italic; color: var(--gold); }

/* Journey — the signature gold line */
.journey { padding: 64px 0; }
.journey-line { position: relative; margin-top: 44px; padding-left: 34px; }
.journey-line::before {
  content: ""; position: absolute; left: 10px; top: 8px; bottom: 8px;
  width: 1px; background: linear-gradient(var(--gold), var(--gold-line));
}
.station { position: relative; padding: 0 0 38px 14px; }
.station:last-child { padding-bottom: 0; }
.station::before {
  content: ""; position: absolute; left: -30px; top: 7px;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--cream); border: 2px solid var(--gold);
}
.station .price { font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.station p { color: var(--ink-soft); max-width: 52ch; }

/* Black vault band */
.vault-band {
  background: var(--black); color: var(--cream);
  border-radius: var(--radius); padding: 48px 40px; margin: 30px 0 60px;
  text-align: center;
}
.vault-band img { height: 120px; margin: 0 auto 8px; }
.vault-band p { color: rgba(255, 248, 231, 0.75); max-width: 52ch; margin: 10px auto 24px; }

/* ---------- Cards / panels ---------- */
.panel {
  background: var(--white); border: 1px solid var(--gold-line);
  border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-soft);
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

/* ---------- Auth ---------- */
.auth-wrap { max-width: 430px; margin: 56px auto; }
.auth-wrap .panel { padding: 38px 34px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.82rem; letter-spacing: 0.08em; margin-bottom: 6px; color: var(--ink-soft); }
.field input {
  width: 100%; padding: 13px 16px; font: inherit;
  border: 1px solid var(--gold-line); border-radius: 10px;
  background: var(--cream); color: var(--ink);
}
.field input:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.auth-switch { text-align: center; margin-top: 18px; font-size: 0.92rem; color: var(--ink-soft); }
.auth-switch a { color: var(--gold); font-weight: 500; cursor: pointer; }

.notice {
  border-radius: 10px; padding: 13px 16px; margin: 14px 0; font-size: 0.93rem;
  background: var(--glow); border: 1px solid var(--gold-line);
}
.notice.error { background: #F7E2DE; border-color: rgba(156, 58, 46, 0.4); color: var(--danger); }
.notice.success { background: var(--sage); border-color: rgba(46, 90, 51, 0.35); color: var(--sage-ink); }

/* ---------- Dashboard ---------- */
.dash-greet {
  background: var(--black); color: var(--cream);
  border-radius: var(--radius); padding: 38px 36px; margin: 34px 0 26px;
}
.dash-greet .eyebrow { color: var(--gold-soft); }
.dash-greet h2 { color: var(--glow); }
.dash-greet p { color: rgba(255, 248, 231, 0.7); }

.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 8px; }
.product-card {
  background: var(--white); border: 1px solid var(--gold-line);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; gap: 10px; position: relative;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.product-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.lock {
  position: absolute; top: 20px; right: 20px;
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.lock.open { background: var(--sage); color: var(--sage-ink); }
.lock.closed { background: var(--cream-deep); color: var(--ink-soft); border: 1px solid var(--gold-line); }
.product-card .tier { font-size: 0.72rem; letter-spacing: 0.26em; color: var(--gold); text-transform: uppercase; }
.product-card h3 { padding-right: 90px; }
.product-card p { color: var(--ink-soft); font-size: 0.95rem; flex: 1; }
.progressbar { height: 6px; border-radius: 999px; background: var(--cream-deep); overflow: hidden; }
.progressbar span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); border-radius: 999px; }

/* ---------- Product shell ---------- */
.product-head { padding: 44px 0 10px; }
.crumb { font-size: 0.85rem; color: var(--ink-soft); }
.crumb a { color: var(--gold); text-decoration: none; }
.coming {
  border: 1px dashed var(--gold-line); border-radius: var(--radius);
  padding: 44px; text-align: center; color: var(--ink-soft); margin-top: 26px;
  background: var(--white);
}

/* ---------- Admin ---------- */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 22px 0; }
.stat {
  background: var(--white); border: 1px solid var(--gold-line); border-radius: var(--radius);
  padding: 18px 20px; text-align: center;
}
.stat .n { font-family: "Cormorant Garamond", serif; font-size: 2rem; font-weight: 600; color: var(--ink); }
.stat .l { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); }
table.members { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
table.members th, table.members td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--cream-deep); }
table.members th { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
select, .field select {
  padding: 12px 14px; font: inherit; border: 1px solid var(--gold-line);
  border-radius: 10px; background: var(--cream); color: var(--ink); width: 100%;
}

/* ---------- Footer ---------- */
footer.site {
  border-top: 1px solid var(--gold-line); padding: 26px 0; text-align: center;
  color: var(--ink-soft); font-size: 0.85rem;
}

/* ---------- Loading ---------- */
.loading { text-align: center; padding: 90px 0; color: var(--ink-soft); }
.loading .ring {
  width: 38px; height: 38px; margin: 0 auto 16px; border-radius: 50%;
  border: 2px solid var(--gold-line); border-top-color: var(--gold);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding: 40px 0 30px; gap: 30px; }
  .hero-photo { order: -1; max-width: 320px; margin: 0 auto; }
  .products, .grid-2 { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .vault-band { padding: 36px 22px; }
  .dash-greet { padding: 30px 24px; }
  nav.actions .hide-m { display: none; }
  /* Keep Sign In + Create Account both visible and tidy on phones */
  nav.actions { gap: 7px; }
  nav.actions .btn { padding: 9px 15px; font-size: 0.82rem; }
  .brandmark .tag { display: none; }
}
@media (max-width: 380px) {
  nav.actions .btn { padding: 8px 12px; font-size: 0.76rem; }
  .brandmark .name { font-size: 0.95rem; }
}

/* ---------- Financial Clarity Assessment ---------- */
.assess-wrap { max-width: 660px; margin: 40px auto 0; }
.assess-panel { margin-bottom: 18px; }
.assess-title { font-size: clamp(2rem, 5vw, 2.8rem); }
.assess-phases-preview { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 26px; }
.phase-chip {
  font-size: 0.74rem; letter-spacing: 0.06em; padding: 6px 13px;
  border: 1px solid var(--gold-line); border-radius: 999px;
  background: var(--white); color: var(--ink-soft);
}
.assess-progress { margin-bottom: 22px; }
.assess-track {
  height: 5px; border-radius: 999px; background: var(--cream-deep);
  overflow: hidden; margin-bottom: 8px;
}
.assess-track span {
  display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  transition: width 0.4s ease;
}
.assess-intro {
  font-family: "Cormorant Garamond", serif; font-size: 1.3rem; font-style: italic;
  color: var(--ink-soft); margin-bottom: 26px;
}
.assess-q { margin-bottom: 30px; }
.assess-q h3 { font-size: 1.18rem; margin-bottom: 14px; }
.assess-opts { display: flex; flex-direction: column; gap: 9px; }
.assess-opt {
  text-align: left; font: inherit; font-size: 0.95rem; cursor: pointer;
  padding: 13px 18px; border-radius: 11px;
  background: var(--white); border: 1px solid var(--gold-line); color: var(--ink);
  transition: border-color 0.12s ease, background 0.12s ease, transform 0.12s ease;
}
.assess-opt:hover { background: var(--cream-deep); }
.assess-opt:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.assess-opt.sel {
  background: var(--black); color: var(--glow);
  border-color: var(--gold); transform: translateX(3px);
}
.assess-nav {
  display: flex; justify-content: space-between; align-items: center;
  margin: 8px 0 50px; gap: 12px;
}

/* Results */
.result-hero {
  background: var(--black); color: var(--cream);
  border-radius: var(--radius); padding: 44px 36px; margin-bottom: 18px;
  text-align: center;
}
.result-hero h1 { color: var(--glow); font-size: clamp(2.2rem, 6vw, 3.2rem); }
.result-line {
  font-family: "Cormorant Garamond", serif; font-style: italic;
  font-size: 1.25rem; color: rgba(255, 248, 231, 0.8); margin-top: 6px;
}
.result-score {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 24px;
  border: 1px solid var(--gold-line); border-radius: 999px; padding: 12px 28px;
}
.result-num {
  font-family: "Cormorant Garamond", serif; font-weight: 600;
  font-size: 2.6rem; color: var(--gold);
}
.result-of {
  font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
  text-align: left; color: rgba(255, 248, 231, 0.65); line-height: 1.5;
}
.phase-row { margin-bottom: 14px; }
.phase-row-head {
  display: flex; justify-content: space-between; font-size: 0.92rem; margin-bottom: 5px;
}
.blind-flag {
  font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase;
  background: var(--glow); border: 1px solid var(--gold-line);
  color: var(--ink); border-radius: 999px; padding: 2px 9px; margin-left: 6px;
}
.blindspot { position: relative; padding-left: 64px; }
.blind-num {
  position: absolute; left: 22px; top: 28px;
  font-family: "Cormorant Garamond", serif; font-size: 1.6rem; font-weight: 600;
  width: 30px; height: 30px; display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  border: 1px solid var(--gold-line); border-radius: 50%;
}
.first-move {
  background: var(--sage); border-radius: 10px; padding: 14px 18px;
}
.first-move p { color: var(--sage-ink); font-size: 0.95rem; margin-top: 4px; }
@media (max-width: 760px) {
  .blindspot { padding-left: 26px; }
  .blind-num { position: static; margin-bottom: 8px; }
  .result-hero { padding: 34px 22px; }
}

/* ---------- Public testimonials (landing) ---------- */
.social-proof { padding: 56px 0 20px; }
.testimonial-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px;
}
.testimonial-card {
  background: var(--white); border: 1px solid var(--gold-line);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; gap: 10px;
}
.testimonial-card.featured { border-color: var(--gold); box-shadow: var(--shadow); }
.testimonial-card .stars { color: var(--gold); letter-spacing: 0.15em; font-size: 0.95rem; }
.testimonial-card .t-result {
  font-family: "Cormorant Garamond", serif; font-size: 1.15rem; font-weight: 600;
  color: var(--sage-ink);
}
.testimonial-card blockquote {
  font-style: italic; color: var(--ink-soft); font-size: 0.96rem; flex: 1;
}
.testimonial-card figcaption {
  font-size: 0.82rem; letter-spacing: 0.06em; color: var(--ink);
  border-top: 1px solid var(--cream-deep); padding-top: 10px; margin-top: 2px;
}
@media (max-width: 760px) {
  .testimonial-grid { grid-template-columns: 1fr; }
  .social-proof { padding: 40px 0 10px; }
}

/* ---------- Challenge + PMOS shared ---------- */
.ch-wrap, .pm-wrap { max-width: 720px; margin: 0 auto; }
.ch-streak { display: flex; align-items: center; gap: 10px; margin: 8px 0 20px; }
.ch-bignum, .pm-bignum {
  font-family: "Cormorant Garamond", serif; font-size: 2.4rem; font-weight: 600;
  color: var(--gold); margin-right: 10px;
}
.ch-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.ch-cell {
  aspect-ratio: 1; border: 1px solid var(--gold-line); border-radius: 10px;
  background: var(--white); cursor: pointer; position: relative;
  display: flex; align-items: center; justify-content: center;
  font-family: "Cormorant Garamond", serif; font-size: 1.2rem; color: var(--ink);
  transition: transform 0.12s ease, background 0.12s ease;
}
.ch-cell:hover:not(:disabled) { transform: translateY(-2px); background: var(--cream-deep); }
.ch-cell.done { background: var(--sage); border-color: var(--sage-ink); color: var(--sage-ink); }
.ch-cell.current { border-color: var(--gold); border-width: 2px; box-shadow: var(--shadow-soft); }
.ch-cell.locked { opacity: 0.4; cursor: not-allowed; background: var(--cream-deep); }
.ch-check { position: absolute; bottom: 4px; right: 6px; font-size: 0.7rem; }
.ch-cell-num { line-height: 1; }
@media (max-width: 600px) { .ch-grid { grid-template-columns: repeat(7, 1fr); gap: 5px; } .ch-cell { font-size: 0.95rem; } }

.ch-day-head, .pm-mod-head { margin: 14px 0 18px; }
.ch-day-label, .pm-day-label {
  font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold);
}
.ch-truth, .pm-truth { background: var(--black); color: var(--cream); }
.ch-truth .eyebrow { color: var(--gold-soft); }
.ch-truth p, .pm-truth p { color: rgba(255,248,231,0.88); font-size: 1.05rem; }
.ch-checkbox { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 1rem; }
.ch-checkbox input { width: 20px; height: 20px; accent-color: var(--gold); cursor: pointer; }
.ch-textarea {
  width: 100%; padding: 13px 16px; font: inherit; border: 1px solid var(--gold-line);
  border-radius: 10px; background: var(--cream); color: var(--ink); resize: vertical;
}
.ch-textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.ch-day-nav { display: flex; justify-content: space-between; gap: 12px; margin: 8px 0 50px; }

/* PMOS module list */
.pm-list { display: flex; flex-direction: column; gap: 12px; }
.pm-mod {
  display: flex; align-items: center; gap: 16px; text-align: left;
  background: var(--white); border: 1px solid var(--gold-line); border-radius: var(--radius);
  padding: 18px 20px; cursor: pointer; transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.pm-mod:hover:not(:disabled) { transform: translateY(-2px); box-shadow: var(--shadow); }
.pm-mod.locked { opacity: 0.5; cursor: not-allowed; }
.pm-mod.done { border-color: var(--sage-ink); }
.pm-mod-n {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: "Cormorant Garamond", serif; font-size: 1.3rem; font-weight: 600;
  background: var(--cream-deep); color: var(--ink); border: 1px solid var(--gold-line);
}
.pm-mod.done .pm-mod-n { background: var(--sage); color: var(--sage-ink); border-color: var(--sage-ink); }
.pm-mod-body { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.pm-mod-name { font-family: "Cormorant Garamond", serif; font-size: 1.2rem; font-weight: 600; }
.pm-mod-promise { font-size: 0.88rem; color: var(--ink-soft); }
.pm-mod-tag, .pm-mod-lock {
  font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 999px; flex-shrink: 0;
}
.pm-mod-tag { background: var(--sage); color: var(--sage-ink); }
.pm-mod-tag.open { background: var(--glow); color: var(--ink); border: 1px solid var(--gold-line); }
.pm-mod-lock { background: var(--cream-deep); color: var(--ink-soft); }
.pm-promise-line {
  font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 1.2rem; color: var(--gold);
}
.pm-close { background: var(--cream-deep); }
