:root {
  color-scheme: light;
  --ink: #172026;
  --muted: #63707a;
  --line: #dbe2e7;
  --paper: #ffffff;
  --soft: #f4f7f8;
  --mint: #d9f2e6;
  --mint-ink: #11613f;
  --blue: #2456a6;
  --blue-soft: #e6eefc;
  --amber: #8a5a00;
  --amber-soft: #fff2cf;
  --red: #9d2b2b;
  --red-soft: #ffe5e1;
  --shadow: 0 18px 60px rgba(23, 32, 38, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

a {
  color: inherit;
}

.site-header {
  background:
    linear-gradient(135deg, rgba(217, 242, 230, 0.95), rgba(230, 238, 252, 0.92)),
    radial-gradient(circle at 20% 30%, rgba(255, 242, 207, 0.9), transparent 34%);
  border-bottom: 1px solid var(--line);
}

.nav {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1160px;
  padding: 20px;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  border-radius: 6px;
  color: #fff;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.nav-links {
  display: flex;
  gap: 22px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.hero {
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  margin: 0 auto;
  max-width: 1160px;
  min-height: 560px;
  padding: 70px 20px 86px;
}

.hero-copy {
  align-self: center;
}

.eyebrow {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.7rem, 7vw, 5.8rem);
  letter-spacing: 0;
  line-height: 0.94;
  margin-bottom: 24px;
  max-width: 980px;
}

h2 {
  font-size: clamp(1.65rem, 4vw, 2.6rem);
  line-height: 1.02;
  margin-bottom: 12px;
}

h3 {
  font-size: 1.08rem;
  line-height: 1.2;
  margin-bottom: 8px;
}

.lede {
  color: #33414b;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.55;
  max-width: 780px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  align-items: center;
  border-radius: 7px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  text-decoration: none;
}

.button.primary {
  background: var(--ink);
  color: #fff;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(23, 32, 38, 0.16);
}

.hero-panel {
  align-self: end;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(23, 32, 38, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
  padding: 18px;
}

.metric {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 18px;
}

.metric-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 900;
}

.metric-label {
  color: var(--muted);
  display: block;
  font-size: 0.92rem;
  margin-top: 5px;
}

.section {
  margin: 0 auto;
  max-width: 1160px;
  padding: 68px 20px;
}

.intro-grid,
.type-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.intro-grid article,
.type-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.intro-grid p,
.type-card p,
.section-note,
.footer p {
  color: var(--muted);
  line-height: 1.55;
}

.type-section {
  border-top: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 24px;
  max-width: 760px;
}

.type-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.type-icon {
  align-items: center;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  margin-bottom: 14px;
  width: 34px;
}

.browse-section {
  border-top: 1px solid var(--line);
}

.filters {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(220px, 1.6fr) repeat(3, minmax(160px, 1fr));
  padding: 16px;
}

label span {
  color: var(--muted);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 7px;
  text-transform: uppercase;
}

input,
select {
  appearance: none;
  background: #fff;
  border: 1px solid #cdd7df;
  border-radius: 7px;
  color: var(--ink);
  font: inherit;
  min-height: 44px;
  padding: 0 12px;
  width: 100%;
}

select {
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 19px, calc(100% - 13px) 19px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
}

.result-bar {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 18px 0;
}

.result-bar p {
  color: var(--muted);
  font-weight: 800;
  margin: 0;
}

.reset-button {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  min-height: 38px;
  padding: 0 12px;
}

.card-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.opportunity-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  min-height: 390px;
  overflow: hidden;
}

.card-top {
  background: linear-gradient(135deg, var(--blue-soft), var(--mint));
  min-height: 92px;
  padding: 18px;
}

.card-top.tickets {
  background: linear-gradient(135deg, #e6eefc, #d9f2e6);
}

.card-top.sneakers,
.card-top.collectibles {
  background: linear-gradient(135deg, #fff2cf, #e6eefc);
}

.card-top.watches,
.card-top.tech {
  background: linear-gradient(135deg, #e8edf0, #d9f2e6);
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.pill {
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1;
  padding: 7px 9px;
}

.pill.purchase {
  background: var(--mint);
  color: var(--mint-ink);
}

.pill.giveaway {
  background: var(--red-soft);
  color: var(--red);
}

.pill.waitlist,
.pill.reservation {
  background: var(--blue-soft);
  color: var(--blue);
}

.pill.first-come {
  background: var(--amber-soft);
  color: var(--amber);
}

.pill.release-calendar {
  background: #ece8ff;
  color: #4b3b88;
}

.pill.neutral {
  background: var(--soft);
  color: #43515b;
}

.pill.resale {
  background: #eef7e7;
  color: #315e2a;
}

.details {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 16px 0;
}

.detail {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.detail span {
  color: var(--muted);
  display: block;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.detail strong {
  display: block;
  font-size: 0.95rem;
  margin-top: 4px;
}

.card-summary {
  color: var(--muted);
  line-height: 1.5;
}

.source-link {
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 7px;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  margin-top: auto;
  min-height: 42px;
  padding: 0 12px;
  text-decoration: none;
}

.empty-state {
  background: var(--soft);
  border: 1px dashed #bac7d0;
  border-radius: 8px;
  color: var(--muted);
  grid-column: 1 / -1;
  padding: 28px;
  text-align: center;
}

.submit-section {
  align-items: start;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 28px;
  grid-template-columns: 0.75fr 1.25fr;
}

.checklist {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.checklist li {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 7px;
  line-height: 1.45;
  padding: 14px 16px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 30px 20px;
  text-align: center;
}

.footer p {
  margin: 0 auto;
  max-width: 760px;
}

@media (max-width: 920px) {
  .hero,
  .submit-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
  }

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

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

@media (max-width: 640px) {
  .nav {
    align-items: flex-start;
    gap: 18px;
    flex-direction: column;
  }

  .nav-links {
    gap: 14px;
    overflow-x: auto;
    width: 100%;
  }

  .hero {
    padding-bottom: 54px;
  }

  .intro-grid,
  .type-grid,
  .filters,
  .card-grid,
  .details {
    grid-template-columns: 1fr;
  }

  .result-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .opportunity-card {
    min-height: 0;
  }
}
