.discovery-page{
  background:
    radial-gradient(circle at 12% 0%,rgba(230,9,16,.16),transparent 32%),
    radial-gradient(circle at 88% 8%,rgba(230,9,16,.08),transparent 26%),
    linear-gradient(180deg,#070707 0%,#101010 42%,#f3f3f3 42%,#f3f3f3 100%);
  color:#111;
  min-height:100vh;
}

.discovery-main{
  padding:0 0 56px;
}

.discovery-wrap{
  max-width:720px;
  margin:0 auto;
  padding:18px 20px 0;
}

.discovery-topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:14px;
}

.discovery-back-link{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#cfcfcf;
  text-decoration:none;
  font-size:.88rem;
  font-weight:700;
  white-space:nowrap;
}

.discovery-back-link:hover{
  color:#fff;
}

.discovery-progress{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.discovery-progress-meta{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:2px;
  min-width:0;
}

.discovery-progress-count{
  font-family:Montserrat,Arial,sans-serif;
  font-size:.68rem;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#ffb3b3;
}

.discovery-progress-label{
  color:#eee;
  font-size:.86rem;
  font-weight:700;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:180px;
}

.discovery-progress-track{
  display:flex;
  gap:6px;
  list-style:none;
  margin:0;
  padding:0;
}

.discovery-progress-dot{
  width:8px;
  height:8px;
  border-radius:999px;
  background:rgba(255,255,255,.22);
}

.discovery-progress-dot.is-complete{
  background:rgba(255,255,255,.55);
}

.discovery-progress-dot.is-current{
  width:22px;
  background:var(--accent);
}

.discovery-card{
  position:relative;
  background:#fff;
  border:1px solid #e7e7e7;
  border-radius:18px;
  padding:24px 24px 26px;
  box-shadow:0 18px 44px rgba(0,0,0,.22);
  overflow:hidden;
}

.discovery-card:before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:3px;
  background:linear-gradient(90deg,var(--accent),#ff5a5f);
}

.discovery-eyebrow{
  display:inline-block;
  font-family:Montserrat,Arial,sans-serif;
  color:var(--accent);
  font-size:.7rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.18em;
}

.discovery-card h1{
  font-family:Montserrat,Arial,sans-serif;
  font-size:clamp(1.55rem,3.4vw,2.05rem);
  line-height:1.08;
  margin:8px 0 8px;
  letter-spacing:-.03em;
}

.discovery-lede{
  color:#555;
  font-size:.98rem;
  line-height:1.5;
  margin:0 0 18px;
}

.discovery-message{
  padding:12px 14px;
  border-radius:10px;
  margin-bottom:16px;
  font-size:.94rem;
}

.discovery-message.is-error{
  background:#fff1f1;
  border:1px solid #f3c1c1;
  color:#8f1f1f;
}

.discovery-field-grid{
  display:grid;
  gap:14px;
}

.discovery-field.is-half{
  grid-column:span 1;
}

@media (min-width:720px){
  .discovery-field-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .discovery-field:not(.is-half){
    grid-column:1 / -1;
  }
}

.discovery-field label{
  display:block;
  font-weight:800;
  margin-bottom:6px;
  font-size:.88rem;
}

.discovery-field input,
.discovery-field select,
.discovery-field textarea{
  width:100%;
  border:1px solid #d2d2d2;
  border-radius:12px;
  padding:12px 14px;
  font:inherit;
  background:#fafafa;
  transition:border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.discovery-field input:focus,
.discovery-field select:focus,
.discovery-field textarea:focus{
  outline:none;
  border-color:rgba(230,9,16,.55);
  background:#fff;
  box-shadow:0 0 0 4px rgba(230,9,16,.08);
}

.discovery-field textarea{
  resize:vertical;
  min-height:120px;
}

.discovery-checkboxes{
  display:grid;
  gap:8px;
}

.discovery-checkbox{
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-weight:500;
  padding:9px 11px;
  border:1px solid #e4e4e4;
  border-radius:10px;
  background:#fafafa;
}

.discovery-checkbox input{
  width:auto;
  margin-top:3px;
}

.discovery-submit{
  width:100%;
  margin-top:8px;
}

.discovery-form-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-top:8px;
}

.discovery-form-actions .discovery-submit{
  width:auto;
  min-width:220px;
  margin-top:0;
}

.discovery-secondary-link{
  color:#666;
  text-decoration:none;
  font-weight:800;
}

.discovery-secondary-link:hover{
  color:var(--accent);
}

.discovery-schedule-panel{
  display:grid;
  gap:16px;
}

.discovery-schedule-box{
  padding:22px 20px;
  border-radius:16px;
  background:linear-gradient(180deg,#fff8f8 0%,#fff 100%);
  border:1px solid #f0d0d0;
}

.discovery-schedule-box h2{
  margin:0 0 8px;
  font-family:Montserrat,Arial,sans-serif;
  font-size:1.35rem;
}

.discovery-schedule-list{
  margin:0 0 18px;
  padding-left:18px;
  color:#444;
}

.discovery-schedule-list li{
  margin-bottom:6px;
}

.discovery-schedule-btn,
.discovery-complete-btn{
  display:inline-flex;
  justify-content:center;
  width:100%;
}

.discovery-complete-btn{
  margin-top:10px;
}

.discovery-schedule-note{
  margin:12px 0 0;
  color:#666;
  font-size:.88rem;
  line-height:1.5;
}

.discovery-schedule-note a{
  color:var(--accent);
  font-weight:700;
}

.discovery-booked-card{
  text-align:center;
}

.discovery-booked-card h1{
  margin-bottom:12px;
}

@media (max-width:719px){
  .discovery-wrap{
    padding:14px 16px 0;
  }

  .discovery-topbar{
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
  }

  .discovery-progress{
    width:100%;
    justify-content:space-between;
  }

  .discovery-progress-meta{
    align-items:flex-start;
  }

  .discovery-card{
    padding:20px 16px;
  }

  .discovery-form-actions{
    flex-direction:column-reverse;
    align-items:stretch;
  }

  .discovery-form-actions .discovery-submit{
    width:100%;
    min-width:0;
  }

  .discovery-secondary-link{
    text-align:center;
  }
}
