/* Homepage polish using unslop by Damir Sokolovsky (@heydamir), CC BY 4.0.
   https://github.com/heydamir/unslop
   The sheet is loaded only by the homepage so the change can be reverted together. */
:root {
  --muted: #5f625d;
  --home-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.section {
  padding-block: 80px;
}

h1,
h2 {
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(32px, 3.2vw, 46px);
  line-height: 1.12;
}

h2 em {
  font-style: normal;
  color: inherit;
}

.eyebrow,
.feature-number {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
}

.eyebrow {
  margin-bottom: 16px;
}

.hero {
  min-height: 0;
  padding-block: 64px;
  gap: 48px;
  background: var(--paper);
}

.hero .eyebrow {
  font-size: 13px;
  letter-spacing: 0.01em;
  gap: 8px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(44px, 4.2vw, 60px);
  line-height: 1.08;
  margin-bottom: 24px;
}

.hero .lede {
  max-width: 440px;
  font-size: 18px;
  line-height: 1.6;
}

.hero-actions {
  gap: 16px;
  margin-top: 24px;
}

.hero-note {
  margin-top: 16px;
  font-size: 12px;
  line-height: 1.6;
}

.hero-product-preview img {
  box-shadow: 0 2px 8px #23272b0a;
}

.hero-product-preview figcaption {
  margin: 12px 0 8px;
  font-size: 13px;
  line-height: 1.5;
}

.hero-product-preview ol {
  gap: 8px;
}

.hero-product-preview button,
.hero-product-preview a {
  font-weight: 500;
}

.section-heading {
  gap: 48px;
  margin-bottom: 32px;
}

.workflow-controls button {
  padding: 20px 16px;
  gap: 16px;
  transition: background-color 160ms var(--home-ease), border-color 160ms var(--home-ease);
}

.workflow-controls button > span,
.stage-panel .eyebrow,
.sample-note small {
  font-size: 12px;
  letter-spacing: 0;
}

.stage-panel h3,
.product-proof h3 {
  font-size: clamp(26px, 2.3vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.product-proof {
  margin-top: 32px;
  padding: 24px;
  gap: 32px;
}

.feature-list li {
  gap: 16px;
}

.details-grid article {
  padding-top: 24px;
}

.details-grid h3 {
  font-size: 26px;
  margin: 16px 0 12px;
}

.details-grid p,
.payment-benefits p {
  font-size: 15px;
  line-height: 1.6;
}

.details-grid p + p {
  margin-top: 12px;
}

.pricing-card {
  padding: 32px;
}

.pricing-card .eyebrow {
  font-size: 12px;
  letter-spacing: 0.01em;
}

.pricing-toggle {
  padding: 4px;
  margin-top: 24px;
}

.pricing-toggle button span {
  font-size: 12px;
  background: transparent;
  padding: 0;
}

.start-section {
  padding-top: 80px;
}

.start-section h2 {
  font-size: clamp(36px, 4vw, 52px);
}

.button {
  transition: background-color 160ms var(--home-ease), color 160ms var(--home-ease);
}

.button:hover {
  transform: none;
}

@media (max-width: 850px) {
  .hero {
    text-align: left;
    gap: 32px;
    padding-top: 48px;
  }

  .hero-copy {
    width: 100%;
    max-width: 620px;
  }

  .hero .eyebrow,
  .hero .hero-actions,
  .hero-note {
    justify-content: flex-start;
  }

  .hero .lede {
    margin-left: 0;
  }

  .section-heading {
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .section {
    padding-block: 56px;
  }

  .hero {
    padding-top: 32px;
    padding-bottom: 48px;
    gap: 32px;
  }

  .hero h1 {
    font-size: 40px;
    line-height: 1.08;
    margin-bottom: 20px;
  }

  .hero .eyebrow {
    font-size: 12px;
    margin-bottom: 16px;
  }

  .hero .lede {
    font-size: 16px;
    line-height: 1.5;
  }

  .hero-actions {
    flex-direction: row;
    justify-content: flex-start;
    gap: 8px 16px;
    margin-top: 20px;
  }

  .hero .quiet-link {
    min-height: 44px;
    font-size: 14px;
  }

  .hero-note {
    font-size: 12px;
    margin-top: 12px;
    align-items: flex-start;
  }

  .product-proof {
    padding: 20px;
    gap: 16px;
  }

  .pricing-card {
    padding: 24px;
  }

  .pricing-toggle button {
    padding-inline: 12px;
  }

  .pricing-toggle button span {
    font-size: 11px;
  }

  .start-section {
    padding-top: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button,
  .workflow-controls button {
    transition: none;
  }
}
