:root {
  color-scheme: light;
  --ink: #10271f;
  --mint: #d3f8e3;
  --line: #d3e5da;
  --muted: #465f54;
  --paper: #f7fcf9;
  --forest: #064e3b;
  --emerald: #047857;
  --control-height: 2.75rem;
  --control-radius: 0.52rem;
  --emerald-hover: #065f46;
  font-size: 100%;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  --gutter: clamp(1rem, 4.8vw, 5rem);
  font-family: ff-clan-web-pro, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
p,
h1,
h2,
h3,
h4,
dl,
dd,
figure,
fieldset {
  margin: 0;
}
a {
  color: inherit;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline-offset: 4px;
  outline: 3px solid var(--emerald);
}
img {
  display: block;
  max-width: 100%;
}
.wrap {
  margin-inline: auto;
  width: min(100% - 2 * var(--gutter), 77rem);
}
.visually-hidden {
  block-size: 1px;
  inline-size: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  clip-path: inset(50%);
}
.skip-link {
  z-index: 3;
  color: var(--ink);
  position: absolute;
  background: white;
  padding: 0.65rem 1rem;
  inset: 0 auto auto 1rem;
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: translateY(0);
}

.masthead {
  background: var(--paper);
}
.site-header {
  display: grid;
  gap: 0.75rem 2rem;
  min-height: 4.5rem;
  align-items: center;
  border-bottom: 1px solid var(--line);
  grid-template-columns: auto 1fr auto;
}
.brand {
  justify-self: start;
  align-items: center;
  display: inline-flex;
}
.desktop-navigation,
.site-footer nav,
.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2.35vw, 2.2rem);
}
.desktop-navigation {
  justify-content: center;
}
.mobile-navigation {
  display: none;
}
.site-header nav a,
.site-footer nav a,
.sign-in {
  gap: 0.38rem;
  font-weight: 600;
  font-size: 0.9rem;
  align-items: center;
  display: inline-flex;
  text-decoration: none;
  min-height: var(--control-height);
}
.site-header nav a:hover,
.sign-in:hover {
  color: var(--emerald);
}
.site-footer nav a:hover {
  text-decoration: underline;
}
.header-actions {
  justify-self: end;
  gap: clamp(0.7rem, 1.6vw, 1.4rem);
}
:is(.showcase, .closing-card) a:focus-visible {
  outline-color: var(--mint);
}

.button {
  gap: 0.62rem;
  font-weight: 600;
  font-size: 0.94rem;
  text-align: center;
  min-height: 3.25rem;
  align-items: center;
  display: inline-flex;
  text-decoration: none;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--control-radius);
}
.button-small {
  font-size: 0.86rem;
  padding-inline: 1rem;
  min-height: var(--control-height);
}
.button-primary {
  color: white;
  background: var(--emerald);
}
.button-primary:hover {
  background: var(--emerald-hover);
}
.button-outline {
  background: white;
  color: var(--forest);
  border-color: #8eafa0;
}
.button-outline:hover {
  background: #e5f5ec;
}
.icon {
  fill: none;
  width: 1.08em;
  height: 1.08em;
  flex-shrink: 0;
  stroke-width: 2;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero {
  display: grid;
  text-align: center;
  justify-items: center;
  padding-block: clamp(2.15rem, 3.6vw, 3.35rem) clamp(1.8rem, 3vw, 2.6rem);
}
.label {
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--emerald);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 14ch;
  font-weight: 600;
  line-height: 1.04;
  text-wrap: balance;
  letter-spacing: -0.065em;
  font-size: clamp(2.6rem, 5.55vw, 5.5rem);
}
.hero-accent {
  position: relative;
  font-style: normal;
  display: inline-block;
  color: var(--emerald-hover);
}
.hero-shimmer {
  display: none;
}
.hero-summary {
  max-width: 35rem;
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.65vw, 1.18rem);
}
.hero-actions {
  gap: 0.65rem;
  display: flex;
  flex-wrap: wrap;
  margin-top: 1.05rem;
  justify-content: center;
}

.setup,
.faq,
.closing {
  padding-block: clamp(3.5rem, 7vw, 6.6rem);
}
.practice {
  scroll-margin-top: 1rem;
}
.showcase {
  color: #f1f8ee;
  background: var(--forest);
  border: 1px solid #075d45;
  padding: clamp(0.65rem, 1.8vw, 1.5rem);
  border-radius: clamp(0.8rem, 2vw, 1.65rem);
}
.showcase-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.1rem;
  justify-content: space-between;
  padding: 0.15rem 0.2rem clamp(0.75rem, 1.7vw, 1.2rem);
}
.showcase-intro h2 {
  line-height: 1.16;
  letter-spacing: -0.03em;
  font-size: clamp(1.26rem, 2vw, 1.7rem);
}
.showcase-intro p {
  color: #cce6d6;
  margin-top: 0.28rem;
}
.showcase .demo-fullscreen {
  color: var(--mint);
}

.workflows {
  padding-block: clamp(3.75rem, 8vw, 7rem);
}
.workflow-intro {
  max-width: 46rem;
  text-align: center;
  margin-inline: auto;
  margin-bottom: clamp(1.8rem, 4.2vw, 3.65rem);
}
.workflow-intro h2 {
  line-height: 1.08;
  text-wrap: balance;
  margin-top: 0.55rem;
  letter-spacing: -0.055em;
  font-size: clamp(2.1rem, 4.5vw, 4.1rem);
}
.workflow {
  display: grid;
  align-items: center;
  gap: clamp(1.4rem, 4vw, 4.25rem);
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.45fr);
}
.workflow + .workflow {
  margin-top: clamp(1.8rem, 5.2vw, 4.4rem);
  padding-top: clamp(1.8rem, 5.2vw, 4.4rem);
  border-top: 1px solid var(--line);
}
.workflow:nth-of-type(even) {
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.82fr);
}
.workflow:nth-of-type(even) .workflow-copy {
  grid-row: 1;
  grid-column: 2;
}
.workflow:nth-of-type(even) .workflow-preview {
  grid-row: 1;
  grid-column: 1;
}
.workflow-copy .label {
  gap: 0.5rem;
  align-items: center;
  display: inline-flex;
}
.workflow-copy .label .icon {
  width: 1.25rem;
  height: 1.25rem;
}
.workflow-copy h3 {
  line-height: 1.12;
  letter-spacing: -0.045em;
  margin-block: 0.6rem 0.85rem;
  font-size: clamp(1.85rem, 3.35vw, 3.15rem);
}
.workflow-copy p:not(.label) {
  max-width: 36rem;
  color: var(--muted);
}
.workflow-link {
  font-weight: 600;
  align-items: center;
  margin-top: 0.65rem;
  display: inline-flex;
  color: var(--emerald);
  text-underline-offset: 0.25em;
  min-height: var(--control-height);
}
.workflow-link:hover {
  color: var(--forest);
}
.workflow-preview {
  display: grid;
  overflow: hidden;
  background: #e1f2e8;
  border-radius: 1.35rem;
  border: 1px solid #c9e1d3;
  padding: clamp(0.55rem, 2.1vw, 1.45rem);
}
.workflow-preview iframe {
  width: 100%;
  display: block;
  pointer-events: none;
  background: #f8fafc;
  border-radius: 0.65rem;
  border: 1px solid #c4d8c9;
  height: clamp(21rem, 34vw, 27rem);
  box-shadow: 0 0.55rem 1.25rem #0c302512;
}

.setup-grid,
.faq-grid {
  display: grid;
  gap: 1.15rem 3rem;
  align-items: start;
  grid-template-columns: 1fr 1fr;
}
:is(.setup-grid, .faq-grid) h2,
.closing-card h2 {
  font-weight: 600;
  line-height: 0.99;
  margin-top: 0.55rem;
  word-spacing: 0.035em;
  letter-spacing: -0.05em;
  font-size: clamp(2.6rem, 5.2vw, 5.3rem);
}
.setup-grid > div > p:not(.label) {
  line-height: 1.55;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
}

.setup {
  background: #e5f4eb;
  border-block: 1px solid var(--line);
}
.setup-grid > div > p:not(.label) {
  max-width: 21rem;
  margin-top: 1.2rem;
}
.setup-steps {
  margin: 0;
  padding-left: 0;
  list-style: none;
}
.setup-steps li {
  gap: 1rem;
  display: grid;
  align-items: start;
  padding-block: 1.25rem;
  border-top: 1px solid #b9ccbc;
  grid-template-columns: auto minmax(0, 1fr);
}
.setup-steps li:last-child {
  border-bottom: 1px solid #b9ccbc;
}
.step-number {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  color: #0d5039;
  font-weight: 600;
  border-radius: 50%;
  place-items: center;
  border: 1px solid #a6c3ad;
}
.setup-steps h3 {
  line-height: 1.3;
  font-size: 1.2rem;
}
.setup-steps p {
  color: var(--muted);
  margin-top: 0.35rem;
}
.faq-list details {
  border-top: 1px solid var(--line);
}
.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  gap: 0.65rem;
  display: flex;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  font-size: 1.1rem;
  min-height: 3.8rem;
  align-items: center;
  padding-block: 0.65rem;
  justify-content: space-between;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.35rem;
  transform: rotate(45deg);
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}
.faq-list details[open] summary::after {
  transform: rotate(225deg);
}
.faq-list summary:hover {
  color: var(--emerald);
}
.faq-list details p {
  max-width: 34rem;
  color: var(--muted);
  padding: 0 1rem 1.05rem 0;
}
.faq-list details a {
  color: #05664b;
  text-underline-offset: 0.16em;
}

.closing {
  padding-top: 0;
  background: var(--paper);
}
.closing-card {
  gap: 1.5rem;
  display: flex;
  color: #f1f8ee;
  align-items: end;
  border-radius: 1rem;
  background: var(--forest);
  border: 1px solid #214b3b;
  justify-content: space-between;
  padding: clamp(1.4rem, 5.8vw, 5rem);
  border-left: 0.45rem solid var(--mint);
}
.closing-card h2 {
  margin: 0;
}
.closing-card p {
  margin-top: 1rem;
  color: #c6dbcd;
  font-size: 1.07rem;
}
.closing-card .button-primary {
  flex-shrink: 0;
  color: var(--forest);
  background: var(--mint);
}
.closing-card .button-primary:hover {
  background: white;
}
.site-footer {
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  min-height: 6.5rem;
  gap: 0.5rem 1.2rem;
  align-items: center;
  padding-block: 1rem;
}
.footer-inner p {
  font-size: 0.9rem;
  color: var(--muted);
}
.site-footer nav {
  margin-left: auto;
}

@media (max-width: 58rem) {
  .workflow,
  .workflow:nth-of-type(even) {
    grid-template-columns: 1fr;
  }
  .workflow:nth-of-type(even) .workflow-copy,
  .workflow:nth-of-type(even) .workflow-preview {
    grid-area: auto;
  }
}

@media (max-width: 48rem) {
  .site-header {
    position: relative;
    column-gap: clamp(0.4rem, 2vw, 0.8rem);
    grid-template-columns: minmax(0, 1fr) auto auto;
  }
  .desktop-navigation,
  .header-actions .desktop-sign-in {
    display: none;
  }
  .mobile-navigation {
    display: block;
  }
  .mobile-navigation summary {
    gap: 0.35rem;
    display: flex;
    cursor: pointer;
    list-style: none;
    padding-inline: 0.62rem;
  }
  .mobile-navigation summary::-webkit-details-marker {
    display: none;
  }
  .mobile-navigation[open] summary {
    color: var(--forest);
    background: var(--mint);
    border-color: var(--emerald);
  }
  .mobile-menu {
    z-index: 2;
    inset-inline: 0;
    padding: 0.75rem;
    position: absolute;
    background: white;
    border-radius: 0.9rem;
    top: calc(100% + 0.45rem);
    border: 1px solid var(--line);
    box-shadow: 0 0.8rem 1.8rem #064e3b25;
  }
  .mobile-menu ul {
    margin: 0;
    padding: 0;
    gap: 0.45rem;
    display: grid;
    list-style: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mobile-menu li a {
    width: 100%;
    min-height: 3.15rem;
    padding-inline: 0.55rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--control-radius);
  }
  .mobile-menu li:first-child a,
  .mobile-menu li a:is(:hover, :focus-visible) {
    background: var(--mint);
  }
  .mobile-menu li a:is(:hover, :focus-visible) {
    border-color: var(--emerald);
  }
  .mobile-menu .icon {
    color: var(--emerald);
  }
  .mobile-menu > .sign-in {
    width: 100%;
    margin-top: 0.45rem;
    padding-inline: 0.55rem;
    border-top: 1px solid var(--line);
  }
  .site-header .brand img {
    height: auto;
    width: clamp(3.75rem, 15vw, 4.5rem);
  }
}

@media (max-width: 42rem) {
  .workflow-preview iframe {
    height: 24rem;
  }
  .setup-grid,
  .faq-grid {
    gap: 1.15rem;
    grid-template-columns: 1fr;
  }
  .setup-steps {
    margin-top: 0.45rem;
  }
  .closing-card {
    align-items: start;
    flex-direction: column;
  }
  .footer-inner {
    column-gap: 0.9rem;
  }
  .site-footer nav {
    width: 100%;
    gap: 1.25rem;
    margin-left: 0;
  }
}

@media (max-width: 29rem) {
  .hero {
    padding-block: 2.1rem 2.25rem;
  }
  .hero h1 {
    font-size: clamp(2rem, 9.8vw, 3.25rem);
  }
  .header-actions .button-small {
    gap: 0.35rem;
    padding-inline: 0.55rem;
  }
  .hero-actions .button {
    flex: 1 1 100%;
  }
  .workflow-preview {
    border-radius: 0.9rem;
  }
  .closing-card .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: smooth;
  }

  @supports selector(details::details-content) and (transition-behavior: allow-discrete) {
    .mobile-navigation::details-content {
      opacity: 0;
      transition:
        opacity 200ms ease-out,
        content-visibility 200ms allow-discrete;
    }

    .mobile-menu {
      translate: 0 -0.35rem;
      transition: translate 200ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    .mobile-navigation[open]::details-content {
      opacity: 1;
    }

    .mobile-navigation[open] .mobile-menu {
      translate: 0;
    }
  }

  .site-header .mobile-menu li a {
    transition:
      color 140ms ease-out,
      border-color 140ms ease-out,
      background-color 140ms ease-out;
  }

  .hero-shimmer {
    inset: 0;
    display: block;
    color: #087e59;
    position: absolute;
    pointer-events: none;
    animation: tagline-shimmer 5s ease-out 450ms infinite backwards;
  }

  [data-motion-paused] .hero-shimmer {
    display: none;
  }

  @keyframes tagline-shimmer {
    0% {
      clip-path: polygon(-30% 0, -7% 0, -22% 100%, -45% 100%);
    }
    24%,
    100% {
      clip-path: polygon(125% 0, 148% 0, 133% 100%, 110% 100%);
    }
  }

  .button {
    transition:
      color 140ms ease-out,
      transform 140ms ease-out,
      border-color 140ms ease-out,
      background-color 140ms ease-out;
  }

  .button:active {
    transform: scale(0.985);
  }

  .site-header nav a,
  .sign-in,
  .faq-list summary {
    transition: color 140ms ease-out;
  }

  .workflow-link,
  .demo-fullscreen {
    transition:
      color 140ms ease-out,
      text-underline-offset 140ms ease-out;
  }

  :is(.workflow-link, .demo-fullscreen):is(:hover, :focus-visible) {
    text-underline-offset: 0.35em;
  }

  .faq-list summary::after {
    transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  @supports (interpolate-size: allow-keywords) and selector(::details-content) {
    .faq-list details {
      interpolate-size: allow-keywords;
    }

    .faq-list details::details-content {
      height: 0;
      opacity: 0;
      overflow: clip;
      transition:
        opacity 140ms ease-out,
        height 240ms cubic-bezier(0.22, 1, 0.36, 1),
        content-visibility 240ms allow-discrete;
    }

    .faq-list details[open]::details-content {
      height: auto;
      opacity: 1;
    }
  }
}
