/* SPIRACTIVE Trading Intelligence — institutional, minimal, black/white/charcoal. System fonts only. */
:root {
  --ink: #14161a;
  --ink-2: #3d434d;
  --ink-3: #6b7280;
  --paper: #ffffff;
  --paper-2: #f6f7f8;
  --line: #e3e5e8;
  --charcoal: #1c1f24;
  --accent: #9a7b2d;      /* restrained institutional gold */
  --pos: #166534;
  --neg: #b91c1c;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.6; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.wordmark { font-weight: 800; letter-spacing: .14em; font-size: 15px; color: var(--ink); text-decoration: none; }
.wordmark span { display: block; font-weight: 500; letter-spacing: .28em; font-size: 9px; color: var(--ink-3); text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { color: var(--ink-2); text-decoration: none; font-size: 14px; }
.site-nav a:hover { color: var(--ink); }
.nav-cta { border: 1px solid var(--ink); padding: 7px 14px; border-radius: 3px; font-weight: 600; color: var(--ink) !important; }
.nav-cta:hover { background: var(--ink); color: #fff !important; }
.nav-toggle { display: none; background: none; border: 0; font-size: 22px; cursor: pointer; }

/* hero */
.hero { background: var(--charcoal); color: #f2f3f5; padding: 96px 0 88px; }
.kicker { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: #9aa3af; margin-bottom: 22px; }
.hero h1 { font-size: clamp(34px, 5.4vw, 56px); line-height: 1.12; font-weight: 800; letter-spacing: -.01em; margin-bottom: 22px; }
.hero-sub { max-width: 640px; color: #c6ccd4; font-size: 17px; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-note { font-size: 12.5px; color: #8b939e; }

/* buttons */
.btn { display: inline-block; padding: 13px 26px; border-radius: 3px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-decoration: none; cursor: pointer; border: 1px solid transparent; }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: #846a26; border-color: #846a26; }
.btn-ghost { border-color: #5b6470; color: inherit; background: transparent; }
.hero .btn-ghost { color: #e5e8ec; }
.btn-ghost:hover { border-color: currentColor; }
.section .btn-ghost { color: var(--ink); border-color: var(--ink-3); }

/* sections */
.section { padding: 84px 0; border-bottom: 1px solid var(--line); }
.section-alt { background: var(--paper-2); }
h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; letter-spacing: -.01em; margin-bottom: 14px; }
.lede { font-size: 17px; color: var(--ink-2); max-width: 680px; margin-bottom: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 26px 24px; }
.section-alt .card { background: var(--paper); }
.card h3 { font-size: 15.5px; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--ink-2); }

/* case study */
.case-grid { display: flex; align-items: stretch; gap: 18px; margin-bottom: 30px; flex-wrap: wrap; }
.case-figure { flex: 1; min-width: 200px; border: 1px solid var(--line); border-radius: 6px; padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; }
.figure-label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.figure-value { font-family: var(--mono); font-size: clamp(30px, 4vw, 44px); font-weight: 700; }
.figure-pos { color: var(--pos); }
.figure-neg { color: var(--neg); }
.case-arrow { align-self: center; font-size: 26px; color: var(--ink-3); }
.verdict-box { border-left: 3px solid var(--accent); background: var(--paper-2); padding: 22px 26px; border-radius: 0 6px 6px 0; max-width: 760px; }
.verdict-box h3 { margin-bottom: 6px; }
.section-cta { margin-top: 28px; }

/* checklist */
.checklist { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; max-width: 860px; }
.checklist li { padding-left: 28px; position: relative; font-size: 15px; color: var(--ink-2); }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* pricing */
.pricing-grid { align-items: stretch; }
.price-card { display: flex; flex-direction: column; }
.price-card-featured { border: 2px solid var(--ink); position: relative; }
.price-card-featured::after { content: "POPULAR"; position: absolute; top: -11px; right: 18px; background: var(--ink); color: #fff; font-size: 10px; letter-spacing: .18em; padding: 3px 10px; border-radius: 2px; }
.price { font-family: var(--mono); font-size: 44px; font-weight: 700; margin: 10px 0 2px; }
.price-currency { font-size: 24px; vertical-align: super; }
.price-tag { font-size: 12.5px; color: var(--ink-3); margin-bottom: 18px; }
.price-card ul { list-style: none; margin-bottom: 26px; flex: 1; }
.price-card li { font-size: 14px; color: var(--ink-2); padding: 7px 0 7px 22px; position: relative; border-bottom: 1px solid var(--paper-2); }
.price-card li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.btn-pay { text-align: center; }
.payment-note { margin-top: 22px; font-size: 12.5px; color: var(--ink-3); }

/* intake form */
.intake-form { max-width: 860px; display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.intake-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.intake-form input[type="text"], .intake-form input[type="email"], .intake-form select, .intake-form textarea {
  font: inherit; font-size: 14.5px; font-weight: 400; color: var(--ink);
  border: 1px solid var(--line); border-radius: 4px; padding: 10px 12px; background: var(--paper); }
.intake-form input:focus, .intake-form select:focus, .intake-form textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }
.form-fieldset { border: 1px solid var(--line); border-radius: 4px; padding: 16px 18px; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.form-fieldset legend { font-size: 13px; font-weight: 600; color: var(--ink-2); padding: 0 6px; }
.check { flex-direction: row !important; align-items: center; gap: 8px !important; font-weight: 400 !important; font-size: 14px !important; }
.check-auth { font-weight: 600 !important; }
.form-note { font-size: 13px; color: var(--ink-3); }
.form-note.ok { color: var(--pos); }
.form-note.err { color: var(--neg); }

/* faq */
.faq-item { border: 1px solid var(--line); border-radius: 5px; margin-bottom: 10px; background: var(--paper); }
.faq-item summary { cursor: pointer; padding: 16px 20px; font-weight: 600; font-size: 15px; list-style: none; }
.faq-item summary::after { content: "+"; float: right; color: var(--accent); font-weight: 700; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 20px 18px; font-size: 14.5px; color: var(--ink-2); max-width: 760px; }

/* disclaimer */
.disclaimer-box { max-width: 820px; display: flex; flex-direction: column; gap: 14px; font-size: 14px; color: var(--ink-2); }

/* footer */
.site-footer { background: var(--charcoal); color: #c6ccd4; padding: 56px 0 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 36px; }
.footer-wordmark { color: #fff; }
.footer-tag { font-size: 13px; color: #9aa3af; max-width: 380px; margin-top: 8px; }
.footer-contact p { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #8b939e; margin-bottom: 8px; }
.footer-contact a { color: #e5e8ec; text-decoration: none; border-bottom: 1px solid #4b5563; }
.footer-legal { border-top: 1px solid #2c313a; padding: 18px 24px 26px; font-size: 12px; color: #8b939e; }

/* sample report page */
.report-body { background: var(--paper-2); }
.report { max-width: 860px; margin: 0 auto; background: var(--paper); padding: 64px 60px; }
.report-head { border-bottom: 2px solid var(--ink); padding-bottom: 24px; margin-bottom: 32px; }
.report-head .wordmark span { letter-spacing: .34em; }
.report-title { font-size: 26px; font-weight: 800; margin-top: 18px; }
.report-meta { font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); margin-top: 8px; }
.report h2 { font-size: 19px; margin: 38px 0 12px; padding-top: 22px; border-top: 1px solid var(--line); }
.report h2:first-of-type { border-top: 0; padding-top: 0; }
.report p, .report li { font-size: 14.5px; color: var(--ink-2); }
.report table { width: 100%; border-collapse: collapse; margin: 14px 0 6px; font-size: 13.5px; }
.report th { text-align: left; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); border-bottom: 1.5px solid var(--ink); padding: 8px 10px 8px 0; }
.report td { border-bottom: 1px solid var(--line); padding: 8px 10px 8px 0; font-family: var(--mono); }
.report td:first-child { font-family: var(--sans); }
.report .r-neg { color: var(--neg); }
.report .r-pos { color: var(--pos); }
.report .verdict-box { margin-top: 26px; }
.report ul { padding-left: 20px; }
.report-actions { margin: 40px 0; text-align: center; }

@media print {
  .site-header, .site-footer, .report-actions { display: none; }
  .report { padding: 0; }
  body { background: #fff; }
}

/* steps (how it works) */
.steps-grid { text-align: left; }
.step { padding: 6px 18px 6px 0; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border: 1.5px solid var(--accent); color: var(--accent); border-radius: 50%;
  font-family: var(--mono); font-weight: 700; font-size: 15px; margin-bottom: 14px; }
.step h3 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 14.5px; color: var(--ink-2); }
.steps-note { margin-top: 30px; font-size: 13.5px; font-weight: 600; letter-spacing: .06em; color: var(--ink-3); text-transform: uppercase; }

/* trust line */
.trust-line { font-size: 12.5px; letter-spacing: .04em; color: #a9b2bd; margin-bottom: 10px; }
.trust-line-dark { color: var(--ink-3); margin-top: 26px; margin-bottom: 0; }
.flow-note { font-family: var(--mono); font-size: 13.5px; color: var(--ink-2); margin: -24px 0 28px; }

/* responsive */
@media (max-width: 860px) {
  body { overflow-x: hidden; }
  .hero h1 { font-size: clamp(27px, 8.2vw, 40px); overflow-wrap: break-word; }
  .kicker { font-size: 10.5px; letter-spacing: .14em; }
  .card p { font-size: 15px; }
  .price-card li { font-size: 15px; }
  .intake-form label { font-size: 14px; }
  .grid-3 { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .case-arrow { display: none; }
  .site-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--paper); flex-direction: column; align-items: flex-start; gap: 0; border-bottom: 1px solid var(--line); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 24px; width: 100%; border-top: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .report { padding: 40px 22px; }
}
