:root {
  --cream: #fffaf2;
  --sand: #eadcc8;
  --champagne: #d8bd91;
  --bg: #f7f1e7;
  --surface: rgba(255, 252, 246, 0.78);
  --surface-strong: rgba(255, 250, 241, 0.96);
  --surface-soft: rgba(13, 119, 88, 0.075);
  --ink: #17211d;
  --muted: #6d756e;
  --line: rgba(42, 58, 50, 0.14);
  --green: #0d7758;
  --green-soft: #14966f;
  --lime: #9c7b3e;
  --danger: #9e3b3b;
  --shadow: 0 28px 90px rgba(73, 54, 28, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(13, 119, 88, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 119, 88, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 72% 14%, rgba(13, 119, 88, 0.12), transparent 34%);
  background-size: 42px 42px, 42px 42px, auto;
}

img {
  max-width: 100%;
  display: block;
}

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

code {
  color: var(--green-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  min-height: 66px;
  padding: 10px 14px;
  border: 1px solid rgba(42, 58, 50, 0.12);
  border-radius: 18px;
  background: rgba(255, 250, 241, 0.78);
  box-shadow: 0 18px 60px rgba(73, 54, 28, 0.13);
  backdrop-filter: blur(20px);
  color: var(--ink);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.nav-open {
  border-color: rgba(42, 58, 50, 0.18);
  background: rgba(255, 250, 241, 0.92);
  box-shadow: 0 18px 68px rgba(73, 54, 28, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  width: clamp(196px, 19vw, 268px);
  height: 52px;
  display: block;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 30px);
  font-size: 0.95rem;
  font-weight: 720;
}

.site-nav a {
  opacity: 0.86;
  transition: opacity 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a:hover {
  opacity: 1;
  color: var(--green);
  transform: translateY(-1px);
}

.header-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(13, 119, 88, 0.4);
  border-radius: 8px;
  padding: 9px 14px;
  background: rgba(13, 119, 88, 0.11);
  color: var(--green);
  box-shadow: 0 0 24px rgba(13, 119, 88, 0.14);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  padding: 10px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--bg);
  text-align: center;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 42%, rgba(13, 119, 88, 0.12), transparent 30%),
    linear-gradient(90deg, rgba(255, 250, 242, 0.97) 0%, rgba(255, 250, 242, 0.82) 48%, rgba(255, 250, 242, 0.24) 100%),
    linear-gradient(0deg, rgba(247, 241, 231, 0.94) 0%, rgba(247, 241, 231, 0.08) 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(850px, calc(100% - 40px));
  margin: 0 auto;
  padding-top: 82px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.06;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin-inline: auto;
  font-size: clamp(2.55rem, 5.8vw, 5.35rem);
  text-shadow: 0 18px 60px rgba(73, 54, 28, 0.08);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.45rem);
  text-shadow: 0 16px 48px rgba(73, 54, 28, 0.07);
}

h3 {
  font-size: 1.22rem;
}

.hero-copy,
.qualify p,
.booking-copy p,
.conversion-cta p {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
}

.hero-copy {
  max-width: 680px;
  margin: 24px auto 0;
  color: #44504a;
}

.hero-actions,
.proof-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.hero-actions {
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 18px;
  font: inherit;
  font-weight: 850;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button.primary {
  background: var(--green);
  color: #ffffff;
  box-shadow: 0 0 34px rgba(13, 119, 88, 0.28);
}

.button.primary:hover {
  background: var(--green-soft);
  transform: translateY(-2px);
  box-shadow: 0 0 46px rgba(13, 119, 88, 0.38);
}

.button.secondary {
  border-color: rgba(13, 119, 88, 0.42);
  background: rgba(13, 119, 88, 0.06);
  color: var(--ink);
}

.button.secondary:hover {
  background: rgba(13, 119, 88, 0.14);
  transform: translateY(-2px);
}

.proof-row {
  margin-top: 38px;
}

.proof-row span,
.booking-points span {
  border: 1px solid rgba(13, 119, 88, 0.28);
  border-radius: 8px;
  padding: 8px 12px;
  background: rgba(13, 119, 88, 0.06);
  color: #34403a;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88rem;
}

.section-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 250, 242, 0.94), rgba(241, 229, 211, 0.86));
}

.section-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 118px) 0;
}

.section-heading {
  max-width: 850px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-intro {
  max-width: 760px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.8vw, 1.16rem);
}

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

.service-card,
.multi-form,
.calendar-frame {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 250, 242, 0.58)),
    var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.service-card {
  min-height: 268px;
  padding: 24px;
  border-radius: 8px;
  text-align: center;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(13, 119, 88, 0.45);
}

.service-card .icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0 auto 22px;
  border: 1px solid rgba(13, 119, 88, 0.36);
  border-radius: 8px;
  color: var(--green);
  background: rgba(13, 119, 88, 0.1);
}

.service-card .icon svg,
.case-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.qualify-grid,
.booking-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  justify-items: center;
  text-align: center;
}

.qualify-grid > *,
.booking-grid > * {
  width: min(760px, 100%);
}

.multi-form {
  overflow: hidden;
  border-radius: 8px;
  padding: clamp(22px, 4vw, 34px);
}

.progress-shell {
  margin-bottom: 26px;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 760;
}

.progress-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(13, 119, 88, 0.11);
}

.progress-track span {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
  box-shadow: 0 0 20px rgba(13, 119, 88, 0.35);
  transition: width 260ms ease;
}

.form-step {
  display: none;
  animation: formSlide 280ms ease;
}

.form-step.is-active {
  display: grid;
  gap: 16px;
}

.form-kicker {
  margin: 0;
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9rem;
  font-weight: 900;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 780;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(42, 58, 50, 0.16);
  border-radius: 8px;
  background: rgba(255, 252, 246, 0.86);
  color: var(--ink);
  padding: 13px 14px;
  font: inherit;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

select {
  min-height: 52px;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 0;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(13, 119, 88, 0.13);
  background: #ffffff;
}

.field-error {
  min-height: 18px;
  color: var(--danger);
  font-size: 0.82rem;
  font-weight: 680;
}

.has-error input,
.has-error select,
.has-error textarea {
  border-color: rgba(158, 59, 59, 0.82);
}

.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
}

.form-actions .button {
  min-width: 130px;
}

[data-submit-step] {
  display: none;
}

.form-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-note.is-error,
.form-note.is-success {
  border-radius: 8px;
  padding: 12px;
}

.form-note.is-error {
  border: 1px solid rgba(158, 59, 59, 0.32);
  background: rgba(158, 59, 59, 0.08);
  color: #7e2d2d;
}

.form-note.is-success {
  border: 1px solid rgba(13, 119, 88, 0.32);
  background: rgba(13, 119, 88, 0.08);
  color: var(--green);
}

.success-screen {
  display: none;
  text-align: center;
  padding: 18px 0 6px;
  animation: scaleIn 260ms ease;
}

.success-screen.is-visible {
  display: grid;
  justify-items: center;
  gap: 14px;
}

.success-screen p {
  margin: 0 0 8px;
  color: var(--muted);
}

.success-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--green);
  color: #ffffff;
  font-weight: 950;
}

.conversion-cta {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 80% 46%, rgba(13, 119, 88, 0.14), transparent 32%),
    rgba(255, 250, 242, 0.96);
}

.cta-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  justify-items: center;
  text-align: center;
  padding-top: clamp(48px, 6vw, 76px);
  padding-bottom: clamp(48px, 6vw, 76px);
}

.cta-shell h2 {
  max-width: 760px;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
}

.cta-shell p {
  margin: 16px 0 0;
}

.booking-copy p {
  margin: 18px auto 0;
}

.booking-points {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-top: 28px;
}

.booking-points span {
  width: fit-content;
}

.calendar-frame {
  width: min(1120px, 100%);
  min-height: 820px;
  overflow: hidden;
  border-radius: 8px;
  position: relative;
  background: #f1f2f4;
}

.booking-iframe {
  width: 100%;
  min-height: 760px;
  display: block;
  border: 0;
  background: #f1f2f4;
}

.calendar-fallback {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-top: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.88);
  text-align: left;
}

.calendar-fallback p {
  margin: 0;
  color: var(--muted);
}

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

.use-case-card {
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 250, 242, 0.58)),
    var(--surface);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.use-case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(13, 119, 88, 0.45);
}

.case-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 20px;
  border: 1px solid rgba(13, 119, 88, 0.36);
  border-radius: 8px;
  color: var(--green);
  background: rgba(13, 119, 88, 0.1);
}

.use-case-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.faq {
  background:
    radial-gradient(circle at 20% 8%, rgba(13, 119, 88, 0.1), transparent 30%),
    var(--bg);
}

.faq-list {
  display: grid;
  gap: 12px;
  width: min(900px, 100%);
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 250, 242, 0.6)),
    var(--surface);
  box-shadow: 0 18px 60px rgba(73, 54, 28, 0.08);
  overflow: hidden;
}

.faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
  padding: 18px 54px 18px 20px;
  color: var(--ink);
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(13, 119, 88, 0.3);
  border-radius: 8px;
  color: var(--green);
  transform: translateY(-50%);
  transition: transform 180ms ease, background 180ms ease;
}

.faq-item[open] summary::after {
  content: "–";
  background: rgba(13, 119, 88, 0.1);
}

.faq-item p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 64px);
  background: #171f1b;
  color: rgba(255, 255, 255, 0.76);
}

.footer-main,
.social-links,
.legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.site-footer a {
  color: #ffffff;
  transition: color 180ms ease, opacity 180ms ease;
}

.social-links a {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 8px 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.legal-links {
  gap: 10px;
  font-size: 0.9rem;
}

.legal-links a {
  color: rgba(255, 255, 255, 0.68);
}

.site-footer a:hover {
  color: var(--green-soft);
}

.social-links a:hover {
  border-color: rgba(20, 150, 111, 0.55);
  background: rgba(20, 150, 111, 0.1);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.legal-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
  background:
    radial-gradient(circle at 72% 16%, rgba(13, 119, 88, 0.12), transparent 32%),
    var(--bg);
}

.legal-card {
  width: min(860px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(28px, 5vw, 48px);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.legal-card h1 {
  margin: 0 0 18px;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.06;
}

.legal-card h2 {
  margin: 28px 0 10px;
  font-size: clamp(1.25rem, 2.3vw, 1.7rem);
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.legal-card a {
  color: var(--green);
  font-weight: 800;
}

.legal-card .button {
  margin-top: 18px;
}

@keyframes formSlide {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes chatIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .system-grid,
  .use-case-grid,
  .qualify-grid,
  .booking-grid {
    grid-template-columns: 1fr;
  }

  .cta-shell {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 68px;
    top: 12px;
    width: calc(100% - 24px);
    padding: 10px 12px;
    border-radius: 14px;
  }

  .brand-logo {
    width: 178px;
    height: 42px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-strong);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 16px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav .header-cta {
    justify-content: center;
    margin: 12px;
  }

  .hero {
    min-height: 90vh;
  }

  .hero-image {
    object-position: 64% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(255, 250, 242, 0.97) 0%, rgba(255, 250, 242, 0.9) 78%, rgba(255, 250, 242, 0.58) 100%),
      linear-gradient(0deg, rgba(247, 241, 231, 0.82) 0%, rgba(247, 241, 231, 0) 42%);
  }

  .hero-content {
    width: calc(100% - 40px);
    margin: 0 auto;
  }

  .hero-actions,
  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .calendar-frame {
    min-height: 820px;
  }

  .booking-iframe {
    min-height: 760px;
  }

  .calendar-fallback {
    grid-template-columns: 1fr;
    justify-items: stretch;
    text-align: center;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
