:root {
  --bg: #100e0c;
  --panel: #1b1714;
  --ink: #f4efe6;
  --muted: #c9bbaa;
  --line: rgba(244, 239, 230, 0.12);
  --copper: #e4894a;
  --copper-deep: #c4622d;
  --paper: #f7f1e6;
  --paper-ink: #1c1612;
  --paper-muted: #5c534a;
  --warn: #ffd7a8;
  --danger: #ffb4a2;
  --ok: #d7e7b0;
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: clip;
  font-family: Manrope, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 8% -10%, rgba(228, 137, 74, 0.2), transparent 55%),
    radial-gradient(700px 380px at 100% 0%, rgba(255, 208, 166, 0.08), transparent 50%),
    var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #7a3416, var(--copper), #ffd7b0);
  z-index: 5;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--copper);
  color: #1a120c;
}

:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 6;
  background: var(--paper);
  color: var(--paper-ink);
  padding: 8px 12px;
  border-radius: 8px;
}

.skip:focus {
  top: 12px;
}

.page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 80px;
  padding-bottom: max(80px, calc(env(safe-area-inset-bottom, 0px) + 80px));
}

.hero {
  position: relative;
  margin-bottom: 28px;
  padding-right: min(120px, 22vw);
  overflow: hidden;
}

.hero::after {
  content: "81";
  position: absolute;
  right: 0;
  top: -18px;
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 128px;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(228, 137, 74, 0.4);
  pointer-events: none;
}

.brand {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  align-items: center;
  margin-bottom: 22px;
}

.mark {
  width: 56px;
  height: 56px;
  flex: none;
  display: block;
}

.brand-copy {
  min-width: 0;
}

.eyebrow,
.brand-name,
.rate,
.panel-lead,
.mode-note,
.hint,
.status,
.foot {
  margin: 0;
}

.eyebrow {
  color: var(--copper);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-name {
  margin: 0;
  color: var(--ink);
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.15;
}

span.age-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  height: 26px;
  padding: 0 8px;
  border: 1.5px solid var(--copper);
  border-radius: 999px;
  color: #1a120c;
  background: var(--copper);
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: none;
}

h1,
h2,
h3,
.due strong,
.mobile-bar strong {
  font-family: Unbounded, Manrope, sans-serif;
}

h1 {
  margin: 0 0 10px;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 600;
}

.lead {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.82fr);
  gap: 28px;
  align-items: start;
}

.panel {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
  margin-bottom: 16px;
}

h2 {
  display: flex;
  gap: 10px;
  align-items: baseline;
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h2 span {
  color: var(--copper);
}

.panel-lead {
  margin: -6px 0 4px;
  color: var(--muted);
  font-size: 14px;
}

.segment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 4px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: #100e0c;
}

.segment button {
  border: 0;
  border-radius: 11px;
  padding: 11px 8px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
}

.segment button[aria-pressed="true"] {
  background: var(--ink);
  color: #1a120c;
}

.stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.stepper button {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #100e0c;
  font-size: 24px;
  line-height: 1;
}

.stepper button:hover:not(:disabled) {
  border-color: var(--copper);
  color: var(--copper);
}

.stepper button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.stepper-mid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
}

.stepper input {
  width: 3.2ch;
  height: 48px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: Manrope, "Segoe UI", sans-serif;
  font-size: 34px;
  font-weight: 800;
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: 0;
  line-height: 48px;
  text-align: center;
}

.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.stepper input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.stepper-mid span {
  color: var(--muted);
  font-size: 18px;
}

.stepper-sm {
  display: grid;
  grid-template-columns: 44px 44px 44px;
  justify-content: end;
  gap: 6px;
}

.stepper-sm button {
  width: 44px;
  height: 44px;
}

.stepper-sm .stepper-mid,
.stepper-sm input {
  width: 44px;
}

.stepper-sm input {
  height: 44px;
  font-size: 22px;
  line-height: 44px;
}

.rate {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  margin: 16px auto 0;
  padding: 8px 18px 9px;
  border: 1px solid rgba(228, 137, 74, 0.4);
  border-radius: 999px;
  background: rgba(228, 137, 74, 0.1);
}

.rate strong {
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.rate span {
  color: var(--copper);
  font-size: 14px;
  font-weight: 700;
}

.hint {
  margin-top: 12px;
  color: var(--warn);
  font-size: 14px;
}

.hint:empty {
  display: none;
}

.addon {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.addon h3 {
  margin: 0;
  font-family: Manrope, sans-serif;
  font-size: 16px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: none;
}

.addon p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.addon-price {
  color: var(--ink) !important;
  font-weight: 700;
}

.mode {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  margin-top: 10px;
  background: #14110f;
}

.mode:has(input:checked) {
  border-color: var(--copper);
  background: rgba(228, 137, 74, 0.08);
}

.mode:has(input:disabled) {
  opacity: 0.4;
}

.mode label:has(input:disabled) {
  cursor: not-allowed;
}

.mode label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  cursor: pointer;
}

.mode input {
  appearance: none;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  border: 1.5px solid var(--muted);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: transparent;
}

.mode input:checked {
  border-color: var(--copper);
}

.mode input:checked::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--copper);
}

.mode-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 12px;
  align-items: baseline;
}

.mode-name {
  font-weight: 800;
}

.mode-price {
  color: var(--copper);
  font-weight: 800;
  white-space: nowrap;
}

.mode-note,
.mode-address {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.mode-address {
  color: var(--ink);
}

.map-link {
  display: inline-block;
  margin: 8px 0 0 32px;
  color: var(--copper);
  font-size: 14px;
  font-weight: 700;
}

.address-box {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.address-box[hidden] {
  display: none;
}

#hoursPanel[hidden],
#daysPanel[hidden],
#bowlHint[hidden],
.suggest[hidden] {
  display: none;
}

.address-box label {
  font-size: 14px;
  font-weight: 700;
}

.address-field {
  position: relative;
}

.address-box input {
  width: 100%;
  max-width: 100%;
  padding: 14px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0e0c0a;
  font-size: 16px;
}

.address-box input::placeholder {
  color: #8d8274;
}

.suggest {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  max-height: 280px;
  overflow: auto;
  padding: 6px;
  border-radius: 12px;
  border: 1px solid rgba(228, 137, 74, 0.35);
  background: #221c17;
  box-shadow: var(--shadow);
}

.suggest button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
}

.suggest button[aria-selected="true"],
.suggest button:hover {
  background: rgba(228, 137, 74, 0.16);
}

.primary,
.mobile-bar a {
  border: 0;
  border-radius: 999px;
  background: var(--copper);
  color: #1a120c;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
}

.primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 4px;
  padding: 13px 18px;
  min-height: 48px;
}

.primary:hover:not(:disabled) {
  background: #f0a066;
}

.primary:disabled {
  opacity: 0.6;
  cursor: wait;
}

.status {
  min-height: 1.3em;
  color: var(--muted);
  font-size: 14px;
}

.status.is-error {
  color: var(--danger);
}

.status.is-warn {
  color: var(--warn);
}

.status.is-ok {
  color: var(--ok);
}

.receipt-wrap {
  position: sticky;
  top: 20px;
}

.receipt {
  background: linear-gradient(180deg, #fffaf2, var(--paper) 90px);
  color: var(--paper-ink);
  border-radius: 8px 8px 20px 20px;
  border-top: 8px solid var(--copper);
  padding: 18px 18px 14px;
  box-shadow: var(--shadow);
}

.receipt-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.receipt-head p {
  margin: 0;
}

.line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 12px;
  padding: 9px 0;
}

.line-label {
  font-weight: 650;
}

.line-value {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  text-align: right;
}

.line-extra {
  grid-column: 1 / -1;
  color: var(--paper-muted);
  font-size: 13px;
}

.rule {
  height: 0;
  border-top: 1px dashed rgba(28, 22, 18, 0.25);
  margin: 4px 0;
}

.due {
  margin-top: 8px;
}

.due p,
.deposit-box p,
.quiet-note {
  margin: 0;
}

.due-caption {
  color: var(--paper-muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.due strong {
  display: block;
  margin-top: 2px;
  font-size: 40px;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.deposit-box,
.quiet-note {
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  background: #f3e2c4;
  color: #3d2914;
  font-size: 14px;
}

.deposit-box strong {
  display: block;
  margin-bottom: 4px;
  font-family: Manrope, sans-serif;
  font-size: 15px;
  letter-spacing: 0;
}

.foot {
  color: var(--paper-muted);
  font-size: 13px;
}

.pickup-card {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 14px;
  border-radius: 14px;
  background: #f3e2c4;
  color: #3d2914;
}

.pickup-label {
  margin: 0 0 4px;
  color: rgba(61, 41, 20, 0.62);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pickup-address {
  margin: 0;
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.pickup-route {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #1c1612;
  color: #fffaf2;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.pickup-route:hover {
  background: #3a2a1c;
  color: #fffaf2;
}

.foot {
  display: grid;
  gap: 22px;
  margin: 56px 0 0;
  padding: 28px 28px 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(480px 160px at 0% 0%, rgba(228, 137, 74, 0.18), transparent 68%),
    #161310;
  color: var(--muted);
}

.foot-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px 48px;
}

.foot-address {
  flex: 1 1 200px;
  max-width: 280px;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.foot-brand .mark {
  width: 52px;
  height: 52px;
}

.foot p {
  margin: 0;
}

.foot-label {
  margin-bottom: 8px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.foot-address p:last-of-type,
.foot-address > p:nth-child(2) {
  color: var(--ink);
  font-size: 16px;
}

.foot-links {
  display: grid;
  gap: 8px;
  justify-items: start;
  margin-left: auto;
}

.warn-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.foot a,
.doc a,
.consent a {
  color: var(--copper);
}

.foot a {
  font-weight: 700;
  text-decoration: none;
}

.foot a:hover {
  color: #f0a066;
}

.address-box label.consent {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 4px 0 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  white-space: normal;
}

.address-box label.consent span {
  min-width: 0;
  white-space: normal;
}

.address-box label.consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--copper);
  flex: none;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(520px 280px at 50% 30%, rgba(228, 137, 74, 0.22), transparent 70%),
    rgba(10, 8, 7, 0.94);
}

html.age-ok .age-gate {
  display: none;
}

html:not(.age-ok) .page:not(.doc),
html:not(.age-ok) .mobile-bar,
html:not(.age-ok) .skip {
  display: none;
}

.age-card {
  width: min(440px, 100%);
  padding: 32px 28px 28px;
  border-radius: 28px;
  background: var(--paper);
  color: var(--paper-ink);
  text-align: center;
  box-shadow: var(--shadow);
}

.age-card .mark {
  width: 76px;
  height: 76px;
  margin-bottom: 8px;
}

.age-kicker {
  margin: 0 0 8px;
  color: var(--copper-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.age-card h2 {
  display: block;
  margin: 0 0 8px;
  color: var(--paper-ink);
  font-size: 28px;
  letter-spacing: -0.03em;
  text-transform: none;
}

.age-card p {
  margin: 0;
  color: var(--paper-muted);
}

.age-actions {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.ghost {
  border: 1px solid rgba(28, 22, 18, 0.2);
  border-radius: 999px;
  background: transparent;
  color: var(--paper-ink);
  padding: 12px 18px;
  font-weight: 700;
}

.age-card .primary {
  margin-top: 0;
}

.doc h1 {
  font-size: clamp(32px, 5vw, 52px);
}

.doc h2 {
  display: block;
  margin: 28px 0 8px;
  font-size: 22px;
  letter-spacing: -0.03em;
  text-transform: none;
}

.doc p,
.doc li {
  max-width: 68ch;
  color: var(--muted);
}

.doc ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.age-hold {
  display: none;
  max-width: 46ch;
  color: var(--muted);
}

html:not(.age-ok) .age-hold {
  display: block;
}

html:not(.age-ok) .doc-body {
  display: none;
}

.back {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--copper);
  font-weight: 700;
  text-decoration: none;
}

.mobile-bar {
  display: none;
}

@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .receipt-wrap {
    position: static;
  }

  .hero {
    padding-right: 64px;
  }

  .panel {
    padding: 16px;
    border-radius: 18px;
  }

  .map-link {
    margin-left: 0;
  }

  .foot {
    padding: 22px 18px 18px;
    border-radius: 22px;
  }

  .foot-top {
    flex-direction: column;
  }

  .foot-address,
  .foot-links {
    max-width: none;
    margin-left: 0;
  }

  .warn-line {
    align-items: flex-start;
  }

  .hero::after {
    font-size: 84px;
    top: 8px;
  }

  .mobile-bar {
    position: fixed;
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 4;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 10px 10px 16px;
    border-radius: 18px;
    background: var(--paper);
    color: var(--paper-ink);
    box-shadow: var(--shadow);
  }

  .mobile-bar p {
    margin: 0;
    color: var(--paper-muted);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .mobile-bar strong {
    display: block;
    font-size: 22px;
    letter-spacing: -0.04em;
    line-height: 1.1;
  }

  .mobile-bar a {
    flex: none;
    padding: 12px 16px;
  }

  .page {
    padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px));
  }

  body {
    padding-bottom: 0;
  }

  #receipt {
    scroll-margin-bottom: 120px;
  }
}

@media (max-width: 600px) {
  .page {
    width: min(100% - 24px, 1120px);
    padding-top: 24px;
  }

  .hero {
    padding-right: 0;
    margin-bottom: 20px;
  }

  .hero::after {
    display: none;
  }

  h1 {
    font-size: clamp(30px, 10vw, 42px);
  }

  .lead {
    font-size: 15px;
  }

  .stepper button {
    width: 44px;
    height: 44px;
  }

  .stepper input {
    height: 44px;
    font-size: 30px;
    line-height: 44px;
  }

  .rate {
    width: 100%;
    justify-content: center;
  }

  .line {
    gap: 4px 10px;
  }

  .line-label,
  .line-value {
    font-size: 14px;
  }

  .due strong {
    font-size: 36px;
  }

  .pickup-address {
    font-size: 14px;
  }

  .age-gate {
    padding: 16px;
    align-items: end;
  }

  .age-card {
    padding: 24px 18px 18px;
    border-radius: 22px;
  }

  .age-card h2 {
    font-size: 24px;
  }
}

@media (max-width: 420px) {
  .page {
    width: min(100% - 16px, 1120px);
  }

  .addon {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .stepper-sm {
    justify-content: start;
  }

  .mode {
    padding: 12px;
  }

  .due strong {
    font-size: 32px;
  }

  .mobile-bar strong {
    font-size: 20px;
  }

  .brand-name {
    font-size: 16px;
  }
}

@media (min-width: 901px) {
  .mobile-bar {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

@media print {
  body {
    background: white;
    color: black;
  }

  body::before,
  .mobile-bar,
  .hero::after,
  .map-link,
  .primary {
    display: none !important;
  }

  .page {
    width: 100%;
    padding: 0;
  }

  .layout {
    display: block;
  }

  .panel,
  .receipt {
    break-inside: avoid;
    box-shadow: none;
  }
}
