* {
  box-sizing: border-box;
}
:root {
  --blue: #2465fa;
  --blue-dark: #1450db;
  --orange: #ff7628;
  --ink: #10131d;
  --muted: #788294;
  --pale: #edf4fa;
  --border: #e7edf3;
  --shadow: 0 16px 50px #193e6812;
}
body {
  margin: 0;
  background: var(--pale);
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
button,
input {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  border: 0;
  background: none;
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
.pay-option:has(input:focus-visible) {
  outline: 3px solid #ff9b5e;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}

.pilot-header {
  height: 86px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 0 max(5vw, 16px);
  background: var(--blue);
  color: white;
}
.pilot-brand {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -1.5px;
}
.pilot-brand img {
  display: block;
  height: 1.05em;
  width: auto;
}

.lang-switch {
  display: flex;
  padding: 4px;
  border-radius: 999px;
  background: #ffffff24;
}
.lang-switch button {
  min-width: 52px;
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  color: white;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.lang-switch button[aria-pressed='true'] {
  background: white;
  color: var(--blue);
}

.pilot-layout {
  max-width: 1160px;
  margin: 56px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
  gap: 56px;
  align-items: start;
}
.pilot-intro {
  position: sticky;
  top: 32px;
  padding-top: 32px;
}
.pilot-eyebrow {
  display: block;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.4px;
}
.pilot-intro h1 {
  margin: 14px 0 16px;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.04;
  letter-spacing: -2px;
}
.pilot-intro p {
  margin: 0;
  max-width: 440px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}
.pilot-steps {
  list-style: none;
  padding: 0;
  margin: 34px 0 0;
  display: grid;
  gap: 10px;
  max-width: 340px;
}
.pilot-steps li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: white;
  box-shadow: var(--shadow);
  font-weight: 700;
}
.pilot-steps b,
legend b {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #2465fa14;
  color: var(--blue);
  font-size: 13px;
}

.pilot-panel {
  padding: 28px;
  border-radius: 28px;
  background: white;
  box-shadow: var(--shadow);
}
fieldset {
  margin: 0 0 26px;
  padding: 0 0 26px;
  border: 0;
  border-bottom: 1px solid var(--border);
  min-width: 0;
}
legend {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 0;
  font-size: 19px;
  font-weight: 800;
}
.pilot-field {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  color: #3b4557;
}
.pilot-field input {
  width: 100%;
  min-width: 0;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #f7fafd;
  font-size: 16px;
}
.pilot-field input:focus {
  border-color: var(--blue);
  background: white;
}
.address-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.address-grid .pilot-field {
  margin-bottom: 0;
}
.pilot-hint {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.pilot-error {
  margin: 8px 0 0;
  color: #d4380d;
  font-size: 13px;
  font-weight: 700;
}

.venue-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.venue-card {
  display: grid;
  gap: 4px;
  padding: 14px;
  text-align: left;
  border: 2px solid var(--border);
  border-radius: 16px;
  background: white;
  transition:
    border-color 0.18s,
    background 0.18s;
}
.venue-card:hover {
  border-color: #b9cdf9;
}
.venue-card[aria-checked='true'] {
  border-color: var(--blue);
  background: #2465fa0d;
}
.venue-card b {
  font-size: 15px;
}
.venue-card span {
  color: var(--muted);
  font-size: 12px;
}
.venue-card small {
  margin-top: 4px;
  color: var(--orange);
  font-weight: 700;
  font-size: 12px;
}

.venue-menu {
  margin-top: 18px;
}
.venue-menu h3 {
  margin: 0 0 8px;
  font-size: 15px;
}
.dish {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
}
.dish > div:first-child {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.dish span {
  color: var(--muted);
  font-size: 12px;
}
.dish strong {
  font-size: 14px;
}
.dish.off {
  opacity: 0.5;
}
.stepper {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: var(--pale);
}
.stepper button {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: white;
  font-size: 18px;
  font-weight: 700;
  color: var(--blue);
}
.stepper button:disabled {
  cursor: default;
  color: #b8c0cc;
}
.stepper output {
  min-width: 22px;
  text-align: center;
  font-weight: 800;
}

.pay-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.pay-option {
  position: relative;
  display: flex;
  border: 2px solid var(--border);
  border-radius: 16px;
  cursor: pointer;
}
.pay-option input {
  position: absolute;
  opacity: 0;
}
.pay-option span {
  display: grid;
  gap: 4px;
  padding: 14px;
}
.pay-option small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}
.pay-option:has(input:checked) {
  border-color: var(--blue);
  background: #2465fa0d;
}

.pilot-summary {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  padding: 18px;
  border-radius: 18px;
  background: var(--pale);
}
.pilot-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.pilot-summary div {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}
.pilot-summary span {
  color: var(--muted);
}
.pilot-summary .total {
  padding-top: 10px;
  border-top: 1px solid #d6e1ee;
  font-size: 18px;
}
.pilot-summary .total span {
  color: var(--ink);
  font-weight: 800;
}
.pilot-submit {
  width: 100%;
  height: 56px;
  border-radius: 16px;
  background: var(--orange);
  color: white;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 12px 28px #ff762840;
  transition:
    background 0.18s,
    transform 0.18s;
}
.pilot-submit:hover {
  background: #f26514;
  transform: translateY(-1px);
}
.pilot-submit:disabled {
  background: #ffb27f;
  box-shadow: none;
  cursor: progress;
  transform: none;
}
.pilot-send-error {
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff1ec;
}
.pilot-discard {
  display: block;
  margin: 10px auto 0;
  background: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
}
.pilot-discard[hidden] {
  display: none;
}
#pilot-form fieldset:disabled {
  opacity: 0.6;
}
.pilot-fine {
  margin: 12px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}

.pilot-dialog {
  width: min(440px, calc(100vw - 32px));
  padding: 32px 28px 24px;
  border: 0;
  border-radius: 28px;
  text-align: center;
  box-shadow: 0 30px 80px #10131d33;
}
.pilot-dialog::backdrop {
  background: #10131d66;
}
.done-mark {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: var(--blue);
  color: white;
  font-size: 30px;
  font-weight: 900;
}
.pilot-dialog h2 {
  margin: 18px 0 8px;
  font-size: 24px;
  letter-spacing: -0.5px;
}
.pilot-dialog p {
  color: var(--muted);
  line-height: 1.5;
}
.pilot-dialog dl {
  margin: 18px 0;
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--pale);
  text-align: left;
}
.pilot-dialog dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
}
.pilot-dialog dt {
  color: var(--muted);
}
.pilot-dialog dd {
  margin: 0;
  min-width: 0;
  font-weight: 800;
  overflow-wrap: anywhere;
  text-align: right;
}
.pilot-link {
  display: block;
  margin-top: 14px;
  color: var(--blue);
  font-weight: 700;
}

@media (max-width: 880px) {
  .pilot-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    margin: 28px auto;
    padding: 0 16px;
  }
  .pilot-intro {
    position: static;
    padding-top: 0;
  }
  .pilot-steps {
    display: none;
  }
  .pilot-panel {
    padding: 22px 18px;
  }
}
@media (max-width: 520px) {
  .pilot-header {
    height: 70px;
  }
  .pilot-brand {
    font-size: 24px;
  }
  .pay-options {
    grid-template-columns: 1fr;
  }
  .address-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
