:root {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --surface-alt: #ece8df;
  --ink: #17211d;
  --muted: #58635e;
  --line: #d8d2c6;
  --accent: #245946;
  --accent-dark: #183c30;
  --warm: #8a6d3b;
  --max: 1080px;
  --radius: 8px;
  --shadow: 0 16px 48px rgba(23, 33, 29, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

button {
  font: inherit;
}

p,
li,
small,
span {
  color: var(--muted);
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
  line-height: 1.03;
}

h1 {
  max-width: 13ch;
  margin-bottom: 1rem;
  font-size: clamp(3.2rem, 6.2vw, 5.5rem);
}

h2 {
  max-width: 13ch;
  margin-bottom: 0.9rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1rem;
}

main {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto 4rem;
  padding: 0 1rem;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  background: rgba(246, 244, 239, 0.9);
  border-bottom: 1px solid rgba(216, 210, 198, 0.8);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: var(--radius);
  color: #fff;
  background: var(--accent-dark);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  font-size: 0.82rem;
}

.nav-cta {
  padding: 0;
  border: 0;
  color: var(--accent);
  background: transparent;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 800;
}

.hero,
.section {
  padding: 4.5rem 0;
}

.hero {
  display: block;
  min-height: auto;
  padding: clamp(3.8rem, 9vh, 6rem) 0 4rem;
}

.eyebrow {
  margin-bottom: 0.8rem;
  color: var(--warm);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lede {
  max-width: 42rem;
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.38;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
  font-weight: 800;
}

.button:hover,
.button:focus-visible {
  border-color: var(--accent);
}

.button--primary {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
}

.trust-strip,
.pricing-panel,
.contact__box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.15rem;
}

.trust-strip div {
  padding: 0.25rem;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  margin-bottom: 0.2rem;
  color: var(--ink);
}

.section__intro {
  margin-bottom: 1.25rem;
}

.section__intro--wide {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section__intro--wide h2 {
  margin-bottom: 0;
}

.section__intro--wide p:not(.eyebrow) {
  max-width: 37rem;
  margin-bottom: 0;
  font-size: 1.05rem;
}

.section {
  scroll-margin-top: 5rem;
}

.core-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.core-grid article {
  min-height: 18rem;
  padding: 1.15rem 1rem 1.25rem;
  border-right: 1px solid var(--line);
}

.core-grid article:last-child {
  border-right: 0;
}

.core-grid span {
  display: block;
  margin-bottom: 2.7rem;
  color: var(--warm);
  font-weight: 800;
}

.core-grid h3 {
  margin-bottom: 0.55rem;
  font-size: 1.05rem;
}

.core-grid p {
  margin-bottom: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  counter-increment: steps;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.steps li::before {
  content: "0" counter(steps);
  display: block;
  margin-bottom: 0.55rem;
  color: var(--warm);
  font-weight: 800;
}

.steps strong,
.steps span {
  display: block;
}

.steps strong {
  margin-bottom: 0.45rem;
  color: var(--ink);
}

.steps ul {
  padding-left: 1.1rem;
  margin: 0.65rem 0 0;
}

.steps ul li {
  padding-top: 0;
  border-top: 0;
  counter-increment: none;
}

.steps ul li::before {
  content: none;
}

.steps ul li + li {
  margin-top: 0.35rem;
}

.section--band {
  margin: 1rem 0;
  padding: 2.4rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-alt);
}

.pricing-panel {
  max-width: 44rem;
  padding: 1.25rem;
}

.pricing-panel p:last-child,
.proof p:last-child {
  margin-bottom: 0;
}

.proof p {
  max-width: 48rem;
  font-size: 1.05rem;
}

.proof .button {
  margin-top: 0.4rem;
}

.founder {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.founder__copy {
  max-width: 44rem;
}

.founder__copy p {
  color: var(--ink);
  font-size: 1.08rem;
}

.founder__copy p:last-child {
  margin-bottom: 0;
}

.proof-page {
  max-width: 52rem;
  min-height: calc(100vh - 5rem);
}

.proof-page h1 {
  max-width: 13ch;
  font-size: clamp(3rem, 7vw, 5.8rem);
}

.case-hero {
  padding: clamp(4.5rem, 12vh, 7.5rem) 0 3rem;
  border-bottom: 1px solid var(--line);
}

.case-hero h1 {
  max-width: 44rem;
  margin-bottom: 1rem;
  font-family: inherit;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 400;
  line-height: 1.38;
}

.case-hero .lede {
  max-width: 44rem;
}

.case-body {
  max-width: 48rem;
  padding: 3rem 0 4.5rem;
}

.case-body > p {
  color: var(--ink);
  font-size: clamp(1.12rem, 1.6vw, 1.35rem);
  line-height: 1.48;
}

.case-body > p:last-of-type {
  margin-bottom: 0;
}

.case-summary {
  margin-top: 2rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.case-summary ul {
  padding-left: 1.15rem;
  margin: 0;
}

.case-summary li + li {
  margin-top: 0.55rem;
}

.case-cta {
  max-width: 48rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

.case-cta p {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

.case-cta .nav-cta {
  margin-top: 0.65rem;
}

.contact {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
  padding: 2rem;
  border-radius: var(--radius);
  color: #fff;
  background: var(--accent-dark);
}

.contact h2,
.contact p,
.contact .eyebrow {
  color: #fff;
}

.contact__box {
  padding: 1.2rem;
}

.contact__box .button {
  width: 100%;
}

.choice-dialog {
  width: min(calc(100% - 2rem), 30rem);
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.choice-dialog::backdrop {
  background: rgba(23, 33, 29, 0.42);
}

.choice-dialog__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.choice-dialog h2 {
  max-width: none;
  margin-bottom: 0;
  font-size: 1.6rem;
}

.choice-dialog__close {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
}

.choice-dialog__options {
  display: grid;
  gap: 0.75rem;
}

.choice-dialog__email {
  margin: 0.85rem 0 0;
  font-size: 0.92rem;
}

@media (min-width: 901px) {
  .step-wide {
    grid-column: span 1;
  }
}

@media (max-width: 900px) {
  h1 {
    max-width: 13ch;
  }

  .trust-strip,
  .steps,
  .founder,
  .contact {
    grid-template-columns: 1fr;
  }

  .section__intro--wide {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .core-grid {
    grid-template-columns: 1fr;
  }

  .core-grid article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .core-grid article:last-child {
    border-bottom: 0;
  }

  .core-grid span {
    margin-bottom: 1rem;
  }

}

@media (max-width: 560px) {
  main {
    padding: 0 0.5rem;
  }

  .hero,
  .section {
    padding: 2.4rem 0;
  }

  .hero {
    padding-top: 3rem;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 10.5vw, 2.75rem);
    line-height: 1.02;
  }

  h2 {
    max-width: 100%;
    font-size: clamp(1.9rem, 8.5vw, 2.3rem);
  }

  .lede {
    max-width: 100%;
    font-size: 1.08rem;
  }

  .section--band,
  .contact {
    padding: 1.2rem;
  }

  .brand small {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .case-hero {
    padding: 3rem 0 2rem;
  }

  .case-hero h1 {
    max-width: 100%;
    font-size: 1.08rem;
  }

  .actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .actions .button {
    width: 100%;
  }

  .case-body {
    padding: 2rem 0 2.4rem;
  }

  .case-summary {
    padding: 1rem;
  }

  .case-cta {
    display: block;
  }

  .case-cta .nav-cta {
    display: inline-block;
    margin-top: 0.6rem;
  }
}
