/* Money Tells — themoneytells.com. Same look as the videos: near-black, warm white, one gold accent.
   Readable for a 35-65 audience: 18px base, high contrast, big touch targets. */
:root {
  --bg: #0d0d0f;
  --panel: #17171b;
  --panel-2: #1f1f25;
  --line: #2c2c33;
  --text: #f3efe6;
  --muted: #a9a398;
  --gold: #f2c14e;
  --gold-soft: rgba(242, 193, 78, .14);
  --good: #7fd18b;
  --warn: #f2c14e;
  --bad: #ff8a7a;
  --radius: 16px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}
:root[data-theme="light"] {
  --bg: #faf7f0; --panel: #ffffff; --panel-2: #f3eee3; --line: #e2dccd; --text: #18171a; --muted: #5d584f;
  --gold: #a87a10; --gold-soft: rgba(168, 122, 16, .10); --good: #1f7a33; --warn: #8a6100; --bad: #b3261e;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 18px; line-height: 1.55;
}
a { color: var(--gold); }
img { max-width: 100%; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }
.wrap.wide { max-width: 980px; }

/* header / footer */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: .14em; font-size: 15px; }
.coin { width: 26px; height: 26px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 35% 30%, #ffe9a8, #d9a531 55%, #9c7016); box-shadow: 0 0 18px rgba(242, 193, 78, .45); }
.top nav a { color: var(--muted); text-decoration: none; font-size: 15px; margin-left: 14px; }
.top nav a:hover { color: var(--text); }
.top nav { white-space: nowrap; }
@media (max-width: 420px) { .brand { font-size: 13px; letter-spacing: .1em; } .top nav a { margin-left: 10px; font-size: 14px; } }
.tick { color: var(--gold); font-weight: 800; flex: none; width: 22px; }
footer { border-top: 1px solid var(--line); margin-top: 64px; padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer a { color: var(--muted); }

/* type */
h1 { font-size: clamp(30px, 6vw, 44px); line-height: 1.12; margin: 40px 0 14px; letter-spacing: -.01em; }
h2 { font-size: clamp(22px, 4vw, 28px); line-height: 1.2; margin: 36px 0 10px; }
h3 { font-size: 20px; margin: 22px 0 8px; }
.gold { color: var(--gold); }
.lead { font-size: 20px; color: var(--muted); margin: 0 0 22px; }
.small { font-size: 15px; color: var(--muted); }
.kicker { text-transform: uppercase; letter-spacing: .16em; font-size: 13px; color: var(--gold); font-weight: 700; margin-top: 36px; }

/* panels */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 18px 0; }
.card.gold { border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.tool-tile { display: block; text-decoration: none; color: var(--text); }
.tool-tile:hover { border-color: var(--gold); }
.tool-tile .tag { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--gold);
  border: 1px solid var(--gold); border-radius: 999px; padding: 2px 10px; margin-bottom: 8px; }

/* forms */
label { display: block; font-weight: 600; margin: 14px 0 6px; }
.hint { display: block; font-weight: 400; font-size: 15px; color: var(--muted); margin-top: 2px; }
input[type=text], input[type=email], input[type=number], input[type=date], select, textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--panel-2); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 14px; min-height: 50px;
}
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.row { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700;
  min-height: 52px; padding: 12px 22px; border-radius: 12px; border: 0; cursor: pointer; text-decoration: none;
  background: var(--gold); color: #17140a; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn.small { min-height: 40px; padding: 6px 14px; font-size: 15px; }
.btn:disabled { opacity: .5; cursor: default; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.seg button { font: inherit; background: transparent; color: var(--muted); border: 0; padding: 10px 16px; cursor: pointer; min-height: 46px; }
.seg button[aria-pressed=true] { background: var(--gold); color: #17140a; font-weight: 700; }

/* results */
.big { font-size: clamp(34px, 8vw, 52px); font-weight: 800; line-height: 1.05; }
.verdict { border-left: 6px solid var(--gold); padding: 6px 0 6px 16px; margin: 14px 0; }
.verdict.good { border-color: var(--good); } .verdict.bad { border-color: var(--bad); } .verdict.warn { border-color: var(--warn); }
.tone-good { color: var(--good); } .tone-bad { color: var(--bad); } .tone-warn { color: var(--warn); }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: 14px; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.pill { display: inline-block; font-size: 13px; padding: 2px 10px; border-radius: 999px; background: var(--panel-2); color: var(--muted); }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps > li { counter-increment: s; position: relative; padding-left: 46px; margin: 14px 0; }
.steps > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%;
  background: var(--gold-soft); color: var(--gold); font-weight: 800; display: grid; place-items: center; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.check-list input[type=checkbox] { width: 26px; height: 26px; flex: none; margin-top: 2px; accent-color: var(--gold); }
.yn { display: flex; gap: 8px; flex: none; }
.yn button { font: inherit; font-size: 15px; min-width: 64px; min-height: 42px; border-radius: 10px; border: 1px solid var(--line);
  background: transparent; color: var(--muted); cursor: pointer; }
.yn button[aria-pressed=true].yes { background: var(--bad); border-color: var(--bad); color: #1a0d0b; font-weight: 700; }
.yn button[aria-pressed=true].no { background: var(--panel-2); border-color: var(--good); color: var(--good); font-weight: 700; }
.q { display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 560px) { .q { flex-direction: column; align-items: stretch; } }
.timer { font-variant-numeric: tabular-nums; font-weight: 800; font-size: 28px; color: var(--gold); }
.chart { width: 100%; height: auto; display: block; }
.notice { background: var(--gold-soft); border-radius: 12px; padding: 12px 14px; font-size: 15px; }
.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* print (the scam card and summaries print on white) */
@media print {
  :root { --bg: #fff; --panel: #fff; --panel-2: #fff; --line: #bbb; --text: #000; --muted: #333; --gold: #8a6100; }
  .top, footer, .no-print, .actions { display: none !important; }
  body { font-size: 14px; }
  .card { break-inside: avoid; }
}

.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 560px) { table { font-size: 14px; } th, td { padding: 8px 5px; } }
.grid > .card { margin: 0; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, 1fr); } }
