/* FullTime - tokens from .tastemaker/style-lock.md (playful/dark, generated 2026-07-22).
   Icons: Phosphor via Iconify (MIT, attribution-free). */

:root {
  /* WC26-emblem-derived (see .tastemaker/style-lock.md - black / trophy gold / malachite) */
  --bg: #0a0805;
  --surface: #181410;
  --primary: #107a58;
  --on-primary: #ffffff;
  --accent: #d9ae54;
  --text: #f2ecdf;
  --muted: #a89e8d;
  --border: #2a241c;
  --profit: #37d98c;
  --loss: #ff4d5e;
  --gold: #d9ae54;
  --chip-ink: #0d0800;

  --font-display: "Urbanist", system-ui, sans-serif;
  --font-body: "Open Sans", system-ui, sans-serif;

  --r-card: 16px;
  --r-input: 12px;
  --r-hero: 24px;
  --r-pill: 999px;

  --sp-3: 12px;
  --sp-4: 16px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-16: 64px;
  --sp-24: 96px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* author display rules (grid/flex) must never resurrect [hidden] elements */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

h1, h2, .scored__amount, .tile__k, .strip__item b, .democard__amount {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 900; line-height: 1.04; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.01em; }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.is-profit { color: var(--profit); }
.is-loss { color: var(--loss); }
.is-gold { color: var(--gold); }

img { max-width: 100%; }

/* ── nav ─────────────────────────────────────── */
.nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: var(--sp-4) clamp(var(--sp-4), 4vw, var(--sp-16));
  max-width: 1280px; margin: 0 auto;
}
.nav__brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none;
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem;
}
.nav__side { color: var(--muted); text-decoration: none; font-size: 0.9rem; }
.nav__side:hover, .nav__side:focus-visible { color: var(--accent); }

/* ── hero ─────────────────────────────────────── */
.hero {
  display: grid; grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(var(--sp-8), 5vw, 80px);
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(var(--sp-8), 6vh, 72px) clamp(var(--sp-4), 4vw, var(--sp-16)) var(--sp-24);
}
.hero__copy > * + * { margin-top: var(--sp-6); }
.hero__sub { color: var(--muted); font-size: 1.06rem; max-width: 46ch; }

.check { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.check__field {
  flex: 1 1 300px;
  display: flex; align-items: center; gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-input);
  padding: 0 var(--sp-4);
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.check__field:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(217, 174, 84, 0.22);
}
.check__field input {
  flex: 1; background: none; border: 0; outline: 0;
  color: var(--text); font-family: var(--font-body); font-size: 0.98rem;
  padding: 15px 0; min-width: 0;
}
.check__field input::placeholder { color: var(--muted); opacity: 0.75; }
.check__err { color: var(--loss); font-size: 0.9rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--r-input);
  font-family: var(--font-display); font-weight: 700; font-size: 0.98rem;
  padding: 14px 22px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 120ms ease, background-color 120ms ease, border-color 120ms ease;
  text-decoration: none;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn--primary { background: var(--primary); color: var(--on-primary); }
.btn--primary:hover { background: #159068; }
.btn--primary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn--primary[disabled] { opacity: 0.55; cursor: progress; }
.btn--primary img { filter: brightness(0) invert(1); }
.btn--ghost {
  background: var(--surface); color: var(--text); border-color: var(--border);
}
.btn--ghost:hover { border-color: var(--accent); }
.btn--ghost:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* hero proof card */
.hero__proof { position: relative; justify-self: center; }
.hero__proof figcaption {
  margin-top: var(--sp-4); text-align: center;
  color: var(--muted); font-size: 0.82rem;
}
.democard {
  width: min(360px, 88vw);
  background: linear-gradient(168deg, #201a12 0%, var(--surface) 55%);
  border: 1px solid var(--border);
  border-radius: var(--r-hero);
  padding: var(--sp-8);
  transform: rotate(-3deg);
  box-shadow: 0 24px 80px -32px rgba(55, 217, 140, 0.25);
}
.democard { position: relative; overflow: hidden; }
.democard > *:not(.democard__bg) { position: relative; }
.democard__bg {
  position: absolute; right: -18%; bottom: -12%;
  width: 62%; opacity: 0.09; transform: rotate(4deg);
  pointer-events: none;
}
.democard__head { display: flex; justify-content: space-between; align-items: center; }
.democard__brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 0.82rem; letter-spacing: 0.14em; }
.democard__tag {
  font-family: var(--font-display); font-weight: 800; font-size: 0.75rem;
  background: var(--gold); color: var(--chip-ink);
  border-radius: var(--r-pill); padding: 3px 10px;
}
.democard__eyebrow { margin-top: var(--sp-6); font-family: var(--font-display); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.3em; color: var(--muted); }
.democard__who { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; margin-top: 4px; }
.democard__amount { font-size: 3.1rem; font-weight: 900; line-height: 1.05; margin-top: 6px; letter-spacing: -0.01em; }
.democard__amount span { font-size: 1.7rem; }
.democard__row { display: flex; align-items: center; gap: var(--sp-3); margin-top: var(--sp-3); flex-wrap: wrap; }
.pill {
  font-family: var(--font-display); font-weight: 800; font-size: 0.78rem;
  border-radius: var(--r-pill); padding: 5px 12px;
}
.pill--loss { background: var(--loss); color: var(--chip-ink); }
.pill--profit { background: var(--profit); color: var(--chip-ink); }
.democard__record { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; color: var(--muted); }
.democard__record i {
  width: 84px; height: 8px; border-radius: var(--r-pill);
  background: var(--loss); position: relative; overflow: hidden; display: inline-block;
}
.democard__record i::after {
  content: ""; position: absolute; inset: 0;
  width: calc(var(--w, 0.5) * 100%);
  background: var(--profit); border-radius: var(--r-pill);
}
.democard__spark { width: 100%; height: 56px; margin-top: var(--sp-4); }
.democard__big { margin-top: var(--sp-3); border-top: 1px solid var(--border); padding-top: var(--sp-3); }
.democard__biglabel { font-family: var(--font-display); font-weight: 700; font-size: 0.68rem; letter-spacing: 0.26em; color: var(--muted); }
.democard__bigtitle { font-weight: 600; font-size: 0.95rem; margin-top: 4px; }
.democard__bigdelta { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; }
.democard__foot { margin-top: var(--sp-3); color: var(--muted); font-size: 0.8rem; font-style: italic; }

/* ── results ─────────────────────────────────── */
.results { padding: 0 clamp(var(--sp-4), 4vw, var(--sp-16)) var(--sp-24); }
.results__inner { max-width: 1280px; margin: 0 auto; }

.skel { display: grid; gap: var(--sp-6); }
.skel__num, .skel__row i, .skel__card { background: var(--surface); border-radius: var(--r-card); position: relative; overflow: hidden; }
.skel__num { height: 96px; width: min(480px, 80%); }
.skel__row { display: flex; gap: var(--sp-3); }
.skel__row i { height: 72px; flex: 1; }
.skel__card { height: 280px; }
.skel__num::after, .skel__row i::after, .skel__card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(242, 236, 223, 0.05) 50%, transparent 70%);
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) {
  .skel__num::after, .skel__row i::after, .skel__card::after { animation: none; }
}
.skel__status { color: var(--muted); font-size: 0.9rem; }

.fail, .nothing {
  display: grid; justify-items: center; text-align: center; gap: var(--sp-4);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-card); padding: var(--sp-16) var(--sp-6);
}
.fail { border-color: rgba(255, 77, 94, 0.4); }
.nothing__sub { color: var(--muted); font-size: 0.92rem; }

.scored__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--sp-4); flex-wrap: wrap; }
.scored__who { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; }
.scored__who img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.scored__addr { color: var(--muted); font-weight: 500; font-size: 0.85rem; }

/* the one intentional rule-break: oversized, bleeds past the content column */
.scored__amount {
  font-size: clamp(4rem, 12vw, 8.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  margin: var(--sp-4) 0 var(--sp-6) -0.04em;
  width: max-content;
  max-width: none;
}

.scored__tiles { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.scored__note { margin-top: var(--sp-3); color: var(--muted); font-size: 0.85rem; max-width: 60ch; }
.tile {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-card); padding: var(--sp-3) var(--sp-4);
  display: grid; gap: 2px; min-width: 128px;
}
.tile__k { font-size: 1.4rem; font-weight: 800; }
.tile__l { color: var(--muted); font-size: 0.78rem; }

.scored__split {
  display: grid; grid-template-columns: minmax(300px, 420px) 1fr;
  gap: var(--sp-8); margin-top: var(--sp-8); align-items: start;
}

.sharewrap { display: grid; gap: var(--sp-4); }
.toggle {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--muted); font-size: 0.9rem; cursor: pointer;
  user-select: none; width: max-content;
}
.toggle input {
  appearance: none; width: 40px; height: 22px; margin: 0;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-pill); position: relative; cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease;
}
.toggle input::after {
  content: ""; position: absolute; top: 2px; left: 2px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--muted); transition: transform 140ms ease, background-color 140ms ease;
}
.toggle input:checked { background: var(--primary); border-color: var(--primary); }
.toggle input:checked::after { transform: translateX(18px); background: var(--on-primary); }
.toggle input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.toggle:hover span { color: var(--text); }
#card-canvas {
  width: 100%; height: auto;
  border-radius: var(--r-hero);
  border: 1px solid var(--border);
  box-shadow: 0 24px 80px -32px var(--glow, rgba(55, 217, 140, 0.25));
}
.sharewrap__actions { display: flex; gap: var(--sp-3); flex-wrap: wrap; align-items: center; }
.sharewrap__platforms { display: flex; gap: 6px; margin-left: auto; }
.sharewrap__platforms a {
  display: grid; place-items: center; width: 42px; height: 42px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-input);
  transition: border-color 120ms ease, transform 120ms ease;
}
.sharewrap__platforms a:hover { border-color: var(--accent); transform: translateY(-2px); }
.sharewrap__platforms a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.ledger { display: grid; gap: var(--sp-6); }
.ledger__block {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-card); padding: var(--sp-6);
}
.ledger__label {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
  margin-bottom: var(--sp-3);
}
.ledger ol { list-style: none; display: grid; gap: 10px; }
.ledger li {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: 10px var(--sp-3);
  background: var(--bg); border-radius: var(--r-input);
}
.ledger li img { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; flex: none; background: var(--surface); }
.ledger li .t { flex: 1; font-size: 0.92rem; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ledger li b { font-family: var(--font-display); font-variant-numeric: tabular-nums; font-size: 0.95rem; flex: none; }
.ledger__all { max-height: 420px; overflow-y: auto; padding-right: 4px; }
.ledger__all::-webkit-scrollbar { width: 8px; }
.ledger__all::-webkit-scrollbar-thumb { background: var(--border); border-radius: var(--r-pill); }

/* ── how it works ────────────────────────────── */
.how, .method { max-width: 1280px; margin: 0 auto; padding: var(--sp-24) clamp(var(--sp-4), 4vw, var(--sp-16)); }
.how h2, .method h2 { margin-top: var(--sp-3); }
.how__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6); margin-top: var(--sp-8);
}
.how__panel {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-card); padding: var(--sp-6);
  display: grid; gap: var(--sp-4); align-content: start;
}
.how__panel figcaption { color: var(--muted); font-size: 0.92rem; }
.mock { background: var(--bg); border-radius: var(--r-input); padding: var(--sp-4); display: grid; gap: 10px; min-height: 150px; align-content: center; }
.mock__input {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--accent);
  border-radius: 10px; padding: 10px 12px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.88rem;
}
.mock__caret { width: 2px; height: 16px; background: var(--accent); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .mock__caret { animation: none; } }
.mock__hint { color: var(--muted); font-size: 0.78rem; }
.mock__line {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; font-weight: 600;
  padding: 7px 10px; background: var(--surface); border-radius: 8px;
}
.mock__line span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock__line b { font-family: var(--font-display); font-variant-numeric: tabular-nums; }
.mock__scanbar { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.78rem; font-family: var(--font-display); font-weight: 700; }
.mock__scanbar span { color: var(--accent); }
.mock__scanbar i { flex: 1; height: 4px; border-radius: var(--r-pill); background: var(--border); position: relative; overflow: hidden; }
.mock__scanbar i::after { content: ""; position: absolute; inset: 0; width: 60%; background: var(--accent); border-radius: var(--r-pill); }
.mock--post { grid-template-columns: 1fr auto; align-items: center; }
.mock__thumb {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: var(--sp-3); display: grid; gap: 4px; transform: rotate(-2deg);
}
.mock__thumbamt { font-family: var(--font-display); font-weight: 900; font-size: 1.4rem; }
.mock__thumbrec { color: var(--muted); font-family: var(--font-display); font-weight: 700; font-size: 0.75rem; }
.mock__socials { display: grid; gap: 8px; }

/* ── strip ───────────────────────────────────── */
.strip {
  max-width: 1280px; margin: 0 auto;
  padding: 0 clamp(var(--sp-4), 4vw, var(--sp-16));
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3);
}
.strip__item {
  border-top: 1px solid var(--border);
  padding: var(--sp-4) 4px var(--sp-3);
  display: grid; gap: 2px;
}
.strip__item b { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; color: var(--accent); }
.strip__item span { color: var(--muted); font-size: 0.85rem; }

/* ── method ──────────────────────────────────── */
.method__eq {
  display: flex; align-items: stretch; gap: var(--sp-4);
  flex-wrap: wrap; margin-top: var(--sp-8);
}
.method__term {
  display: grid; gap: 4px; align-content: center;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-card); padding: var(--sp-4) var(--sp-6);
}
.method__term b { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.1rem, 2.4vw, 1.6rem); }
.method__term i { font-style: normal; color: var(--muted); font-size: 0.8rem; }
.method__term--result { border-color: var(--accent); }
.method__op { align-self: center; font-family: var(--font-display); font-weight: 900; font-size: 1.8rem; color: var(--muted); }
.method__note { margin-top: var(--sp-6); color: var(--muted); max-width: 62ch; }

/* ── footer ──────────────────────────────────── */
.foot {
  border-top: 1px solid var(--border);
  padding: var(--sp-8) clamp(var(--sp-4), 4vw, var(--sp-16));
  max-width: 1280px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4); flex-wrap: wrap;
}
.foot__brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 800; }
.foot p { color: var(--muted); font-size: 0.85rem; }

/* ── responsive ──────────────────────────────── */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero__proof { justify-self: start; }
  .how__grid { grid-template-columns: 1fr; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .scored__split { grid-template-columns: 1fr; }
  .scored__amount { font-size: clamp(3.2rem, 15vw, 5.5rem); }
}
@media (max-width: 480px) {
  .strip { grid-template-columns: 1fr; }
  .sharewrap__platforms { margin-left: 0; }
}
