/* The static content pages (/about, /practice-trading, /ai-trading-mentor,
   /compare/*): the landing's look for long-form reading. Hexes are
   tokens.ts's (C.bg, C.card, C.text, C.muted, C.dim, C.lime, C.border,
   C.hairline, C.onFill); lime is chrome only, and nothing here uses the
   market's green or red. Each page carries its own header and footer
   markup: ponytail: hand-copied across six pages; a build step that stamps
   them in replaces the copies once a header change means editing many. */

html {
  background: #070a08;
}
body {
  margin: 0;
  color: #dcf5e3;
  font-family: "Instrument Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header: the mark and the word home, then the nav and the CTA. */
.bar .wrap {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font:
    600 18px "Instrument Sans",
    sans-serif;
  letter-spacing: -0.2px;
}
.brand svg {
  width: 28px;
  height: 28px;
}
.bar nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font:
    500 13px "IBM Plex Mono",
    monospace;
}
.bar nav a {
  text-decoration: none;
  color: #8aa892;
}
.bar nav a:hover,
.bar nav a[aria-current] {
  color: #dcf5e3;
}
.bar nav .start {
  color: #c6f544;
  border: 1px solid rgba(198, 245, 68, 0.45);
  border-radius: 6px;
  padding: 8px 12px;
}

/* The article column. */
article {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 20px 0;
}
.eyebrow {
  font:
    600 11px "IBM Plex Mono",
    monospace;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #74917b;
}
h1 {
  margin: 18px 0 0;
  font:
    600 clamp(34px, 5.2vw, 54px) / 1.05 "Instrument Sans",
    sans-serif;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.lede {
  margin: 22px 0 0;
  font:
    400 19px / 1.55 "Instrument Sans",
    sans-serif;
  color: #8aa892;
  text-wrap: pretty;
}
h2 {
  margin: 64px 0 0;
  font:
    600 clamp(22px, 2.6vw, 28px) / 1.2 "Instrument Sans",
    sans-serif;
  letter-spacing: -0.3px;
  text-wrap: balance;
}
h3 {
  margin: 0;
  font:
    600 17px "Instrument Sans",
    sans-serif;
}
p,
li {
  font:
    400 17px / 1.7 "Instrument Sans",
    sans-serif;
  color: #8aa892;
  text-wrap: pretty;
}
p {
  margin: 16px 0 0;
}
strong {
  color: #dcf5e3;
  font-weight: 600;
}
article a {
  color: #dcf5e3;
  text-decoration: underline dotted #74917b;
  text-underline-offset: 4px;
}
article ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
article li {
  position: relative;
  padding-left: 22px;
  margin-top: 10px;
}
article li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #74917b;
}

/* The answer box: the paragraph an assistant should quote. */
.answer {
  margin-top: 36px;
  background: #0f1811;
  border: 1px solid #1c2f20;
  border-left: 2px solid #c6f544;
  border-radius: 0 8px 8px 0;
  padding: 18px 22px 20px;
}
.answer p {
  margin: 8px 0 0;
  color: #dcf5e3;
}

/* Two cards side by side: "choose them if" / "choose Blindgrade if". */
.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}
.card {
  background: #0f1811;
  border: 1px solid #1c2f20;
  border-radius: 8px;
  padding: 20px 20px 22px;
}
.card.us {
  border-color: rgba(198, 245, 68, 0.45);
}
.card ul {
  margin-top: 10px;
}
.card li {
  font-size: 15px;
  margin-top: 8px;
}

/* The comparison table: three columns, so it fits a phone; it scrolls
   inside its box rather than widening the page if a cell runs long. */
.table {
  margin-top: 24px;
  overflow-x: auto;
  border: 1px solid #1c2f20;
  border-radius: 8px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font:
    400 15px / 1.5 "Instrument Sans",
    sans-serif;
}
th,
td {
  text-align: left;
  vertical-align: top;
  padding: 14px 16px;
  border-top: 1px solid #142016;
}
thead th {
  border-top: 0;
  font:
    600 11px "IBM Plex Mono",
    monospace;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #74917b;
}
tbody th {
  font:
    500 12px / 1.5 "IBM Plex Mono",
    monospace;
  color: #74917b;
  width: 28%;
}
td {
  color: #8aa892;
}
td.us,
th.us {
  background: rgba(198, 245, 68, 0.04);
  color: #dcf5e3;
}
thead th.us {
  color: #c6f544;
}
.checked {
  margin-top: 10px;
  font:
    400 12px / 1.6 "IBM Plex Mono",
    monospace;
  color: #74917b;
}

/* FAQ: the landing's open-close list. */
.faq {
  margin-top: 20px;
  border-bottom: 1px solid #142016;
}
.faq details {
  border-top: 1px solid #142016;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font:
    500 18px "Instrument Sans",
    sans-serif;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font:
    500 18px "IBM Plex Mono",
    monospace;
  color: #8aa892;
}
.faq details[open] summary::after {
  content: "−";
}
.faq details p {
  margin: 0;
  padding: 0 0 22px;
}

/* The closing call to action. */
.closer {
  margin-top: 72px;
  background: #0f1811;
  border: 1px solid #1c2f20;
  border-radius: 8px;
  padding: 32px 28px;
}
.closer h2 {
  margin: 0;
}
.closer .ctas {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cta {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 30px;
  border-radius: 8px;
  background: #c6f544;
  color: #081207;
  font:
    600 16px "Instrument Sans",
    sans-serif;
  text-decoration: none;
  box-shadow:
    0 0 0 1px rgba(198, 245, 68, 0.45),
    0 0 34px rgba(198, 245, 68, 0.22);
}
.cta:hover {
  background: #d4f86a;
}
.alt {
  font:
    500 13px / 1.7 "IBM Plex Mono",
    monospace;
  color: #8aa892;
  text-decoration: underline dotted #74917b;
  text-underline-offset: 4px;
}
.note {
  margin-top: 40px;
  font:
    400 13px / 1.6 "IBM Plex Mono",
    monospace;
  color: #74917b;
}

/* Footer: the landing's. */
footer {
  margin-top: 96px;
  border-top: 1px solid #142016;
  padding: 32px 0;
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font:
    400 11px "IBM Plex Mono",
    monospace;
  color: #74917b;
}
footer .wrap nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
footer .wrap a {
  text-decoration: none;
  border-bottom: 1px dotted #74917b;
}
footer .wrap .brand {
  border-bottom: 0;
  color: #dcf5e3;
}

@media (max-width: 640px) {
  .bar nav {
    gap: 16px;
  }
  .bar nav .wide {
    display: none;
  }
  article {
    padding-top: 36px;
  }
  .pair {
    grid-template-columns: 1fr;
  }
  /* The phone stacks each row: its label across the top, the two values
     side by side under it. */
  thead tr,
  tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  thead th:first-child {
    display: none;
  }
  tbody th {
    grid-column: 1 / -1;
    width: auto;
    padding: 12px 12px 0;
  }
  td {
    border-top: 0;
    padding: 6px 12px 12px;
  }
  thead th {
    padding: 12px;
  }
  .closer {
    padding: 26px 20px;
  }
}
