:root {
  --ink: #38332e;
  --ink-soft: #756d64;
  --sage: #496e5c;
  --sage-dark: #355644;
  --sage-soft: #dfe8e2;
  --paper: #faf8f5;
  --sand: #ede7de;
  --card: #fffdfa;
  --line: rgba(56, 51, 46, 0.12);
  --shadow: 0 14px 38px rgba(56, 51, 46, 0.08), 0 2px 4px rgba(56, 51, 46, 0.05);
  --serif: "Iowan Old Style", Baskerville, Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #a07844;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 100;
  border-radius: 999px;
  background: var(--sage-dark);
  color: white;
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.page-width {
  width: min(1120px, 88vw);
  margin-inline: auto;
}

.section-space {
  padding-block: clamp(5.5rem, 9vw, 8rem);
}

.section-tint {
  background: color-mix(in srgb, var(--sand) 58%, var(--paper));
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
  background: rgba(250, 248, 245, 0.88);
  padding: 0 max(4vw, calc((100vw - 1120px) / 2));
  backdrop-filter: blur(16px);
}

.brand {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.8rem);
  font-size: 0.82rem;
  font-weight: 650;
}

.desktop-nav > a:not(.nav-call) {
  position: relative;
}

.desktop-nav > a:not(.nav-call)::after {
  position: absolute;
  right: 0;
  bottom: -0.25rem;
  left: 0;
  height: 1px;
  background: var(--sage);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.desktop-nav > a:hover::after {
  transform: scaleX(1);
}

.nav-call {
  border-radius: 999px;
  background: var(--sage);
  color: var(--paper);
  padding: 0.65rem 1.1rem;
}

.mobile-menu {
  display: none;
  position: relative;
}

.mobile-menu summary {
  display: grid;
  width: 46px;
  height: 46px;
  cursor: pointer;
  place-items: center;
  list-style: none;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu summary span,
.mobile-menu summary span::before,
.mobile-menu summary span::after {
  display: block;
  width: 27px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  content: "";
}

.mobile-menu summary span {
  position: relative;
}

.mobile-menu summary span::before {
  position: absolute;
  top: -8px;
}

.mobile-menu summary span::after {
  position: absolute;
  top: 8px;
}

.mobile-menu nav {
  position: absolute;
  top: 54px;
  right: 0;
  display: grid;
  min-width: min(280px, 86vw);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.mobile-menu nav a {
  border-bottom: 1px solid var(--line);
  padding: 0.95rem 1.15rem;
  font-weight: 650;
}

.mobile-menu nav a:last-child {
  border-bottom: 0;
  background: var(--sage);
  color: var(--paper);
}

.hero {
  position: relative;
  display: grid;
  min-height: max(720px, 88svh);
  align-items: center;
  overflow: hidden;
  padding-top: 66px;
}

.hero-image {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(250, 248, 245, 0.98) 0%, rgba(250, 248, 245, 0.91) 42%, rgba(250, 248, 245, 0.24) 76%, rgba(250, 248, 245, 0.08) 100%), url("/assets/hero-sage.webp");
  background-position: center;
  background-size: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: 6rem 5rem;
}

.eyebrow,
.section-kicker {
  margin: 0 0 1.15rem;
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero h1,
h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.045em;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(4rem, 7vw, 6.7rem);
  line-height: 0.96;
}

.hero-copy {
  max-width: 650px;
  margin: 1.8rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  line-height: 1.65;
}

.hero-audience {
  max-width: 680px;
  margin: 1rem 0 0;
  color: var(--sage);
  font-weight: 700;
  line-height: 1.55;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.25rem;
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 0.95rem 1.45rem;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--sage);
  color: var(--paper);
}

.button-primary:hover {
  background: var(--sage-dark);
}

.button-secondary {
  border-color: rgba(56, 51, 46, 0.18);
  background: rgba(250, 248, 245, 0.72);
  color: var(--ink);
}

.section-heading {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.centered-heading {
  text-align: center;
}

.section-heading h2,
.about-grid h2,
.waitlist h2 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 1;
}

.centered-heading h2 {
  max-width: 800px;
  margin-inline: auto;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.service-card,
.price-card,
.contact-card {
  border: 1px solid rgba(56, 51, 46, 0.06);
  border-radius: 28px;
  background: rgba(255, 253, 250, 0.92);
  box-shadow: var(--shadow);
}

.service-card {
  min-height: 360px;
  padding: clamp(1.6rem, 2.8vw, 2.5rem);
}

.service-icon {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 18px;
  background: var(--sage-soft);
  color: var(--sage-dark);
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
}

.service-card h3 {
  margin: 2.2rem 0 1rem;
  font-size: 1.35rem;
  line-height: 1.35;
}

.service-card p {
  margin: 0;
  color: var(--ink-soft);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.about-copy {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.about-copy > p {
  margin: 0 0 1.4rem;
}

.about-copy blockquote {
  margin: 2.5rem 0 0;
  border-top: 1px solid var(--line);
  padding-top: 1.7rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  line-height: 1.35;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.price-card {
  display: flex;
  min-height: 240px;
  flex-direction: column;
  padding: 2rem;
}

.price-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.price-card p {
  margin: 0.3rem 0 1.4rem;
  color: var(--ink-soft);
}

.price-card strong {
  margin-top: auto;
  color: var(--sage);
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.05;
}

.price-note {
  max-width: 760px;
  margin: 2.5rem auto 0;
  color: var(--ink-soft);
  text-align: center;
}

.framework-panel {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  max-width: 940px;
  align-items: start;
  margin: 2.5rem auto 0;
  border: 1px solid rgba(56, 51, 46, 0.06);
  border-radius: 24px;
  background: rgba(255, 253, 250, 0.92);
  box-shadow: var(--shadow);
  padding: clamp(1.7rem, 3.5vw, 2.8rem);
}

.framework-panel .section-kicker,
.framework-panel > p:last-child {
  margin: 0;
}

.framework-panel > p:last-child {
  color: var(--ink-soft);
}

.waitlist {
  background: var(--sage);
  color: var(--paper);
}

.waitlist-inner {
  display: grid;
  justify-items: center;
  padding-block: clamp(5.5rem, 9vw, 8rem);
  text-align: center;
}

.round-icon {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--sage-dark);
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 700;
}

.waitlist .round-icon {
  margin-bottom: 1.8rem;
  background: rgba(250, 248, 245, 0.13);
  color: var(--paper);
}

.section-kicker-light {
  color: #dfe8e2;
}

.waitlist > .waitlist-inner > p:not(.section-kicker) {
  max-width: 680px;
  margin: 1.7rem 0 2.4rem;
  color: #e6ede8;
  font-size: 1.15rem;
}

.button-light {
  min-width: min(100%, 410px);
  background: var(--paper);
  color: var(--ink);
}

.contact-heading {
  margin-bottom: 4rem;
}

.contact-intro {
  max-width: 680px;
  margin: 1.25rem auto 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.65;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.contact-card {
  display: grid;
  min-height: 280px;
  justify-items: center;
  align-content: center;
  padding: 2rem;
  text-align: center;
}

.contact-card h3 {
  margin: 1.3rem 0 0.6rem;
  font-size: 1.2rem;
}

.contact-card p,
.contact-card a {
  margin: 0;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}

.contact-card a {
  color: var(--sage);
  font-family: var(--serif);
  font-size: 1.3rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-main {
  padding-block: 3.5rem 2rem;
  color: var(--ink-soft);
  text-align: center;
}

.footer-main > p {
  margin: 0.35rem 0;
}

.legal-details {
  max-width: 900px;
  margin: 2rem auto 0;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  font-size: 0.78rem;
}

.legal-details summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 700;
}

.local-demo-notice {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  display: grid;
  max-width: min(360px, calc(100vw - 2rem));
  border-radius: 16px;
  background: var(--sage-dark);
  box-shadow: var(--shadow);
  color: var(--paper);
  padding: 0.9rem 1.1rem;
  line-height: 1.4;
}

.local-demo-notice strong {
  font-size: 0.82rem;
}

.local-demo-notice span {
  color: #dfe8e2;
  font-size: 0.72rem;
}

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

  .mobile-menu {
    display: block;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .framework-panel {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 78px;
  }

  .page-width {
    width: min(84vw, 600px);
  }

  .section-space {
    padding-block: 5rem;
  }

  .site-header {
    min-height: 78px;
    padding-inline: 8vw;
  }

  .brand {
    font-size: 1.75rem;
  }

  .hero {
    min-height: max(760px, 100svh);
    padding-top: 78px;
  }

  .hero-image {
    background-image: linear-gradient(180deg, rgba(250, 248, 245, 0.96) 0%, rgba(250, 248, 245, 0.88) 48%, rgba(250, 248, 245, 0.58) 100%), url("/assets/hero-sage.webp");
    background-position: 58% center;
  }

  .hero-content {
    padding-block: 3.5rem 3rem;
  }

  .hero h1 {
    font-size: clamp(3.7rem, 16vw, 5.2rem);
  }

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

  .button-row {
    display: grid;
  }

  .button {
    width: 100%;
    min-height: 60px;
  }

  .section-heading h2,
  .about-grid h2,
  .waitlist h2 {
    font-size: clamp(2.6rem, 11.5vw, 3.7rem);
  }

  .service-grid,
  .price-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
    padding: 1.7rem;
  }

  .service-card h3 {
    margin-top: 1.7rem;
  }

  .price-card {
    min-height: 210px;
  }

  .waitlist-inner {
    padding-block: 5rem;
  }

  .contact-card {
    min-height: 250px;
  }
}

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

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

@media print {
  .site-header,
  .button-row {
    display: none !important;
  }

  .hero {
    min-height: auto;
  }

  body,
  .section-tint,
  .waitlist {
    background: white;
    color: black;
  }
}
