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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f5f5f7;
  color: #1d1d1f;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

.waiver-header {
  background: rgba(240,224,192,0.95);
  padding: 36px 24px 32px;
  text-align: center;
}
.brand {
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 4px;
  margin-bottom: 20px;
  display: inline-block;
}
.brand .ride { color: #ab4943; }
.brand .gap { margin: 0 2px; }
.waiver-header h1 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}
.subtitle {
  font-size: 15px;
  color: #6e6e73;
}

.waiver-form {
  max-width: 560px;
  margin: 0 auto;
  padding: 24px 20px 40px;
}

.field-group {
  margin-bottom: 20px;
}
.field-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #1d1d1f;
}
.field-group input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d2d2d7;
  border-radius: 12px;
  font-size: 16px;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.field-group input:focus {
  outline: none;
  border-color: #c25550;
}

.terms-scroll {
  background: #fff;
  border: 1px solid #d2d2d7;
  border-radius: 12px;
  padding: 20px;
  max-height: 320px;
  overflow-y: auto;
  margin-bottom: 24px;
  -webkit-overflow-scrolling: touch;
}
.terms-scroll h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}
.terms-scroll h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 16px 0 6px;
  color: #1d1d1f;
}
.terms-scroll p {
  font-size: 13px;
  color: #6e6e73;
  line-height: 1.6;
}

.checkbox-group {
  margin-bottom: 28px;
}
.check-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #e5e5e7;
  cursor: pointer;
}
.check-label:last-child { border-bottom: none; }
.check-label input[type="checkbox"] {
  width: 22px;
  height: 22px;
  min-width: 22px;
  margin-top: 1px;
  accent-color: #c25550;
  cursor: pointer;
}
.check-label span {
  font-size: 15px;
  line-height: 1.4;
  color: #1d1d1f;
}

.signature-section {
  margin-bottom: 28px;
}
.signature-section label {
  font-size: 14px;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}
.sig-hint {
  font-size: 13px;
  color: #6e6e73;
  margin-bottom: 10px;
}
.sig-wrapper {
  position: relative;
  background: #fff;
  border: 1px solid #d2d2d7;
  border-radius: 12px;
  overflow: hidden;
}
#sigCanvas {
  width: 100%;
  height: 160px;
  display: block;
  touch-action: none;
}
.sig-clear {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0,0,0,0.05);
  border: none;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 13px;
  font-family: inherit;
  font-weight: 500;
  color: #6e6e73;
  cursor: pointer;
}

.submit-btn {
  width: 100%;
  padding: 16px;
  background: #c25550;
  color: #fff;
  border: none;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
}
.submit-btn:hover { background: #d4625d; }
.submit-btn:disabled {
  background: #d2d2d7;
  cursor: not-allowed;
}

.status-msg {
  text-align: center;
  margin-top: 12px;
  font-size: 14px;
  color: #c25550;
  min-height: 20px;
}

.confirmation {
  max-width: 560px;
  margin: 0 auto;
  padding: 60px 24px;
  text-align: center;
}
.confirm-icon {
  width: 64px;
  height: 64px;
  background: #c25550;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  margin: 0 auto 20px;
}
.confirmation h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
}
.confirmation p {
  font-size: 15px;
  color: #6e6e73;
  line-height: 1.5;
}
.confirm-sub {
  margin-top: 8px;
  font-size: 14px;
}
.new-btn {
  margin-top: 32px;
  padding: 14px 32px;
  background: #1d1d1f;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}
