:root {
  --bg: #f3efe7;
  --paper: #fffdf8;
  --ink: #17211d;
  --muted: #5d675f;
  --green: #0c6b4c;
  --green-dark: #084833;
  --line: #e4ddd2;
  --soft: #e6f3ec;
  --shadow: 0 18px 40px rgba(23, 33, 29, 0.06);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 100% -10%, #e7f6ee 0%, transparent 60%),
    var(--bg);
  font-family: "Figtree", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; }

a { color: var(--green-dark); }

a:hover { color: var(--green); }

.wrap {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}

.logo img {
  height: 56px;
  width: auto;
}

.logo-text {
  margin: 0.45rem 0 0 0.1rem;
  color: #272727;
  font-family: Fraunces, Georgia, serif;
  font-size: 2.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

nav a {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
}

nav a:hover { color: var(--green); }

.hero {
  display: grid;
  gap: 1.25rem;
  padding: 2.5rem 0 1rem;
}

.eyebrow {
  margin: 0;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1, h2, h3, h4 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); margin: 0; }

.lede {
  max-width: 42rem;
  margin: 0;
  font-size: 1.2rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.4rem;
}

.button, .button-quiet {
  display: inline-block;
  border-radius: 999px;
  padding: 0.75rem 1.15rem;
  font-weight: 650;
  text-decoration: none;
}

.button {
  background: var(--green);
  color: white;
}

.button:hover { background: var(--green-dark); color: white; }

.button-quiet {
  background: transparent;
  color: var(--green-dark);
  box-shadow: inset 0 0 0 1.5px var(--green);
}

.section { padding: 2.4rem 0; }

.section h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 0 0 0.8rem; }

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 1.3rem 1.3rem 0.4rem;
}

.steps { margin: 0; padding: 0 0 0 1.2rem; }

.steps li { margin: 0 0 0.9rem; }

.quotes {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .quotes { grid-template-columns: repeat(3, 1fr); }
  .split { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 1rem; align-items: start; }
}

blockquote {
  margin: 0;
  background: var(--paper);
  border-radius: 18px;
  padding: 1.1rem 1.15rem 0.9rem;
  box-shadow: var(--shadow);
}

blockquote p { margin: 0 0 0.8rem; }

blockquote footer { color: var(--muted); font-size: 0.92rem; }

.price-card {
  background: var(--green-dark);
  color: white;
  border-radius: 22px;
  padding: 1.4rem 1.4rem 1.2rem;
}

.price-card h2, .price-card p, .price-card li { color: white; }

.price {
  font-family: Fraunces, Georgia, serif;
  font-size: 4rem;
  line-height: 0.9;
  margin: 0.2rem 0;
}

.price small { font-family: Figtree, sans-serif; font-size: 1rem; }

.price-card ul { margin: 0.8rem 0 0; padding-left: 1.1rem; }

.contact-grid {
  display: grid;
  gap: 0.8rem;
}

@media (min-width: 700px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

.contact-card {
  display: block;
  background: var(--paper);
  border-radius: 18px;
  padding: 1rem 1.1rem;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.contact-card span { display: block; color: var(--muted); font-size: 0.9rem; }

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 1.4rem 0 2rem;
  font-size: 0.95rem;
}

.site-footer p { margin: 0.2rem 0; }

.page {
  width: min(760px, calc(100% - 2rem));
  margin: 0 auto;
  padding-bottom: 3rem;
}

.page-intro { padding: 1.4rem 0 0.4rem; }

.meta { color: var(--muted); margin: 0 0 0.4rem; }

.post-list { display: grid; gap: 0.9rem; padding: 0.4rem 0 2rem; }

.post-card {
  display: block;
  background: var(--paper);
  border-radius: 18px;
  padding: 1.1rem 1.15rem;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.post-card h2 {
  font-size: 1.45rem;
  margin: 0.25rem 0 0.4rem;
}

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

.prose h2 { font-size: 1.7rem; margin: 1.6rem 0 0.5rem; }

.prose h3 { font-size: 1.3rem; margin: 1.3rem 0 0.4rem; }

.prose h4 { font-size: 1.05rem; margin: 1rem 0 0.3rem; }

.prose p { margin: 0.7rem 0; }

.prose ul, .prose ol { margin: 0.4rem 0 0.8rem; padding-left: 1.25rem; }

.prose li { margin: 0.25rem 0; }

.prose li p { margin: 0.15rem 0; }

.prose figure { margin: 1rem 0 1.3rem; }

.prose img { border-radius: 16px; display: block; }

.prose figcaption { color: var(--muted); font-size: 0.92rem; margin-top: 0.4rem; }

.prose hr { border: 0; border-top: 1px solid var(--line); margin: 1.4rem 0; }

.back { margin-top: 2rem; }

/* Homepage */
.hero-shell {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 82% 20%, rgba(12, 107, 76, 0.12), transparent 34%),
    var(--paper);
}

.hero-shell::after {
  position: absolute;
  right: -7rem;
  bottom: -9rem;
  width: 24rem;
  height: 24rem;
  border: 1px solid rgba(12, 107, 76, 0.18);
  border-radius: 50%;
  content: "";
}

.hero {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
  min-height: 650px;
  padding: 4.5rem 0;
}

.hero-copy {
  display: grid;
  gap: 1.25rem;
}

.hero-copy h1 {
  max-width: 16ch;
}

.hero-copy .lede {
  max-width: 38rem;
  color: #36443d;
}

.text-link {
  align-self: center;
  padding: 0.65rem 0.2rem;
  font-weight: 650;
  text-decoration: none;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.3rem;
  margin: 0.2rem 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.92rem;
  list-style: none;
}

.hero-facts li:not(:last-child)::after {
  margin-left: 1.3rem;
  color: #a7afa9;
  content: "·";
}

.sync-demo {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
  transform: rotate(1deg);
  border: 1px solid #d5e3db;
  border-radius: 26px;
  background: rgba(255, 253, 248, 0.82);
  box-shadow: 0 24px 60px rgba(23, 33, 29, 0.1);
}

.calendar-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}

.calendar-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.calendar-head > span:last-child {
  color: var(--muted);
  font-size: 0.8rem;
}

.platform-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
}

.treatwell-dot { background: #ff5c65; }
.planity-dot { background: #3f73d8; }
.google-dot { background: #34a853; }
.salonized-dot { background: #7a4dff; }

.appointment {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 0.6rem;
  padding: 0.72rem 0.85rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.appointment + .appointment {
  border-top: 1px solid #f0ece5;
}

.appointment.booked {
  background: #fff0f1;
  color: #7d2730;
}

.appointment.blocked {
  background: var(--soft);
  color: var(--green-dark);
}

.sync-line {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  color: var(--green-dark);
  font-size: 0.78rem;
  text-align: center;
}

.sync-pulse {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  background: var(--green-dark);
  color: white;
  font-family: Fraunces, Georgia, serif;
  font-size: 0.9rem;
}

.sync-targets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.sync-targets .calendar-head {
  grid-template-columns: auto 1fr;
  padding: 0.65rem 0.7rem;
}

.sync-targets .appointment {
  grid-template-columns: 2.6rem 1fr;
  padding: 0.65rem 0.7rem;
}

.platforms {
  padding-top: clamp(3.2rem, 7vw, 5rem);
}

.platform-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.platform-list li {
  display: grid;
  align-content: start;
  gap: 0.35rem;
  min-height: 8.5rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
}

.platform-list li:last-child {
  background: var(--soft);
  border-color: #c9dfd3;
}

.platform-list strong {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.15rem;
  line-height: 1.2;
}

.platform-list span {
  color: var(--muted);
  font-size: 0.88rem;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
}

.proof-strip > div {
  display: grid;
  gap: 0.05rem;
  padding: 1rem 1.2rem;
  text-align: center;
}

.proof-strip > div + div {
  border-left: 1px solid var(--line);
}

.proof-strip strong {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.15rem;
}

.proof-strip span {
  color: var(--muted);
  font-size: 0.84rem;
}

.section {
  padding-top: clamp(3.8rem, 8vw, 6.5rem);
  padding-bottom: clamp(3.8rem, 8vw, 6.5rem);
}

.section-heading {
  max-width: 46rem;
  margin-bottom: 2rem;
}

.section-heading > p:last-child {
  color: var(--muted);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--line);
}

.step-card {
  min-height: 240px;
  padding: 1.5rem;
  background: var(--paper);
}

.step-card h3 {
  margin: 2rem 0 0.6rem;
  font-size: 1.35rem;
}

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

.step-number {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.1em;
}

.section-link {
  margin-top: 1.1rem;
}

.section-link a {
  font-weight: 650;
}

.trust-section {
  padding: clamp(3.8rem, 8vw, 6.5rem) 0;
  background: var(--green-dark);
  color: white;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 8vw, 7rem);
  align-items: start;
}

.trust-grid h2 {
  margin-top: 0.4rem;
  color: white;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.trust-grid p {
  color: #d9e7df;
}

.eyebrow.light {
  color: #8ed6b7;
}

.light-link {
  color: white;
  font-weight: 650;
}

.light-link:hover {
  color: #b9ecd4;
}

.trust-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-list li {
  display: grid;
  gap: 0.15rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.trust-list li:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.trust-list strong {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.2rem;
}

.trust-list span {
  color: #b9cfc3;
  font-size: 0.92rem;
}

.story-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
}

.story-number {
  display: grid;
  gap: 0.7rem;
}

.story-number strong {
  color: var(--green-dark);
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(4.5rem, 10vw, 8rem);
  font-weight: 560;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.story-number span {
  max-width: 28rem;
  color: var(--muted);
}

.fine-print {
  color: var(--muted);
  font-size: 0.85rem;
}

.quotes blockquote {
  display: flex;
  min-height: 210px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  box-shadow: none;
}

.pricing-section {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 0.72fr);
  gap: clamp(2rem, 8vw, 7rem);
  align-items: center;
}

.pricing-copy h2 {
  max-width: 15ch;
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.pricing-copy p:last-child {
  max-width: 38rem;
  color: var(--muted);
}

.price-card {
  padding: 2rem;
  box-shadow: 0 22px 55px rgba(8, 72, 51, 0.15);
}

.price-card .button {
  margin-top: 1.4rem;
}

.button-light {
  background: white;
  color: var(--green-dark);
}

.button-light:hover {
  background: var(--soft);
  color: var(--green-dark);
}

.final-cta {
  padding: 4rem 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.final-cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.final-cta h2 {
  margin: 0.3rem 0 0.5rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.final-cta p {
  max-width: 43rem;
  margin-bottom: 0;
  color: var(--muted);
}

.final-actions {
  display: grid;
  gap: 0.65rem;
  justify-items: center;
  min-width: 220px;
}

.final-actions > a:last-child {
  color: var(--muted);
  font-size: 0.88rem;
}

.nav-cta {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: var(--green-dark);
  color: white;
  line-height: 1;
}

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

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.article-cta {
  margin: 2.5rem 0 1rem;
  padding: 1.5rem;
  border: 1px solid #cdded5;
  border-radius: 20px;
  background: var(--soft);
}

.article-cta h2 {
  margin: 0.35rem 0 0.55rem;
  font-size: 1.7rem;
}

.article-cta p:not(.eyebrow) {
  margin: 0 0 1rem;
  color: var(--muted);
}

@media (max-width: 780px) {
  .site-header {
    padding: 0.75rem 0;
  }

  .logo img {
    height: 48px;
  }

  .logo-text {
    font-size: 2rem;
  }

  nav {
    gap: 0.8rem;
  }

  nav a:not(.nav-cta) {
    display: none;
  }

  .nav-cta {
    font-size: 0.88rem;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 3.2rem 0;
  }

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

  .sync-demo {
    transform: none;
  }

  .sync-targets {
    grid-template-columns: 1fr;
  }

  .platform-list {
    grid-template-columns: 1fr;
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }

  .proof-strip > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .how-grid,
  .trust-grid,
  .story-grid,
  .pricing-section,
  .final-cta-inner {
    grid-template-columns: 1fr;
  }

  .step-card {
    min-height: 0;
  }

  .step-card h3 {
    margin-top: 1.2rem;
  }

  .story-number strong {
    font-size: 5rem;
  }

  .final-actions {
    justify-items: stretch;
  }

  .final-actions .button {
    text-align: center;
  }

  .site-footer {
    display: block;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 1rem;
  }

  h1 {
    font-size: 2.65rem;
  }

  .hero-facts {
    display: grid;
    gap: 0.2rem;
  }

  .hero-facts li::after {
    display: none;
  }

  .actions {
    display: grid;
  }

  .actions .button,
  .actions .text-link {
    text-align: center;
  }

  .calendar-head,
  .appointment {
    font-size: 0.78rem;
  }
}
