* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: #f5f4f1;
  color: #1f1f1f;
}

.topbar {
  background: #111;
  color: white;
  padding: calc(18px + env(safe-area-inset-top)) 24px 18px;
}

.brand {
  max-width: 1000px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: white;
  color: #111;
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 700;
}

.brand h1 {
  margin: 0;
  font-size: 25px;
}

.brand span {
  font-size: 13px;
  opacity: .7;
}

.container {
  max-width: 900px;
  margin: auto;
  padding: 45px 20px 80px;
}

.hero {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 38px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 700;
}

.hero h2 {
  font-size: clamp(34px, 7vw, 58px);
  line-height: 1.02;
  margin: 15px 0;
}

.hero p {
  font-size: 17px;
  line-height: 1.6;
  color: #666;
}

.card {
  background: white;
  border-radius: 22px;
  padding: 32px;
  box-shadow: 0 8px 35px rgba(0,0,0,.07);
}

.card h3 {
  margin: 0;
  font-size: 28px;
}

.subtitle {
  color: #777;
  margin-bottom: 28px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
}

.full {
  grid-column: 1 / -1;
}

label {
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  font: inherit;
  border: 1px solid #d8d8d8;
  border-radius: 11px;
  padding: 14px;
  background: white;
  outline: none;
}
input:focus,
select:focus,
textarea:focus {
    border-color: #222;
}

button {
    width: 100%;
    margin-top: 24px;
    padding: 17px;
    border: 0;
    border-radius: 12px;
    background: #111;
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}
button:active {
  transform: scale(.99);
}

@media (max-width: 650px) {
  .container {
    padding: 30px 15px 60px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .full {
    grid-column: auto;
  }

  .card {
    padding: 22px 17px;
    border-radius: 18px;
  }
}
/* Staff type buttons */
.staff-type-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 100%;
}

.staff-option {
  width: 100%;
  margin-top: 0;
  padding: 13px 8px;
  min-height: 50px;
  border: 1px solid #d8d8d8;
  border-radius: 11px;
  background: white;
  color: #1f1f1f;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.staff-option.active {
  background: #111;
  color: white;
  border-color: #111;
}

.staff-option:last-child {
  grid-column: 1 / -1;
}

/* iPhone date/time fields: keep them inside the card */
input[type="date"],
input[type="time"] {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  min-height: 52px;
  text-align: left;
}
.field { min-width: 0; }

/* Footer: big, well-spaced buttons that are easy to tap */
.footer-links {
  max-width: 420px;
  margin: 28px auto 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-btn {
  display: block;
  padding: 15px 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #ddd;
  color: #222;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
.footer-btn:active { background: #f0eee8; }
.footer-legal {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 10px;
}
.footer-legal a {
  color: #777;
  font-size: 14px;
  text-decoration: none;
  padding: 10px 4px;
}
