:root {
  --teal: #1a7a6e;
  --teal-dark: #0d5f58;
  --teal-soft: #e4f3f0;
  --gold: #f5a623;
  --ink: #1e2530;
  --muted: #667078;
  --paper: #f8f9fa;
  --white: #ffffff;
  --line: #dfe7e5;
  --shadow: 0 28px 80px rgba(30, 37, 48, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 76px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(248, 249, 250, 0.86);
  border-bottom: 1px solid rgba(223, 231, 229, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: max-content;
  font-family: "Poppins", Arial, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-word {
  color: var(--ink);
}

.brand-word span,
.app-logo span {
  color: var(--teal);
}

.brand-check,
.large-check {
  position: relative;
  display: inline-block;
  border: 3px solid var(--teal);
  border-radius: 999px;
}

.brand-check {
  width: 32px;
  height: 32px;
}

.brand-check::before,
.large-check::before {
  position: absolute;
  content: "";
  width: 46%;
  height: 24%;
  left: 25%;
  top: 31%;
  border-left: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
  transform: rotate(-45deg);
}

.brand-check::after,
.large-check::after {
  position: absolute;
  content: "";
  width: 5px;
  height: 5px;
  right: -5px;
  top: -7px;
  background: var(--gold);
  border-radius: 999px;
  box-shadow: 9px 8px 0 var(--gold), 0 16px 0 var(--gold);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-weight: 700;
}

.site-nav a:hover {
  color: var(--teal);
}

.nav-action,
.text-link,
.search-panel button,
.signup-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  background: var(--teal);
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 14px 32px rgba(26, 122, 110, 0.2);
}

.nav-action:hover,
.text-link:hover,
.search-panel button:hover,
.signup-form button:hover {
  background: var(--teal-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.78fr);
  align-items: center;
  gap: clamp(34px, 6vw, 88px);
  min-height: calc(100vh - 76px);
  padding: clamp(36px, 6vw, 84px) clamp(20px, 5vw, 72px) 32px;
  overflow: hidden;
}

.hero-copy {
  max-width: 790px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Poppins", Arial, sans-serif;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 7vw, 6.7rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.8vw, 4.6rem);
}

h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.hero-text {
  max-width: 700px;
  margin-bottom: 28px;
  color: #3f4a51;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.search-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 1fr)) auto;
  align-items: end;
  gap: 10px;
  max-width: 940px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.search-panel label,
.signup-form label {
  display: grid;
  gap: 6px;
}

.search-panel span,
.signup-form span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.search-panel select,
.signup-form input,
.signup-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
  color: var(--ink);
  padding: 0 12px;
  font-weight: 700;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(26, 122, 110, 0.18);
  border-radius: 999px;
  background: rgba(228, 243, 240, 0.72);
  color: var(--teal-dark);
  font-size: 0.92rem;
  font-weight: 800;
}

.hero-visual {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.phone {
  position: relative;
  width: min(100%, 390px);
  min-height: 720px;
  padding: 62px 22px 22px;
  background: var(--white);
  border: 12px solid #10141b;
  border-radius: 48px;
  box-shadow: 0 34px 90px rgba(30, 37, 48, 0.28);
}

.phone-top {
  position: absolute;
  top: 16px;
  left: 50%;
  width: 126px;
  height: 24px;
  border-radius: 0 0 18px 18px;
  background: #10141b;
  transform: translateX(-50%);
}

.app-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.app-logo {
  font-family: "Poppins", Arial, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.app-header p,
.app-subtitle {
  color: var(--muted);
  font-size: 0.84rem;
}

.app-header p {
  margin: 7px 0 0;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  background: var(--teal-soft);
}

.icon-button span,
.icon-button span::before,
.icon-button span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--teal);
  content: "";
}

.icon-button span::before {
  transform: translateY(-6px);
}

.icon-button span::after {
  transform: translateY(4px);
}

.phone h2 {
  margin-bottom: 6px;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 1.85rem;
  line-height: 1.1;
}

.filters {
  display: grid;
  overflow: hidden;
  margin: 22px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(30, 37, 48, 0.06);
}

.filters div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

.filters div:last-child {
  border-bottom: 0;
}

.filter-icon,
.service-icon {
  position: relative;
  flex: 0 0 auto;
  display: inline-block;
  width: 23px;
  height: 23px;
  color: var(--teal);
}

.pin {
  border: 2px solid currentColor;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg) scale(0.78);
}

.pin::after {
  position: absolute;
  inset: 6px;
  border: 2px solid currentColor;
  border-radius: 999px;
  content: "";
}

.user::before {
  position: absolute;
  left: 7px;
  top: 2px;
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 999px;
  content: "";
}

.user::after {
  position: absolute;
  left: 3px;
  bottom: 2px;
  width: 15px;
  height: 10px;
  border: 2px solid currentColor;
  border-radius: 10px 10px 4px 4px;
  content: "";
}

.cal {
  border: 2px solid currentColor;
  border-radius: 5px;
}

.cal::before {
  position: absolute;
  left: 4px;
  right: 4px;
  top: 6px;
  height: 2px;
  background: currentColor;
  content: "";
}

.appt-list {
  display: grid;
  gap: 10px;
}

.appt-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 74px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.avatar {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  overflow: hidden;
}

.avatar::before {
  position: absolute;
  left: 50%;
  top: 9px;
  width: 15px;
  height: 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  content: "";
  transform: translateX(-50%);
}

.avatar::after {
  position: absolute;
  left: 50%;
  bottom: 7px;
  width: 30px;
  height: 18px;
  border-radius: 18px 18px 8px 8px;
  background: rgba(255, 255, 255, 0.88);
  content: "";
  transform: translateX(-50%);
}

.avatar-a {
  background: linear-gradient(145deg, #1a7a6e, #8bd0c7);
}

.avatar-b {
  background: linear-gradient(145deg, #1e2530, #7f8c98);
}

.avatar-c {
  background: linear-gradient(145deg, #f5a623, #f6d38d);
}

.appt-card strong,
.appt-card span {
  display: block;
}

.appt-card strong {
  font-size: 0.95rem;
}

.appt-card span {
  color: var(--muted);
  font-size: 0.78rem;
}

.appt-card button {
  min-width: 72px;
  min-height: 42px;
  border: 1px solid #c8dfdc;
  border-radius: 8px;
  background: #f4fbfa;
  color: var(--teal-dark);
  font-weight: 800;
}

.book-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 88px;
  margin-top: 16px;
  padding: 16px;
  border-radius: 8px;
  background: var(--teal);
  color: var(--white);
}

.large-check {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  border-color: var(--white);
}

.book-banner strong,
.book-banner span {
  display: block;
}

.book-banner span {
  opacity: 0.86;
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(20px, 5vw, 72px) 28px;
}

.service-strip a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 78px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 800;
}

.service-strip a:hover {
  color: var(--teal);
}

.service-strip a.is-planned {
  color: var(--muted);
}

.service-strip a.is-planned .service-icon {
  opacity: 0.55;
}

.massage {
  border: 2px solid currentColor;
  border-radius: 999px;
}

.massage::after {
  position: absolute;
  left: 9px;
  top: 3px;
  width: 4px;
  height: 15px;
  background: currentColor;
  content: "";
}

.spine::before {
  position: absolute;
  left: 10px;
  top: 2px;
  width: 4px;
  height: 19px;
  background: currentColor;
  border-radius: 999px;
  content: "";
}

.spine::after {
  position: absolute;
  left: 5px;
  top: 5px;
  width: 13px;
  height: 13px;
  border: 2px solid currentColor;
  border-left: 0;
  border-bottom: 0;
  transform: rotate(45deg);
  content: "";
}

.beauty {
  border: 2px solid currentColor;
  border-radius: 999px;
}

.beauty::before,
.beauty::after {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 999px;
  content: "";
}

.beauty::before {
  right: -2px;
  top: -2px;
}

.beauty::after {
  left: -3px;
  bottom: 2px;
}

.fitness::before {
  position: absolute;
  left: 3px;
  top: 10px;
  width: 17px;
  height: 4px;
  background: currentColor;
  content: "";
}

.fitness::after {
  position: absolute;
  left: 2px;
  top: 5px;
  width: 19px;
  height: 14px;
  border-left: 4px solid currentColor;
  border-right: 4px solid currentColor;
  content: "";
}

.wellness {
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 22px solid currentColor;
}

.split-section,
.provider-band,
.expansion-note,
.cta-section {
  padding: clamp(58px, 8vw, 112px) clamp(20px, 5vw, 72px);
}

.expansion-note {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 62px);
  align-items: center;
  background: var(--teal-soft);
}

.expansion-note h2 {
  margin-bottom: 0;
}

.expansion-note p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.12rem;
  font-weight: 700;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(30px, 6vw, 80px);
  background: var(--white);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.steps article {
  padding-top: 18px;
  border-top: 3px solid var(--teal);
}

.steps span {
  color: var(--gold);
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 800;
}

.steps p,
.provider-copy p,
.cta-section p {
  color: var(--muted);
  font-size: 1.03rem;
}

.provider-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  background: #12202a;
  color: var(--white);
}

.provider-copy {
  max-width: 760px;
}

.provider-copy p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.75);
}

.text-link {
  margin-top: 10px;
  background: var(--gold);
  color: var(--ink);
  box-shadow: none;
}

.text-link:hover {
  background: #d98c0d;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.metrics article {
  min-height: 148px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.metrics strong {
  display: block;
  color: var(--gold);
  font-family: "Poppins", Arial, sans-serif;
  font-size: clamp(1.35rem, 2.8vw, 2.1rem);
}

.metrics span {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(24px, 5vw, 62px);
  align-items: center;
  background: var(--teal-soft);
}

.signup-form,
.client-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 0.72fr) auto;
  gap: 10px;
  align-items: end;
}

.beta-app {
  padding: clamp(58px, 8vw, 112px) clamp(20px, 5vw, 72px);
  background: var(--white);
}

.beta-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.beta-heading h2 {
  max-width: 760px;
}

.beta-tabs {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  min-width: min(100%, 540px);
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.beta-tabs button,
.secondary-button {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
}

.beta-tabs button.is-active {
  background: var(--white);
  color: var(--teal-dark);
  border-color: var(--line);
  box-shadow: 0 8px 22px rgba(30, 37, 48, 0.08);
}

.app-status {
  display: none;
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid #c8dfdc;
  border-radius: 8px;
  background: #f4fbfa;
  color: var(--teal-dark);
  font-weight: 800;
}

.app-status.is-visible {
  display: block;
}

.app-status.is-error {
  border-color: #f0c4bc;
  background: #fff5f3;
  color: #9a3422;
}

.app-view {
  display: none;
}

.app-view.is-active {
  display: block;
}

[hidden] {
  display: none !important;
}

.app-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
  box-shadow: 0 12px 34px rgba(30, 37, 48, 0.06);
}

.app-panel h3 {
  margin-bottom: 16px;
  font-size: 1.2rem;
}

.app-panel label {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.app-panel span,
.muted-label {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.app-panel input,
.app-panel textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 10px 12px;
  font-weight: 700;
}

.app-panel textarea {
  resize: vertical;
}

.app-panel button,
.client-filters button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: var(--teal);
  color: var(--white);
  font-weight: 800;
}

.secondary-button {
  border-color: var(--line);
  background: var(--white);
  color: var(--teal-dark);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.provider-auth {
  max-width: 520px;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(280px, 1fr) minmax(280px, 1fr);
  gap: 16px;
  align-items: start;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(280px, 1fr) minmax(280px, 1fr);
  gap: 16px;
  align-items: start;
}

.admin-auth {
  max-width: 620px;
}

.admin-auth p,
.admin-summary p,
.admin-empty {
  margin: 0 0 14px;
  color: var(--muted);
  font-weight: 700;
}

.admin-queue {
  min-height: 220px;
}

.account-panel {
  display: grid;
  gap: 14px;
}

.account-panel strong {
  display: block;
  overflow-wrap: anywhere;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.approval-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.verification-note {
  margin: 0;
  color: var(--teal-dark);
  font-weight: 800;
}

.verification-note.is-warning {
  color: #9a3422;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.slot-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(30, 37, 48, 0.07);
}

.slot-card h3 {
  margin: 0;
  font-size: 1.08rem;
}

.slot-card p {
  margin: 0;
  color: var(--muted);
}

.slot-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.slot-meta span {
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

.slot-card button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--teal);
  color: var(--white);
  font-weight: 800;
}

.booking-form {
  display: grid;
  gap: 8px;
}

.booking-form input {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
}

.provider-slot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.provider-slot:last-child {
  border-bottom: 0;
}

.provider-slot strong,
.provider-slot span {
  display: block;
}

.provider-slot span {
  color: var(--muted);
  font-size: 0.92rem;
}

.status-pill {
  align-self: start;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: capitalize;
}

.admin-business {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.admin-business:last-child {
  border-bottom: 0;
}

.admin-business strong,
.admin-business span {
  display: block;
}

.admin-business span {
  color: var(--muted);
  font-size: 0.92rem;
}

.admin-business button {
  align-self: start;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 72px);
  background: var(--white);
  color: var(--muted);
}

footer .brand {
  font-size: 1.5rem;
}

footer p {
  margin: 0;
  font-weight: 700;
}

@media (max-width: 1040px) {
  .site-nav {
    display: none;
  }

  .hero,
  .split-section,
  .provider-band,
  .expansion-note,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-copy {
    max-width: none;
  }

  .phone {
    min-height: 680px;
  }

  .search-panel,
  .signup-form,
  .client-filters {
    grid-template-columns: 1fr 1fr;
  }

  .search-panel button,
  .signup-form button,
  .client-filters button {
    grid-column: 1 / -1;
  }

  .steps,
  .metrics,
  .slot-grid,
  .dashboard-layout,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .beta-heading {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 68px;
  }

  .nav-action {
    display: none;
  }

  h1 {
    font-size: clamp(2.8rem, 15vw, 4.6rem);
  }

  .hero {
    padding-top: 30px;
  }

  .search-panel,
  .signup-form,
  .client-filters,
  .beta-tabs,
  .service-strip {
    grid-template-columns: 1fr;
  }

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

  .hero-proof {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-proof span {
    justify-content: center;
  }

  .phone {
    width: 100%;
    min-height: 0;
    padding: 54px 14px 16px;
    border-width: 9px;
    border-radius: 36px;
  }

  .app-logo {
    font-size: 1.55rem;
  }

  .appt-card {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 8px;
    padding: 8px;
  }

  .avatar {
    width: 42px;
    height: 42px;
  }

  .appt-card button {
    min-width: 62px;
    padding: 0 8px;
    font-size: 0.86rem;
  }

  .service-strip {
    padding-bottom: 0;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
