:root {
  color-scheme: light;
  --home-bg: #f7f7f5;
  --home-surface: #fff;
  --home-ink: #20232a;
  --home-muted: #626873;
  --home-line: #e2e4e7;
  --home-accent: #6951a5;
  --home-radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.home-page {
  margin: 0;
  background: var(--home-bg);
  color: var(--home-ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.home-page a {
  color: inherit;
  text-decoration: none;
}

.home-page svg,
.home-page img {
  display: block;
}

.home-wrap {
  width: min(1080px, calc(100% - 40px));
  margin-inline: auto;
}

.home-header {
  border-bottom: 1px solid var(--home-line);
  background: var(--home-surface);
}

.home-nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.home-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  font-size: 17px;
  font-weight: 700;
}

.home-brand img {
  width: 38px;
  height: auto;
  object-fit: contain;
}

.home-nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
  color: #4f5560;
  font-size: 13px;
}

.home-nav-links a:hover,
.home-footer-links a:hover {
  color: var(--home-accent);
}

.home-nav-cta,
.home-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 15px;
  border: 1px solid #5b478e;
  border-radius: 5px;
  background: #5b478e;
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
}

.home-nav-cta:hover,
.home-button:hover {
  background: #493878;
}

.home-nav-cta svg,
.home-button svg,
.home-workflow-links svg {
  width: 16px;
  height: 16px;
}

.home-mobile-menu {
  display: none;
}

.home-hero {
  padding: 78px 0;
  border-bottom: 1px solid var(--home-line);
  background: var(--home-surface);
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  align-items: center;
  gap: 50px;
}

.home-eyebrow,
.home-kicker {
  margin: 0 0 12px;
  color: #655486;
  font-size: 12px;
  font-weight: 650;
}

.home-hero h1 {
  max-width: 600px;
  margin: 0;
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 690;
  letter-spacing: -2px;
  line-height: 1.12;
}

.home-hero h1 em {
  color: var(--home-accent);
  font-style: normal;
}

.home-hero-copy {
  max-width: 520px;
  margin: 18px 0 23px;
  color: var(--home-muted);
  font-size: 15px;
  line-height: 1.7;
}

.home-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 17px;
}

.home-text-link {
  color: #4f5560 !important;
  font-size: 13px;
  font-weight: 600;
}

.home-text-link:hover {
  color: var(--home-accent) !important;
}

.home-brand-art {
  display: grid;
  min-height: 186px;
  justify-items: center;
  align-content: center;
  gap: 14px;
  border: 1px solid #e4e0ed;
  border-radius: 8px;
  background: #f3f0f8;
}

.home-brand-art img {
  width: 112px;
  height: auto;
  object-fit: contain;
}

.home-art-caption {
  color: #5e586a;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.4px;
}

.home-supported {
  border-bottom: 1px solid var(--home-line);
  background: #f0f1f3;
}

.home-supported-inner {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.home-supported-label {
  color: #656b76;
  font-size: 12px;
}

.home-platforms {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.home-platform {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3e444d;
  font-size: 12px;
}

.home-platform img {
  width: 17px;
  height: 17px;
  object-fit: contain;
}

.home-platform > span {
  width: 17px;
  text-align: center;
  color: #251e4f;
  font-size: 15px;
  font-weight: 700;
}

.home-section {
  padding: 66px 0;
}

.home-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 26px;
}

.home-section-heading .home-kicker {
  margin-bottom: 8px;
}

.home-section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 650;
  letter-spacing: -1.2px;
  line-height: 1.2;
}

.home-section-heading > p {
  max-width: 410px;
  margin: 0;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.7;
}

.home-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.home-benefit {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  background: var(--home-surface);
}

.home-benefit-icon {
  width: 21px;
  height: 21px;
  color: var(--home-accent);
}

.home-benefit h3 {
  margin: 18px 0 7px;
  font-size: 16px;
  font-weight: 650;
}

.home-benefit p {
  margin: 0;
  color: var(--home-muted);
  font-size: 13px;
  line-height: 1.65;
}

.home-card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 18px;
  color: #574387 !important;
  font-size: 12px;
  font-weight: 650;
}

.home-card-link:hover {
  color: #392960 !important;
}

.home-pricing {
  padding-top: 66px;
  border-top: 1px solid var(--home-line);
  background: #f0f1f3;
}

.home-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.home-plan {
  display: flex;
  min-height: 180px;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  background: var(--home-surface);
}

.home-plan-label {
  color: #666d78;
  font-size: 11px;
}

.home-plan h3 {
  margin: 13px 0 6px;
  font-size: 20px;
  font-weight: 650;
}

.home-plan p {
  margin: 0 0 17px;
  color: var(--home-muted);
  font-size: 13px;
  line-height: 1.6;
}

.home-plan a {
  margin-top: auto;
  color: #574387;
  font-size: 13px;
  font-weight: 650;
}

.home-plan-note {
  margin: 18px 0 0;
  color: var(--home-muted);
  font-size: 12px;
}

.home-plan-note a {
  color: #574387;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.home-footer {
  padding: 25px 0;
  border-top: 1px solid var(--home-line);
  background: var(--home-surface);
}

.home-footer-top,
.home-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.home-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 19px;
  color: #5c626d;
  font-size: 12px;
}

.home-footer-bottom {
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--home-line);
  color: #737984;
  font-size: 11px;
}

.home-footer-bottom p {
  margin: 0;
}

.home-page a:focus-visible,
.home-page summary:focus-visible {
  outline: 2px solid #6951a5;
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .home-nav-links,
  .home-nav-cta {
    display: none;
  }

  .home-mobile-menu {
    position: relative;
    display: block;
  }

  .home-mobile-menu summary {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid var(--home-line);
    border-radius: 5px;
    cursor: pointer;
    list-style: none;
  }

  .home-mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .home-mobile-menu summary svg {
    width: 19px;
    height: 19px;
  }

  .home-mobile-links {
    position: absolute;
    top: 47px;
    right: 0;
    z-index: 3;
    display: grid;
    min-width: 195px;
    padding: 6px 14px;
    border: 1px solid var(--home-line);
    border-radius: 5px;
    background: var(--home-surface);
    box-shadow: 0 8px 24px #1f253010;
  }

  .home-mobile-links a {
    padding: 11px 0;
    border-bottom: 1px solid var(--home-line);
    font-size: 13px;
  }

  .home-mobile-links a:last-child {
    border-bottom: 0;
  }

  .home-hero {
    padding: 55px 0;
  }

  .home-hero-grid {
    grid-template-columns: 1fr 130px;
    gap: 24px;
  }

  .home-brand-art img {
    width: 120px;
  }

  .home-art-caption {
    text-align: center;
  }

  .home-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

}

@media (max-width: 540px) {
  .home-wrap {
    width: calc(100% - 32px);
  }

  .home-hero-grid {
    grid-template-columns: 1fr;
  }

  .home-hero h1 {
    font-size: 43px;
  }

  .home-brand-art {
    display: none;
  }

  .home-supported-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 16px 0;
  }

  .home-platforms {
    gap: 16px;
  }

  .home-section {
    padding: 56px 0;
  }

  .home-benefits,
  .home-plan-grid {
    grid-template-columns: 1fr;
  }

  .home-workflow {
    padding-bottom: 56px;
  }

  .home-workflow-panel {
    padding: 22px;
  }

  .home-footer-top,
  .home-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
