/* TradeMate's website. Colours from CLAUDE.md → Design Principles. */
:root {
  --bg: #0b0f14; --surface: #121821; --raised: #18202b; --line: #1f2833;
  --primary: #4f8cff; --good: #2ed573; --warn: #ffb020;
  --text: #ffffff; --muted: #b2bcc8;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 -apple-system, system-ui, "Segoe UI", Roboto, sans-serif; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 20px; }
h2 { font-size: 22px; letter-spacing: -0.01em; margin: 0 0 8px; }
p { margin: 0 0 14px; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

.top { border-bottom: 1px solid var(--line); position: sticky; top: 0; background: rgba(11, 15, 20, .92); backdrop-filter: blur(8px); z-index: 1; }
.bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { color: var(--text); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.top nav, .foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.top nav a:not(.button) { color: var(--muted); }
.top nav a[aria-current] { color: var(--text); }

.button { display: inline-block; background: var(--primary); color: #fff; font-weight: 700; padding: 13px 22px; border-radius: 10px; }
.button:hover { text-decoration: none; filter: brightness(1.1); }
.button.small { padding: 8px 14px; font-size: 15px; }
.button.quiet { background: var(--raised); border: 1px solid var(--line); color: var(--text); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 26px 0 12px; }

.hero { padding: 88px 20px 56px; }
.narrow-hero { padding-bottom: 24px; }
.lede { font-size: 21px; color: var(--muted); max-width: 720px; }

.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 56px; }
.features article { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.features article p { color: var(--muted); margin: 0; }
.features ul { margin: 14px 0 0; padding-left: 18px; color: var(--muted); }
.features li { margin: 6px 0; }
.features li strong { color: var(--text); font-weight: 600; }
.eyebrow { color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 14px; margin-bottom: 12px; }

.trades { margin-bottom: 56px; }
.trade-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.trade-list a { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; color: var(--text); font-weight: 600; }
.trade-list a:hover { border-color: var(--primary); text-decoration: none; }
.trade-list a span { color: var(--primary); }

q { color: var(--text); font-style: italic; }
q::before, q::after { content: ""; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; margin-bottom: 56px; }
.split p { color: var(--muted); }
.briefing { margin: 0; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--primary); border-radius: 12px; padding: 22px 24px; font-size: 18px; }

.cta { text-align: center; padding: 48px 20px 88px; }
.cta .actions { justify-content: center; }
.cta p { color: var(--muted); }

.price-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; margin-bottom: 48px; }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 30px; }
.price { font-size: 56px; font-weight: 800; letter-spacing: -0.03em; }
.price span { font-size: 18px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-card ul { padding-left: 20px; margin: 18px 0 24px; color: var(--muted); }
.price-card .button { width: 100%; text-align: center; margin-bottom: 10px; }
.price-notes p { color: var(--muted); }
.price-notes h2 { margin-top: 8px; }

.faq { max-width: 760px; margin-bottom: 88px; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

.legal { max-width: 760px; padding-top: 48px; padding-bottom: 88px; }
.legal h1 { font-size: 40px; }
.legal h2 { margin-top: 28px; }
.legal p, .legal li { color: var(--muted); }
.legal strong { color: var(--text); }
.draft { background: rgba(255, 176, 32, .1); border: 1px solid rgba(255, 176, 32, .45); color: var(--warn); border-radius: 12px; padding: 12px 16px; margin-bottom: 28px; font-size: 15px; }

.foot { border-top: 1px solid var(--line); padding: 18px 0; font-size: 14px; }
.foot nav a { color: var(--muted); }

@media (max-width: 760px) {
  .hero { padding-top: 48px; }
  .features, .split, .price-grid { grid-template-columns: 1fr; }
  .top nav { gap: 14px; }
}
