:root {
  --cream: #fff3e3;
  --paper: #fffbf6;
  --red: #e71919;
  --red-dark: #ab1313;
  --graphite: #171717;
  --yellow: #ffd34e;
  --muted: #625346;
  --line: #cbb6a3;
  color: var(--graphite);
  background: var(--cream);
  color-scheme: light;
  font-family: "Tuk Inter", Inter, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, p { margin: 0; }
button, input { font: inherit; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--red-dark);
  outline-offset: 3px;
}

.layout {
  width: min(100%, 1300px);
  margin-inline: auto;
  padding: 0 clamp(18px, 4vw, 56px) 42px;
}

.masthead {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 24px);
  min-height: clamp(72px, 8vw, 104px);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: block;
  width: clamp(122px, 17vw, 196px);
  height: auto;
}

.business-label {
  padding-left: clamp(9px, 1.6vw, 20px);
  border-left: 1px solid var(--line);
  font-size: clamp(12px, 1.3vw, 15px);
  font-weight: 750;
}

.login-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  min-height: 44px;
  padding: 6px 14px;
  border: 1.5px solid var(--graphite);
  border-radius: 13px;
  color: var(--graphite);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.login-link:hover { background: var(--graphite); color: var(--cream); }

.icon {
  width: 21px;
  height: 21px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.registration {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: clamp(35px, 6vw, 88px);
  margin-top: clamp(27px, 4vw, 56px);
}

.poster {
  position: relative;
  display: flex;
  align-items: flex-start;
  isolation: isolate;
  overflow: hidden;
  container-type: inline-size;
  min-height: 620px;
  border-radius: 29px;
  background: var(--red);
  color: var(--cream);
  padding: clamp(26px, 4vw, 53px);
}

.display {
  font-family: "Tuk Display", "Arial Narrow", sans-serif;
  font-style: italic;
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.034em;
  text-transform: uppercase;
}

.poster-title { font-size: clamp(34px, 16.5cqi, 82px); }

.poster-mark {
  position: absolute;
  z-index: -1;
  right: -10%;
  top: 39%;
  width: 78%;
  opacity: .9;
  transform: rotate(-7deg);
}

.poster-bag {
  position: absolute;
  width: 94%;
  height: min(66%, 470px);
  object-fit: contain;
  object-position: right bottom;
  right: -2%;
  bottom: -9%;
  filter: drop-shadow(0 18px 18px #31170862);
}

.form-wrap {
  width: 100%;
  max-width: 505px;
  min-width: 0;
  align-self: center;
  padding-block: 8px 14px;
}

#form-title { font-size: clamp(40px, 5vw, 68px); }

.form-lead {
  margin-top: 10px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

#signup-form {
  display: grid;
  gap: 17px;
  margin-top: clamp(22px, 3vw, 29px);
}

.field {
  display: grid;
  gap: 7px;
  font-size: 14px;
  font-weight: 700;
}

.field input {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 13px;
  color: var(--graphite);
  background: var(--paper);
  font-size: 16px;
  font-weight: 450;
}
.field input::placeholder { color: #75675c; }

.niche-field {
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}
.niche-field legend {
  margin-bottom: 8px;
  padding: 0;
  font-size: 14px;
  font-weight: 700;
}

.niche-options { display: grid; gap: 8px; }
.niche-option {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 65px;
  padding: 8px 12px 8px 9px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  cursor: pointer;
}

.niche-option:hover, .niche-option:has(input:checked) { border-color: var(--red-dark); }
.niche-option:has(input:checked) { background: #ffe8da; box-shadow: inset 0 0 0 1px var(--red-dark); }
.niche-option:has(input:focus-visible) { outline: 3px solid var(--red-dark); outline-offset: 3px; }
.niche-option input { position: absolute; inline-size: 1px; block-size: 1px; margin: 0; opacity: 0; }

.niche-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
}
.food-icon { color: white; background: var(--red); }
.retail-icon { background: var(--yellow); }
.niche-copy { display: grid; gap: 3px; }
.niche-copy strong { font-size: 15px; font-weight: 800; }
.niche-copy small { color: var(--muted); font-size: 12px; line-height: 1.25; }

.choice-dot {
  width: 17px;
  height: 17px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
}
.niche-option:has(input:checked) .choice-dot { border: 5px solid var(--red); }
.soon-tag {
  padding: 5px 7px;
  border-radius: 7px;
  background: #f6e5d1;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.turnstile-widget:empty { display: none; }

.notice {
  border-left: 3px solid #785645;
  border-radius: 7px;
  padding: 10px 12px;
  background: #f8e5d2;
  font-size: 14px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.notice.error { border-color: var(--red-dark); background: #ffdfd4; color: #8e1c16; }

.submit-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 53px;
  border: 0;
  border-radius: 15px;
  padding: 9px 14px;
  background: var(--red);
  box-shadow: 0 4px 0 var(--red-dark);
  color: white;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}
.submit-button:enabled:hover { background: #c81111; }
.submit-button:enabled:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--red-dark); }
.submit-button:disabled { opacity: .55; cursor: not-allowed; }
.terms { color: var(--muted); font-size: 13px; line-height: 1.45; }

@media (max-width: 840px) {
  .layout { max-width: 590px; }
  .registration { display: block; }
  .poster { display: none; }
  .form-wrap { margin-inline: auto; padding: 0; }
  #form-title { font-size: clamp(36px, 9.6vw, 57px); }
}

@media (max-width: 370px) {
  .login-link { padding-inline: 8px; }
  .login-link .icon { display: none; }
}

#owner-login-form, #owner-credentials, #owner-choices, #owner-choices-list {
  display: grid;
  gap: 14px;
}
#signup-panel[hidden], #login-panel[hidden], #owner-credentials[hidden], #owner-choices[hidden] {
  display: none;
}
#owner-choices h2 { margin: 0; font-size: 1rem; }
.owner-choice {
  display: grid;
  gap: 5px;
  width: 100%;
  padding: 13px 15px;
  text-align: left;
  font: inherit;
  color: var(--graphite);
  background: var(--cream);
  border: 1px solid currentColor;
  border-radius: 10px;
  cursor: pointer;
}
.owner-choice:enabled:hover { box-shadow: 0 0 0 2px var(--red); }
.owner-choice:disabled { opacity: .55; cursor: wait; }
.owner-choice span, .owner-signup { font-size: .875rem; }
.owner-signup { color: inherit; text-decoration: underline; }
#owner-change-account { justify-self: start; }
