/* ══ Landing v2 — the lower sections ══════════════════════════════════
   Syndicates, Build-up News, Track record and the final call to action.
   The redesign carried the first three over from the old page unstyled
   and had no design for the news at all; this gives all four the
   redesign's language, taken from the sections above them: monospace
   gold kickers, Playfair titles with a soft-gold accent, dark panels
   with a hairline gold border, gold pill buttons. */

.lw-section {
  --lw-gold: #d8b14a;
  --lw-gold-soft: #f0ce6b;
  --lw-ink: #f5f2ea;
  --lw-muted: rgba(242, 236, 223, 0.66);
  --lw-faint: rgba(242, 236, 223, 0.42);
  --lw-line: rgba(216, 177, 74, 0.18);
  --lw-panel: rgba(8, 12, 20, 0.85);
  --lw-hit: #6fbf8c;
  --lw-miss: var(--c-red-lt);
  position: relative;
  padding: clamp(56px, 7vw, 96px) 0;
  background: var(--c-midnight);
  color: var(--lw-ink);
}

/* ── Headings ───────────────────────────────────────────────────── */
.lw-head {
  max-width: 640px;
  margin-bottom: clamp(24px, 3vw, 36px);
}

.lw-head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  max-width: none;
}

.lw-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-family: ui-monospace, "IBM Plex Mono", Menlo, monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--lw-gold);
}

.lw-kicker__rule {
  width: 28px;
  height: 1px;
  background: var(--lw-gold);
}

.lw-kicker--center {
  justify-content: center;
}

.lw-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: #fff;
}

.lw-title__accent {
  color: var(--lw-gold-soft);
}

.lw-sub {
  margin: 0;
  max-width: 560px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--lw-muted);
}

.lw-sub--center {
  margin: 0 auto;
  text-align: center;
}

/* ── Buttons ────────────────────────────────────────────────────── */
.lw-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.lw-ctas--center {
  justify-content: center;
}

.lw-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--lw-gold);
  border: 1px solid var(--lw-gold);
  color: var(--c-midnight);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: filter 0.15s ease, transform 0.15s ease, background 0.15s ease;
}

.lw-btn:hover,
.lw-btn:focus-visible {
  filter: brightness(1.06);
  transform: translateY(-1px);
  color: var(--c-midnight);
}

.lw-btn--ghost {
  background: transparent;
  border-color: rgba(242, 236, 223, 0.28);
  color: var(--lw-ink);
}

.lw-btn--ghost:hover,
.lw-btn--ghost:focus-visible {
  border-color: var(--lw-gold);
  color: var(--lw-ink);
  background: rgba(216, 177, 74, 0.08);
}

/* ── Panels and rows ────────────────────────────────────────────── */
.lw-panel {
  display: flex;
  flex-direction: column;
  padding: 22px 22px 18px;
  border-radius: 16px;
  background: var(--lw-panel);
  border: 1px solid var(--lw-line);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.lw-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.lw-panel__title {
  font-family: ui-monospace, "IBM Plex Mono", Menlo, monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--lw-gold);
}

.lw-panel__link {
  font-size: 12px;
  font-weight: 700;
  color: var(--lw-gold);
  text-decoration: none;
}

.lw-panel__link:hover,
.lw-panel__link:focus-visible {
  color: var(--lw-gold-soft);
}

.lw-panel__foot {
  margin: 14px 0 0;
  font-family: ui-monospace, "IBM Plex Mono", Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lw-faint);
}

.lw-panel__empty {
  padding: 18px 4px;
}

.lw-panel__empty-title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--lw-ink);
}

.lw-panel__empty-body {
  margin: 0;
  font-size: 14px;
  color: var(--lw-muted);
}

.lw-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lw-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto 14px;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(242, 236, 223, 0.04);
  border: 1px solid rgba(242, 236, 223, 0.08);
  color: var(--lw-ink);
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.lw-row:hover,
.lw-row:focus-visible {
  border-color: var(--lw-gold);
  background: rgba(216, 177, 74, 0.06);
}

.lw-row__rank {
  font-family: ui-monospace, "IBM Plex Mono", Menlo, monospace;
  font-size: 11px;
  color: var(--lw-gold);
}

.lw-row__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}

.lw-row__meta {
  font-size: 12px;
  color: var(--lw-muted);
  white-space: nowrap;
}

.lw-row__arrow {
  color: var(--lw-gold);
}

/* ── Syndicates ─────────────────────────────────────────────────── */
.lw-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.lw-steps {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lw-step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.lw-step__num {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--lw-line);
  font-family: ui-monospace, "IBM Plex Mono", Menlo, monospace;
  font-size: 10px;
  color: var(--lw-gold);
}

.lw-step__title {
  margin: 4px 0 2px;
  font-weight: 700;
  color: var(--lw-ink);
}

.lw-step__body {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--lw-muted);
}

/* ── Build-up news ──────────────────────────────────────────────── */
.lw-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--lw-hit);
}

.lw-live__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lw-hit);
  box-shadow: 0 0 0 4px rgba(111, 191, 140, 0.18);
}

.lw-news__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.lw-news__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border-radius: 14px;
  background: var(--lw-panel);
  border: 1px solid var(--lw-line);
}

.lw-news__card--urgent {
  border-color: rgba(224, 92, 76, 0.55);
  box-shadow: 0 0 0 1px rgba(224, 92, 76, 0.15), 0 16px 40px rgba(0, 0, 0, 0.3);
}

.lw-news__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.lw-news__type {
  font-family: ui-monospace, "IBM Plex Mono", Menlo, monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lw-gold);
}

.lw-news__card--urgent .lw-news__type {
  color: var(--lw-miss);
}

.lw-news__time {
  font-size: 12px;
  color: var(--lw-faint);
}

.lw-news__headline {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
  color: #fff;
}

.lw-news__detail {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--lw-muted);
}

/* ── Track record ───────────────────────────────────────────────── */
.lw-record__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.lw-record__table thead th {
  padding: 0 10px 12px;
  text-align: left;
  font-family: ui-monospace, "IBM Plex Mono", Menlo, monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--lw-faint);
  border-bottom: 1px solid rgba(242, 236, 223, 0.1);
}

.lw-record__table tbody th,
.lw-record__table tbody td {
  padding: 12px 10px;
  text-align: left;
  border-bottom: 1px solid rgba(242, 236, 223, 0.06);
  vertical-align: middle;
}

.lw-record__race {
  font-weight: 600;
  color: var(--lw-ink);
}

.lw-record__winner,
.lw-record__winner a {
  color: var(--lw-gold-soft);
}

.lw-record__sp {
  font-family: ui-monospace, "IBM Plex Mono", Menlo, monospace;
  color: var(--lw-muted);
}

.lw-verdict {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-weight: 700;
}

.lw-verdict--hit {
  color: var(--lw-hit);
  background: rgba(111, 191, 140, 0.12);
}

.lw-verdict--miss {
  color: var(--lw-miss);
  background: rgba(224, 92, 76, 0.1);
}

.lw-record__more {
  align-self: flex-end;
  margin-top: 14px;
}

/* ── Final call to action ───────────────────────────────────────── */
.lw-final__panel {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 56px) clamp(20px, 4vw, 48px);
  border-radius: 24px;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 70% at 50% 0%, rgba(216, 177, 74, 0.12), transparent 70%),
    var(--lw-panel);
  border: 1px solid rgba(216, 177, 74, 0.28);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.lw-final__title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 500;
  line-height: 1.08;
  color: #fff;
}

.lw-final__small {
  margin: 22px 0 0;
  font-size: 12px;
  color: var(--lw-faint);
}

.lw-final__small a {
  color: var(--lw-muted);
}

/* ── Narrow screens ─────────────────────────────────────────────── */
@media (max-width: 767px) {
  .lw-split {
    grid-template-columns: 1fr;
  }

  .lw-record__table thead th:nth-child(3),
  .lw-record__table tbody td:nth-child(3) {
    display: none;
  }

  .lw-record__table tbody th,
  .lw-record__table tbody td {
    padding: 10px 6px;
  }
}
