:root {
  --navy: #0B3A82;
  --navy-deep: #082B61;
  --ink: #16213A;
  --muted: #4A5568;
  --paper: #FFFFFF;
  --wash: #EEF2F8;
  --line: #D5DCE6;
  --brick: #9E1B32;
  --brick-soft: #F6E7EA;
  --focus: #F2B705;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --navy: #8DB4F2;
    --navy-deep: #BCD3F7;
    --ink: #E7ECF4;
    --muted: #AAB4C3;
    --paper: #0F1726;
    --wash: #172238;
    --line: #2B3954;
    --brick: #F08A9C;
    --brick-soft: #2C1A22;
    color-scheme: dark;
  }
}

body.haccp-waitlist-page * {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body.haccp-waitlist-page {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

body.haccp-waitlist-page a {
  color: var(--navy);
}

body.haccp-waitlist-page a:focus-visible,
body.haccp-waitlist-page button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

body.haccp-waitlist-page .skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--paper);
  padding: 8px 12px;
  z-index: 9999;
}

body.haccp-waitlist-page .skip:focus {
  left: 8px;
}

body.haccp-waitlist-page .wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

body.haccp-waitlist-page h1,
body.haccp-waitlist-page h2,
body.haccp-waitlist-page h3 {
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  line-height: 1.2;
  color: var(--ink);
}

/* Header */
body.haccp-waitlist-page .top {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

body.haccp-waitlist-page .top .wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 14px;
  padding-bottom: 14px;
}

body.haccp-waitlist-page .top img {
  width: 56px;
  height: auto;
  display: block;
}

body.haccp-waitlist-page .agency {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
}

body.haccp-waitlist-page .agency span {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 14px;
}

body.haccp-waitlist-page .lang {
  margin-left: auto;
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
}

/* Hero */
body.haccp-waitlist-page .hero {
  background: var(--wash);
  border-bottom: 1px solid var(--line);
}

body.haccp-waitlist-page .hero .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-top: 56px;
  padding-bottom: 56px;
  align-items: center;
}

body.haccp-waitlist-page .hero p.kicker {
  margin: 0 0 10px;
  color: var(--muted);
  font-weight: 600;
}

body.haccp-waitlist-page .hero h1 {
  font-size: clamp(34px, 4.6vw, 52px);
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}

body.haccp-waitlist-page .hero .lede {
  font-size: 19px;
  max-width: 34em;
  margin: 0 0 26px;
}

body.haccp-waitlist-page .cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

body.haccp-waitlist-page .btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  border-radius: 8px;
  padding: 14px 22px;
  font-size: 17px;
  line-height: 1.2;
  border: 2px solid var(--navy);
  font-family: inherit;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
}

body.haccp-waitlist-page .btn.primary {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
}

body.haccp-waitlist-page .btn.primary:not([aria-disabled="true"]):hover,
body.haccp-waitlist-page .btn.primary:not([aria-disabled="true"]):focus-visible {
  background: #981F32 !important;
  border-color: #981F32 !important;
  color: #ffffff !important;
}

@media (prefers-color-scheme: dark) {
  body.haccp-waitlist-page .btn.primary {
    color: #ffffff;
  }
  body.haccp-waitlist-page .btn.primary:not([aria-disabled="true"]):hover,
  body.haccp-waitlist-page .btn.primary:not([aria-disabled="true"]):focus-visible {
    background: #981F32 !important;
    border-color: #981F32 !important;
    color: #ffffff !important;
  }
}

body.haccp-waitlist-page .btn.secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

body.haccp-waitlist-page .btn.secondary:hover,
body.haccp-waitlist-page .btn.secondary:focus-visible {
  background: #981F32;
  border-color: #981F32;
  color: #ffffff;
}

body.haccp-waitlist-page .btn[aria-disabled="true"] {
  background: transparent !important;
  color: var(--muted) !important;
  border-color: var(--line) !important;
  cursor: default !important;
  pointer-events: none;
}

body.haccp-waitlist-page .status {
  margin: 14px 0 0;
  font-size: 15px;
  color: var(--muted);
}

/* The open window calendar card */
body.haccp-waitlist-page .window {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 24px 20px;
}

body.haccp-waitlist-page .window h2 {
  font-size: 20px;
  margin: 0 0 16px;
}

body.haccp-waitlist-page .days {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  margin-bottom: 10px;
}

body.haccp-waitlist-page .day {
  text-align: center;
  padding: 12px 4px 14px;
  border-top: 6px solid var(--brick);
}

body.haccp-waitlist-page .day + .day {
  border-left: 1px dashed var(--line);
}

body.haccp-waitlist-page .day .dow {
  display: block;
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}

body.haccp-waitlist-page .day .num {
  display: block;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
}

body.haccp-waitlist-page .day .mon {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

body.haccp-waitlist-page .ends {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 15px;
}

body.haccp-waitlist-page .ends div {
  background: var(--brick-soft);
  border-radius: 8px;
  padding: 8px 12px;
  flex: 1;
}

body.haccp-waitlist-page .ends b {
  display: block;
  color: var(--brick);
}

body.haccp-waitlist-page .window .note {
  font-size: 14px;
  color: var(--muted);
  margin: 14px 0 0;
}

/* Notice sections */
body.haccp-waitlist-page main section {
  border-bottom: 1px solid var(--line);
}

body.haccp-waitlist-page main section .wrap {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  padding-top: 44px;
  padding-bottom: 44px;
}

body.haccp-waitlist-page main section h2 {
  font-size: 26px;
  margin: 0;
}

body.haccp-waitlist-page .body > *:first-child {
  margin-top: 0;
}

body.haccp-waitlist-page .body p,
body.haccp-waitlist-page .body li {
  max-width: 42em;
}

body.haccp-waitlist-page .body ul {
  padding-left: 20px;
}

body.haccp-waitlist-page .body li {
  margin-bottom: 6px;
}

body.haccp-waitlist-page ol.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: s;
}

body.haccp-waitlist-page ol.steps li {
  counter-increment: s;
  position: relative;
  padding-left: 52px;
  margin-bottom: 18px;
}

body.haccp-waitlist-page ol.steps li::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-weight: 700;
}

body.haccp-waitlist-page ol.steps b {
  display: block;
}

body.haccp-waitlist-page .place {
  border-left: 6px solid var(--navy);
  background: var(--wash);
  border-radius: 0 10px 10px 0;
  padding: 18px 22px;
  margin: 8px 0 18px;
}

body.haccp-waitlist-page .place h3 {
  font-size: 21px;
  margin: 0 0 4px;
}

body.haccp-waitlist-page .place p {
  margin: 4px 0;
}

body.haccp-waitlist-page .alert {
  border: 2px solid var(--brick);
  border-radius: 10px;
  padding: 14px 18px;
  margin: 18px 0 0;
}

body.haccp-waitlist-page .alert b {
  color: var(--brick);
}

body.haccp-waitlist-page .big250 {
  display: flex;
  gap: 18px;
  align-items: center;
  margin: 4px 0 18px;
}

body.haccp-waitlist-page .big250 .n {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 64px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

body.haccp-waitlist-page .big250 p {
  margin: 0;
}

body.haccp-waitlist-page .tablewrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  -webkit-overflow-scrolling: touch;
}

body.haccp-waitlist-page table {
  border-collapse: collapse;
  width: 100%;
  font-size: 16px;
  margin: 0;
}

body.haccp-waitlist-page th,
body.haccp-waitlist-page td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  border-top: none;
  vertical-align: top;
}

body.haccp-waitlist-page thead th {
  background: var(--wash);
  font-size: 15px;
}

body.haccp-waitlist-page tbody th {
  width: 25%;
  min-width: 160px;
  font-weight: 700;
}

body.haccp-waitlist-page td.pts {
  width: 10%;
  min-width: 60px;
  font-weight: 700;
  white-space: nowrap;
  text-align: right;
}

body.haccp-waitlist-page th.pts {
  text-align: right;
}

body.haccp-waitlist-page tr:last-child td {
  border-bottom: 0;
}

body.haccp-waitlist-page caption {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 12px 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

body.haccp-waitlist-page .small {
  font-size: 15px;
  color: var(--muted);
}

/* Hide default third-party floating language switcher widgets on landing page */
body.haccp-waitlist-page div#gt-wrapper-22772370,
body.haccp-waitlist-page .gtranslate_wrapper,
body.haccp-waitlist-page [id^="gt-wrapper"] {
  display: none !important;
}

/* Footer */
body.haccp-waitlist-page footer {
  padding: 34px 0 48px;
  font-size: 15px;
  color: var(--muted);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

body.haccp-waitlist-page footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-end;
}

body.haccp-waitlist-page .eho {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--ink);
}

body.haccp-waitlist-page .eho svg {
  width: 40px;
  height: 40px;
}

/* ==========================================================================
   RESPONSIVE STYLING (Tablets & Desktops <= 860px)
   ========================================================================== */
@media (max-width: 860px) {
  body.haccp-waitlist-page .wrap {
    padding: 0 20px;
  }
  body.haccp-waitlist-page .hero .wrap {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 36px;
    padding-bottom: 36px;
  }
  body.haccp-waitlist-page .hero h1 {
    font-size: clamp(30px, 5.5vw, 42px);
  }
  body.haccp-waitlist-page main section .wrap {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 32px;
    padding-bottom: 32px;
  }
  body.haccp-waitlist-page main section h2 {
    font-size: 24px;
  }
  body.haccp-waitlist-page .day .num {
    font-size: 32px;
  }
  body.haccp-waitlist-page .ends {
    flex-direction: column;
    gap: 10px;
  }
}

/* ==========================================================================
   MOBILE RESPONSIVE: PREFERENCE POINTS TABLE -> CARD LAYOUT (<= 680px)
   ========================================================================== */
@media (max-width: 680px) {
  body.haccp-waitlist-page .tablewrap {
    overflow-x: visible;
    border: none;
    border-radius: 0;
    background: transparent;
  }
  body.haccp-waitlist-page table {
    display: block;
    width: 100%;
    min-width: 0;
    border-collapse: separate;
  }
  body.haccp-waitlist-page caption {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0 0 10px 0;
    margin-bottom: 4px;
    font-size: 15px;
    font-weight: 600;
    color: var(--muted);
    white-space: normal;
  }
  body.haccp-waitlist-page thead {
    display: none; /* Hide tabular column header */
  }
  body.haccp-waitlist-page tbody {
    display: block;
    width: 100%;
  }
  body.haccp-waitlist-page tr {
    display: block;
    position: relative;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px 14px 14px;
    margin-bottom: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  }
  body.haccp-waitlist-page tbody th {
    display: block;
    width: 100%;
    min-width: 0;
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    padding: 0 76px 8px 0; /* Padding-right prevents collision with top-right points badge */
    border-bottom: 1px solid var(--wash);
    margin-bottom: 8px;
    line-height: 1.3;
  }
  body.haccp-waitlist-page td.pts {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 0;
    padding: 4px 10px;
    background: var(--wash);
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--navy);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
  }
  body.haccp-waitlist-page td.pts::after {
    content: " pts";
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    margin-left: 2px;
  }
  body.haccp-waitlist-page td:not(.pts) {
    display: block;
    width: 100%;
    padding: 0;
    border-bottom: none;
    font-size: 15px;
    color: var(--ink);
    line-height: 1.55;
  }
}

/* ==========================================================================
   MOBILE PHONES (<= 600px)
   ========================================================================== */
@media (max-width: 600px) {
  body.haccp-waitlist-page .wrap {
    padding: 0 16px;
  }
  /* Header layout */
  body.haccp-waitlist-page .top .wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  body.haccp-waitlist-page .top img {
    width: 44px;
    height: auto;
    flex-shrink: 0;
  }
  body.haccp-waitlist-page .agency {
    font-size: 13.5px;
    line-height: 1.25;
    flex: 1 1 170px;
  }
  body.haccp-waitlist-page .agency span {
    font-size: 11.5px;
    line-height: 1.3;
    margin-top: 2px;
  }
  body.haccp-waitlist-page .lang {
    font-size: 13.5px;
    margin-left: auto;
    padding: 5px 12px;
    background: var(--wash);
    border: 1px solid var(--line);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
  }
  /* Steps list */
  body.haccp-waitlist-page ol.steps li {
    padding-left: 44px;
    margin-bottom: 16px;
    font-size: 15px;
  }
  body.haccp-waitlist-page ol.steps li::before {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
  body.haccp-waitlist-page .place {
    padding: 14px 16px;
  }
  body.haccp-waitlist-page .place h3 {
    font-size: 18px;
  }
  body.haccp-waitlist-page .place p {
    font-size: 14.5px;
  }
  body.haccp-waitlist-page footer .wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* ==========================================================================
   EXTRA SMALL PHONES (<= 480px)
   ========================================================================== */
@media (max-width: 480px) {
  body.haccp-waitlist-page .hero h1 {
    font-size: 28px;
    margin-bottom: 14px;
  }
  body.haccp-waitlist-page .hero .lede {
    font-size: 16.5px;
    margin-bottom: 20px;
  }
  body.haccp-waitlist-page .cta {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  body.haccp-waitlist-page .btn {
    width: 100%;
    text-align: center;
    padding: 13px 18px;
    font-size: 16px;
  }
  body.haccp-waitlist-page .window {
    padding: 16px;
    border-radius: 12px;
  }
  body.haccp-waitlist-page .day {
    padding: 8px 2px 10px;
  }
  body.haccp-waitlist-page .day .dow {
    font-size: 11.5px;
  }
  body.haccp-waitlist-page .day .num {
    font-size: 26px;
  }
  body.haccp-waitlist-page .day .mon {
    font-size: 11px;
  }
  body.haccp-waitlist-page .ends {
    flex-direction: column;
    gap: 8px;
  }
  body.haccp-waitlist-page .ends div {
    font-size: 13.5px;
    padding: 8px 10px;
  }
  body.haccp-waitlist-page .big250 {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  body.haccp-waitlist-page .big250 .n {
    font-size: 46px;
  }
}

@media print {
  body.haccp-waitlist-page .cta,
  body.haccp-waitlist-page .lang,
  body.haccp-waitlist-page .skip {
    display: none;
  }
  body.haccp-waitlist-page .hero {
    background: none;
  }
}