.home-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.home-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  padding: 56px 48px 64px;
  overflow: hidden;
  text-align: center;
  background: radial-gradient(ellipse 70% 55% at 50% 0%, rgba(201, 168, 106, .08), transparent);
}

.home-hero h1 {
  max-width: 960px;
  margin: 0;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(34px, 7.2vw, 56px);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -.01em;
}

.home-hero h1 em {
  font-weight: 300;
}

.home-hero-actions,
.home-hero-note {
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-hero-actions {
  gap: 14px;
  margin-top: 6px;
}

.home-hero-note {
  gap: 14px;
  color: rgba(236, 229, 216, .62);
  font-size: 13px;
}

.home-hero-note a {
  text-decoration: none;
}

.home-workspace-preview {
  display: block;
  width: min(940px, 100%);
  height: 148px;
  margin-top: 26px;
  overflow: hidden;
  border: 1px solid rgba(236, 229, 216, .16);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: var(--mkt-raised-2);
  box-shadow: 0 -6px 60px rgba(201, 168, 106, .07);
  color: var(--mkt-ink);
  text-align: left;
  text-decoration: none;
}

.home-workspace-preview:hover {
  color: var(--mkt-ink);
}

.home-browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 18px;
  border-bottom: 1px solid rgba(236, 229, 216, .1);
}

.home-browser-bar > span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(236, 229, 216, .18);
}

.home-browser-bar small {
  margin-left: 10px;
  color: rgba(236, 229, 216, .52);
  font-size: 12px;
}

.home-workspace-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px 22px;
}

.home-workspace-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "Newsreader", Georgia, serif;
  font-size: 18px;
}

.home-workspace-title strong {
  padding: 8px 14px;
  border-radius: 3px;
  background: var(--mkt-accent);
  color: var(--mkt-bg);
  font-family: system-ui, sans-serif;
  font-size: 12px;
}

.home-workspace-row {
  display: grid;
  grid-template-columns: 2.2fr .5fr 1fr 1.2fr;
  gap: 16px;
  align-items: center;
  font-size: 13px;
}

.home-workspace-row span {
  color: rgba(236, 229, 216, .62);
}

.home-workspace-row em {
  justify-self: start;
  padding: 5px 12px;
  border-radius: 99px;
  background: rgba(157, 187, 143, .14);
  color: var(--mkt-success);
  font-size: 12px;
  font-style: normal;
  font-weight: 650;
}

.home-workspace-row i {
  color: var(--mkt-accent);
  font-size: 12px;
  font-style: normal;
}

.home-proof {
  padding: 26px 0 24px;
  display: grid;
  border-top: 1px solid rgba(236, 229, 216, .12);
}

.home-proof-eyebrow {
  margin: 0 32px 22px;
  text-align: center;
}

.home-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 0 32px;
  text-align: center;
}

.home-step:not(:last-child)::after {
  position: absolute;
  top: 19px;
  left: calc(50% + 19px);
  width: calc(100% - 38px);
  height: 1px;
  background: rgba(201, 168, 106, .34);
  content: "";
}

.home-step-num {
  position: relative;
  z-index: 1;
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 7px;
  place-items: center;
  border: 1px solid rgba(201, 168, 106, .55);
  border-radius: 50%;
  background: var(--mkt-bg);
  color: var(--mkt-accent);
  font-family: "Newsreader", Georgia, serif;
  font-size: 19px;
  line-height: 1;
}

.home-step strong {
  display: flex;
  min-height: 2.3em;
  align-items: center;
  color: var(--mkt-accent);
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 400;
  line-height: 1.15;
}

.home-step b {
  margin-top: 2px;
  font-size: 13.5px;
}

.home-step-copy {
  max-width: 34ch;
  color: rgba(236, 229, 216, .64);
  font-size: 13px;
  line-height: 1.45;
}

.home-demo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  padding: 76px 48px;
  background: var(--mkt-paper);
  color: var(--mkt-paper-ink);
}

.home-section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.home-section-heading .mkt-eyebrow {
  color: var(--mkt-paper-accent);
}

.home-walkthrough {
  width: 100%;
  max-width: 860px;
  overflow: hidden;
  border: 1px solid rgba(38, 33, 26, .12);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(23, 20, 16, .12);
}

.home-browser-bar-light {
  background: #faf8f3;
  border-color: rgba(38, 33, 26, .1);
}

.home-browser-bar-light > span {
  background: #ddd6c6;
}

.home-browser-bar-light small {
  color: rgba(38, 33, 26, .58);
}

.home-walkthrough-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid rgba(38, 33, 26, .1);
}

.home-walkthrough-tabs button {
  position: relative;
  padding: 16px 20px;
  border: 0;
  border-right: 1px solid rgba(38, 33, 26, .08);
  background: transparent;
  color: rgba(38, 33, 26, .52);
  font-size: 11px;
  letter-spacing: .16em;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
}

.home-walkthrough-tabs button:last-child {
  border-right: 0;
}

.home-walkthrough-tabs button:hover {
  background: #faf8f3;
}

.home-walkthrough-tabs button[aria-selected="true"] {
  color: var(--mkt-paper-accent);
}

.home-walkthrough-tabs button[aria-selected="true"]::after {
  position: absolute;
  bottom: 8px;
  left: 20px;
  width: 44px;
  height: 2px;
  background: var(--mkt-paper-accent);
  content: "";
}

.home-walkthrough-stage {
  min-height: 306px;
  padding: 28px;
}

.home-dropzone {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 44px 24px;
  border: 2px dashed rgba(38, 33, 26, .25);
  border-radius: 6px;
  text-align: center;
}

.home-dropzone strong {
  font-family: "Newsreader", Georgia, serif;
  font-size: 22px;
  font-weight: 400;
}

.home-dropzone span {
  color: rgba(38, 33, 26, .58);
  font-size: 13px;
}

.home-dropzone button,
.home-review-summary button {
  padding: 11px 22px;
  border: 0;
  border-radius: 3px;
  background: var(--mkt-bg);
  color: var(--mkt-ink);
  font-size: 13.5px;
  font-weight: 650;
  cursor: pointer;
}

.home-rebuild-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.home-rebuild-title strong {
  font-family: "Newsreader", Georgia, serif;
  font-size: 19px;
  font-weight: 400;
}

.home-rebuild-title span {
  color: var(--mkt-paper-accent);
  font-size: 13px;
}

.home-progress {
  height: 6px;
  margin: 16px 0;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(38, 33, 26, .1);
}

.home-progress span {
  display: block;
  width: 64%;
  height: 100%;
  border-radius: inherit;
  background: var(--mkt-paper-accent);
}

.home-rebuild-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 0;
  padding: 0;
  font-size: 13.5px;
  list-style: none;
}

.home-rebuild-list b {
  display: inline-block;
  width: 22px;
  color: #4a7c46;
}

.home-rebuild-list .is-pending {
  color: rgba(38, 33, 26, .58);
}

.home-rebuild-list .is-pending b {
  color: inherit;
}

.home-skip {
  margin-top: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--mkt-paper-accent);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.home-review-panel {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 24px;
  align-items: start;
}

.home-review-panel[hidden] {
  display: none;
}

.home-document-preview {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px;
  border: 1px solid rgba(38, 33, 26, .12);
  border-radius: 4px;
}

.home-document-preview b {
  font-family: "Newsreader", Georgia, serif;
  font-size: 14px;
}

.home-document-preview span {
  color: rgba(38, 33, 26, .76);
  font-size: 12px;
  line-height: 1.6;
}

.home-document-preview mark {
  padding: 0 3px;
  border-radius: 2px;
  background: #f3dfae;
}

.home-review-summary {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.home-review-summary p {
  margin: 0;
  color: rgba(38, 33, 26, .66);
  font-size: 13px;
}

.home-review-summary p strong {
  color: var(--mkt-paper-ink);
}

.home-review-summary span {
  color: rgba(38, 33, 26, .6);
  font-size: 12px;
  text-align: center;
}

.home-trust-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.home-trust-chips a {
  padding: 8px 16px;
  border: 1px solid rgba(38, 33, 26, .2);
  border-radius: 99px;
  color: rgba(38, 33, 26, .72);
  font-size: 13px;
  text-decoration: none;
}

.home-trust-chips a:hover {
  border-color: var(--mkt-paper-accent);
  color: var(--mkt-paper-ink);
}

.home-comparison {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  padding: 76px 48px;
  border-top: 1px solid rgba(236, 229, 216, .12);
}

.home-comparison-heading {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.home-comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid rgba(236, 229, 216, .15);
  border-radius: 4px;
}

.home-comparison-grid > div {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px 30px;
  border-right: 1px solid rgba(236, 229, 216, .15);
}

.home-comparison-grid > div:last-child {
  border-right: 0;
  background: rgba(201, 168, 106, .07);
}

.home-comparison-grid h3 {
  margin: 0;
  color: rgba(236, 229, 216, .56);
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.home-comparison-grid > div:last-child h3 {
  color: var(--mkt-accent);
}

.home-comparison-grid p {
  margin: 0;
  color: rgba(236, 229, 216, .64);
  font-size: 14px;
}

.home-comparison-grid > div:last-child p {
  color: rgba(236, 229, 216, .86);
}

.home-documents {
  padding: 76px 48px;
  border-top: 1px solid rgba(236, 229, 216, .12);
}

.home-document-cards {
  display: grid;
  max-width: 1080px;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 36px auto 0;
}

.home-document-cards article {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px;
  border: 1px solid rgba(236, 229, 216, .15);
  border-radius: 4px;
}

.home-document-cards h3 {
  margin: 0;
  color: var(--mkt-accent);
  font-family: "Newsreader", Georgia, serif;
  font-size: 21px;
  font-style: italic;
  font-weight: 400;
}

.home-document-cards p {
  margin: 0;
  color: rgba(236, 229, 216, .62);
  font-size: 13.5px;
  line-height: 1.6;
}

.home-final {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  padding: 84px 48px;
  background: rgba(201, 168, 106, .05);
  text-align: center;
}

.home-final .mkt-heading {
  font-size: 44px;
}

.home-final p {
  margin: 0;
  color: rgba(236, 229, 216, .62);
  font-size: 13px;
}

.home-chat {
  position: fixed;
  right: 28px;
  bottom: 100px;
  z-index: 45;
  display: flex;
  width: 372px;
  height: min(540px, calc(100vh - 140px));
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(236, 229, 216, .18);
  border-radius: 8px;
  background: var(--mkt-raised);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .42);
  opacity: 1;
  transform: none;
  transform-origin: bottom right;
  transition: opacity .18s var(--ease-out), transform .18s var(--ease-out);
}

.home-chat[hidden] {
  display: none;
}

.home-chat.is-leaving {
  opacity: 0;
  transform: translateY(8px) scale(.97);
  pointer-events: none;
}

@starting-style {
  .home-chat:not([hidden]) {
    opacity: 0;
    transform: translateY(8px) scale(.97);
  }
}

.home-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid rgba(236, 229, 216, .1);
}

.home-chat-header > div {
  display: flex;
  flex-direction: column;
}

.home-chat-header strong {
  font-family: "Newsreader", Georgia, serif;
  font-size: 18px;
  font-weight: 500;
}

.home-chat-header span {
  color: rgba(236, 229, 216, .56);
  font-size: 11px;
}

.home-chat-header button {
  padding: 4px 8px;
  border: 0;
  background: transparent;
  color: rgba(236, 229, 216, .62);
  font-size: 22px;
  cursor: pointer;
}

.home-chat-transcript {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  overflow-y: auto;
}

.home-chat-message {
  max-width: 84%;
  padding: 10px 12px;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.5;
}

.home-chat-message.is-assistant {
  align-self: flex-start;
  background: rgba(236, 229, 216, .08);
}

.home-chat-message.is-user {
  align-self: flex-end;
  background: var(--mkt-accent);
  color: var(--mkt-bg);
}

.home-chat-starters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 16px 12px;
}

.home-chat-starters button {
  padding: 7px 10px;
  border: 1px solid rgba(236, 229, 216, .16);
  border-radius: 99px;
  background: transparent;
  color: rgba(236, 229, 216, .74);
  font-size: 11px;
  cursor: pointer;
}

.home-chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px 16px 8px;
  border-top: 1px solid rgba(236, 229, 216, .1);
}

.home-chat-form input {
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid rgba(236, 229, 216, .18);
  border-radius: 3px;
  background: var(--mkt-bg);
  color: var(--mkt-ink);
}

.home-chat-form button {
  padding: 10px 16px;
  border: 0;
  border-radius: 3px;
  background: var(--mkt-accent);
  color: var(--mkt-bg);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

.home-chat-status {
  padding: 0 16px 10px;
  color: rgba(236, 229, 216, .5);
  font-size: 11px;
}

.home-chat-launcher {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 46;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--mkt-accent);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .3);
  cursor: pointer;
  transition: transform .15s var(--ease-out), background-color .15s ease;
}

body.has-cookie-consent .home-chat,
body.has-cookie-consent .home-chat-launcher {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .home-chat-launcher:hover {
    background: var(--mkt-accent-hover);
    transform: scale(1.07);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .home-hero-eyebrow {
    animation: mktFadeUp .55s var(--ease-out) both;
  }

  .home-hero h1 {
    animation: mktFadeUp .55s .06s var(--ease-out) both;
  }

  .home-hero-actions {
    animation: mktFadeUp .55s .12s var(--ease-out) both;
  }

  .home-hero-note {
    animation: mktFadeUp .55s .18s var(--ease-out) both;
  }

  .home-workspace-preview {
    animation: mktFadeUp .6s .24s var(--ease-out) both;
  }

  .home-progress span {
    animation: homeGrowIn .7s var(--ease-out) both;
    transform-origin: left;
  }

  /* Walkthrough steps arrive, they don't hard-cut. */
  [data-walkthrough-panel]:not([hidden]) {
    animation: homePanelIn .28s var(--ease-out);
  }
}

@keyframes homePanelIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-chat,
  .home-chat.is-leaving {
    transform: none !important;
  }
}

@keyframes homeGrowIn {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (max-width: 760px) {
  .home-hero {
    padding: 48px 20px 48px;
  }

  .home-hero-actions,
  .home-hero-note {
    flex-wrap: wrap;
  }

  .home-workspace-preview {
    height: 142px;
  }

  .home-workspace-row {
    grid-template-columns: 1fr auto;
  }

  .home-workspace-row span {
    display: none;
  }

  .home-proof {
    padding: 24px 20px 0;
  }

  .home-proof-eyebrow {
    margin: 0 0 4px;
  }

  .home-steps {
    grid-template-columns: 1fr;
  }

  .home-step {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: 5px 16px;
    align-items: start;
    padding: 22px 0;
    border-bottom: 1px solid rgba(236, 229, 216, .12);
    text-align: left;
  }

  .home-step:last-child {
    border-bottom: 0;
  }

  .home-step:not(:last-child)::after {
    display: none;
  }

  .home-step-num {
    grid-row: 1 / span 3;
    margin: 0;
  }

  .home-step strong,
  .home-step b,
  .home-step-copy {
    grid-column: 2;
  }

  .home-step strong {
    min-height: 0;
    justify-content: flex-start;
    font-size: 23px;
  }

  .home-step-copy {
    max-width: none;
  }

  .home-demo,
  .home-documents,
  .home-final {
    padding-right: 20px;
    padding-left: 20px;
  }

  .home-walkthrough-tabs {
    grid-template-columns: 1fr;
  }

  .home-walkthrough-tabs button {
    border-right: 0;
    border-bottom: 1px solid rgba(38, 33, 26, .08);
  }

  .home-walkthrough-stage {
    padding: 20px;
  }

  .home-review-panel {
    grid-template-columns: 1fr;
  }

  .home-comparison {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 64px 20px;
  }

  .home-comparison-grid,
  .home-document-cards {
    grid-template-columns: 1fr;
  }

  .home-comparison-grid > div {
    border-right: 0;
    border-bottom: 1px solid rgba(236, 229, 216, .15);
  }

  .home-comparison-grid > div:last-child {
    border-bottom: 0;
  }

  .home-final .mkt-heading {
    font-size: 38px;
  }

  .home-chat {
    right: 12px;
    left: 12px;
    width: auto;
  }

  .home-chat-launcher {
    right: 18px;
    bottom: 18px;
  }
}
