:root {
  --ink: #111111;
  --paper: #fbfaf7;
  --white: #ffffff;
  --soft: #f1ede5;
  --line: #e7e0d6;
  --muted: #66635d;
  --accent: #b98735;
  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; min-width: 320px; background: var(--paper); color: var(--ink); padding-bottom: 84px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 10px 16px;
  background: rgba(251, 250, 247, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.top-cta,
.btn,
.sticky a,
.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 8px;
  font-weight: 900;
  text-align: center;
}

.top-cta {
  min-height: 44px;
  padding: 0 16px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
}

.hero,
.section {
  padding: 36px 16px;
}

.hero {
  display: grid;
  gap: 20px;
  min-height: calc(100svh - 62px);
  align-content: center;
  background: linear-gradient(180deg, rgba(185, 135, 53, .16), transparent 46%);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(50px, 14vw, 76px);
  line-height: .94;
  letter-spacing: 0;
}

h2 {
  max-width: 12ch;
  margin: 0;
  font-size: 34px;
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.02;
}

.lead,
.product-copy > p,
.copy-card p,
.rules p {
  color: #3c3a36;
  font-size: 16px;
  line-height: 1.55;
}

.actions,
.button-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}

.btn {
  padding: 0 16px;
}

.primary {
  background: var(--ink);
  color: var(--white);
}

.secondary {
  background: rgba(255,255,255,.68);
  border: 1px solid var(--line);
}

.stage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  min-height: 330px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, var(--white), var(--soft));
}

.stage img {
  width: 146%;
  max-width: none;
  margin: 0 0 -8px -23%;
  filter: drop-shadow(0 20px 24px rgba(17,17,17,.16));
}

.stage .main {
  z-index: 2;
  transform: scale(1.08);
}

.stage .side {
  opacity: .84;
}

.strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.strip span {
  display: grid;
  place-items: center;
  min-height: 48px;
  background: var(--white);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.section-head {
  margin-bottom: 20px;
}

.tabs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.tab {
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-weight: 900;
}

.tab.active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.product-panel {
  display: grid;
  gap: 18px;
}

.product-copy {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.notes {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.notes div {
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.notes span {
  display: block;
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.notes p {
  margin: 4px 0 0;
  color: #282622;
  font-size: 14px;
  line-height: 1.4;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.asset {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.asset img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.asset span {
  display: block;
  min-height: 38px;
  padding: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.copy-bank {
  background: var(--white);
}

.copy-card {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.copy-card + .copy-card {
  margin-top: 12px;
}

.copy-card span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.copy-card p {
  margin: 0;
}

.copy-btn {
  width: 96px;
  min-height: 44px;
  border: 0;
  background: var(--ink);
  color: var(--white);
}

.rules {
  background: var(--ink);
  color: var(--white);
}

.rules h2 {
  max-width: 11ch;
}

.rules-grid {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.rules-grid div {
  min-height: 112px;
  padding: 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
}

.rules-grid strong {
  display: block;
  font-size: 28px;
}

.rules-grid span {
  display: block;
  margin-top: 8px;
  color: #ddd6c9;
  line-height: 1.4;
}

.sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr 116px;
  gap: 12px;
  align-items: center;
  min-height: 76px;
  padding: 10px 14px max(10px, env(safe-area-inset-bottom));
  background: rgba(251, 250, 247, .94);
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 34px rgba(17,17,17,.1);
  backdrop-filter: blur(14px);
  transform: translateY(120%);
  transition: transform .18s ease;
  pointer-events: none;
}

.sticky.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}

.sticky span,
.sticky strong {
  display: block;
}

.sticky span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.sticky strong {
  font-size: 14px;
  line-height: 1.25;
}

.sticky a {
  background: var(--ink);
  color: var(--white);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 92px;
  z-index: 40;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  opacity: 0;
  transform: translate(-50%, 10px);
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (min-width: 760px) {
  body { padding-bottom: 0; }
  .topbar,
  .hero,
  .section {
    padding-left: max(32px, calc((100vw - 1120px) / 2));
    padding-right: max(32px, calc((100vw - 1120px) / 2));
  }
  .hero {
    grid-template-columns: .82fr 1.18fr;
    align-items: center;
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .section {
    padding-top: 76px;
    padding-bottom: 76px;
  }
  h1 { font-size: clamp(76px, 8vw, 118px); }
  h2 { font-size: 54px; }
  .stage { min-height: 560px; }
  .tabs { grid-template-columns: repeat(3, 1fr); }
  .product-panel { grid-template-columns: .78fr 1.22fr; align-items: start; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .rules-grid { grid-template-columns: repeat(3, 1fr); }
  .sticky {
    left: 50%;
    right: auto;
    bottom: 18px;
    width: min(560px, calc(100vw - 32px));
    transform: translate(-50%, 120%);
    border: 1px solid var(--line);
    border-radius: 12px;
  }
  .sticky.is-visible {
    transform: translate(-50%, 0);
  }
}
