/*
  WEB-001 — EMIS Offer Page styles (v0.1)
  Self-contained. No external CDN, no web fonts, no imports. System font stack only.
*/

:root {
  --bg: #0f1722;
  --bg-alt: #131e2c;
  --panel: #1a2738;
  --panel-2: #1f2f44;
  --ink: #e9eef5;
  --ink-soft: #aab8c8;
  --line: #2a3a52;
  --accent: #3d7eff;
  --accent-ink: #ffffff;
  --good: #46c08a;
  --private: #c9923b;
  --radius: 12px;
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, "Noto Sans", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: 2.1rem; }
h2 { font-size: 1.55rem; }
h3 { font-size: 1.15rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(15,23,34,.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { font-weight: 700; letter-spacing: .3px; font-size: 1.15rem; }
.brand-dot { color: var(--accent); }
.topnav a { color: var(--ink-soft); margin-left: 18px; font-size: .92rem; }
.topnav a:hover { color: var(--ink); text-decoration: none; }

/* Hero */
.hero { padding: 72px 0 56px; background:
  radial-gradient(900px 380px at 70% -10%, rgba(61,126,255,.18), transparent 60%),
  var(--bg); }
.eyebrow { color: var(--accent); font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; font-size: .78rem; margin: 0 0 10px; }
.hero h1 { max-width: 16ch; }
.lede { font-size: 1.16rem; color: var(--ink-soft); max-width: 60ch; }
.hero-disclaimers { list-style: none; padding: 0; margin: 18px 0 26px;
  display: flex; flex-wrap: wrap; gap: 10px; }
.hero-disclaimers li { background: var(--panel); border: 1px solid var(--line);
  color: var(--ink-soft); padding: 6px 12px; border-radius: 999px; font-size: .85rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
.section { padding: 56px 0; }
.section-alt { background: var(--bg-alt); }
.section-intro { color: var(--ink-soft); max-width: 70ch; margin-top: -.2em; }

/* Cards & grids */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
}
.card h3 { color: var(--ink); }
.card p { color: var(--ink-soft); margin: 0 0 .2em; }

/* Pricing */
.pricing-grid { margin-top: 22px; }
.plan { display: flex; flex-direction: column; position: relative; }
.plan-featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.badge { position: absolute; top: -11px; right: 16px; background: var(--accent);
  color: var(--accent-ink); font-size: .72rem; font-weight: 700; padding: 3px 10px;
  border-radius: 999px; letter-spacing: .04em; }
.plan-name { margin-bottom: 6px; }
.plan-price { margin: 4px 0 0; }
.plan-price .amount { font-size: 1.5rem; font-weight: 700; color: var(--ink); }
.plan-price .per { color: var(--ink-soft); font-size: .9rem; }
.plan-price-alt { color: var(--ink-soft); font-size: .9rem; margin: 2px 0 12px; min-height: 1.2em; }
.plan-desc { flex: 1 0 auto; }
.plan-note { color: var(--good); font-size: .86rem; margin-top: 8px; }
.plan-cta { margin-top: 16px; text-align: center; }

/* Buttons */
.btn { display: inline-block; padding: 11px 18px; border-radius: 10px;
  font-weight: 600; font-size: .95rem; border: 1px solid transparent; cursor: pointer; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.fineprint { color: var(--ink-soft); font-size: .85rem; margin-top: 20px; }

/* Comparison table */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
table.compare th, table.compare td { padding: 12px 14px; text-align: left;
  border-bottom: 1px solid var(--line); font-size: .92rem; }
table.compare thead th { background: var(--panel-2); color: var(--ink); position: sticky; top: 0; }
table.compare tbody th { color: var(--ink); font-weight: 600; }
table.compare td { color: var(--ink-soft); }

/* Private Trader-IQ section */
.section-private { background: linear-gradient(0deg, rgba(201,146,59,.06), rgba(201,146,59,.06)), var(--bg-alt);
  border-top: 1px solid rgba(201,146,59,.35); border-bottom: 1px solid rgba(201,146,59,.35); }
.private-tag { display: inline-block; color: var(--private);
  border: 1px solid rgba(201,146,59,.5); border-radius: 999px; padding: 4px 12px;
  font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }
.private-card { max-width: 560px; }

/* Lists */
.checklist, .prohibit-list { list-style: none; padding: 0; margin: 14px 0 0; }
.checklist li, .prohibit-list li { position: relative; padding-left: 26px; margin: 8px 0;
  color: var(--ink-soft); }
.checklist li::before { content: "\2713"; position: absolute; left: 0; color: var(--good); font-weight: 700; }
.prohibit-list li::before { content: "\2715"; position: absolute; left: 0; color: #d9534f; font-weight: 700; }

/* Callouts */
.callout { background: var(--panel); border: 1px solid var(--line);
  border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 20px 22px; }
.callout-strong { border-left-color: var(--good); }
.callout p { margin: 0 0 .6em; color: var(--ink-soft); }
.callout p strong { color: var(--ink); }
.risk-note { font-size: .9rem; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 18px 0 0; }
.steps li { position: relative; padding: 8px 0 8px 42px; color: var(--ink-soft); }
.steps li::before { counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 6px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--panel-2); border: 1px solid var(--line); color: var(--ink);
  display: grid; place-items: center; font-size: .85rem; font-weight: 700; }

/* CTA section */
.cta-section { background:
  radial-gradient(700px 300px at 30% 0%, rgba(61,126,255,.14), transparent 60%), var(--bg); }
.cta-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 640px; }

/* FAQ */
.faq details { background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 4px 18px; margin: 10px 0; }
.faq summary { cursor: pointer; font-weight: 600; padding: 12px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--accent); font-weight: 700; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--ink-soft); margin: 0 0 14px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 34px 0; background: var(--bg-alt); }
.footer-brand { font-weight: 700; margin: 0 0 6px; }
.footer-note { color: var(--ink-soft); font-size: .88rem; margin: 4px 0; max-width: 80ch; }
.footer-note.small { font-size: .8rem; opacity: .85; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0; }
.footer-legal a { color: var(--ink-soft); font-size: .85rem; }
.footer-legal a:hover { color: var(--accent); }

/* Legal / policy pages */
.legal-page { max-width: 820px; margin: 0 auto; padding: 40px 20px 64px; }
.legal-page h1 { font-size: 1.7rem; }
.legal-page h2 { font-size: 1.2rem; margin-top: 1.6em; }
.legal-page p, .legal-page li { color: var(--ink-soft); }
.legal-back { display: inline-block; margin-bottom: 18px; font-size: .9rem; }
.draft-banner {
  background: linear-gradient(0deg, rgba(217,83,79,.10), rgba(217,83,79,.10)), var(--panel);
  border: 1px solid #d9534f; border-radius: var(--radius);
  padding: 16px 18px; margin: 0 0 24px;
}
.draft-banner strong { color: #f0a6a3; }
.status-markers { list-style: none; padding: 0; margin: 10px 0 0;
  display: flex; flex-wrap: wrap; gap: 6px; }
.status-markers li { font-size: .72rem; letter-spacing: .03em; font-weight: 600;
  color: var(--ink-soft); background: var(--panel-2); border: 1px solid var(--line);
  border-radius: 999px; padding: 4px 10px; }
.legal-meta { color: var(--ink-soft); font-size: .82rem; margin-top: 40px;
  border-top: 1px solid var(--line); padding-top: 16px; }

/* Responsive */
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  h1 { font-size: 1.7rem; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .cta-grid { grid-template-columns: 1fr; }
  .topnav { display: none; }
}
