@font-face {
  font-family: "Outfit";
  src: url("fonts/outfit.woff2") format("woff2"),
       url("fonts/outfit.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Crimson Pro";
  src: url("fonts/crimson-pro.woff2") format("woff2"),
       url("fonts/crimson-pro.woff") format("woff");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #070b16;
  --bg-elev: #0c1324;
  --bg-card: #101827;
  --ink: #f3f6fb;
  --ink-soft: #c5cedc;
  --muted: #9aa6b8;
  --line: rgba(148, 176, 188, 0.14);
  --violet: #6e7c9a;
  --blue: #4d7a86;
  --cyan: #5aa8a4;
  --gold: #f5c15a;
  --gold-hover: #ffd57a;
  --gold-ink: #16110a;
  --long: #3aa87a;
  --short: #d98990;
  --gradient: none;
  --shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  --radius: 16px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--bg);
  background-image: linear-gradient(180deg, #0a101c 0%, var(--bg) 220px, var(--bg) 100%);
  font-family: "Outfit", "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; }

a { color: var(--cyan); }

a:hover { color: #7ebdb8; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(7, 11, 22, 0.82);
  border-bottom: 1px solid rgba(90, 168, 164, 0.16);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 20px;
  padding: 14px 0;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.brand:hover { color: inherit; }

.brand-logo {
  display: block;
  width: 166px;
  height: 40px;
}

.footer-brand {
  display: inline-block;
  margin: 0 0 14px;
  color: inherit;
  text-decoration: none;
}

.footer-logo {
  display: block;
  width: 150px;
  height: 36px;
}

.brand-name {
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}

.brand-sub {
  display: block;
  margin-top: 1px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

nav {
  display: flex;
  align-items: center;
  gap: 18px 22px;
  flex-wrap: wrap;
}

nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px 20px;
  flex-wrap: wrap;
}

nav a:hover { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(180deg, var(--gold-hover) 0%, var(--gold) 100%);
  color: var(--gold-ink);
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  font: inherit;
  font-weight: 650;
  font-size: 15px;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(255, 213, 122, 0.25), 0 8px 28px rgba(245, 193, 90, 0.28);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  background: linear-gradient(180deg, #ffe09a 0%, var(--gold-hover) 100%);
  color: var(--gold-ink);
  box-shadow: 0 0 0 1px rgba(255, 213, 122, 0.4), 0 10px 32px rgba(245, 193, 90, 0.42);
}

.cta-block { max-width: 34rem; }

.cta-block .btn { min-height: 48px; }

.affiliate-note,
.placeholder-note {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.hero {
  padding: 56px 0 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: end;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

h1, h2, h3 {
  font-family: "Crimson Pro", Georgia, serif;
  font-weight: 550;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
}

h3 {
  margin: 0 0 10px;
  font-size: 1.55rem;
}

.lede {
  margin: 0 0 24px;
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 40rem;
}

.disclaimer {
  background: rgba(245, 193, 90, 0.07);
  border: 1px solid rgba(245, 193, 90, 0.35);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 0 0 28px;
  font-size: 14px;
  color: var(--ink);
}

.disclaimer strong { font-weight: 650; color: var(--gold); }

.hero-aside {
  background: linear-gradient(180deg, rgba(18, 27, 49, 0.96), rgba(12, 19, 36, 0.96));
  border: 1px solid rgba(46, 230, 214, 0.22);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow), 0 0 40px rgba(46, 230, 214, 0.08);
}

.hero-aside p { margin: 0 0 12px; color: var(--ink-soft); }
.hero-aside p:last-child { margin-bottom: 0; }

section { padding: 64px 0; }

.section-head {
  max-width: 42rem;
  margin-bottom: 28px;
}

.section-head p { margin: 0; color: var(--ink-soft); }

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--accent, var(--violet));
  box-shadow: 0 0 16px var(--accent, var(--violet));
}

.card-a { --accent: var(--violet); }
.card-b { --accent: var(--blue); }
.card-sr { --accent: #5a9eae; }
.card-dbsi { --accent: var(--cyan); }

.icon-badge {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 12px;
  color: var(--accent, var(--cyan));
  background: color-mix(in srgb, var(--accent, var(--cyan)) 16%, transparent);
  box-shadow: none;
}

.icon-badge svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent, var(--violet)) 16%, transparent);
  color: #e7ecff;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card p, .benefit p { margin: 0; color: var(--ink-soft); }

.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.benefit {
  padding: 22px 20px 24px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent, var(--blue));
  box-shadow: var(--shadow);
}

.benefit-consistency { --accent: var(--violet); }
.benefit-speed { --accent: var(--blue); }
.benefit-discipline { --accent: var(--cyan); }

.benefit h3 { margin-top: 0; }

.cta-band {
  margin: 8px 0 0;
  background: #0c1324;
  color: var(--ink);
  border-radius: 20px;
  padding: 48px;
  border: 1px solid rgba(90, 168, 164, 0.22);
  box-shadow: var(--shadow);
}

.cta-band h2 { color: var(--ink); }

.cta-band p { color: var(--ink-soft); }

.cta-band .affiliate-note { color: var(--muted); }

.cta-band .eyebrow { color: var(--cyan); }

.learn-intro {
  margin-bottom: 28px;
}

.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

.direction {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.direction-long {
  border-color: rgba(61, 214, 140, 0.28);
  box-shadow: var(--shadow);
  --accent: var(--long);
}

.direction-short {
  border-color: rgba(255, 139, 150, 0.28);
  box-shadow: var(--shadow);
  --accent: var(--short);
}

.example {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink-soft);
}

.example strong { color: var(--ink); font-weight: 650; }

.risk-note {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(245, 193, 90, 0.1);
  border: 1px solid rgba(245, 193, 90, 0.35);
  color: var(--ink);
  font-size: 14px;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.topic {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  --accent: var(--blue);
}

.topic-leverage { --accent: var(--gold); border-color: rgba(245, 193, 90, 0.28); }
.topic-orders { --accent: var(--violet); }
.topic-markets { --accent: var(--blue); }
.topic-funding { --accent: var(--cyan); }

.topic p { margin: 0 0 10px; color: var(--ink-soft); }
.topic p:last-child { margin-bottom: 0; }

.glossary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.glossary-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 16px 18px;
}

.glossary-item dt {
  margin: 0 0 8px;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: var(--cyan);
}

.glossary-item dd {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.faq-list { display: grid; gap: 12px; }

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 600;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary:after {
  content: "+";
  float: right;
  color: var(--cyan);
  font-weight: 500;
}

.faq-item[open] summary:after { content: "–"; }

.faq-item .faq-answer {
  padding: 0 18px 16px;
  color: var(--ink-soft);
}

.faq-toolbar {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.faq-toolbar input,
.ask-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-elev);
  color: var(--ink);
  font: inherit;
  padding: 12px 14px;
}

.faq-toolbar input::placeholder,
.ask-form textarea::placeholder {
  color: #7f8da6;
}

.ask-form {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(18, 27, 49, 0.65);
}

.ask-form h3 { margin-bottom: 8px; }

.ask-status {
  margin: 12px 0 0;
  font-size: 14px;
}

.ask-status[data-kind="ok"] { color: var(--cyan); }
.ask-status[data-kind="err"] { color: #ffb4b4; }

.site-footer {
  border-top: 1px solid rgba(90, 168, 164, 0.16);
  padding: 48px 0 64px;
  font-size: 14px;
  color: var(--ink-soft);
  background: transparent;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
}

.site-footer p { margin: 0 0 10px; }

.placeholder {
  display: inline-block;
  padding: 0 6px;
  border-radius: 4px;
  background: rgba(245, 193, 90, 0.16);
  color: var(--gold);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: 1px;
}

@media (max-width: 1040px) {
  .glossary-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  nav { width: 100%; justify-content: space-between; }
  .nav-links {
    display: flex;
    width: 100%;
    order: 3;
    padding-top: 4px;
    gap: 12px 16px;
  }
  .hero { padding-top: 40px; }
  .hero-grid,
  .cards,
  .benefits,
  .pair,
  .topic-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .glossary-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 24px; }
  section { padding: 52px 0; }
  html { scroll-padding-top: 136px; }
}

/* Honeypot: keep off-screen so people do not fill it. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.about-note {
  max-width: 42rem;
  margin: 0;
  color: var(--ink-soft);
}

.turnstile-wrap {
  margin: 16px 0 0;
}

.form-actions {
  margin: 16px 0 0;
}

.hero .disclaimer {
  max-width: 42rem;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  background: linear-gradient(180deg, var(--gold-hover) 0%, var(--gold) 100%);
  color: var(--gold-ink);
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 650;
  font-size: 14px;
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 16px;
  color: var(--gold-ink);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 16px 0 0;
}

.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
}

.footer-links a:hover { color: var(--ink); }

.legal {
  max-width: 46rem;
}

.legal h1 { margin-bottom: 8px; }

.legal .effective {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 14px;
}

.legal h2 {
  margin-top: 2rem;
  font-size: 1.6rem;
}

.legal p, .legal li {
  color: var(--ink-soft);
}

.legal ul { padding-left: 1.2em; }

.legal li { margin: 0 0 8px; }

.page-hero {
  padding: 48px 0 24px;
}

.not-found {
  padding: 64px 0 96px;
  max-width: 36rem;
}

.not-found p { color: var(--ink-soft); }

.mid-cta { padding-top: 12px; }

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
