:root {
  --ink: #101b18;
  --muted: #62716c;
  --paper: #f5f2ea;
  --panel: #fffdf8;
  --line: #d8d1c4;
  --green: #245f46;
  --green-soft: #dfece5;
  --clay: #b55d3a;
  --gold: #c5963a;
  --blue: #244f73;
  --red: #a9443d;
  --shadow: 0 18px 45px rgba(16, 27, 24, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-hero {
  min-height: 420px;
  display: grid;
  align-content: space-between;
  padding: 22px clamp(18px, 5vw, 72px) 54px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(9, 22, 18, 0.88), rgba(9, 22, 18, 0.55) 46%, rgba(9, 22, 18, 0.2)),
    linear-gradient(180deg, rgba(9, 22, 18, 0.18), rgba(9, 22, 18, 0.72)),
    url("assets/ballpark-dusk.png") center / cover;
}

.site-nav {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  font-weight: 850;
}

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

.brand-mark {
  width: 38px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 8px;
  display: inline-block;
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 2px solid #fff;
  border-radius: 4px;
  transform: rotate(45deg);
}

.site-nav span:last-child {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.hero-copy {
  width: min(760px, 100%);
}

.eyebrow {
  color: var(--clay);
  text-transform: uppercase;
  font-size: 0.74rem;
  letter-spacing: 0;
  font-weight: 950;
  margin: 0 0 5px;
}

.site-hero .eyebrow {
  color: #f0c184;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 5.6rem);
  line-height: 0.95;
  max-width: 850px;
}

h2 {
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.05;
}

.hero-copy p:last-child {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  line-height: 1.45;
  margin-top: 18px;
  max-width: 680px;
}

main {
  padding: 0 clamp(18px, 5vw, 72px) 34px;
}

.scoreboard {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: -34px;
  position: relative;
  z-index: 2;
}

.scoreboard div,
.content-band,
.status-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.scoreboard div {
  min-width: 0;
  padding: 18px;
}

.scoreboard span,
.readiness-grid span {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.7rem);
  line-height: 1;
  font-weight: 950;
}

.scoreboard p,
.readiness-grid p,
.pick-meta p,
td,
th,
.empty-state,
.status-panel p {
  color: var(--muted);
}

.content-band {
  margin-top: 22px;
  padding: clamp(18px, 3vw, 30px);
}

.muted-band {
  background: #fbfaf6;
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 18px;
  align-items: start;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border-radius: 999px;
  padding: 0 14px;
  color: #183b2d;
  background: var(--green-soft);
  font-size: 0.86rem;
  font-weight: 900;
  white-space: nowrap;
}

.pill.neutral {
  color: #4c453b;
  background: #ebe3d4;
}

.pill.warn {
  color: #6b371f;
  background: #f2dfc9;
}

.pill.good {
  color: #fff;
  background: var(--green);
}

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

.compact-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.slate-grid {
  display: grid;
  gap: 14px;
}

.slate-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: clamp(14px, 2vw, 18px);
  display: grid;
  gap: 14px;
}

.slate-card-head,
.slate-badges {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.slate-badges {
  justify-content: flex-end;
  flex-wrap: wrap;
}

.slate-card-head strong {
  display: block;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.15;
}

.slate-card-head span {
  display: block;
  color: var(--muted);
  margin-top: 5px;
}

.projection-strip {
  display: grid;
  grid-template-columns: minmax(180px, 1.25fr) repeat(3, minmax(100px, 0.75fr));
  gap: 8px;
}

.projection-strip > div,
.slate-data-grid > div {
  min-width: 0;
  border-radius: 8px;
  background: #f4f1e9;
  padding: 12px;
}

.projection-strip span,
.slate-data-grid p,
.factor-list span {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
}

.projection-strip strong {
  display: block;
  font-size: 1.28rem;
  line-height: 1.05;
}

.projection-main {
  color: #fff;
  background: var(--green) !important;
}

.projection-main span {
  color: rgba(255, 255, 255, 0.78);
}

.projection-main strong {
  font-size: clamp(2.05rem, 4vw, 3.2rem);
}

.inline-side {
  color: var(--blue);
}

.inline-side.nrfi {
  color: var(--clay);
}

.slate-data-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.slate-data-grid strong {
  display: block;
  font-size: 1rem;
}

.factor-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
}

.factor-list p {
  min-width: 0;
  color: #34413b;
  line-height: 1.35;
}

.pick-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
  display: grid;
  gap: 14px;
}

.pick-topline {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.pick-topline strong {
  display: block;
  font-size: 1.08rem;
  line-height: 1.18;
}

.pick-topline span {
  color: var(--muted);
  display: block;
  font-size: 0.86rem;
  margin-top: 4px;
}

.side-badge {
  border-radius: 8px;
  padding: 8px 10px;
  color: #fff;
  background: var(--blue);
  font-weight: 950;
}

.side-badge.nrfi {
  background: var(--clay);
}

.pick-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.pick-meta div {
  min-width: 0;
  border-radius: 8px;
  background: #f4f1e9;
  padding: 10px;
}

.pick-meta strong {
  display: block;
  font-size: 1rem;
}

.pick-meta p {
  font-size: 0.73rem;
  margin-top: 2px;
}

.pick-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pick-footer span,
.result-tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  padding: 0 10px;
  color: #3b453f;
  background: #efe8dc;
  font-size: 0.78rem;
  font-weight: 900;
}

.result-tag.win {
  color: #fff;
  background: var(--green);
}

.result-tag.loss {
  color: #fff;
  background: var(--red);
}

.empty-state {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
}

.empty-state strong {
  display: block;
  margin-bottom: 4px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

th,
td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

th {
  color: #41514c;
  font-weight: 950;
  background: #f7f4ee;
}

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

.status-panel {
  padding: 18px;
}

.status-panel h2 {
  margin-bottom: 8px;
}

.readiness-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 16px;
}

.readiness-grid div {
  border-radius: 8px;
  padding: 12px;
  background: #f4f1e9;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 860px) {
  .site-hero {
    min-height: 390px;
  }

  .scoreboard,
  .split-band {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .pick-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .slate-card-head {
    flex-direction: column;
  }

  .projection-strip,
  .slate-data-grid,
  .factor-list {
    grid-template-columns: 1fr 1fr;
  }
}
