:root {
  color-scheme: dark;
  --ink: #101114;
  --paper: #fffaf0;
  --muted: rgba(16, 17, 20, 0.66);
  --line: rgba(16, 17, 20, 0.18);
  --red: #f45b69;
  --green: #2ec4b6;
  --yellow: #ffe066;
  --blue: #4d96ff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(16, 17, 20, 0.05) 0 1px, transparent 1px 38px),
    linear-gradient(0deg, rgba(16, 17, 20, 0.04) 0 1px, transparent 1px 38px),
    #f3f7fb;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.snack-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 3rem) 0 3rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(12rem, 0.22fr);
  gap: 2rem;
  align-items: end;
  min-height: 40vh;
  padding: clamp(2rem, 6vw, 5rem) 0;
  border-bottom: 2px solid var(--ink);
}

.eyebrow {
  margin: 0 0 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--red);
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  max-width: 8ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 11vw, 10rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0;
}

.hero p:last-child {
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: 1.2rem;
}

.ticket {
  display: grid;
  gap: 0.35rem;
  justify-items: center;
  padding: 1rem;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--yellow);
  box-shadow: 0.5rem 0.5rem 0 var(--ink);
}

.ticket span {
  font-weight: 900;
  text-transform: uppercase;
}

.ticket strong {
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1;
}

.bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.42fr);
  gap: clamp(1rem, 3vw, 2rem);
  padding-top: 2rem;
}

.menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.menu-item,
.tray {
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0.35rem 0.35rem 0 var(--ink);
}

.menu-item {
  display: grid;
  gap: 0.55rem;
  min-height: 12rem;
  padding: 1rem;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.menu-item:nth-child(4n+1) {
  background: #ffd8df;
}

.menu-item:nth-child(4n+2) {
  background: #d6fff7;
}

.menu-item:nth-child(4n+3) {
  background: #fff0ad;
}

.menu-item:nth-child(4n+4) {
  background: #dcecff;
}

.menu-item:hover,
.menu-item:focus-visible,
.menu-item.is-selected {
  transform: translateY(-0.2rem);
  opacity: 1;
}

.menu-item strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1;
}

.menu-item span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.35;
}

.tray {
  align-self: start;
  padding: 1rem;
}

.tray-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
}

.tray-head p {
  font-weight: 900;
  text-transform: uppercase;
}

button {
  min-height: 2.4rem;
  padding: 0 0.85rem;
  border: 2px solid var(--ink);
  border-radius: 6px;
  color: var(--paper);
  background: var(--ink);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.tray-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  min-height: 9rem;
  padding: 1rem 0;
}

.tray-chip {
  display: grid;
  place-items: center;
  min-height: 4.1rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
}

.agent-readout {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.agent-readout h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.agent-readout p {
  margin-top: 0.65rem;
  color: var(--muted);
  line-height: 1.45;
}

.meters {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
}

.meters label {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  font-weight: 800;
}

.meters span {
  height: 0.7rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(16, 17, 20, 0.08);
}

.meters i {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red), var(--yellow), var(--green), var(--blue));
  transition: width 0.2s ease;
}

html[data-embed="site"] .snack-shell {
  width: min(1120px, calc(100% - 1.5rem));
  padding-top: 1rem;
}

html[data-embed="site"] .hero {
  min-height: auto !important;
  padding: 2rem 0 !important;
}

@media (max-width: 860px) {
  .hero,
  .bar,
  .menu {
    grid-template-columns: 1fr;
  }

  .ticket {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .menu-item,
  .meters i {
    transition: none;
  }
}
