*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --background: #f8f1e6;
  --surface: #fffaf2;
  --surfaceStrong: #ffffff;
  --text: #142039;
  --muted: #5f6573;
  --primary: #d9a13d;
  --primaryDark: #bc7e21;
  --border: #eadfcd;
  --accentSoft: #f2e6d2;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 92% 12%, rgba(217, 161, 61, 0.18), transparent 26rem),
    radial-gradient(circle at 6% 78%, rgba(20, 32, 57, 0.07), transparent 22rem),
    var(--background);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color 0.2s ease, color 0.2s ease;
}

body.has-open-modal {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
  display: block;
}

.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--text);
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  z-index: 100;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--background) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
}

.site-header__inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding-block: 14px;
}

.brand img {
  width: auto;
  max-width: 220px;
  height: 56px;
  object-fit: contain;
  object-position: left center;
}

.primary-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  font-weight: 700;
  font-size: 14px;
}

.primary-nav a {
  padding: 8px 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--primaryDark);
  border-bottom-color: var(--primary);
}

.menu-toggle {
  display: none;
  border: 0;
  background: none;
  color: var(--text);
  padding: 8px;
  border-radius: 8px;
}

.menu-icon {
  width: 26px;
  height: 26px;
}

.theme-toggle {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0 13px;
  color: var(--text);
  background: var(--surfaceStrong);
  font-size: 13px;
  font-weight: 800;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  color: var(--primaryDark);
  border-color: var(--primary);
}

.theme-toggle__icon {
  width: 17px;
  height: 17px;
}

/* Buttons */
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  min-height: 56px;
  padding: 0 36px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, var(--primary), var(--primaryDark));
  box-shadow: 0 14px 30px rgba(188, 126, 33, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.button-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  transition: transform 0.15s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(188, 126, 33, 0.34);
}

.button:hover .button-icon,
.button:focus-visible .button-icon {
  transform: translateX(2px);
}

.button--small {
  min-height: 44px;
  padding: 0 22px;
  font-size: 14px;
  gap: 10px;
}

/* Hero */
.hero {
  padding-block: clamp(40px, 6vw, 88px);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--accentSoft);
  color: var(--primaryDark);
  text-transform: uppercase;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.hero__copy h1 {
  margin: 20px 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
}

.subtitle {
  margin: 0;
  color: var(--primaryDark);
  font: italic clamp(24px, 2.6vw, 34px) / 1.2 Georgia, "Times New Roman", serif;
}

.description {
  margin: 26px 0 28px;
  max-width: 520px;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.6;
  font-size: 16px;
}

.draw-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.draw-row li {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 4px 10px;
  color: var(--muted);
  font-size: 14px;
}

.draw-icon {
  grid-row: span 2;
  color: var(--primaryDark);
  width: 24px;
  height: 24px;
  align-self: center;
}

.draw-row strong {
  display: block;
  color: var(--text);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Prize card */
.prize-card {
  position: relative;
  margin: 0;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--surfaceStrong) 92%, transparent), color-mix(in srgb, var(--surface) 78%, transparent)),
    var(--surface);
  box-shadow: 0 24px 60px rgba(54, 40, 23, 0.14);
}

.prize-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.prize-caption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  right: 18px;
  max-width: 420px;
  display: flex;
  align-items: stretch;
  border-radius: 10px;
  background: color-mix(in srgb, var(--surfaceStrong) 92%, transparent);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.prize-rank {
  display: flex;
  align-items: center;
  padding: 0 16px;
  background: linear-gradient(135deg, var(--primary), var(--primaryDark));
  color: #fff;
  text-transform: uppercase;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.05em;
}

.prize-meta {
  padding: 12px 18px;
  display: grid;
  gap: 2px;
}

.prize-meta strong {
  font-size: 16px;
}

.prize-meta small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

/* Tickets */
.tickets {
  padding-block: clamp(32px, 4vw, 56px);
}

.tickets h2 {
  margin: 0 0 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 2.6vw, 34px);
}

.tickets__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px 260px;
  gap: clamp(18px, 2.4vw, 34px);
  align-items: center;
  min-width: 0;
}

.ticket-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.ticket-card {
  position: relative;
  min-height: 156px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: color-mix(in srgb, var(--surfaceStrong) 85%, transparent);
  color: var(--text);
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  padding: 18px 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.ticket-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
}

.ticket-card.is-active {
  border-color: var(--primaryDark);
  box-shadow: inset 0 0 0 1px var(--primaryDark), 0 12px 24px rgba(188, 126, 33, 0.18);
}

.popular {
  border-radius: 4px;
  padding: 3px 10px;
  font-size: 9px;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, var(--primary), var(--primaryDark));
  color: #fff;
  text-transform: uppercase;
  font-weight: 900;
}

.popular--placeholder {
  visibility: hidden;
}

.ticket-label {
  font-weight: 700;
  font-size: 14px;
  color: var(--muted);
}

.ticket-card strong {
  font-size: 26px;
  font-weight: 800;
}

.ticket-stack {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ticket-icon {
  display: block;
  width: 24px;
  height: 24px;
  margin-left: -3px;
  color: #efb94d;
  fill: #ffe8bd;
  stroke-width: 1.6;
  transform: rotate(28deg);
}

.tickets__divider {
  width: 1px;
  height: 82px;
  background: color-mix(in srgb, var(--border) 76%, transparent);
  justify-self: center;
}

.checkout {
  display: grid;
  justify-items: center;
  gap: 12px;
}

.checkout .button {
  width: 100%;
}

.checkout small {
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.secure-icon {
  width: 14px;
  height: 14px;
  color: var(--muted);
  stroke-width: 2.2;
}

/* Trust strip */
.trust {
  padding-block: clamp(24px, 3vw, 36px);
  background: rgba(242, 230, 210, 0.55);
  border-top: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
}

.trust__strip {
  list-style: none;
  margin-block: 0;
  margin-inline: auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.trust__strip li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: center;
  min-width: 0;
  font-size: 13px;
  color: var(--muted);
}

.trust__strip strong {
  display: block;
  color: var(--text);
  font-size: 14px;
  margin-bottom: 2px;
}

.trust-icon {
  color: var(--primaryDark);
  width: 28px;
  height: 28px;
  justify-self: center;
}

/* Supporting sections */
.page-sections {
  padding-block: clamp(42px, 6vw, 72px);
}

.page-sections__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.info-panel {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 74%, transparent);
}

.section-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--primaryDark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.info-panel h2 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.1;
}

.info-panel p,
.steps-list,
.faq-list {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.steps-list {
  padding-left: 18px;
}

.steps-list li + li {
  margin-top: 6px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list dt {
  color: var(--text);
  font-weight: 800;
}

.faq-list dd {
  margin: 2px 0 0;
}

/* Footer */
.site-footer {
  padding-block: 36px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-footer__brand img {
  width: auto;
  max-width: 140px;
  height: 40px;
  object-fit: contain;
  object-position: left center;
}

.site-footer__brand p {
  margin: 0;
  font-weight: 700;
  color: var(--text);
}

.site-footer__meta {
  display: grid;
  max-width: 56ch;
  width: min(420px, 100%);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.footer-links a {
  color: var(--primaryDark);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--primaryDark) 38%, transparent);
  text-underline-offset: 3px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
  text-decoration-color: currentColor;
}

/* Policy modals */
.policy-modal,
.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(20, 32, 57, 0.46);
}

.policy-modal[hidden],
.checkout-modal[hidden] {
  display: none;
}

.policy-modal__panel,
.checkout-modal__panel {
  position: relative;
  width: min(520px, 100%);
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surfaceStrong);
  box-shadow: 0 28px 70px rgba(20, 32, 57, 0.24);
}

.policy-modal__close,
.checkout-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
}

.policy-modal__close:hover,
.policy-modal__close:focus-visible,
.checkout-modal__close:hover,
.checkout-modal__close:focus-visible {
  color: var(--text);
  background: var(--accentSoft);
}

.close-icon {
  width: 20px;
  height: 20px;
}

.policy-modal h2,
.checkout-modal h2 {
  margin: 0 44px 12px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1.1;
}

.policy-modal p,
.checkout-modal p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.checkout-modal__summary {
  font-weight: 700;
}

.checkout-form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.checkout-form label {
  display: grid;
  gap: 6px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.checkout-form input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--text);
  background: var(--surface);
  font: inherit;
  font-weight: 600;
}

.checkout-form input:focus {
  outline: 2px solid color-mix(in srgb, var(--primary) 55%, transparent);
  outline-offset: 2px;
}

.checkout-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.checkout-form__submit {
  width: 100%;
  margin-top: 4px;
}

.ticket-number-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: 10px;
  margin-block: 20px;
}

.ticket-number-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  background: var(--surface);
  font-weight: 900;
}

/* Demo contact bubble */
.demo-bubble,
.assistant-bubble {
  position: fixed;
  z-index: 45;
  display: grid;
  gap: 10px;
}

.demo-bubble {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  justify-items: start;
}

.assistant-bubble {
  right: 20px;
  bottom: 20px;
  justify-items: end;
}

.demo-bubble__toggle,
.assistant-bubble__toggle {
  min-height: 54px;
  border: 1px solid color-mix(in srgb, var(--primaryDark) 50%, transparent);
  border-radius: 999px;
  padding: 7px 18px;
  color: var(--background);
  background: var(--text);
  box-shadow: 0 16px 36px rgba(20, 32, 57, 0.22);
  display: grid;
  gap: 1px;
  font-weight: 900;
  text-align: left;
}

.demo-bubble__toggle small,
.assistant-bubble__toggle small {
  color: color-mix(in srgb, var(--background) 72%, var(--primary));
  font-size: 10px;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.demo-bubble__toggle:hover,
.demo-bubble__toggle:focus-visible,
.assistant-bubble__toggle:hover,
.assistant-bubble__toggle:focus-visible {
  background: var(--primaryDark);
}

.demo-bubble__panel {
  width: min(340px, calc(100vw - 32px));
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surfaceStrong);
  box-shadow: 0 24px 60px rgba(20, 32, 57, 0.22);
}

.demo-bubble__panel[hidden],
.assistant-bubble__panel[hidden] {
  display: none;
}

.assistant-bubble__panel {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 62;
  width: min(420px, calc(100vw - 32px));
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surfaceStrong);
  box-shadow: 0 28px 70px rgba(20, 32, 57, 0.24);
  transform: translate(-50%, -50%);
}

.assistant-bubble__panel::before {
  content: "";
  position: fixed;
  inset: -100vh -100vw;
  z-index: -1;
  background: rgba(20, 32, 57, 0.34);
}

.demo-bubble__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.demo-bubble__header strong {
  color: var(--text);
  font-size: 15px;
}

.demo-bubble__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
}

.demo-bubble__close:hover,
.demo-bubble__close:focus-visible {
  color: var(--text);
  background: var(--accentSoft);
}

.demo-bubble__panel p {
  margin: 8px 0 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.demo-bubble__tally {
  display: block;
  border: 0;
}

.demo-contact-form,
.assistant-form {
  display: grid;
  gap: 10px;
}

.demo-contact-form label,
.assistant-form label {
  display: grid;
  gap: 5px;
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
}

.demo-contact-form label span {
  color: var(--muted);
  font-weight: 700;
}

.demo-contact-form input,
.assistant-form input {
  min-height: 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0 11px;
  color: var(--text);
  background: var(--surface);
  font: inherit;
}

.demo-contact-form input:focus,
.assistant-form input:focus {
  outline: 2px solid color-mix(in srgb, var(--primary) 55%, transparent);
  outline-offset: 2px;
}

.demo-contact-form .button,
.assistant-form .button {
  width: 100%;
  margin-top: 2px;
}

.demo-contact-thanks {
  padding: 12px;
  border-radius: 8px;
  color: var(--text) !important;
  background: var(--accentSoft);
}

.assistant-messages {
  display: grid;
  gap: 10px;
  margin-block: 10px 14px;
}

.assistant-messages p {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
  background: var(--surface);
  font-size: 13px;
  font-weight: 600;
}

.assistant-messages strong {
  color: var(--text);
}

/* Floating back link */
.site-back-link,
.success-back-link {
  position: fixed;
  left: max(18px, env(safe-area-inset-left));
  top: max(18px, env(safe-area-inset-top));
  z-index: 120;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid color-mix(in srgb, var(--border) 72%, transparent);
  border-radius: 999px;
  color: var(--text);
  background: color-mix(in srgb, var(--surfaceStrong) 88%, transparent);
  box-shadow: 0 14px 32px rgba(20, 32, 57, 0.16);
  backdrop-filter: blur(12px);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.site-back-link span,
.success-back-link span {
  font-size: 18px;
  line-height: 0;
  transform: translateY(-1px);
}

.site-back-link:hover,
.site-back-link:focus-visible,
.success-back-link:hover,
.success-back-link:focus-visible {
  color: #fff;
  background: var(--primaryDark);
}

.success-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
}

.success-panel {
  width: min(920px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 360px);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.success-panel__logo {
  width: auto;
  height: 56px;
  margin-bottom: 42px;
  object-fit: contain;
  object-position: left center;
}

.success-panel__eyebrow {
  margin: 0 0 10px;
  color: var(--primaryDark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.success-panel h1 {
  max-width: 620px;
  margin: 0;
  color: var(--text);
  font-size: clamp(40px, 7vw, 76px);
  line-height: 0.95;
}

.success-panel__copy {
  max-width: 560px;
  margin: 22px 0 28px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 650;
}

.success-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.success-panel__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  background: var(--surfaceStrong);
  font-weight: 900;
}

.success-panel__image {
  align-self: stretch;
  display: grid;
  place-items: end center;
}

.success-panel__image img {
  width: 100%;
  max-height: 460px;
  object-fit: contain;
  filter: drop-shadow(0 30px 48px rgba(20, 32, 57, 0.24));
}

/* Responsive */
@media (min-width: 961px) {
  #app {
    display: flex;
    flex-direction: column;
  }

  .site-header {
    flex: 0 0 auto;
  }

  .site-header__inner {
    min-height: 70px;
    padding-block: 9px;
  }

  .brand img {
    height: 48px;
    max-width: 188px;
  }

  .primary-nav {
    gap: clamp(14px, 1.6vw, 26px);
  }

  .button {
    min-height: 50px;
  }

  .button--small {
    min-height: 42px;
  }

  main {
    flex: 1 1 auto;
  }

  .hero {
    display: flex;
    align-items: center;
    padding-block: clamp(28px, 4.2vh, 52px);
  }

  .hero__copy h1 {
    margin-top: clamp(12px, 2vh, 18px);
    font-size: clamp(40px, 4.2vw, 56px);
  }

  .description {
    margin-block: clamp(16px, 2.2vh, 22px);
  }

  .prize-card img {
    aspect-ratio: 16 / 8.8;
  }

  .tickets {
    padding-block: clamp(22px, 3.2vh, 34px);
  }

  .tickets h2 {
    margin-bottom: clamp(12px, 1.8vh, 18px);
  }

  .ticket-card {
    min-height: clamp(112px, 15vh, 138px);
    padding-block: 14px;
  }

  .ticket-card strong {
    font-size: 24px;
  }

  .ticket-stack {
    min-height: 26px;
  }

  .trust {
    padding-block: clamp(12px, 1.8vh, 20px);
  }

  .site-footer {
    flex: 0 0 auto;
    padding-block: 22px;
    font-size: 12px;
  }

  .site-footer__brand img {
    height: 30px;
    max-width: 106px;
  }
}

@media (max-width: 1180px) and (min-width: 961px) {
  .container {
    width: min(1120px, calc(100% - 40px));
  }

  .hero__grid {
    gap: 34px;
  }

  .tickets__layout {
    grid-template-columns: minmax(0, 1fr) 1px 230px;
  }
}

@media (min-width: 961px) and (max-height: 760px) {
  .site-header__inner {
    min-height: 58px;
    padding-block: 6px;
  }

  .brand img {
    height: 40px;
    max-width: 160px;
  }

  .primary-nav {
    font-size: 13px;
  }

  .button--small {
    min-height: 40px;
  }

  .hero {
    padding-block: 18px;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
    gap: 28px;
  }

  .eyebrow {
    padding: 6px 16px;
    font-size: 12px;
  }

  .hero__copy h1 {
    margin-top: 12px;
    font-size: clamp(40px, 3.8vw, 50px);
  }

  .subtitle {
    font-size: 28px;
  }

  .description {
    margin-block: 14px;
    font-size: 15px;
    line-height: 1.45;
  }

  .draw-row {
    gap: 20px;
  }

  .draw-row li {
    font-size: 13px;
  }

  .prize-card {
    border-radius: 14px;
  }

  .prize-card img {
    aspect-ratio: 16 / 7.25;
  }

  .prize-caption {
    left: 14px;
    right: 14px;
    bottom: 12px;
    max-width: 390px;
  }

  .prize-rank {
    padding-inline: 14px;
  }

  .prize-meta {
    padding: 10px 16px;
  }

  .tickets {
    padding-block: 16px 18px;
  }

  .tickets h2 {
    margin-bottom: 10px;
    font-size: 30px;
  }

  .tickets__layout {
    gap: 26px;
  }

  .ticket-card {
    min-height: 104px;
    padding: 12px 10px;
    gap: 4px;
  }

  .ticket-card strong {
    font-size: 23px;
  }

  .ticket-stack {
    min-height: 20px;
  }

  .ticket-icon {
    width: 20px;
    height: 20px;
  }

  .tickets__divider {
    height: 86px;
  }

  .trust {
    padding-block: 9px;
  }

  .trust__strip {
    gap: 18px;
  }

  .trust__strip li {
    grid-template-columns: 30px 1fr;
    gap: 10px;
    font-size: 12px;
  }

  .trust__strip strong {
    font-size: 13px;
  }

  .trust-icon {
    width: 24px;
    height: 24px;
  }

  .site-footer {
    padding-block: 16px;
  }

  .site-footer__brand img {
    height: 26px;
    max-width: 92px;
  }
}

@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__copy h1 {
    margin-top: 18px;
  }

  .tickets__layout {
    grid-template-columns: 1fr;
  }

  .tickets__divider {
    display: none;
  }

  .ticket-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .page-sections__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-header .button--small {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 18px 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    background: var(--surfaceStrong);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 30px rgba(54, 40, 23, 0.12);
  }

  .primary-nav.is-open {
    display: flex;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(1200px, calc(100% - 32px));
  }

  .site-header__inner {
    min-height: 76px;
  }

  .brand img {
    height: 48px;
    max-width: 152px;
  }

  .hero {
    padding-block: 26px 34px;
  }

  .hero__copy h1 {
    font-size: 38px;
  }

  .description {
    max-width: 34ch;
  }

  .draw-row {
    gap: 18px;
  }

  .prize-card img {
    aspect-ratio: 16 / 10;
    object-position: center;
  }

  .ticket-cards {
    grid-template-columns: 1fr;
  }

  .ticket-card {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    justify-items: start;
    gap: 6px 12px;
    min-height: 78px;
    padding: 12px 18px;
  }

  .popular {
    grid-column: 1;
    grid-row: 2;
  }

  .ticket-label {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    color: var(--text);
  }

  .ticket-stack {
    display: none;
  }

  .ticket-card strong {
    grid-column: 2;
    grid-row: 1;
    font-size: 20px;
    justify-self: end;
  }

  .trust__strip {
    grid-template-columns: 1fr;
  }

  .page-sections {
    padding-block: 34px;
  }

  .page-sections__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .info-panel {
    padding: 18px;
  }

  .site-footer__meta {
    width: 100%;
    max-width: none;
  }

  .footer-links {
    text-align: left;
  }

  .policy-modal,
  .checkout-modal {
    padding: 16px;
  }

  .policy-modal__panel,
  .checkout-modal__panel {
    padding: 24px;
  }

  .demo-bubble {
    left: auto;
    right: 16px;
    top: auto;
    bottom: 84px;
    transform: none;
    justify-items: end;
  }

  .assistant-bubble {
    right: 16px;
    bottom: 16px;
  }

  .success-panel {
    grid-template-columns: 1fr;
  }

  .success-panel__logo {
    margin-bottom: 30px;
  }

  .success-panel__image {
    order: -1;
    justify-items: center;
  }

  .success-panel__image img {
    max-height: 240px;
  }

  .prize-caption {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }

  .prize-meta {
    padding: 10px 14px;
  }

  .prize-meta strong {
    font-size: 14px;
  }
}
