:root {
  --bg: #fcf7ef;
  --bg-soft: #f6efe3;
  --surface: rgba(255, 252, 247, 0.82);
  --surface-strong: rgba(255, 253, 250, 0.94);
  --surface-sage: #eef2ea;
  --surface-peach: #f8ece5;
  --surface-warm: #fbf2eb;
  --ink: #556e60;
  --ink-strong: #496253;
  --muted: #6e8177;
  --muted-soft: #87988f;
  --line: rgba(135, 152, 143, 0.18);
  --line-strong: rgba(118, 138, 128, 0.28);
  --sage: #96b09f;
  --sage-soft: #bfd0c3;
  --coral: #eba087;
  --coral-strong: #e48f74;
  --white: #fffdfa;
  --shadow-soft: 0 18px 44px rgba(153, 136, 112, 0.08);
  --shadow-card: 0 26px 60px rgba(153, 136, 112, 0.12);
  --radius-xl: 2rem;
  --radius-lg: 1.5rem;
  --radius-md: 1.1rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Avenir Next", "Nunito Sans", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top center, rgba(191, 208, 195, 0.20), transparent 28rem),
    radial-gradient(circle at left top, rgba(235, 160, 135, 0.12), transparent 24rem),
    linear-gradient(180deg, #fffdf8 0%, #fbf5eb 38%, #f8f1e6 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

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

.site-shell {
  min-height: 100vh;
  padding: 1rem 1rem 3rem;
}

.site-header,
.page-wrap,
.flash-stack {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.site-header {
  display: grid;
  justify-items: center;
  gap: 1rem;
  margin-bottom: 2.4rem;
  padding-top: 0.4rem;
}

.brand {
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.brand-image {
  width: min(25rem, 82vw);
  filter: drop-shadow(0 18px 40px rgba(180, 201, 190, 0.22));
}

.site-nav {
  display: none;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.site-nav a:not(.button) {
  padding: 0.72rem 0.95rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 700;
  transition: background-color 160ms ease, color 160ms ease;
}

.site-nav a:not(.button):hover {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-strong);
}

.page-wrap {
  display: grid;
  gap: 1.2rem;
}

.home-page {
  display: grid;
  gap: 2.5rem;
}

.flash-stack {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.flash {
  padding: 0.95rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-soft);
}

.flash-success {
  color: #6c9a7e;
}

.flash-error {
  color: #be6c6c;
}

.eyebrow,
.badge,
.mono,
.small {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow,
.badge {
  color: var(--sage);
  font-weight: 800;
}

.hero-home {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.02fr);
  align-items: center;
  gap: 2.5rem;
  padding: 0.2rem 0 0;
}

.hero-copy {
  max-width: 30rem;
}

.hero-copy h1,
.section-heading h2,
.final-cta h2,
.content-card h1,
.dashboard-hero h1 {
  margin: 0.45rem 0 1rem;
  color: var(--ink-strong);
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.hero-copy h1 {
  font-size: clamp(3rem, 5vw, 4.85rem);
  max-width: 8.6ch;
}

.section-heading h2,
.final-cta h2,
.content-card h1,
.dashboard-hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
}

.lede,
.section-heading p,
.final-cta p,
.content-card p,
.dashboard-hero p,
.panel p,
.strip-step p {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.72;
}

.hero-actions,
.stack-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.hero-actions-centered {
  justify-content: center;
}

.stack-actions form {
  margin: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.95rem 1.45rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--coral), var(--coral-strong));
  color: #fff;
  font-size: 0.98rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(228, 143, 116, 0.22);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 32px rgba(228, 143, 116, 0.28);
}

.button-secondary,
.button-ghost {
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink-strong);
  border-color: rgba(135, 152, 143, 0.24);
  box-shadow: 0 10px 22px rgba(160, 147, 128, 0.08);
}

.button-secondary:hover,
.button-ghost:hover {
  border-color: rgba(118, 138, 128, 0.36);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-art-card {
  width: min(100%, 34rem);
  padding: 0.8rem;
  border-radius: 2.1rem;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: linear-gradient(180deg, rgba(255, 252, 248, 0.94), rgba(252, 247, 239, 0.9));
  box-shadow: var(--shadow-card);
}

.hero-collage {
  width: 100%;
  border-radius: 1.6rem;
}

.steps-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-radius: 2rem;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.strip-step {
  position: relative;
  padding: 1.7rem 1rem 1.9rem;
  text-align: center;
}

.strip-step + .strip-step {
  border-left: 1px solid rgba(135, 152, 143, 0.14);
}

.strip-step-links {
  background: rgba(255, 249, 244, 0.78);
}

.strip-step-generate {
  background: rgba(251, 238, 231, 0.86);
}

.strip-step-share {
  background: rgba(239, 244, 237, 0.92);
}

.step-icon-wrap {
  width: clamp(3.8rem, 9vw, 5rem);
  margin: 0 auto 0.9rem;
}

.step-icon-image {
  width: 100%;
}

.strip-step h2 {
  margin: 0.25rem 0 0.55rem;
  color: var(--ink-strong);
  font-size: 1.28rem;
  line-height: 1.2;
}

.strip-step p {
  font-size: 1rem;
}

.strip-step::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1.45rem;
  width: 5.25rem;
  height: 2.75rem;
  border: 2px solid rgba(195, 164, 144, 0.35);
  border-top: 0;
  border-radius: 0 0 999px 999px;
  transform: translateX(-50%);
  pointer-events: none;
}

.strip-step-share::after {
  border-color: rgba(150, 176, 159, 0.36);
}

.audience-section {
  padding-top: 1.25rem;
  text-align: center;
}

.section-heading {
  max-width: 44rem;
  margin: 0 auto;
}

.section-heading h2,
.final-cta h2 {
  max-width: 12ch;
  margin-left: auto;
  margin-right: auto;
}

.section-heading p,
.final-cta p {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.audience-list,
.feature-list,
.steps {
  list-style: none;
  padding: 0;
}

.audience-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  max-width: 52rem;
  margin: 1.8rem auto 0;
}

.audience-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(135, 152, 143, 0.2);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(160, 147, 128, 0.08);
}

.audience-list li::before {
  content: "";
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 0.24rem;
  background: linear-gradient(135deg, rgba(191, 208, 195, 0.95), rgba(150, 176, 159, 0.95));
  box-shadow: 0 0 0 4px rgba(191, 208, 195, 0.18);
  flex: 0 0 auto;
}

.final-cta,
.content-card,
.dashboard-hero,
.feature-layout,
.panel,
.price-card,
.step {
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 253, 250, 0.88), rgba(249, 243, 235, 0.92));
  box-shadow: var(--shadow-soft);
}

.final-cta {
  padding: 2.8rem 1.5rem;
  text-align: center;
  background:
    radial-gradient(circle at top center, rgba(191, 208, 195, 0.35), transparent 14rem),
    linear-gradient(180deg, rgba(243, 247, 240, 0.96), rgba(251, 246, 238, 0.94));
}

.content-card,
.dashboard-hero,
.feature-layout,
.panel,
.price-card,
.step {
  padding: 1.5rem;
}

.grid-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.grid-panels.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 0.6rem 0.85rem;
  border: 1px solid rgba(135, 152, 143, 0.22);
  border-radius: 999px;
}

.narrow {
  max-width: 760px;
}

.small {
  color: var(--muted-soft);
}

.mono {
  font-family: "JetBrains Mono", "Courier New", monospace;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.form-grid label,
.form-note {
  display: grid;
  gap: 0.45rem;
}

input,
textarea,
select {
  width: 100%;
  min-height: 3rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(135, 152, 143, 0.2);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink-strong);
  font: inherit;
}

input::placeholder,
textarea::placeholder {
  color: rgba(110, 129, 119, 0.48);
}

.split-header,
.dashboard-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.price {
  font-size: 3rem;
  font-weight: 800;
  line-height: 0.95;
  color: var(--ink-strong);
}

.price span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
}

.feature-list,
.steps {
  display: grid;
  gap: 0.85rem;
}

.step.active {
  border-color: var(--line-strong);
  background: rgba(191, 208, 195, 0.16);
}

@media (min-width: 900px) {
  .site-header {
    grid-template-columns: auto 1fr;
    align-items: center;
    justify-items: stretch;
    margin-bottom: 2.7rem;
  }

  .brand {
    justify-self: start;
  }

  .brand-image {
    width: 18.5rem;
  }

  .site-nav {
    display: flex;
    justify-self: end;
  }
}

@media (max-width: 980px) {
  .hero-home,
  .grid-panels,
  .grid-panels.compact {
    grid-template-columns: 1fr;
  }

  .hero-home {
    gap: 1.75rem;
  }

  .hero-copy {
    max-width: 100%;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-copy h1 {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 760px) {
  .site-shell {
    padding: 0.85rem 0.85rem 2.4rem;
  }

  .site-header {
    margin-bottom: 1.6rem;
  }

  .brand-image {
    width: min(22rem, 84vw);
  }

  .home-page {
    gap: 2rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.8rem, 10vw, 4rem);
    max-width: 9.5ch;
  }

  .lede,
  .section-heading p,
  .final-cta p,
  .strip-step p {
    font-size: 1rem;
  }

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

  .strip-step {
    padding: 1.35rem 0.7rem 1.7rem;
  }

  .strip-step h2 {
    font-size: 1.02rem;
  }

  .strip-step p {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .split-header,
  .dashboard-hero {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .button,
  input,
  textarea,
  select {
    width: 100%;
  }

  .hero-actions,
  .stack-actions {
    flex-direction: column;
  }

  .hero-art-card {
    padding: 0.55rem;
    border-radius: 1.5rem;
  }

  .hero-collage {
    border-radius: 1.2rem;
  }

  .audience-list {
    gap: 0.65rem;
  }

  .audience-list li {
    width: 100%;
    justify-content: center;
  }

  .content-card,
  .dashboard-hero,
  .feature-layout,
  .panel,
  .price-card,
  .step,
  .final-cta {
    padding: 1.25rem;
  }
}
