@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800;900&display=swap');

:root {
  --black: #000;
  --white: #fff;
  --gray: #e8e8e8;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.4;
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 4vw;
  border-bottom: 2px solid var(--black);
  background: rgba(255,255,255,.96);
}

.logo {
  font-size: 2rem;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: -0.08em;
}

.logo span, h1 span { font-size: .35em; vertical-align: top; letter-spacing: 0; }

.nav { display: flex; gap: 1.5rem; }
.nav a { text-decoration: none; font-size: .9rem; font-weight: 600; }
.nav a:hover { text-decoration: line-through; }

.menu-button {
  display: none;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 700;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  place-content: center;
  justify-items: center;
  padding: 6rem 4vw;
  text-align: center;
  border-bottom: 2px solid var(--black);
}

.eyebrow, .tag, .section-number {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
  font-weight: 800;
}

h1 {
  margin: 0;
  font-size: clamp(7rem, 24vw, 18rem);
  line-height: .8;
  letter-spacing: -.09em;
}

.slogan { font-size: clamp(1.2rem, 3vw, 2rem); margin: 2rem 0; }

.button, .product-button, .tap-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 2px solid var(--black);
  background: var(--black);
  color: var(--white);
  padding: .95rem 1.35rem;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button:hover, .product-button:hover, .tap-button:hover {
  background: var(--white);
  color: var(--black);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 7rem 4vw;
  border-bottom: 1px solid var(--black);
}

.section h2 {
  margin: .4rem 0 2.5rem;
  font-size: clamp(2.8rem, 8vw, 6rem);
  line-height: .92;
  letter-spacing: -.06em;
}

.manifesto {
  max-width: 820px;
  font-size: clamp(1.2rem, 2.4vw, 2rem);
}

.manifesto p { margin: .4em 0; }
.manifesto-end { margin-top: 2rem !important; font-weight: 900; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 2px solid var(--black);
}

.card {
  min-height: 360px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  border-right: 2px solid var(--black);
}

.card:last-child { border-right: 0; }
.card h3 { font-size: 1.8rem; margin: 1rem 0; }
.price { margin-top: auto; font-size: 2.3rem; font-weight: 900; }
.product-button { width: 100%; }
.fine-print { font-size: .8rem; }

.lexicon {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.lexicon span {
  border: 2px solid var(--black);
  padding: .7rem 1rem;
  font-weight: 800;
}

.ranks {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--black);
}

.ranks li {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.2rem 0;
  border-bottom: 2px solid var(--black);
}

.ranks strong { font-size: 1.3rem; }
.ranks span { text-align: right; }

.game-panel {
  max-width: 620px;
  border: 2px solid var(--black);
  padding: 2rem;
}

.status-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--black);
  padding: .75rem 0;
  text-transform: uppercase;
}

.progress-track {
  height: 28px;
  margin: 1.5rem 0;
  border: 2px solid var(--black);
}

.progress-bar {
  width: 0;
  height: 100%;
  background: var(--black);
  transition: width .12s linear;
}

.tap-button { width: 100%; min-height: 90px; font-size: 1.5rem; }
.game-message { min-height: 1.5em; font-weight: 700; }

.rules {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
}

.rules li { padding: .45rem 0; border-bottom: 1px solid var(--black); }

.cart {
  position: fixed;
  right: -430px;
  top: 0;
  z-index: 40;
  width: min(420px, 100vw);
  height: 100vh;
  padding: 3rem 2rem;
  background: var(--white);
  border-left: 2px solid var(--black);
  transition: right .25s ease;
}

.cart.open { right: 0; }
.cart-close {
  position: absolute;
  right: 1rem;
  top: .5rem;
  border: 0;
  background: transparent;
  font-size: 2.4rem;
  cursor: pointer;
}
.full { width: 100%; }

footer {
  display: flex;
  justify-content: space-between;
  padding: 2rem 4vw;
  background: var(--black);
  color: var(--white);
}

@media (max-width: 760px) {
  .menu-button { display: block; }
  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    padding: 1.5rem 4vw;
    border-bottom: 2px solid var(--black);
    background: var(--white);
  }
  .nav.open { display: flex; }
  .grid { grid-template-columns: 1fr; }
  .card { border-right: 0; border-bottom: 2px solid var(--black); }
  .card:last-child { border-bottom: 0; }
  .ranks li { flex-direction: column; gap: .3rem; }
  .ranks span { text-align: left; }
  footer { flex-direction: column; }
}
