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

:root {
  --teal: #1d6a56;
  --teal-dark: #155040;
  --teal-light: #e4f4ee;
  --sage: #a8e6d4;
  --bg: #f7f6f2;
  --charcoal: #1e1e1c;
  --muted: #5f6b65;
  --white: #ffffff;
  --border: #dde8e3;
  --max: 820px;
  --page-pad: 20px;
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--teal);
}

/* Shared horizontal rhythm — explicit padding for Safari/Firefox/mobile */
.container {
  width: 100%;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: calc(var(--page-pad) + var(--safe-left));
  padding-right: calc(var(--page-pad) + var(--safe-right));
}

.site-main {
  width: 100%;
  overflow-x: hidden;
}

@media (min-width: 768px) {
  :root {
    --page-pad: 32px;
  }
}

/* Nav */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(247, 246, 242, 0.95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding-top: 0;
  padding-bottom: 0;
  padding-left: calc(var(--page-pad) + var(--safe-left));
  padding-right: calc(var(--page-pad) + var(--safe-right));
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  font-size: 1.2rem;
  color: var(--teal);
  text-decoration: none;
  min-width: 0;
}

.nav-logo img {
  border-radius: 8px;
  flex-shrink: 0;
  object-fit: contain;
  width: 32px;
  height: 32px;
}

.nav-logo__cap {
  font-size: 1.08em;
}

.nav-cta {
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: 100px;
  padding: 0.45rem 1.2rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: var(--teal-dark);
  color: var(--white);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
  padding-bottom: 80px;
  text-align: left;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 2rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  flex-shrink: 0;
}

.hero h1 {
  font-family: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
  width: 100%;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hero h1 em {
  font-style: italic;
  color: var(--teal);
}

.hero-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 560px;
  width: 100%;
  line-height: 1.75;
  margin-bottom: 2rem;
}

/* Qualify */
.qualify-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.6rem 1.8rem;
  margin-bottom: 2.8rem;
  max-width: 540px;
  width: 100%;
}

.qualify-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}

.qualify-list {
  display: block;
  list-style: none;
}

.qualify-item {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
}

.qualify-item:last-child {
  margin-bottom: 0;
}

.qualify-dot {
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

/* Buttons */
.book-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: 100px;
  padding: 0.9rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  max-width: 100%;
}

.book-btn:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
  color: var(--white);
}

.book-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.book-note {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: #9bada6;
  max-width: 540px;
}

/* Sections */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  width: 100%;
}

section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.section-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  font-size: 1.6rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin-bottom: 1rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.section-body {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 3rem;
  line-height: 1.75;
}

/* Steps */
.steps {
  display: block;
  list-style: none;
}

.step {
  display: block;
  padding-bottom: 2.5rem;
  position: relative;
  padding-left: 64px;
}

.step:last-child {
  padding-bottom: 0;
}

.step:not(:last-child) .step-line {
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.step-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--teal);
  z-index: 1;
}

.step-content {
  padding-top: 0.6rem;
}

.step-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.6rem 1.5rem;
  min-width: 0;
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--teal-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* Quote */
.quote-block {
  background: var(--teal);
  border-radius: 20px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  border: none;
  margin: 0;
  width: 100%;
}

.quote-block::before {
  content: '\201C';
  position: absolute;
  top: -20px;
  left: 24px;
  font-family: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  font-size: 10rem;
  color: rgba(168, 230, 212, 0.2);
  line-height: 1;
  pointer-events: none;
}

.quote-text {
  font-family: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  font-size: 1.2rem;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 1.5rem;
  position: relative;
}

.quote-attr {
  font-size: 0.875rem;
  color: var(--sage);
  font-weight: 500;
}

/* Calendly */
.calendly-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.calendly-wrap {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  width: 100%;
}

.calendly-inline-widget {
  width: 100%;
  min-width: 0 !important;
}

/* Footer */
.site-footer {
  text-align: center;
  padding-top: 2rem;
  padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
  font-size: 0.8rem;
  color: #9bada6;
  border-top: 1px solid var(--border);
}

.site-footer p {
  margin: 0 0 0.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 0.6rem;
}

.site-footer__logo {
  border-radius: 6px;
  object-fit: contain;
  width: 24px;
  height: 24px;
}

.site-footer a {
  color: var(--teal);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* Tablet+ typography */
@media (min-width: 600px) {
  .hero h1 {
    font-size: 2.75rem;
  }

  .hero-sub {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .quote-text {
    font-size: 1.5rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .hero h1 {
    font-size: 3.6rem;
  }

  .section-title {
    font-size: 2.4rem;
  }

  .quote-text {
    font-size: 1.75rem;
  }
}

/* Mobile */
@media (max-width: 599px) {
  .hero {
    padding-top: 100px;
    padding-bottom: 60px;
    min-height: auto;
  }

  section,
  .calendly-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .quote-block {
    padding: 2rem 1.5rem;
  }

  .nav-cta {
    padding: 0.4rem 0.9rem;
    font-size: 0.8rem;
  }

  .nav-logo {
    font-size: 1.05rem;
  }

  .qualify-box {
    padding: 1.25rem 1.35rem;
  }

  .book-btn {
    width: 100%;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    font-size: 0.95rem;
  }

  .calendly-inline-widget {
    min-height: 620px !important;
    height: 620px !important;
  }

  .step {
    padding-left: 56px;
  }

  .step-num {
    width: 40px;
    height: 40px;
    font-size: 0.85rem;
  }

  .step:not(:last-child) .step-line {
    left: 19px;
    top: 40px;
  }
}

@media (max-width: 380px) {
  :root {
    --page-pad: 16px;
  }

  .nav-logo span {
    display: none;
  }

  .nav-logo img {
    width: 36px;
    height: 36px;
  }
}
