:root {
  --cream: #f4f1e9;
  --white: #ffffff;
  --ink: #0c1312;
  --muted: #5e6e66;
  --green: #0fa37f;
  --green-dark: #08745f;
  --pale-green: #e8fff4;
  --line: #d5d7d1;
  --content-width: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: only light;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
}

.site-header {
  position: sticky;
  z-index: 5;
  top: 0;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgb(12 19 18 / 7%);
}

.header-inner,
.footer-inner,
.section-inner,
.control-inner,
.demo-inner {
  width: min(calc(100% - 48px), var(--content-width));
  margin-inline: auto;
}

.header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 650;
  white-space: nowrap;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 550;
}

.desktop-nav a:hover,
.footer-links a:hover {
  color: var(--green-dark);
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  border-radius: 6px;
  background: var(--green-dark);
  color: var(--white);
  font-weight: 650;
  transition: background-color 150ms ease, transform 150ms ease;
}

.button:hover {
  background: var(--ink);
}

.button:active {
  transform: translateY(1px);
}

.button-small {
  min-width: 184px;
  min-height: 44px;
  padding-inline: 22px;
  font-size: 14px;
}

.mobile-label {
  display: none;
}

.hero {
  height: min(650px, calc(100svh - 128px));
  min-height: 520px;
  display: grid;
  place-items: center;
  padding: 56px 24px;
  text-align: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 940px;
  margin-inline: auto;
}

.eyebrow {
  margin-bottom: 26px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 940px;
  margin: 0 auto 26px;
  font-size: 68px;
  font-weight: 800;
}

.hero-support {
  max-width: 760px;
  margin: 0 auto 44px;
  color: var(--muted);
  font-size: 20px;
}

.microcopy {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 550;
}

.section-demo {
  overflow: hidden;
  background: var(--pale-green);
  color: var(--ink);
}

.demo-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: clamp(56px, 9vw, 140px);
}

.demo-copy {
  max-width: 650px;
}

.demo-copy .eyebrow {
  color: var(--green-dark);
}

.demo-copy h2 {
  max-width: 650px;
  margin-bottom: 30px;
  font-size: 48px;
  font-weight: 800;
}

.demo-copy > p:not(.eyebrow) {
  max-width: 590px;
  color: var(--muted);
  font-size: 19px;
}

.demo-copy .demo-note {
  margin: 34px 0 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.demo-video {
  width: 360px;
  margin: 0;
  justify-self: end;
}

.demo-video video {
  width: 100%;
  aspect-ratio: 9 / 16;
  display: block;
  border: 0;
  border-radius: 6px;
  background: #000000;
  box-shadow: 0 24px 56px rgb(12 19 18 / 16%);
  object-fit: cover;
}

.demo-video video:focus-visible {
  outline: 3px solid var(--green-dark);
  outline-offset: 5px;
}

.demo-video figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.section {
  padding: 90px 0;
}

.section-white {
  min-height: 650px;
  background: var(--white);
}

.section-heading {
  max-width: 920px;
  margin-inline: auto;
}

.section-heading.centered {
  text-align: center;
}

.section-heading h2,
.control-copy h2,
.final-cta h2 {
  margin-bottom: 22px;
  font-size: 44px;
  font-weight: 800;
}

.section-heading > p:last-child,
.control-copy > p,
.pricing-grid article > p:last-child {
  color: var(--muted);
  font-size: 18px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 52px 0 0;
  margin: 62px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.steps li {
  min-height: 184px;
  padding-right: 40px;
}

.steps li + li {
  padding-left: 40px;
  border-left: 1px solid var(--line);
}

.step-number {
  display: block;
  margin-bottom: 28px;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 700;
}

.steps h3,
.pricing-grid h3 {
  margin-bottom: 20px;
  font-size: 25px;
  font-weight: 750;
}

.steps p {
  margin-bottom: 0;
  color: var(--muted);
}

.section-control {
  padding: 104px 0;
  background: var(--ink);
  color: var(--white);
}

.control-inner {
  max-width: 900px;
}

.control-copy {
  text-align: center;
}

.control-copy .eyebrow {
  color: #7ee4c9;
}

.control-copy h2 {
  max-width: 820px;
  margin: 0 auto 30px;
}

.control-copy > p {
  max-width: 700px;
  margin-inline: auto;
  color: #c3cdc8;
}

.control-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 52px 0 0;
  margin: 0;
  list-style: none;
}

.control-points li {
  padding: 18px 32px;
  font-weight: 550;
}

.control-points li + li {
  border-left: 1px solid rgb(255 255 255 / 18%);
}

.control-points li::before {
  content: "\2713";
  display: block;
  margin-bottom: 12px;
  color: #7ee4c9;
  font-size: 18px;
  font-weight: 800;
}

.section-pricing {
  min-height: 720px;
  background: var(--cream);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 1060px;
  margin: 70px auto 0;
}

.pricing-grid article {
  padding: 0 90px;
}

.pricing-grid article + article {
  border-left: 1px solid var(--line);
}

.pricing-grid .eyebrow {
  margin-bottom: 24px;
}

.terms-note {
  max-width: 1060px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 54px;
  padding-top: 38px;
  margin: 72px auto 0;
  border-top: 1px solid var(--line);
}

.terms-note .eyebrow {
  margin-bottom: 12px;
}

.terms-note h3 {
  margin-bottom: 12px;
  font-size: 24px;
  font-weight: 750;
}

.terms-note > div > p:last-child {
  max-width: 660px;
  margin-bottom: 0;
  color: var(--muted);
}

.document-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  color: var(--green-dark);
  font-weight: 700;
  white-space: nowrap;
}

.document-link:hover {
  color: var(--ink);
}

.final-cta {
  min-height: 400px;
  padding: 78px 24px;
  background: var(--green-dark);
  color: var(--white);
  text-align: center;
}

.final-cta > div {
  max-width: 720px;
  margin-inline: auto;
}

.final-cta h2 {
  margin-bottom: 18px;
  font-size: 48px;
}

.final-cta > div > p:not(.microcopy) {
  margin-bottom: 44px;
  font-size: 18px;
}

.final-cta .microcopy {
  color: var(--white);
}

.final-cta .button {
  background: var(--white);
  color: var(--green-dark);
}

.final-cta .button:hover {
  background: var(--cream);
  color: var(--ink);
}

.site-footer {
  background: var(--white);
}

.footer-inner {
  min-height: 210px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 52px;
  padding-top: 52px;
}

.footer-inner > div:first-child > p,
.disclaimer {
  color: var(--muted);
  font-size: 12px;
}

.footer-inner > div:first-child > p {
  margin: 18px 0 0;
}

.footer-links {
  display: flex;
  gap: 38px;
  padding-top: 10px;
  font-size: 14px;
  font-weight: 550;
}

.disclaimer {
  max-width: 520px;
  margin: 12px 0 0 auto;
  text-align: right;
}

@media (max-width: 1100px) and (min-width: 901px) {
  .hero h1 {
    font-size: 56px;
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 64px;
  }

  .header-inner,
  .footer-inner,
  .section-inner,
  .control-inner,
  .demo-inner {
    width: min(calc(100% - 48px), 620px);
  }

  .header-inner {
    min-height: 64px;
    gap: 16px;
  }

  .brand {
    font-size: 16px;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .desktop-nav {
    display: none;
  }

  .button-small {
    min-width: 104px;
    min-height: 36px;
    margin-left: auto;
    padding-inline: 16px;
  }

  .desktop-label {
    display: none;
  }

  .mobile-label {
    display: inline;
  }

  .hero {
    height: min(620px, calc(100svh - 112px));
    min-height: 500px;
    padding: 48px 24px;
  }

  .hero h1 {
    max-width: 520px;
    font-size: 38px;
  }

  .hero-support {
    max-width: 520px;
    margin-bottom: 36px;
    font-size: 17px;
  }

  .section {
    padding: 62px 0;
  }

  .demo-inner {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .demo-copy {
    max-width: 560px;
  }

  .demo-copy h2 {
    font-size: 34px;
  }

  .demo-copy > p:not(.eyebrow) {
    font-size: 16px;
  }

  .demo-video {
    width: min(340px, 100%);
    justify-self: center;
  }

  .section-heading h2,
  .control-copy h2,
  .final-cta h2 {
    font-size: 32px;
  }

  .section-heading > p:last-child,
  .control-copy > p,
  .pricing-grid article > p:last-child {
    font-size: 16px;
  }

  .section-white {
    min-height: 820px;
  }

  .steps {
    grid-template-columns: 1fr;
    padding-top: 24px;
    margin-top: 40px;
  }

  .steps li,
  .steps li + li {
    min-height: 0;
    padding: 24px 0 34px 50px;
    border-left: 0;
  }

  .steps li + li {
    border-top: 1px solid var(--line);
  }

  .step-number {
    float: left;
    margin: 4px 0 0 -50px;
  }

  .steps h3 {
    margin-bottom: 12px;
    font-size: 21px;
  }

  .section-control {
    padding: 72px 0;
  }

  .control-copy h2 {
    margin-bottom: 28px;
  }

  .control-points {
    grid-template-columns: 1fr;
    padding-top: 28px;
  }

  .control-points li {
    padding: 18px 0;
    font-size: 13px;
  }

  .control-points li + li {
    border-top: 1px solid rgb(255 255 255 / 18%);
    border-left: 0;
  }

  .section-pricing {
    min-height: 940px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }

  .pricing-grid article {
    padding: 0;
  }

  .pricing-grid article + article {
    padding-top: 46px;
    margin-top: 42px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .pricing-grid h3 {
    font-size: 25px;
  }

  .terms-note {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 26px;
    margin-top: 54px;
  }

  .document-link {
    width: fit-content;
  }

  .final-cta {
    min-height: 430px;
    padding-top: 70px;
  }

  .final-cta h2 {
    max-width: 330px;
    margin-inline: auto;
  }

  .footer-inner {
    min-height: 336px;
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 52px 38px;
  }

  .footer-links {
    padding-top: 0;
  }

  .disclaimer {
    margin: 0;
    text-align: left;
  }
}

@media (max-width: 420px) {
  .header-inner,
  .footer-inner,
  .section-inner,
  .control-inner,
  .demo-inner {
    width: calc(100% - 40px);
  }

  .header-inner {
    width: calc(100% - 32px);
  }

  .hero {
    padding-inline: 20px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .button-primary {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }

  .site-header {
    transition: none;
  }
}
