:root {
  /* Layout idea: one reading column; a method switcher box sits under the comparison table and swaps the 7 plans in place. */
  --navy: #0f1b33;
  --ink: #1b2436;
  --muted: #5b6577;
  --gold: #b7841c;
  --gold-soft: #f6ecd6;
  --paper: #f3f5f9;
  --surface: #ffffff;
  --line: #dde2ea;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Public Sans", "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 12px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --navy: #0a1222;
    --ink: #e6e9ef;
    --muted: #a3acbc;
    --gold: #e2b24e;
    --gold-soft: #2c2512;
    --paper: #0d1526;
    --surface: #141f36;
    --line: #26324b;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --navy: #0a1222;
  --ink: #e6e9ef;
  --muted: #a3acbc;
  --gold: #e2b24e;
  --gold-soft: #2c2512;
  --paper: #0d1526;
  --surface: #141f36;
  --line: #26324b;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
}
a { color: var(--gold); font-weight: 600; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Hero */
.hero {
  background: #0f1b33;
  color: #f3f5f9;
  padding: 56px 20px 48px;
}
.hero-inner { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.brand { font-family: var(--display); font-weight: 800; letter-spacing: 0.14em; font-size: 13px; color: #e2b24e; text-transform: uppercase; }
.hero h1 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(34px, 6vw, 54px);
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}
.hero h1 span { color: #e2b24e; }
.byline { color: #b9c2d3; font-size: 15px; margin: 0; }
.hook { font-size: 20px; font-weight: 700; margin: 8px 0 0; max-width: 60ch; text-wrap: balance; }

main { max-width: 760px; margin: 0 auto; padding: 8px 20px 64px; }
section { padding-top: 48px; }
h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(26px, 4vw, 34px);
  line-height: 1.1;
  text-transform: uppercase;
  margin: 0 0 16px;
  text-wrap: balance;
}
h3 { font-family: var(--display); font-weight: 800; font-size: 21px; margin: 28px 0 10px; text-wrap: balance; }
p { margin: 0 0 14px; max-width: 65ch; }
ul, ol { margin: 0 0 16px; padding-left: 22px; }
li { margin-bottom: 6px; }

.quote {
  border-left: 4px solid var(--gold);
  padding: 4px 0 4px 16px;
  font-style: italic;
  font-size: 19px;
  margin: 0 0 16px;
}
.rule {
  background: var(--gold-soft);
  border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-weight: 700;
  margin: 18px 0;
  max-width: 65ch;
}
.rule::before { content: "Quick rule: "; color: var(--gold); }
.rule.important::before { content: "Important: "; }

/* Self test */
.questions { counter-reset: q; list-style: none; padding: 0; display: grid; gap: 10px; }
.questions li {
  counter-increment: q;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px 14px 56px;
  position: relative;
  margin: 0;
}
.questions li::before {
  content: counter(q);
  position: absolute; left: 16px; top: 13px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--navy); color: #e2b24e;
  font-family: var(--display); font-weight: 800; font-size: 15px;
  display: grid; place-items: center;
}
:root[data-theme="dark"] .questions li::before { background: #e2b24e; color: #0f1b33; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .questions li::before { background: #e2b24e; color: #0f1b33; } }

.matches { display: grid; gap: 8px; margin: 0 0 16px; }
.match {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  width: 100%;
  text-align: left;
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 16px;
  cursor: pointer;
  transition: border-color .15s, transform .15s;
}
.match:hover { border-color: var(--gold); transform: translateX(2px); }
.match b { font-weight: 700; }
.match .go {
  flex: none;
  font-family: var(--display); font-weight: 800; font-size: 14px;
  color: var(--gold);
  white-space: nowrap;
}

/* Comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 680px; font-size: 15px; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--display); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); background: var(--paper); }
tbody tr { cursor: pointer; transition: background .15s; }
tbody tr:hover, tbody tr.active { background: var(--gold-soft); }
tbody tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 700; white-space: nowrap; }
td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.note { color: var(--muted); font-size: 14px; font-style: italic; margin-top: 10px; }

/* Switcher */
.switcher {
  margin-top: 28px;
  background: var(--surface);
  border: 2px solid var(--navy);
  border-radius: 16px;
  overflow: hidden;
  scroll-margin-top: 12px;
}
:root[data-theme="dark"] .switcher { border-color: #e2b24e; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .switcher { border-color: #e2b24e; } }
.switcher-head { background: #0f1b33; color: #f3f5f9; padding: 16px 18px 14px; }
.switcher-head p { margin: 0 0 12px; font-family: var(--display); font-weight: 800; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: #e2b24e; }
.tabs { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.tab {
  font: inherit;
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.2;
  color: #c8d0de;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  padding: 10px 6px;
  cursor: pointer;
  display: grid; gap: 4px; justify-items: center; text-align: center;
  transition: background .15s, color .15s, border-color .15s;
}
.tab .n { font-size: 20px; font-weight: 900; color: #e2b24e; }
.tab:hover { background: rgba(255,255,255,0.12); color: #fff; }
.tab[aria-selected="true"] { background: #e2b24e; border-color: #e2b24e; color: #0f1b33; }
.tab[aria-selected="true"] .n { color: #0f1b33; }
@media (max-width: 640px) {
  .tabs { grid-template-columns: repeat(4, 1fr); }
  .tab { font-size: 12px; }
}
.panel { padding: 24px 22px 22px; }
.panel[hidden] { display: none; }
.panel h3:first-child { margin-top: 0; }
.plan-h { font-family: var(--display); font-weight: 800; font-size: 21px; margin: 28px 0 10px; }
.panel-title { font-family: var(--display); font-weight: 900; font-size: clamp(24px, 4vw, 30px); line-height: 1.1; margin: 0 0 14px; text-transform: uppercase; text-wrap: balance; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.facts li { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 14px; }
.facts li b { color: var(--gold); }
.kv p b:first-child { color: var(--ink); }
.days { list-style: none; padding: 0; counter-reset: d; display: grid; gap: 8px; }
.days li {
  counter-increment: d;
  display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: start;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 10px; margin: 0;
}
.days li:last-child { border-bottom: 0; }
.days li::before {
  content: "Day " counter(d);
  font-family: var(--display); font-weight: 900; font-size: 14px;
  color: var(--gold); text-transform: uppercase; padding-top: 2px;
}
.prompt {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin: 18px 0;
}
.prompt-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.prompt-head span { font-weight: 700; font-size: 14px; color: var(--muted); }
.prompt p { font-style: italic; margin: 0; max-width: none; }
.copy {
  font: inherit; font-size: 13px; font-weight: 700;
  color: var(--navy); background: var(--gold-soft);
  border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent);
  border-radius: 8px; padding: 5px 12px; cursor: pointer;
}
:root[data-theme="dark"] .copy { color: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .copy { color: var(--ink); } }
.action {
  background: var(--navy);
  color: #f3f5f9;
  border-radius: var(--radius);
  padding: 18px 20px 6px;
  margin: 22px 0;
}
:root[data-theme="dark"] .action { background: #0a1222; border: 1px solid #26324b; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .action { background: #0a1222; border: 1px solid #26324b; } }
.action h4 { font-family: var(--display); font-weight: 900; text-transform: uppercase; margin: 0 0 8px; color: #e2b24e; font-size: 16px; letter-spacing: 0.04em; }
.reco {
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 18px 20px 8px;
  margin: 22px 0 8px;
}
.reco h4 { font-family: var(--display); font-weight: 900; margin: 0 0 8px; font-size: 18px; }
.reco h4 small { display: block; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); font-weight: 800; margin-bottom: 2px; }
.btn {
  display: inline-block;
  background: #e2b24e; color: #0f1b33;
  font-family: var(--display); font-weight: 800;
  text-decoration: none;
  padding: 11px 18px; border-radius: 10px;
  margin: 2px 0 12px;
}
.btn:hover { background: #ecc46d; }
.help { color: var(--muted); font-size: 15px; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 18px; }
.panel-nav { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 18px; }
.panel-nav button {
  font: inherit; font-family: var(--display); font-weight: 800; font-size: 14px;
  color: var(--ink); background: var(--paper); border: 1px solid var(--line);
  border-radius: 10px; padding: 9px 14px; cursor: pointer;
}
.panel-nav button:hover { border-color: var(--gold); }
.panel-nav button[disabled] { visibility: hidden; }
.sources { font-size: 13px; color: var(--muted); }

/* Path */
.path { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; counter-reset: s; }
.path li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); padding: 14px; margin: 0; font-size: 15px; }
.path li::before { content: "Step " counter(s); display: block; font-family: var(--display); font-weight: 900; color: var(--gold); text-transform: uppercase; font-size: 13px; margin-bottom: 4px; }
@media (max-width: 560px) { .path { grid-template-columns: 1fr; } }
.outcomes { display: grid; gap: 10px; list-style: none; padding: 0; }
.outcomes li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; margin: 0; }

.community {
  margin-top: 48px;
  background: #0f1b33; color: #f3f5f9;
  border-radius: 16px; padding: 26px 24px 14px;
}
.community h2 { color: #f3f5f9; }
.community a { color: #e2b24e; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.hero-actions .btn { margin: 0; }
.btn.ghost { background: transparent; color: #e2b24e; border: 1px solid #e2b24e; }
.btn.ghost:hover { background: rgba(226,178,78,0.12); }
.mentor-note {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--gold-soft);
  border: 1px dashed var(--gold);
  border-radius: var(--radius);
  padding: 12px 16px; margin: 18px 0 0; font-size: 15px;
}
.mentor-note .tag { flex: none; font-family: var(--display); font-weight: 900; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; background: var(--gold); color: #0f1b33; border-radius: 6px; padding: 3px 7px; margin-top: 2px; }
.teaser {
  margin-top: 48px;
  border: 2px solid var(--gold);
  border-radius: 16px;
  padding: 26px 24px 12px;
  background: var(--surface);
  position: relative;
}
.teaser .tag { display: inline-block; font-family: var(--display); font-weight: 900; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; background: var(--gold); color: #0f1b33; border-radius: 6px; padding: 4px 9px; margin-bottom: 12px; }
.teaser h2 { margin-bottom: 12px; }
.mentor-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 0 0 18px; }
.mentor-grid li { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 15px; }
@media (max-width: 560px) { .mentor-grid { grid-template-columns: 1fr; } }
.share { margin-top: 40px; scroll-margin-top: 16px; }
.share h3 { margin-top: 0; }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; }
.share-row a, .share-row button {
  font: inherit; font-family: var(--display); font-weight: 700; font-size: 14px;
  text-decoration: none; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 9px 16px; cursor: pointer;
}
.share-row a:hover, .share-row button:hover { border-color: var(--gold); color: var(--gold); }
.download-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-top: 28px; }
.download-box p { margin: 0; }
.download-box .btn { margin: 0; }
footer { max-width: 760px; margin: 0 auto; padding: 0 20px 48px; }
.ship { font-family: var(--display); font-weight: 900; font-size: 28px; text-transform: uppercase; color: var(--gold); margin-top: 8px; }
