:root {
  --bg: #fff8ef;
  --panel: #fffdf8;
  --panel-strong: #fff1dd;
  --ink: #2d1f16;
  --muted: #6f5a4c;
  --line: rgba(114, 80, 47, 0.16);
  --accent: #f38f2f;
  --accent-deep: #b85b12;
  --accent-soft: #ffe1bf;
  --shadow: 0 18px 40px rgba(91, 52, 17, 0.08);
  --font-heading: 'Merriweather', Georgia, serif;
  --font-body: 'Source Sans 3', 'Trebuchet MS', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(243, 143, 47, 0.18), transparent 26%),
    radial-gradient(circle at top right, rgba(184, 91, 18, 0.12), transparent 20%),
    linear-gradient(180deg, #fffaf2 0%, var(--bg) 100%);
  font-family: var(--font-body);
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}

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

.page-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 20px 56px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 0 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--accent), #f4b364);
  color: #fff8ef;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.02rem;
}

.brand small {
  font-size: 0.92rem;
  color: var(--muted);
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.topnav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
}

.topnav a.active,
.topnav a:hover {
  background: rgba(243, 143, 47, 0.12);
  color: var(--accent-deep);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 32px;
  align-items: center;
  padding: 34px 0 22px;
}

.hero-copy {
  display: grid;
  gap: 20px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(243, 143, 47, 0.12);
  color: var(--accent-deep);
  font-weight: 700;
  font-size: 0.92rem;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5.2rem);
  max-width: 11ch;
}

.hero .lede {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.12rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 10px;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-solid {
  background: var(--accent);
  color: #fffdf8;
}

.button-soft {
  background: rgba(243, 143, 47, 0.12);
  color: var(--accent-deep);
}

.hero-visual {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 241, 221, 0.7), rgba(255, 255, 255, 0.92));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(circle at 12% 18%, rgba(243, 143, 47, 0.18), transparent 18%),
    radial-gradient(circle at 82% 8%, rgba(184, 91, 18, 0.18), transparent 16%);
  pointer-events: none;
}

.hero-visual img {
  position: relative;
  display: block;
  width: 100%;
  border-radius: 22px;
  object-fit: cover;
}

.hero-note {
  position: absolute;
  left: 28px;
  bottom: 28px;
  max-width: 260px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(114, 80, 47, 0.12);
  box-shadow: var(--shadow);
}

.hero-note strong {
  display: block;
  margin-bottom: 4px;
}

.section {
  padding: 42px 0;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: 13ch;
}

.section .section-lede {
  max-width: 58ch;
  color: var(--muted);
  margin-top: 14px;
  font-size: 1.03rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stat-pill {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(91, 52, 17, 0.05);
}

.stat-pill span,
.stat-pill em {
  display: block;
  font-style: normal;
}

.stat-pill span {
  color: var(--muted);
  font-size: 0.95rem;
}

.stat-pill strong {
  display: block;
  margin: 10px 0 6px;
  font-size: 1.6rem;
}

.stat-pill em {
  color: var(--accent-deep);
  font-weight: 600;
  font-size: 0.92rem;
}

.workflow {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
}

.step-card,
.support-card,
.quote-card,
.faq-card,
.pricing-card,
.panel,
.manifest-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.step-card {
  border-radius: 24px;
  padding: 22px;
}

.step-card .step {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-weight: 700;
  font-size: 0.9rem;
}

.step-card h3 {
  margin-top: 16px;
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.step-card p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 18px;
  align-items: start;
}

.support-card,
.quote-card,
.faq-card,
.manifest-card {
  border-radius: 28px;
  padding: 24px;
}

.support-card ul,
.pricing-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.support-card li,
.pricing-card li {
  margin: 8px 0;
}

.quote-card {
  display: grid;
  gap: 18px;
  align-content: start;
}

.quote-card blockquote {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.45;
}

.quote-card footer {
  color: var(--muted);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.pricing-card {
  border-radius: 28px;
  padding: 24px;
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(255, 241, 221, 0.92), rgba(255, 255, 255, 0.92));
  border-color: rgba(243, 143, 47, 0.24);
}

.pricing-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
}

.price {
  font-size: 2.4rem;
  font-family: var(--font-heading);
  color: var(--accent-deep);
}

.pricing-card p {
  margin-top: 12px;
  color: var(--muted);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.faq-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.faq-card p {
  color: var(--muted);
}

.manifest-card {
  margin-top: 22px;
}

.manifest-card pre {
  overflow: auto;
  margin: 16px 0 0;
  padding: 18px;
  border-radius: 18px;
  background: #fff9f1;
  border: 1px solid rgba(114, 80, 47, 0.12);
  color: #453025;
  font-size: 0.92rem;
  line-height: 1.45;
}

.page-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  flex-wrap: wrap;
}

.form-grid {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-weight: 700;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid rgba(114, 80, 47, 0.18);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  border-radius: 14px;
  padding: 14px 15px;
  font: inherit;
  box-shadow: inset 0 1px 2px rgba(91, 52, 17, 0.03);
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.helper {
  color: var(--muted);
  font-size: 0.93rem;
}

.canvas {
  display: grid;
  gap: 16px;
}

.draft-stream {
  min-height: 220px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 248, 238, 0.9), rgba(255, 255, 255, 0.92));
  border: 1px solid rgba(114, 80, 47, 0.12);
  white-space: pre-wrap;
}

.stack {
  display: grid;
  gap: 18px;
}

.eyebrow + h1,
.eyebrow + h2 {
  margin-top: 8px;
}

@media (max-width: 1024px) {
  .hero,
  .split,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid,
  .workflow,
  .faq-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero h1 {
    max-width: 14ch;
  }
}

@media (max-width: 720px) {
  .page-shell {
    padding-inline: 16px;
  }

  .topbar {
    align-items: start;
    flex-direction: column;
  }

  .hero,
  .section {
    padding-top: 24px;
  }

  .stats-grid,
  .workflow,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 13vw, 3.6rem);
  }

  .hero-note {
    position: static;
    margin-top: 12px;
  }
}
