.market-site {
  --brown: #29170e;
  --cream: #fff4dc;
  --clay: #b96838;
  --green: #00a894;
  background:
    radial-gradient(circle at 78% 16%, rgba(255, 228, 87, 0.52), transparent 34%),
    linear-gradient(135deg, #fff8eb, #efe2cf);
  color: var(--brown);
}

.market-site .kicker {
  color: #006f64;
}

.market-site .proof-section .kicker {
  color: var(--yellow);
}

.market-nav {
  position: fixed;
  z-index: 50;
  top: 18px;
  left: 50%;
  display: grid;
  width: min(1180px, calc(100vw - 28px));
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(41, 23, 14, 0.14);
  border-radius: 24px;
  background: rgba(255, 248, 234, 0.82);
  box-shadow: 0 22px 70px rgba(41, 23, 14, 0.12);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.market-nav nav {
  display: flex;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.market-nav nav::-webkit-scrollbar {
  display: none;
}

.market-nav nav a {
  flex: 0 0 auto;
  padding: 9px 10px;
  border-radius: 999px;
  color: rgba(41, 23, 14, 0.72);
  font-size: 13px;
  font-weight: 900;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.market-nav nav a:hover,
.market-nav nav a.is-active {
  color: var(--cream);
  background: var(--brown);
}

.market-nav nav a.is-active {
  transform: translateY(-1px);
  animation: navSpyPulse 720ms ease;
}

.nav-pill {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--brown);
  background: var(--yellow);
  font-weight: 950;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.nav-pill.is-active {
  color: var(--cream);
  background: var(--brown);
  box-shadow: 0 0 0 4px rgba(41, 23, 14, 0.12);
  transform: translateY(-1px);
}

.market-menu {
  position: relative;
}

.market-menu summary {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--cream);
  background: var(--brown);
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  font-weight: 950;
}

.market-menu summary::-webkit-details-marker {
  display: none;
}

.market-menu > div {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: grid;
  width: 245px;
  gap: 7px;
  padding: 12px;
  border: 1px solid rgba(41, 23, 14, 0.14);
  border-radius: 18px;
  background: rgba(255, 248, 234, 0.96);
  box-shadow: 0 22px 70px rgba(41, 23, 14, 0.18);
}

.market-menu strong {
  margin-top: 6px;
  color: var(--green);
  font-family: "Aeonik Fono", monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.market-menu strong:first-child {
  margin-top: 0;
}

.market-menu a {
  padding: 10px 12px;
  border-radius: 12px;
  color: rgba(41, 23, 14, 0.78);
  background: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 900;
}

.market-menu a:hover {
  color: var(--cream);
  background: var(--brown);
}

.market-hero {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.65fr);
  gap: 48px;
  align-items: center;
  padding: 150px max(22px, calc((100vw - 1180px) / 2)) 80px;
}

.hero-copy h1,
.section h2 {
  margin: 24px 0;
  max-width: 910px;
  font-family: "PP Agrandir", Georgia, serif;
  font-size: clamp(54px, 7.2vw, 110px);
  line-height: 0.88;
}

.market-site .lede {
  color: #725f51;
}

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

.table-illustration {
  position: relative;
  min-height: 560px;
  border-radius: 44px;
  overflow: hidden;
  background: var(--green);
  box-shadow: 0 28px 80px rgba(41, 23, 14, 0.2);
}

.table-illustration img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  mix-blend-mode: multiply;
  opacity: 0.85;
}

.floating-note {
  position: absolute;
  left: 22px;
  bottom: 22px;
  width: 150px;
  padding: 16px;
  border-radius: 22px;
  background: var(--cream);
}

.floating-note.second {
  right: 22px;
  left: auto;
  top: 22px;
  bottom: auto;
}

.floating-note strong {
  display: block;
  font-family: "PP Agrandir", sans-serif;
  font-size: 38px;
  line-height: 0.9;
}

.floating-note span {
  color: #725f51;
  font-weight: 850;
}

.table-section {
  background: var(--cream);
}

.seat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.seat-grid article {
  min-height: 280px;
  padding: 24px;
  border: 1px solid rgba(41, 23, 14, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.58);
  transition: transform 180ms ease, background 180ms ease;
}

.seat-grid article:hover {
  background: var(--yellow);
  transform: translateY(-6px);
}

.seat-grid h3 {
  margin: 54px 0 12px;
  font-family: "PP Agrandir", sans-serif;
  font-size: 30px;
  line-height: 0.95;
}

.seat-grid p {
  color: #725f51;
  line-height: 1.42;
}

.proof-section {
  color: var(--cream);
  background: var(--brown);
}

.proof-section .metric-card {
  color: var(--cream);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.proof-section .metric-card strong {
  color: var(--yellow);
}

.proof-section .metric-card span {
  color: rgba(255, 244, 220, 0.7);
}

.partners-section,
.company-links-section,
.company-news-section {
  background: var(--cream);
}

.platform-story {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 0.75fr);
  gap: 34px;
  align-items: center;
  background: #fff8eb;
}

.platform-panels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.platform-panels article {
  display: grid;
  min-height: 160px;
  place-items: center;
  border-radius: 28px;
  color: var(--brown);
  background: linear-gradient(135deg, var(--yellow), var(--green));
  font-family: "PP Agrandir", sans-serif;
  font-size: 34px;
}

.platform-panels article:nth-child(even) {
  background: linear-gradient(135deg, var(--cream), var(--clay));
}

.contact-table {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  background: var(--yellow);
}

@media (max-width: 1060px) {
  .market-nav {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px 12px;
  }

  .market-nav nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .nav-pill {
    display: none;
  }

  .market-menu {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  .market-menu > div {
    right: 0;
    left: auto;
  }

  .market-hero,
  .platform-story {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .market-nav {
    top: 8px;
    width: calc(100vw - 16px);
    padding: 10px 12px;
  }

  .market-hero {
    min-height: auto;
    padding: 148px 16px 58px;
  }

  .market-site [id] {
    scroll-margin-top: 138px;
  }

  .hero-copy h1,
  .section h2 {
    font-size: clamp(46px, 13vw, 72px);
  }

  .table-illustration,
  .table-illustration img {
    min-height: 440px;
  }

  .seat-grid,
  .platform-panels {
    grid-template-columns: 1fr;
  }

  .contact-table {
    display: grid;
  }
}
