:root {
  --yellow: #ffcc00;
  --yellow-hover: #f2c200;
  --black: #111111;
  --gray-900: #202124;
  --gray-600: #6b6f76;
  --gray-200: #e8e8e8;
  --gray-100: #f5f5f5;
  --white: #ffffff;
  --radius: 24px;
  --font: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--black);
  background: var(--white);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
.home-header,
main,
.home-footer { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.home-header {
  min-height: 80px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-block: 12px;
  align-items: center;
  justify-content: space-between;
}

.brand { display: inline-flex; flex-shrink: 0; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; text-decoration: none; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; background: var(--yellow); }
.header-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px; max-width: 100%; }
.header-link { min-height: 44px; display: inline-flex; align-items: center; padding: 10px 18px; border-radius: 12px; background: var(--gray-100); font-weight: 600; text-decoration: none; }
.header-link:hover { background: #ededed; }
.header-link-plain { background: transparent; }

.hero {
  min-height: 610px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 72px 0 86px;
}

.eyebrow { margin: 0 0 18px; color: var(--gray-600); font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.hero-copy { min-width: 0; }
.hero h1 { margin: 0; max-width: 680px; overflow-wrap: anywhere; font-size: clamp(40px, 5.8vw, 78px); line-height: .94; letter-spacing: -.055em; }
.hero h1 span { position: relative; z-index: 0; }
.hero h1 span::after { content: ""; position: absolute; z-index: -1; left: -5px; right: -5px; bottom: .05em; height: .38em; border-radius: 999px; background: var(--yellow); }
.hero-lead { max-width: 560px; margin: 30px 0 0; color: var(--gray-600); font-size: 20px; line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 22px; border-radius: 14px; font-size: 16px; font-weight: 600; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--yellow); }
.button-primary:hover { background: var(--yellow-hover); }
.button-secondary { background: var(--gray-100); }

.hero-visual { min-height: 450px; display: grid; place-items: center; overflow: hidden; border-radius: 40px; background: var(--yellow); }
.laugh-card { width: min(340px, calc(100% - 44px)); padding: 24px; border-radius: 28px; color: white; background: var(--black); box-shadow: 0 30px 60px rgba(0,0,0,.2); transform: rotate(3deg); }
.laugh-card-top { display: flex; justify-content: space-between; gap: 14px; color: #b9b9b9; font-size: 13px; }
.example-badge { color: var(--yellow); font-weight: 700; }
.laugh-card strong { display: block; margin-top: 42px; font-size: 34px; line-height: 1.08; letter-spacing: -.03em; }
.laugh-button { display: grid; place-items: center; aspect-ratio: 1; width: 160px; margin: 38px auto 18px; border-radius: 50%; color: var(--black); background: var(--yellow); font-size: 24px; font-weight: 700; box-shadow: 0 0 0 12px rgba(255,204,0,.12); }
.laugh-card p { margin: 0; color: #999; font-size: 13px; text-align: center; }

.show-entry { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 32px; margin-bottom: 32px; border-radius: var(--radius); background: var(--gray-100); scroll-margin-top: 24px; }
.show-entry h2 { margin: 0; font-size: 30px; letter-spacing: -.03em; }
.show-entry p:not(.eyebrow) { color: var(--gray-600); line-height: 1.5; }
.show-entry .show-entry-hint { font-size: 14px; }
.show-entry a { text-underline-offset: 3px; }
.home-event-form { min-width: 0; }
.home-event-form label { display: block; margin-bottom: 10px; font-weight: 700; }
.home-event-row { display: flex; gap: 10px; }
.home-event-row input { width: 100%; min-width: 0; min-height: 52px; padding: 0 14px; border: 1px solid #b8b8b8; border-radius: 14px; font: inherit; font-size: 16px; }
.home-event-row button { border: 0; cursor: pointer; }
.show-entry .home-event-message { min-height: 21px; margin: 8px 0 0; color: #a11b1b; font-size: 14px; }
:focus-visible { outline: 3px solid #5c42c7; outline-offset: 3px; }

.available-shows { padding: 88px 0 48px; scroll-margin-top: 18px; }
.available-shows-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 28px; }
.available-shows-head h2 { margin: 0; font-size: clamp(36px, 5vw, 58px); letter-spacing: -.045em; }
.available-shows-head p:not(.eyebrow) { max-width: 620px; margin: 16px 0 0; color: var(--gray-600); font-size: 18px; line-height: 1.5; }
.shows-code-link { flex: 0 0 auto; min-height: 44px; display: inline-flex; align-items: center; font-weight: 700; text-underline-offset: 4px; }
.available-shows-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.show-card { min-width: 0; overflow: hidden; display: grid; grid-template-columns: minmax(130px, .42fr) minmax(0, 1fr); border: 1px solid var(--gray-200); border-radius: 24px; background: var(--white); }
.show-card > img, .show-card-poster-empty { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.show-card-poster-empty { display: grid; place-items: center; color: var(--black); background: var(--yellow); font-size: 64px; font-weight: 700; }
.show-card-body { min-width: 0; display: flex; flex-direction: column; padding: 24px; }
.show-card-status { width: fit-content; margin: 0 0 18px; padding: 6px 10px; border-radius: 999px; color: #544400; background: #fff4bd; font-size: 12px; font-weight: 700; }
.show-card.is-live { border-color: #d6ad00; box-shadow: 0 14px 42px rgba(0, 0, 0, .08); }
.show-card.is-live .show-card-status { color: var(--white); background: var(--black); }
.show-card h3 { margin: 0; overflow-wrap: anywhere; font-size: 26px; letter-spacing: -.03em; }
.show-card-meta, .show-card-description { color: var(--gray-600); line-height: 1.45; }
.show-card-meta { margin: 12px 0 0; font-weight: 700; }
.show-card-description { display: -webkit-box; overflow: hidden; margin: 10px 0 18px; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.show-card-action { width: 100%; margin-top: auto; }
.show-card-empty, .show-card-loading { display: block; grid-column: 1 / -1; padding: 30px; background: var(--gray-100); }
.show-card-empty h3 { margin-bottom: 10px; }
.show-card-empty p, .show-card-loading p { color: var(--gray-600); }
.available-shows > .home-event-message { min-height: 20px; margin: 14px 0 0; color: var(--gray-600); font-size: 13px; }

.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-bottom: 112px; }
.role-card { min-height: 240px; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: start; padding: 34px; border-radius: var(--radius); background: var(--gray-100); text-decoration: none; transition: transform .18s ease; }
.role-card:hover { transform: translateY(-3px); }
.role-card-yellow { background: var(--yellow); }
.role-number { color: var(--gray-600); font-size: 13px; font-weight: 700; }
.role-card h2 { margin: 0; font-size: 32px; letter-spacing: -.03em; }
.role-card p { max-width: 390px; margin: 14px 0 0; color: #55585d; font-size: 17px; line-height: 1.45; }
.role-card-yellow p { color: #4b3c00; }
.role-arrow { align-self: end; font-size: 34px; }

.payment-info { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; padding: 96px 0; border-top: 1px solid var(--gray-200); }
.payment-info-copy h2 { margin: 0; font-size: clamp(36px, 5vw, 56px); letter-spacing: -.04em; }
.payment-info-copy > p:not(.eyebrow) { margin: 24px 0 30px; color: var(--gray-600); font-size: 18px; line-height: 1.6; }
.payment-info-copy > p.demo-note { margin: 12px 0 0; font-size: 14px; }
.payment-items { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.payment-items article { min-height: 180px; padding: 24px; border-radius: 20px; background: var(--gray-100); }
.payment-items article:first-child { background: var(--yellow); }
.payment-items strong { display: block; font-size: 19px; }
.payment-items p { margin: 14px 0 0; color: #55585d; line-height: 1.5; }
.payment-items article:first-child p { color: #4b3c00; }

.how-it-works { padding: 96px 0; border-top: 1px solid var(--gray-200); }
.how-it-works h2 { margin: 0; font-size: clamp(36px, 5vw, 56px); letter-spacing: -.04em; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin: 54px 0 0; padding: 0; list-style: none; }
.steps li > span { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 28px; border-radius: 50%; background: var(--yellow); font-weight: 700; }
.steps strong { display: block; font-size: 20px; }
.steps p { margin: 10px 0 0; color: var(--gray-600); line-height: 1.5; }
.home-footer { min-height: 100px; display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid var(--gray-200); color: var(--gray-600); font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 20px; }
.footer-links a { color: inherit; font-weight: 700; text-underline-offset: 3px; }

@media (max-width: 760px) {
  .home-header, main, .home-footer { width: min(100% - 32px, 1180px); }
  .home-header { min-height: 68px; }
  .hero { min-height: 0; grid-template-columns: minmax(0, 1fr); gap: 48px; padding: 48px 0 64px; }
  .hero h1 { font-size: clamp(36px, 11.5vw, 60px); }
  .hero-lead { font-size: 18px; }
  .hero-visual { min-height: 400px; border-radius: 28px; }
  .roles { grid-template-columns: 1fr; padding-bottom: 80px; }
  .available-shows { padding-top: 64px; }
  .available-shows-head { align-items: flex-start; flex-direction: column; }
  .available-shows-list { grid-template-columns: 1fr; }
  .show-entry { grid-template-columns: 1fr; gap: 18px; padding: 24px; }
  .role-card { min-height: 220px; padding: 28px; }
  .payment-info { grid-template-columns: 1fr; gap: 42px; padding: 72px 0; }
  .steps { grid-template-columns: 1fr; gap: 38px; }
}

@media (max-width: 430px) {
  .brand { gap: 8px; font-size: 18px; }
  .brand-mark { width: 32px; height: 32px; }
  .header-nav { gap: 2px; }
  .header-link { padding-inline: 9px; font-size: 14px; }
  .hero-actions { display: grid; }
  .home-event-row { flex-direction: column; }
  .show-card { grid-template-columns: 1fr; }
  .show-card > img, .show-card-poster-empty { min-height: 210px; max-height: 360px; }
  .button { width: 100%; }
  .hero-visual { min-height: 360px; }
  .laugh-card strong { font-size: 29px; }
  .role-card { grid-template-columns: auto 1fr; }
  .role-arrow { display: none; }
  .role-card h2 { font-size: 28px; }
  .payment-items { grid-template-columns: 1fr; }
  .payment-items article { min-height: 0; }
  .home-footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
