body {
  background: #fcfaf7;
}

.home-content {
  --home-ink: #222139;
  --home-muted: #57556b;
  --home-border: #e9e2df;
  --home-accent: #ae3519;
  --home-accent-soft: #fbe9df;
  --home-surface: #fff;
  color: var(--home-ink);
}

.home-content .hero {
  padding: clamp(48px, 7.3vw, 86px) 0 clamp(33px, 5.2vw, 68px);
  background:
    radial-gradient(ellipse at 12% 25%, #ffe9dc 0%, transparent 56%),
    radial-gradient(ellipse at 90% 6%, #edeaff 0%, transparent 57%),
    linear-gradient(180deg, #fff8f3, #fcfaf7);
}

.home-content .hero-intro {
  min-height: 0;
}

.home-content .hero h1 {
  max-width: 990px;
  font-size: clamp(2.5rem, 6.2vw, 4.75rem);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -.062em;
}

.hero-highlight {
  color: var(--home-accent);
}

.home-content .hero-subtitle {
  max-width: 590px;
  margin: clamp(15px, 2.3vw, 22px) auto 27px;
  color: var(--home-muted);
  line-height: 1.6;
  text-wrap: pretty;
}

.home-content .hero-composer {
  max-width: 740px;
  padding: 1px;
  background: #e6d0c5;
  border-radius: 22px;
  box-shadow: 0 15px 40px #4f312114;
}

.home-content .hero-composer-inner {
  padding: 17px 18px 14px;
  border-radius: 21px;
  background: var(--home-surface);
}

.home-content .hero-composer textarea {
  min-height: 97px;
  color: var(--home-ink);
}

.home-content .hero-composer textarea::placeholder {
  color: #716e80;
}

.home-content .hero-composer:focus-within {
  background: #ba5c43;
  box-shadow: 0 0 0 4px #a73d191a, 0 15px 40px #4f312114;
}

.home-content .composer-note {
  color: var(--home-muted);
  font-weight: 550;
}

.home-content .btn.orange,
.topbar #homeSignupAction.btn.orange {
  background: linear-gradient(135deg, #c23d17, #ae3114);
  box-shadow: 0 7px 20px #9b2b172d;
}

.home-content .hero-form-error {
  max-width: 740px;
  min-height: 0;
  margin: 9px auto 0;
  color: var(--home-accent);
}

.home-content .hero-form-error:empty {
  margin: 0;
}

.home-content .hero-assurance {
  display: flex;
  gap: 10px 22px;
  margin-top: 19px;
  color: var(--home-muted);
  text-align: center;
}

.home-content .hero-assurance span::before {
  color: #277256;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 2px 22px;
  width: 100%;
  max-width: 740px;
  margin: 14px auto 0;
}

.home-text-link,
.home-prompt-ideas > summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 8px;
  color: var(--home-accent);
  font-size: .9rem;
  font-weight: 700;
  list-style: none;
  text-underline-offset: 3px;
}

.home-text-link:hover,
.home-prompt-ideas > summary:hover {
  text-decoration: underline;
}

.home-prompt-ideas[open] {
  flex-basis: 100%;
}

.home-prompt-ideas > summary {
  justify-content: center;
  color: var(--home-muted);
  cursor: pointer;
}

.home-prompt-ideas .prompt-rotator {
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
  margin-top: 3px;
}

.home-prompt-ideas .rotating-prompt {
  min-height: 64px;
  background: #fff;
  border-color: var(--home-border);
  box-shadow: none;
}

.home-content #orchestration,
.home-content .home-platform {
  padding: 0 0 clamp(32px, 5vw, 62px);
  scroll-margin-top: 94px;
}

.home-anchor {
  display: block;
  height: 0;
  scroll-margin-top: 94px;
}

.home-workflow-shell,
.home-template-disclosure {
  border: 1px solid var(--home-border);
  border-radius: 26px;
  background: var(--home-surface);
}

.home-workflow-shell {
  padding: clamp(19px, 3.8vw, 45px);
  box-shadow: 0 12px 38px #3424260a;
}

.home-section-heading {
  margin-bottom: clamp(18px, 3vw, 29px);
}

.home-section-heading h2 {
  font-size: clamp(1.74rem, 4.2vw, 3.1rem);
  font-weight: 830;
  line-height: 1.1;
  letter-spacing: -.046em;
  text-wrap: balance;
}

.home-section-heading p {
  max-width: 670px;
  margin-top: 9px;
  color: var(--home-muted);
  line-height: 1.58;
}

.home-workflow-steps,
.home-platform-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
}

.home-workflow-step,
.home-platform-card {
  min-width: 0;
  padding: clamp(15px, 2.2vw, 23px);
  border: 1px solid var(--home-border);
  border-radius: 17px;
  background: #fdfbf9;
}

.home-workflow-step h3,
.home-platform-card h3 {
  font-size: 1.04rem;
  line-height: 1.24;
}

.home-workflow-step p,
.home-platform-card p {
  margin-top: 6px;
  color: var(--home-muted);
  font-size: .91rem;
  line-height: 1.55;
}

.home-step-icon {
  position: relative;
  display: block;
  width: 42px;
  height: 42px;
  margin-bottom: 13px;
  border-radius: 13px;
  background: #ffeade;
  color: #a8391e;
}

.home-step-icon::before,
.home-step-icon::after {
  position: absolute;
  content: "";
}

.home-step-icon.describe::before {
  inset: 12px 10px 14px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.home-step-icon.describe::after {
  left: 14px;
  bottom: 11px;
  width: 7px;
  height: 7px;
  background: #ffeade;
  border: solid currentColor;
  border-width: 0 0 2px 2px;
  transform: skewY(-32deg);
}

.home-step-icon.build {
  background: #eae9ff;
  color: #5444a8;
}

.home-step-icon.build::before {
  inset: 12px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.home-step-icon.build::after {
  inset: 17px 8px 8px 17px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  border-radius: 0 0 4px;
}

.home-step-icon.review {
  background: #e4f5ed;
  color: #29684e;
}

.home-step-icon.review::before {
  inset: 10px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.home-step-icon.review::after {
  top: 17px;
  left: 16px;
  width: 11px;
  height: 6px;
  border: solid currentColor;
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg);
}

.home-step-icon.publish {
  background: #e5edff;
  color: #345691;
}

.home-step-icon.publish::before {
  inset: 18px 12px 10px;
  border: solid currentColor;
  border-width: 0 2px 2px;
  border-radius: 3px;
}

.home-step-icon.publish::after {
  top: 10px;
  left: 17px;
  width: 8px;
  height: 8px;
  border: solid currentColor;
  border-width: 2px 2px 0 0;
  transform: rotate(-45deg);
  box-shadow: -3px 3px 0 -2px currentColor;
}

.home-workflow-prompt {
  margin-top: 19px;
  border-top: 1px solid var(--home-border);
}

.home-workflow-prompt > summary,
.home-template-disclosure > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  font-weight: 740;
  list-style: none;
  cursor: pointer;
}

.home-workflow-prompt > summary::-webkit-details-marker,
.home-template-disclosure > summary::-webkit-details-marker,
.home-prompt-ideas > summary::-webkit-details-marker {
  display: none;
}

.home-workflow-prompt > summary::after,
.home-template-disclosure > summary::after {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-right: 3px;
  border: solid var(--home-accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  content: "";
}

.home-workflow-prompt[open] > summary::after,
.home-template-disclosure[open] > summary::after {
  transform: rotate(225deg);
}

.home-workflow-input {
  display: grid;
  justify-items: start;
  gap: 8px;
  max-width: 680px;
  padding: 6px 0 5px;
}

.home-workflow-input label {
  color: var(--home-muted);
  font-size: .9rem;
}

.home-workflow-input textarea {
  display: block;
  width: 100%;
  min-height: 85px;
  padding: 12px;
  border: 1px solid #bcb1af;
  border-radius: 11px;
  color: var(--home-ink);
  background: var(--home-surface);
  font: inherit;
  resize: vertical;
}

.home-platform-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-platform-card {
  border-top: 3px solid #c98e78;
  background: var(--home-surface);
}

.home-template-section {
  margin: 0 auto 12px;
}

.home-template-disclosure {
  padding: 4px clamp(15px, 3vw, 29px);
  border-radius: 17px;
}

.home-template-disclosure .home-templates {
  grid-template-columns: minmax(0, 1fr);
  padding: 7px 0 17px;
}

.home-template-disclosure .template-filters {
  justify-content: flex-start;
}

.home-content :is(.architecture-head, .faq-head) h2 {
  font-size: clamp(1.85rem, 4.2vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -.048em;
}

.home-content #features {
  scroll-margin-top: 94px;
}

.home-content :is(a, button, summary, .home-workflow-input textarea):focus-visible {
  outline: 2px solid #6b4fad;
  outline-offset: 3px;
}

@media (max-width: 830px) {
  .home-workflow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .home-platform-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-template-disclosure .home-templates-head {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .home-template-disclosure .home-template-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-content .hero h1 {
    font-size: clamp(2.18rem, 9vw, 3.36rem);
  }

  .home-content .hero-subtitle {
    margin-bottom: 19px;
  }

  .home-content .hero-composer textarea {
    min-height: 88px;
  }

  .home-content .hero-assurance {
    gap: 7px 14px;
  }
}

@media (max-width: 420px) {
  .home-workflow-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-workflow-step {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 11px;
  }

  .home-step-icon {
    grid-row: span 2;
    margin: 0;
  }

  .home-workflow-step p {
    grid-column: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
