:root {
  color-scheme: light;
  --ink: #13201c;
  --muted: #5b6b65;
  --paper: #fffdf8;
  --wash: #f3f5ef;
  --line: #d8e0d9;
  --green: #0d6b5d;
  --mint: #dff1e7;
  --clay: #c66048;
  --blue: #2f6f8f;
  --plum: #6750a4;
  --dark: #0b1715;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--wash);
  color: var(--ink);
  line-height: 1.45;
}

a {
  color: inherit;
}

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(16px, 4vw, 52px);
  background: rgba(255, 253, 248, 0.9);
  border-bottom: 1px solid rgba(216, 224, 217, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  color: var(--green);
  font-weight: 900;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a {
  text-decoration: none;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 0 16px;
  border: 1px solid var(--green);
  font-weight: 850;
  text-decoration: none;
}

.primary {
  background: var(--green);
  color: #fff;
}

.secondary {
  background: rgba(255, 255, 255, 0.74);
  color: var(--green);
}

.hero {
  min-height: 88vh;
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  padding: 116px clamp(18px, 5vw, 72px) 64px;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(243, 245, 239, 0.98) 0%, rgba(243, 245, 239, 0.9) 42%, rgba(243, 245, 239, 0.34) 74%, rgba(243, 245, 239, 0.9) 100%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.9), rgba(223, 241, 231, 0.36));
  z-index: -2;
}

.hero-copy {
  max-width: 660px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-weight: 900;
}

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

h1 {
  margin-bottom: 0;
  font-size: clamp(3.2rem, 9vw, 7.6rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4.6vw, 3.8rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.lead {
  max-width: 600px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.34rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.calendar-scene {
  position: absolute;
  inset: 88px clamp(12px, 4vw, 52px) 34px auto;
  width: min(49vw, 680px);
  display: grid;
  grid-template-rows: 58px 1fr;
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid rgba(16, 32, 28, 0.12);
  border-radius: 8px;
  box-shadow: 0 34px 90px rgba(16, 32, 28, 0.16);
  overflow: hidden;
  z-index: -1;
}

.scene-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
}

.scene-title {
  color: var(--green);
  font-weight: 900;
}

.scene-tabs {
  display: flex;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
}

.scene-tabs span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  background: #fff;
}

.scene-grid {
  display: grid;
  grid-template-columns: 86px repeat(4, minmax(130px, 1fr));
  min-height: 470px;
}

.hours {
  border-right: 1px solid var(--line);
  color: #708079;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 24px 14px;
  display: grid;
  grid-template-rows: repeat(7, 1fr);
  white-space: nowrap;
}

.provider {
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(223, 241, 231, 0.95) 0 58%, rgba(235, 238, 231, 0.95) 58% 100%);
  padding: 18px 12px;
}

.provider:nth-child(3) {
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.98) 0 45%, rgba(235, 238, 231, 0.95) 45% 100%);
}

.provider:nth-child(4) {
  background: linear-gradient(180deg, rgba(223, 241, 231, 0.95) 0 68%, rgba(235, 238, 231, 0.95) 68% 100%);
}

.provider:last-child {
  border-right: 0;
}

.provider strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 12px;
}

.appt {
  border-radius: 6px;
  padding: 10px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 850;
  box-shadow: 0 10px 22px rgba(16, 32, 28, 0.12);
}

.appt small {
  display: block;
  opacity: 0.88;
  margin-top: 5px;
  font-weight: 750;
}

.appt + .appt {
  margin-top: 10px;
}

.ready {
  background: var(--plum);
  min-height: 74px;
}

.paid {
  background: var(--green);
  min-height: 112px;
}

.deposit {
  background: var(--blue);
  min-height: 86px;
}

.checkin {
  background: var(--clay);
  min-height: 70px;
}

.below-fold {
  min-height: 12vh;
  display: flex;
  align-items: center;
  padding: 0 clamp(18px, 5vw, 72px) 40px;
  color: var(--muted);
}

.signal-strip,
.workflow,
.cards,
.pricing-panel,
.proof,
.cta-panel {
  border-radius: 8px;
}

.signal-strip {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--paper);
}

.signal {
  padding: 18px;
  border-right: 1px solid var(--line);
}

.signal:last-child {
  border-right: 0;
}

.signal span {
  display: block;
  color: var(--ink);
  font-weight: 900;
  margin-bottom: 4px;
}

section {
  padding: 64px clamp(18px, 5vw, 72px);
}

.section-head {
  max-width: 820px;
  margin-bottom: 30px;
}

.section-head p,
.card p,
.pricing-panel p,
.proof p,
.cta-panel p,
.muted {
  color: var(--muted);
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--paper);
}

.step {
  min-height: 230px;
  padding: 22px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.step:last-child {
  border-right: 0;
}

.step-number {
  color: var(--green);
  font-weight: 900;
}

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

.card {
  min-height: 220px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.card em {
  display: block;
  margin-top: 18px;
  color: var(--green);
  font-style: normal;
  font-weight: 900;
}

.pricing-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: center;
  background: var(--dark);
  color: #f7fbf8;
  padding: clamp(26px, 4vw, 44px);
}

.pricing-panel p {
  color: #b9c8c2;
}

.price {
  color: var(--mint);
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.9;
  font-weight: 950;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.badge {
  border: 1px solid rgba(223, 241, 231, 0.28);
  border-radius: 999px;
  padding: 7px 10px;
  color: #dcebe5;
  font-size: 0.88rem;
  font-weight: 800;
}

.proof {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 28px;
  align-items: stretch;
}

.proof-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.proof-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.proof-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}

.proof-row b {
  color: var(--green);
}

.cta-panel {
  display: grid;
  grid-template-columns: 1fr max-content;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.page-hero {
  min-height: 54vh;
  display: grid;
  align-items: end;
  padding: 126px clamp(18px, 5vw, 72px) 56px;
  background: linear-gradient(180deg, var(--paper), var(--wash));
  border-bottom: 1px solid var(--line);
}

.page-hero .hero-copy {
  max-width: 820px;
}

.page-hero h1 {
  font-size: clamp(3rem, 7vw, 6.4rem);
}

.fine-print {
  max-width: 760px;
  color: var(--muted);
  font-size: 0.95rem;
}

footer {
  padding: 30px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 980px) {
  .calendar-scene {
    width: calc(100% - 36px);
    inset: auto 18px 28px;
    height: 290px;
    opacity: 0.72;
  }

  .scene-grid {
    grid-template-columns: 58px repeat(3, minmax(0, 1fr));
    min-height: 232px;
  }

  .scene-tabs,
  .provider:last-child {
    display: none;
  }

  .provider {
    padding: 12px 8px;
  }

  .provider strong {
    font-size: 0.78rem;
  }

  .appt {
    min-height: 48px;
    font-size: 0.68rem;
  }

  .hero {
    min-height: auto;
    align-items: start;
    padding-top: 148px;
    padding-bottom: 350px;
  }

  .cards,
  .proof,
  .pricing-panel,
  .cta-panel,
  .workflow,
  .signal-strip {
    grid-template-columns: 1fr;
  }

  .step,
  .signal {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .step:last-child,
  .signal:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 720px) {
  .nav-links a:not(.button) {
    display: none;
  }

  h1 {
    font-size: clamp(3.2rem, 18vw, 5.4rem);
  }

  .proof-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .cta-panel .button {
    width: 100%;
  }
}
