/* Asseto: everything below the hero */

.section {
  max-width: 72rem;
  margin: 0 auto;
  padding: 5rem 2rem;
  border-top: 1px solid hsl(var(--foreground) / 0.12);
}

.section:first-child { border-top: 0; }

.section-head { max-width: 44rem; }

.eyebrow {
  margin-bottom: 1rem;
  font-family: var(--ui-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: hsl(var(--accent) / 0.75);
}

.section-title {
  font-size: 2.75rem;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: hsl(var(--foreground));
}

.section-lede {
  margin-top: 1.25rem;
  font-size: 1.25rem;
  line-height: 1.5;
  color: hsl(var(--foreground) / 0.65);
}

/* ---------------- steps ---------------- */

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 3.5rem;
}

.step-num {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--ui-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  color: hsl(var(--accent) / 0.7);
}

.step-title {
  margin-bottom: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid hsl(var(--foreground) / 0.16);
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.step-body {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: hsl(var(--foreground) / 0.62);
}

/* ---------------- catalogue table ---------------- */

.table-scroll {
  margin-top: 3rem;
  overflow-x: auto;
  border: 1px solid hsl(var(--foreground) / 0.14);
  border-radius: 4px;
  background: hsl(150 20% 7% / 0.7);
}

.board {
  width: 100%;
  min-width: 46rem;
  border-collapse: collapse;
}

.board th {
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid hsl(var(--foreground) / 0.16);
  font-family: var(--ui-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: hsl(var(--foreground) / 0.45);
  white-space: nowrap;
}

.board td {
  padding: 0.9375rem 1.25rem;
  border-bottom: 1px solid hsl(var(--foreground) / 0.08);
  font-size: 1rem;
  color: hsl(var(--foreground) / 0.8);
  white-space: nowrap;
}

.board tr:last-child td { border-bottom: 0; }

.board tbody tr { transition: background 0.15s ease; }
.board tbody tr:hover { background: hsl(var(--foreground) / 0.035); }

.board .align-left { text-align: left; }
.board .align-right { text-align: right; }

.board .cell-symbol {
  font-family: var(--ui-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: hsl(var(--foreground));
}

.board .cell-object { color: hsl(var(--foreground) / 0.62); }

.board .cell-mark,
.board .cell-change,
.board .cell-funding,
.board .cell-openInterest {
  font-family: var(--ui-mono);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
}

.board .cell-mark { color: hsl(var(--foreground)); }
.board .cell-funding,
.board .cell-openInterest { color: hsl(var(--foreground) / 0.6); }

.board .is-up { color: hsl(var(--up)); }
.board .is-down { color: hsl(var(--down)); }

.table-foot {
  margin-top: 1rem;
  font-family: var(--ui-sans);
  font-size: 0.8125rem;
  line-height: 1.6;
  color: hsl(var(--foreground) / 0.4);
}

/* ---------------- prose ---------------- */

.prose {
  max-width: 44rem;
  margin-top: 2.5rem;
}

.prose p {
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
  line-height: 1.55;
  color: hsl(var(--foreground) / 0.7);
}

.prose p:last-child { margin-bottom: 0; }

/* ---------------- footer ---------------- */

.footer {
  max-width: 72rem;
  margin: 0 auto;
  padding: 4rem 2rem 5rem;
  border-top: 1px solid hsl(var(--foreground) / 0.12);
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

.footer-line {
  max-width: 34rem;
  font-size: 1.25rem;
  line-height: 1.5;
  color: hsl(var(--foreground) / 0.7);
}

.footer-note {
  margin-top: 2rem;
  font-size: 1.125rem;
  color: hsl(var(--foreground) / 0.5);
}

.small-print {
  max-width: 48rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid hsl(var(--foreground) / 0.1);
  font-family: var(--ui-sans);
  font-size: 0.8125rem;
  line-height: 1.7;
  color: hsl(var(--foreground) / 0.35);
}

/* ---------------- responsive ---------------- */

@media (min-width: 768px) {
  .section { padding: 7rem 4rem; }
  .footer { padding: 5rem 4rem 6rem; }

  .section-title { font-size: 3.5rem; }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }

  .footer-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
  }
}

/* Rows the live board writes in over the sample markup. */
.hostile-flag {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.05rem 0.35rem;
  border-radius: 4px;
  background: hsl(var(--down) / 0.16);
  color: hsl(var(--down));
  font-family: var(--ui-sans);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: middle;
}
.live-row:hover { background: hsl(var(--foreground) / 0.035); }

/* The hero gives people two ways in: file something, or trade what is there. */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
}
.cta-second {
  font-size: 1.125rem;
  color: hsl(var(--foreground) / 0.62);
  border-bottom: 1px solid hsl(var(--foreground) / 0.25);
  padding-bottom: 0.15rem;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.cta-second:hover { color: hsl(var(--foreground)); border-color: hsl(var(--foreground) / 0.6); }

/* The one line that says what this is, under the heading. */
.hero-sub {
  max-width: 34ch;
  margin: -1.5rem 0 2rem;
  font-size: 1.25rem;
  line-height: 1.4;
  color: hsl(var(--foreground) / 0.72);
}
@media (max-width: 768px) {
  .hero-sub { font-size: 1.0625rem; margin: -0.75rem 0 1.5rem; }
}
