.home-page {
  --home-orange: #ff763b;
  --home-ink: #19253f;
  --home-paper: #fff7ee;
  --home-tint: #dfe8fb;
  --home-surface: #fffdfa;
  --home-muted: #47536c;
  --home-line: color-mix(in srgb, var(--home-ink) 17%, transparent);
  --home-gutter: clamp(1.125rem, 5vw, 3.5rem);
  color: var(--home-ink);
  background: var(--home-paper);
}

.home-page :focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}

.home-wrap {
  width: min(100% - 2 * var(--home-gutter), 75rem);
  margin-inline: auto;
}

.home-main {
  min-height: 0;
  padding: 0;
}

.home-main > .notice {
  width: min(100% - 2 * var(--home-gutter), 75rem);
  margin: 1rem auto 0;
  border-color: var(--home-orange);
  background: var(--home-surface);
}

.home-header {
  border-color: var(--home-line);
  background: var(--home-paper);
}

.home-header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.25rem;
  min-height: 4.6rem;
}

.home-brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: .55rem;
  color: var(--home-ink);
  font-size: 1.125rem;
  font-weight: 810;
  letter-spacing: -.045em;
  text-decoration: none;
  white-space: nowrap;
}

.home-brand-mark,
.home-demo-mark {
  display: grid;
  flex: none;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: .5rem;
  background: var(--home-orange);
}

.home-envelope {
  position: relative;
  width: 1.05rem;
  height: .8rem;
  overflow: hidden;
  border: 1.5px solid currentColor;
  border-radius: 3px;
}

.home-envelope::after {
  position: absolute;
  top: -.45rem;
  left: 50%;
  width: .68rem;
  height: .68rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateX(-50%) rotate(45deg);
  content: "";
}

.home-nav {
  gap: clamp(.25rem, 1.5vw, 1.2rem);
  justify-content: center;
}

.home-nav a,
.home-signin {
  color: var(--home-ink);
  font-size: .938rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.home-nav a:hover,
.home-signin:hover,
.home-text-link:hover {
  text-decoration: underline;
  text-underline-offset: .24em;
}

.home-account,
.home-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(.8rem, 2vw, 1.35rem);
}

.home-account {
  justify-content: flex-end;
}

.home-button {
  display: inline-flex;
  width: fit-content;
  min-height: 3.15rem;
  align-items: center;
  justify-content: center;
  padding: .7rem 1.2rem;
  border: 1px solid color-mix(in srgb, var(--home-ink) 62%, var(--home-orange));
  border-radius: .55rem;
  color: var(--home-ink);
  background: var(--home-orange);
  font-weight: 790;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.home-button:hover {
  background: color-mix(in srgb, var(--home-orange) 78%, var(--home-paper));
}

.home-button-small {
  min-height: 2.65rem;
  padding: .58rem .9rem;
  font-size: .9rem;
  white-space: nowrap;
}

.home-text-link {
  color: var(--home-ink);
  font-weight: 690;
  text-decoration-color: var(--home-line);
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 4.6vw, 4.5rem);
  padding-block: clamp(3.25rem, 7.5vw, 7rem);
}

.home-hero h1 {
  margin: 0 0 1.55rem;
  font-size: clamp(2.7rem, 5.45vw, 5rem);
  font-weight: 825;
  line-height: .98;
  letter-spacing: -.075em;
  overflow-wrap: normal;
}

.home-highlight {
  padding-inline: .04em .13em;
  margin-inline-start: -.04em;
  background: linear-gradient(transparent 68%, var(--home-orange) 68% 90%, transparent 90%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.home-headline-tail {
  display: block;
  margin-top: .35em;
  font-size: .69em;
  line-height: 1.07;
  letter-spacing: -.063em;
}

.home-hero-copy p {
  max-width: 38ch;
  margin: 0 0 1.7rem;
  color: var(--home-muted);
  font-size: clamp(1.075rem, 1.8vw, 1.25rem);
  line-height: 1.55;
}

.home-demo {
  min-width: 0;
  margin: 0;
  padding: clamp(1rem, 3.2vw, 2rem);
  border: 1px solid var(--home-line);
  border-radius: 1.35rem;
  background-color: var(--home-tint);
  background-image: radial-gradient(var(--home-line) .8px, transparent .8px);
  background-size: 1rem 1rem;
}

.home-demo figcaption {
  color: var(--home-muted);
  font-size: .82rem;
  font-weight: 690;
}

.home-demo-incoming {
  display: flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: .72rem;
  margin-top: 1.35rem;
  padding: .65rem .9rem .65rem .65rem;
  border: 1px solid var(--home-line);
  border-radius: .68rem;
  background: var(--home-orange);
  box-shadow: 0 .45rem 1rem var(--home-line);
}

.home-demo-mark {
  color: var(--home-paper);
  background: var(--home-ink);
}

.home-demo-incoming strong,
.home-demo-incoming small,
.home-message-text strong,
.home-message-text small {
  display: block;
  line-height: 1.3;
}

.home-demo-incoming strong,
.home-message-text strong {
  font-size: .92rem;
  font-weight: 740;
}

.home-demo-incoming small,
.home-message-text small {
  margin-top: .24rem;
  color: inherit;
  font-size: .82rem;
}

.home-demo-connector {
  width: 2px;
  height: 1.4rem;
  margin-left: 1.65rem;
  background: color-mix(in srgb, var(--home-ink) 48%, transparent);
}

.home-demo-window {
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: .8rem;
  background: var(--home-surface);
  box-shadow: 0 .8rem 2.3rem var(--home-line);
}

.home-demo-window-title {
  padding: .75rem 1rem;
  color: var(--home-paper);
  background: var(--home-ink);
  font-size: .9rem;
  font-weight: 780;
}

.home-demo-messages {
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-demo-messages li {
  display: grid;
  grid-template-columns: 1.85rem minmax(0, 1fr) auto;
  align-items: center;
  gap: .7rem;
  margin: 0;
  padding: .85rem .9rem;
}

.home-demo-messages li + li {
  border-top: 1px solid var(--home-line);
}

.home-message-text small {
  color: var(--home-muted);
}

.home-message-icon {
  display: grid;
  width: 1.85rem;
  height: 1.85rem;
  place-items: center;
  border-radius: .45rem;
  font-weight: 820;
}

.home-status {
  width: fit-content;
  padding: .26rem .5rem;
  border-radius: .4rem;
  font-size: .79rem;
  font-weight: 720;
  line-height: 1.2;
}

.home-forwarded {
  color: #205441;
  background: #e2f1e9;
}

.home-review {
  color: #833718;
  background: #ffe5d4;
}

.home-confirmation {
  color: #344570;
  background: var(--home-tint);
}

.home-workflow {
  padding-block: clamp(3rem, 6vw, 5.1rem);
  border-top: 1px solid var(--home-line);
  background: var(--home-surface);
}

.home-page h2 {
  margin: 0;
  font-size: clamp(2rem, 4.35vw, 3.65rem);
  font-weight: 790;
  line-height: 1.02;
  letter-spacing: -.067em;
}

.home-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.35rem, 4.3vw, 3.3rem);
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.home-steps li {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--home-line);
}

.home-step-number {
  display: grid;
  width: 1.9rem;
  height: 1.9rem;
  place-items: center;
  margin-bottom: .8rem;
  border-radius: 50%;
  background: var(--home-tint);
  font-weight: 780;
}

.home-steps h3 {
  font-size: 1.22rem;
  font-weight: 760;
}

.home-steps p {
  max-width: 34ch;
  margin: .48rem 0 0;
  color: var(--home-muted);
}

.home-features {
  padding-block: clamp(3rem, 6.3vw, 5.8rem);
  color: var(--home-paper);
  background: var(--home-ink);
}

.home-features-grid,
.home-faq {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1fr);
  gap: clamp(1.65rem, 6vw, 5.5rem);
  align-items: start;
}

.home-features h2 {
  max-width: 13ch;
  color: var(--home-orange);
}

.home-features p {
  max-width: 31ch;
  margin: 1rem 0 0;
  color: var(--home-tint);
  font-size: 1.025rem;
}

.home-feature-list {
  display: block;
  margin: 0;
  font-size: 1rem;
}

.home-feature-list > div {
  padding: 1.05rem 0;
  border-top: 1px solid color-mix(in srgb, var(--home-paper) 28%, transparent);
}

.home-feature-list > div:last-child {
  padding-bottom: 0;
}

.home-feature-list dt {
  color: var(--home-paper);
  font-size: 1.12rem;
  font-weight: 750;
}

.home-feature-list dd {
  margin: .26rem 0 0;
  color: var(--home-tint);
}

.home-faq {
  padding-block: clamp(3.1rem, 6.4vw, 5.6rem);
}

.home-questions details {
  border-top: 1px solid var(--home-line);
}

.home-questions details:last-child {
  border-bottom: 1px solid var(--home-line);
}

.home-questions summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  min-height: 3.75rem;
  padding: .8rem 0;
  cursor: pointer;
  font-weight: 740;
  list-style: none;
}

.home-questions summary::-webkit-details-marker {
  display: none;
}

.home-questions summary::after {
  display: grid;
  width: 1.55rem;
  height: 1.55rem;
  place-items: center;
  border-radius: 50%;
  background:
    linear-gradient(var(--home-ink), var(--home-ink)) center / .62rem 1.5px no-repeat,
    linear-gradient(var(--home-ink), var(--home-ink)) center / 1.5px .62rem no-repeat,
    var(--home-tint);
  content: "";
}

.home-questions details[open] summary::after {
  background-size: .62rem 1.5px, 0 0;
}

.home-questions p {
  max-width: 58ch;
  margin: 0 0 1.2rem;
  color: var(--home-muted);
}

.home-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.45rem 2rem;
  padding: clamp(1.45rem, 4.7vw, 3.6rem);
  border-radius: 1.15rem;
  background: var(--home-orange);
}

.home-cta-inner h2 {
  max-width: 17ch;
}

.home-cta-inner p {
  margin: .65rem 0 0;
}

.home-button-inverse {
  color: var(--home-paper);
  background: var(--home-ink);
}

.home-button-inverse:hover {
  background: color-mix(in srgb, var(--home-ink) 88%, var(--home-tint));
}

.home-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 3.6rem);
  padding: 1.15rem 0 1.5rem;
  border-top: 1px solid var(--home-line);
}

@media (max-width: 56rem) {
  .home-header-inner {
    grid-template-columns: 1fr auto;
  }

  .home-nav {
    display: none;
  }

  .home-hero {
    grid-template-columns: 1fr;
    padding-top: 3.5rem;
  }

  .home-hero h1 {
    font-size: clamp(2.65rem, 8.3vw, 5rem);
  }

  .home-demo {
    width: min(100%, 36rem);
  }
}

@media (max-width: 42rem) {
  .home-features-grid,
  .home-faq,
  .home-steps {
    grid-template-columns: 1fr;
  }

  .home-steps {
    margin-top: 1.5rem;
  }
}

@media (max-width: 28rem) {
  .home-header-inner {
    min-height: 4rem;
    gap: .6rem;
  }

  .home-brand {
    font-size: 1rem;
  }

  .home-brand-mark {
    width: 1.75rem;
    height: 1.75rem;
  }

  .home-hero {
    padding-top: 2.5rem;
  }

  .home-demo-messages li {
    grid-template-columns: 1.85rem minmax(0, 1fr);
    gap: .35rem .6rem;
    padding: .75rem .65rem;
  }

  .home-message-icon {
    grid-row: span 2;
    align-self: start;
  }

  .home-status {
    grid-column: 2;
  }
}

@media (max-width: 23rem) {
  .home-hero h1 {
    font-size: clamp(2.25rem, 12vw, 2.65rem);
  }

  .home-account .home-signin + .home-button-small {
    display: none;
  }
}
