:root {
  --black: #000000;
  --orange: #FE6900;
  --orange-soft: #FF6E3B;
  --grey-dark: #3A3A3A;
  --grey-light: #A3A3A3;
  --white: #FFFFFF;

  --radius: 14px;
  --shadow-glow: 0 0 40px rgba(254, 105, 0, 0.15);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--black);
  color: var(--white);
  min-height: 100vh;
  line-height: 1.5;
}

/* ===== Hero (landing page only) ===== */
.hero {
  position: relative;
  width: 100%;
  height: 42vh;
  min-height: 280px;
  background: linear-gradient(160deg, #1a1a1a 0%, #000000 70%);
  /* Replace background-image with your real photo later:
     background-image: url('/img/hero-tandem.jpg');
     background-size: cover;
     background-position: center; */
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.95) 95%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 20px 28px;
  width: 100%;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}
.hero h1 {
  font-family: 'Archivo Black', sans-serif;
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.hero h1 span { color: var(--orange); }

/* ===== Layout ===== */
.page {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 20px 48px;
}
.page-no-hero { padding-top: 36px; }

/* ===== Progress bar (signature element) ===== */
.altitude-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.altitude-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-light);
  white-space: nowrap;
}
.altitude-track {
  flex: 1;
  height: 6px;
  background: var(--grey-dark);
  border-radius: 99px;
  overflow: hidden;
  position: relative;
}
.altitude-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange-soft) 100%);
  border-radius: 99px;
  transition: width 0.4s ease;
  box-shadow: var(--shadow-glow);
}

/* ===== Card (light surface for forms) ===== */
.card {
  background: var(--white);
  color: var(--black);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

/* ===== Typography ===== */
.title-display {
  font-family: 'Archivo Black', sans-serif;
  font-size: 24px;
  line-height: 1.15;
  margin-bottom: 8px;
  color: var(--black);
}
.subtitle {
  font-size: 14px;
  color: var(--grey-dark);
  margin-bottom: 22px;
}

/* ===== Form fields ===== */
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 6px;
}

.field input:not([type="checkbox"]), .field select {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid #e2e2e2;
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  color: var(--black);
  background: #fafafa;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

/*
.field input, .field select {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid #e2e2e2;
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  color: var(--black);
  background: #fafafa;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
  */
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--orange);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(254, 105, 0, 0.15);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hint { font-size: 11px; color: var(--grey-light); margin-top: 4px; }

/* Honeypot — hidden from real users */
.honeypot { position: absolute; left: -9999px; top: -9999px; }

/* ===== Bot check ===== */
.bot-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border: 1.5px solid #e2e2e2;
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.2s;
}
.bot-check:hover { border-color: var(--orange); }
.bot-check input[type=checkbox] {
  width: 20px; height: 20px;
  accent-color: var(--orange);
  cursor: pointer;
}
.bot-check-label { font-size: 14px; font-weight: 500; color: var(--black); }

/* ===== Buttons ===== */
.btn {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover:not(:disabled) {
  background: var(--orange-soft);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(254, 105, 0, 0.35);
}
.btn-primary:disabled { background: var(--grey-light); cursor: not-allowed; transform: none; }
.btn-ghost {
  background: transparent;
  color: var(--grey-dark);
  font-size: 13px;
  font-weight: 600;
  padding: 10px;
}
.btn-ghost:hover { color: var(--black); }

/* ===== Day list ===== */
.day-list { display: flex; flex-direction: column; gap: 10px; }
.day-item {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1.5px solid #e2e2e2;
  cursor: pointer;
  transition: all 0.2s;
  background: #fff;
}
.day-item:hover:not(.day-item--disabled) {
  border-color: var(--orange);
  box-shadow: 0 4px 16px rgba(254, 105, 0, 0.12);
  transform: translateY(-1px);
}
.day-item--disabled { cursor: default; opacity: 0.5; }
.day-item--selected { border-color: var(--orange); background: #FFF4ED; }

.day-info { flex: 1; min-width: 0; }
.day-weekday {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--grey-light);
}
.day-date { font-size: 15px; font-weight: 700; color: var(--black); }

.status-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}
.status-open { background: #DCFCE7; color: #16A34A; }
.status-limited { background: #FEF3C7; color: #D97706; }
.status-full { background: #FEE2E2; color: #DC2626; }

/* ===== Error / messages ===== */
.error-msg {
  background: #FEE2E2;
  color: #B91C1C;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 16px;
  display: none;
}
.error-msg.show { display: block; }

/* ===== Success screen ===== */
.success-screen { text-align: center; padding: 8px 0; }
.success-icon { font-size: 52px; margin-bottom: 16px; }
.success-title {
  font-family: 'Archivo Black', sans-serif;
  font-size: 22px;
  color: var(--black);
  margin-bottom: 10px;
}
.success-body { font-size: 14px; color: var(--grey-dark); line-height: 1.6; }
.success-date {
  display: inline-block;
  background: #FFF4ED;
  color: var(--orange);
  font-weight: 700;
  font-size: 14px;
  padding: 9px 18px;
  border-radius: 99px;
  margin: 14px 0;
}

/* ===== Responsive ===== */
@media (max-width: 360px) {
  .card { padding: 22px 16px; }
  .hero h1 { font-size: 26px; }
}

/* ===== Modal / bottom sheet ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: flex-end;
  justify-content: center;
  z-index: 100;
  backdrop-filter: blur(2px);
}
.modal-overlay.show {
  display: flex;
  animation: fadeIn 0.2s ease;
}
.modal-sheet {
  background: var(--white);
  color: var(--black);
  width: 100%;
  max-width: 480px;
  border-radius: 20px 20px 0 0;
  padding: 12px 22px 28px;
  animation: slideUp 0.3s ease;
}
.modal-handle {
  width: 40px;
  height: 4px;
  background: #e2e2e2;
  border-radius: 99px;
  margin: 0 auto 18px;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(40px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.divider {
  border: none;
  border-top: 1px solid #f0f0f0;
  margin: 22px 0 18px;
}
.section-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--grey-dark);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}