/* Ace Commerce Classes: deep slate, emerald and gold. Sora for headings, Manrope for text.
   Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #0F1B1A;
  --surface: #152523;
  --soft: #12201E;
  --ink: #E8F1EE;
  --muted: #A3B8B2;
  --line: #233835;
  --line-strong: #375450;
  --brand: #2BD9A0;
  --brand-hover: #4FE6B4;
  --brand-ink: #062118;
  --brand-text: #4FE6B4;
  --gold: #F4C95D;
  --eyebrow: #F4C95D;
  --input-bg: #0F1B1A;
  --menu-bg: #0F1B1A;
  --badge-bg: #F4C95D;
  --badge-ink: #1E1700;
  --out-bg: #E8F1EE;
  --out-ink: #0F1B1A;
  --out-accent: #0E7A57;
  --out-btn: #0F1B1A;
  --out-btn-ink: #E8F1EE;
  --focus: #F4C95D;
  --head: "Sora", system-ui, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  --radius: 10px;
  --radius-lg: 16px;
  --btn-radius: 10px;
  --wrap: 1200px;
}
h1, h2, h3 { font-weight: 700; letter-spacing: -.025em; }
.btn { font-weight: 700; }
.ic { color: var(--brand-text); }
.c-filters button[aria-pressed="true"] { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }

.header { background: rgba(15,27,26,.95); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 42px; height: 42px; }
.logo span { display: grid; line-height: 1.1; }
.logo b { font: 800 1.4rem var(--head); }
.logo small { font-size: .74rem; color: var(--muted); font-weight: 600; }
.nav a { color: var(--muted); font-weight: 600; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--surface); }
.nav-toggle { color: var(--ink); }

.hero { padding-block: clamp(36px, 6vw, 88px); background: repeating-linear-gradient(0deg, transparent 0 39px, rgba(43,217,160,.06) 39px 40px), radial-gradient(700px 400px at 85% 10%, rgba(244,201,93,.10), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.02; margin: 16px 0 18px; }
.hero .t-actions { margin-top: 24px; }
.board-card { display: grid; gap: 14px; padding: clamp(18px, 3vw, 28px); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 18px; box-shadow: 0 30px 60px -30px #000; }
.bc-head, .bc-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 700; }
.bc-head b { padding: 4px 12px; border-radius: 999px; background: var(--brand); color: var(--brand-ink); font-size: .85rem; }
.bc-foot { padding-top: 12px; border-top: 1px dashed var(--line-strong); }
.bc-foot b { font: 800 1.6rem var(--head); color: var(--gold); }
.bc-row, .bar-row { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr) 40px; gap: 12px; align-items: center; font-size: .9rem; }
.bc-row b, .bar-row b { text-align: right; font-variant-numeric: tabular-nums; }
.meter i { background: var(--brand); }
.bar-row.is-weak .meter i { background: #FF7B6B; }
@media (max-width: 420px) { .bc-row, .bar-row { grid-template-columns: minmax(0, 100px) minmax(0, 1fr) 34px; font-size: .84rem; } }

.ledger-strip { border-block: 1px solid var(--line); background: var(--soft); }
.ls-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 760px) { .ls-grid { grid-template-columns: 1fr 1fr; } }
.ls-grid div { display: grid; gap: 2px; padding: 22px 16px; border-left: 1px solid var(--line); }
.ls-grid div:first-child { border-left: 0; }
.ls-grid b { font: 800 clamp(1.5rem, 3.4vw, 2.2rem)/1 var(--head); color: var(--gold); }
.ls-grid span { color: var(--muted); font-size: .9rem; }

.c-card { background: var(--surface); }
.c-card:hover { border-color: var(--brand); }
.method-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .method-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .method-grid { grid-template-columns: minmax(0, 1fr); } }
.method-grid div { display: grid; gap: 8px; align-content: start; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.method-grid h2 { font-size: 1.15rem; }
.method-grid p { color: var(--muted); font-size: .94rem; }
.res-band { background: var(--soft); border-top: 1px solid var(--line); --brand-text: var(--gold); }
.quotes li { border-left: 4px solid var(--brand); }

/* mock board */
.tool-in > .card { display: grid; gap: 12px; }
.score-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 480px) { .score-grid { grid-template-columns: minmax(0, 1fr); } }
.bars { display: grid; gap: 10px; margin-top: 8px; }
.checklist input:checked + span { text-decoration: none; opacity: 1; }
.checklist label:has(input:checked) { border-color: var(--brand); }
.rank { list-style: none; counter-reset: r; display: grid; gap: 6px; }
.rank li { counter-increment: r; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 12px; border-radius: 8px; background: var(--soft); font-variant-numeric: tabular-nums; }
.rank li::before { content: counter(r); font: 700 .9rem var(--head); color: var(--muted); }
.rank li.is-you { background: var(--brand); color: var(--brand-ink); font-weight: 800; }
.rank li.is-you::before { color: var(--brand-ink); }
.hist-title { font-size: 1rem; margin-top: 8px; }
.spark { width: 100%; max-width: 360px; height: auto; color: var(--muted); }
.hist { list-style: none; display: grid; gap: 4px; font-size: .9rem; }
.hist li { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 4px 0; }
.tool-out .out-total { font-size: clamp(1.5rem, 3.6vw, 2.1rem); line-height: 1.15; }
.tool-out .out-lines div { border-color: rgba(0,0,0,.12); }
.tool-out .out-warn { background: #FFE2A8; color: #3b2a00; }

.page-head { margin-bottom: clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line); background: repeating-linear-gradient(0deg, transparent 0 39px, rgba(43,217,160,.05) 39px 40px); }

.cta-band { padding-block: clamp(44px, 6vw, 80px); background: var(--brand); color: var(--brand-ink); }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px; }
.cta-band h2 { font-size: clamp(1.7rem, 3.8vw, 2.5rem); }
.cta-band p { margin-top: 6px; max-width: 56ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-primary { background: var(--bg); color: var(--ink); }
.cta-band .btn-ghost { border-color: var(--brand-ink); color: var(--brand-ink); }
.footer { background: #0A1312; color: var(--muted); border-top: 1px solid var(--line); }
.footer h2 { color: var(--gold); opacity: 1; }
.f-about { margin-top: 12px; max-width: 34ch; }
