/* Landing page only. Other marketing pages keep site.css as-is. */

body.home {
  background: #1e1612;
  color: #faf5ec;
}

body.home::before { background: #1e1612; }

body.home .site-header {
  background: rgba(30, 22, 18, 0.94);
  color: #faf5ec;
}

body.home .site-header.is-stuck { box-shadow: inset 0 -1px 0 rgba(250, 245, 236, 0.14); }

body.home .wordmark,
body.home .site-nav a,
body.home .site-header .join-link { color: #faf5ec; }

body.home .site-nav a { color: #eadfce; }

body.home .menu-toggle {
  background: transparent;
  color: #faf5ec;
  border-color: rgba(250, 245, 236, 0.28);
}

body.home .menu-sheet {
  background: #1e1612;
  color: #faf5ec;
}

body.home .menu-sheet a { color: #faf5ec; }

body.home .header-cta .cta-short { display: none; }

body.home .header-cta .cta-full { display: inline; }

@media (max-width: 899px) {
  body.home .site-header .header-cta {
    display: inline-flex;
    min-height: 44px;
    padding: 0 12px;
  }

  body.home .site-header-inner {
    width: calc(100% - 20px);
  }

  body.home .menu-toggle {
    min-width: 0;
    padding: 0 12px;
  }
}

@media (max-width: 420px) {
  body.home .site-header-inner { width: calc(100% - 16px); }
  body.home .wordmark { font-size: 0.78rem; }
  body.home .header-cta,
  body.home .menu-toggle { padding: 0 8px; font-size: 0.82rem; }
}

.band { padding: 64px 0; }

.band-espresso { background: #1e1612; color: #faf5ec; }

.band-espresso-deep { background: #231a15; color: #faf5ec; }

.band-cream { background: #faf5ec; color: #241c16; }

.band-espresso .section-head a,
.band-espresso-deep .section-head a { color: #f0c36a; }

.band-cream .section-head a { color: #c24d2c; }

.section-head a:hover,
.section-head a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

body.home .wordmark[aria-current="page"] { box-shadow: inset 0 -2px 0 #f0c36a; }

body.home .menu-sheet a[aria-current="page"] { color: #f0c36a; }

.band-espresso .faq-teasers article,
.band-espresso-deep .faq-teasers article { color: #241c16; }

body.home .site-footer {
  margin-top: 0;
  border-top: 0;
  background: #faf5ec;
  color: #6d6156;
}

.play-hero .room-callout {
  width: min(100% - 32px, 36rem);
  margin: 12px auto 0;
  text-align: center;
  color: #eadfce;
}

.play-hero .room-callout strong {
  display: block;
  margin-bottom: 2px;
  color: #faf5ec;
  font-size: 1.2rem;
}

.play-hero {
  isolation: isolate;
  position: relative;
  z-index: 0;
  padding: 4px 0 28px;
  background:
    radial-gradient(540px 260px at 50% 38%, rgba(194, 77, 44, 0.18), transparent 70%),
    #1e1612;
}

.play-hero h1.hero-title {
  max-width: 16ch;
  margin: 10px auto 6px;
  padding: 0 20px;
  color: #faf5ec;
  font-family: Fraunces, Georgia, serif;
  font-weight: 680;
  font-size: clamp(2.05rem, 7.4vw, 2.7rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-align: center;
  text-wrap: balance;
}

.play-hero .prompt-line {
  font-family: Fraunces, Georgia, serif;
  font-weight: 680;
  max-width: none;
  margin: 0;
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: #1e1612;
  text-wrap: balance;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

.stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: min(100%, 420px);
  margin: 0 auto;
  padding: 8px 16px 0;
}

.answer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  max-width: 340px;
}

.handset {
  display: flex;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: center;
  min-width: 0;
}

.handset-prompt {
  width: min(240px, 100%);
  min-height: 228px;
}

.handset-answer {
  width: calc(50% - 8px);
  max-width: 156px;
  min-height: 168px;
  cursor: pointer;
}

.handset-answer:not(.is-shown-mobile) { display: none; }

.answer-row .handset-answer.is-shown-mobile:nth-child(odd) { margin-top: 18px; }

.handset-custom {
  flex: 1 0 100%;
  width: min(240px, 100%);
  max-width: 240px;
  min-height: 176px;
  margin-top: 0;
}

.handset-blank {
  width: min(260px, 100%);
  min-height: 188px;
}

.bezel {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: inherit;
  padding: 10px 8px 12px;
  border-radius: 28px;
  background: linear-gradient(165deg, #4a3c35 0%, #1a1210 42%, #0c0908 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 250, 243, 0.16),
    0 16px 32px rgba(0, 0, 0, 0.32);
}

.camera {
  width: 9px;
  height: 9px;
  margin: 0 auto 7px;
  border-radius: 50%;
  background: #120e0c;
  box-shadow: inset 0 0 0 2px #3d342f;
}

.screen {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-height: 0;
  overflow: hidden;
  padding: 12px 12px 14px;
  border-radius: 20px;
  background: linear-gradient(180deg, #fffaf3 0%, #f6efe4 100%);
  color: #1e1612;
}

.home-bar {
  width: 34%;
  height: 4px;
  margin: 8px auto 0;
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.38);
}

.pack-tag {
  margin: 0;
  font-family: Outfit, "Avenir Next", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  color: #b64829;
}

.blank {
  color: #c24d2c;
  font-weight: 680;
  border-bottom: 2px solid #c24d2c;
  padding: 0 0.12em;
}

.blank.is-filled { overflow-wrap: break-word; }

.answer-text {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.05rem;
  font-weight: 560;
  line-height: 1.25;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

.your-line {
  margin: 0;
  font-family: Outfit, "Avenir Next", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b64829;
}

.handset-blank input {
  width: 100%;
  margin: 0;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: #1e1612;
  color-scheme: light;
  font-family: Fraunces, Georgia, serif;
  font-size: 16px;
  line-height: 1.3;
  text-align: center;
}

.handset-blank input::placeholder { color: #b5a89a; }

.handset-blank input:focus { outline: none; }

.handset-blank .screen:focus-within { box-shadow: inset 0 0 0 2px #c24d2c; }

.handset-blank button {
  min-height: 44px;
  margin-top: 4px;
  border: 0;
  border-radius: 999px;
  background: #c24d2c;
  color: #fffaf3;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.winner-badge {
  align-self: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: #c24d2c;
  color: #fffaf3;
  font-family: Outfit, "Avenir Next", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.is-winner .bezel {
  box-shadow:
    inset 0 0 0 1px rgba(255, 250, 243, 0.16),
    0 0 0 3px #c24d2c,
    0 16px 32px rgba(0, 0, 0, 0.32);
}

.stage.is-result .handset-answer:not(.is-winner) { opacity: 0.55; }

.hero-status {
  margin: 14px 16px 0;
  color: #faf5ec;
  font-weight: 700;
  text-align: center;
}

.hero-status:empty { display: none; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 14px 16px 0;
}

.hero-actions:empty { display: none; }

.next-prompt,
.host-room {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.next-prompt {
  border: 1.5px solid rgba(250, 245, 236, 0.45);
  background: transparent;
  color: #faf5ec;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.host-room { background: #c24d2c; color: #fffaf3; }

.explainer .wrap { max-width: 40rem; }

.explainer p {
  margin: 0 0 12px;
  font-size: 1.2rem;
  line-height: 1.45;
}

.explainer p:last-child { margin-bottom: 0; }

@media (min-width: 800px) {
  .band { padding: 88px 0; }
  .play-hero.band { padding: 8px 0 20px; }

  body.home .faq-teasers { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

  body.home .play-hero h1.hero-title {
    max-width: 18ch;
    margin: 6px auto 8px;
    font-size: clamp(2.75rem, 4.4vw, 3.6rem);
  }

  body.home .play-hero .prompt-line { font-size: 1.55rem; }
}

@media (min-width: 721px) {
  .play-hero { overflow: visible; }

  .stage {
    position: relative;
    display: block;
    width: min(100% - 32px, 1080px);
    height: 620px;
    max-width: 1080px;
    padding: 0;
  }

  .answer-row {
    position: absolute;
    inset: 0;
    display: block;
    max-width: none;
  }

  .handset-answer,
  .handset-answer:not(.is-shown-mobile) {
    position: absolute;
    display: flex;
    width: 156px;
    max-width: none;
    height: 246px;
    min-height: 0;
    margin: 0;
    transform: rotate(var(--tilt, 0deg));
  }

  .handset-answer[data-slot="0"] { left: 4%; top: 28px; }
  .handset-answer[data-slot="1"] { left: 17%; top: 276px; }
  .handset-answer[data-slot="2"] { right: 17%; top: 22px; }
  .handset-answer[data-slot="3"] { right: 4%; top: 262px; }

  .stage.is-pair .handset-answer[data-slot="0"] { left: 8%; top: 90px; }
  .stage.is-pair .handset-answer[data-slot="1"] { left: auto; right: 8%; top: 90px; }

  .handset-prompt {
    position: absolute;
    z-index: 3;
    left: 50%;
    top: 16px;
    width: 250px;
    height: 404px;
    min-height: 0;
    transform: translateX(-50%);
  }

  .handset-blank,
  .handset-custom {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 8px;
    width: 200px;
    max-width: none;
    height: 268px;
    min-height: 0;
    flex: none;
    margin: 0;
    transform: translateX(-50%);
  }

  .answer-row .handset-answer.is-shown-mobile:nth-child(odd) { margin-top: 0; }

  .answer-text { font-size: 1.15rem; }
}

@media (min-width: 721px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
  .handset-answer { transition: transform 180ms ease; }

  .handset-answer:not(.handset-custom):hover {
    z-index: 8;
    transform: rotate(0deg) translateY(-16px) scale(1.04);
  }
}

@media (min-width: 721px) and (hover: hover) and (prefers-reduced-motion: reduce) {
  .handset-answer:not(.handset-custom):hover {
    z-index: 8;
    box-shadow: 0 0 0 3px #c24d2c;
  }
}

@media (prefers-reduced-motion: reduce) {
  .handset-answer { transition: none; }
}
