:root {
  --bg: #f4efe7;
  --bg-strong: #fff9f2;
  --surface: rgba(255, 251, 245, 0.78);
  --surface-strong: #fffdf8;
  --text: #1d1a16;
  --muted: #5f5a53;
  --line: rgba(29, 26, 22, 0.12);
  --teal: #0f766e;
  --orange: #ea580c;
  --slate: #164e63;
  --shadow: 0 24px 60px rgba(50, 37, 16, 0.12);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(234, 88, 12, 0.16), transparent 26%),
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.16), transparent 24%),
    linear-gradient(180deg, #f8f3eb 0%, #f2ece3 100%);
}

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

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 48px;
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 16px 0 24px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.82);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--teal), var(--orange));
  color: white;
}

.nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-weight: 600;
}

.hero,
.section,
.contact-card,
.demo-shell {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: stretch;
  padding: 34px;
  border-radius: var(--radius-xl);
  min-height: 540px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.18), rgba(234, 88, 12, 0.06) 60%, transparent 70%);
  filter: blur(8px);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--slate);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3rem, 7vw, 5.8rem);
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.04em;
}

h3 {
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}

.lead,
.section-copy,
.feature-card p,
.workflow-card p,
.contact-meta p,
.report-output,
.pipeline-copy {
  color: var(--muted);
  line-height: 1.7;
}

.hero-credit {
  margin: 18px 0 0;
  color: var(--slate);
  font-weight: 700;
}

.lead {
  max-width: 60ch;
  margin: 18px 0 0;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  cursor: pointer;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--teal), var(--slate));
  color: white;
  box-shadow: 0 18px 34px rgba(15, 118, 110, 0.2);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.56);
  border-color: var(--line);
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.metric-pill,
.hero-panel-card,
.feature-card,
.workflow-card,
.demo-panel,
.prompt-chip,
.pipeline-step {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: 0 16px 32px rgba(49, 37, 17, 0.08);
}

.metric-pill {
  min-width: 170px;
  padding: 14px 16px;
  border-radius: 20px;
}

.metric-pill strong {
  display: block;
  margin-bottom: 4px;
  font-family: "Space Grotesk", sans-serif;
}

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

.hero-panel {
  display: grid;
  place-items: center;
}

.hero-panel-card {
  width: min(100%, 380px);
  padding: 24px;
  border-radius: 26px;
  transform: rotate(2deg);
}

.panel-label {
  margin: 0 0 14px;
  color: var(--slate);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.snapshot-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.snapshot-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.snapshot-list li:last-child {
  border-bottom: 0;
}

.snapshot-list span {
  color: var(--muted);
}

.section {
  margin-top: 26px;
  padding: 30px;
  border-radius: var(--radius-xl);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.feature-grid,
.workflow-grid {
  display: grid;
  gap: 18px;
}

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

.workflow-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.feature-card,
.workflow-card,
.demo-panel {
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.feature-card:hover,
.workflow-card:hover,
.demo-panel:hover,
.creator-info p:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px rgba(49, 37, 17, 0.12);
}

.creator-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.creator-label {
  margin: 0 0 10px;
  color: var(--slate);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.creator-info {
  display: grid;
  gap: 12px;
}

.creator-info p {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: 0 16px 32px rgba(49, 37, 17, 0.08);
}

.creator-info span {
  color: var(--muted);
}

.workflow-card span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: rgba(15, 118, 110, 0.1);
  color: var(--teal);
  font-weight: 800;
}

.demo-shell {
  padding: 24px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 251, 245, 0.92) 0%, rgba(250, 244, 236, 0.92) 100%);
}

.demo-controls {
  margin-bottom: 22px;
}

.demo-controls label {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
}

.input-row {
  display: flex;
  gap: 12px;
}

.input-row input {
  flex: 1;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.75);
  font: inherit;
  color: var(--text);
}

.prompt-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.prompt-chip {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.demo-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
}

.pipeline-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.pipeline-step {
  padding: 16px;
  border-radius: 18px;
}

.pipeline-step.active {
  border-color: rgba(15, 118, 110, 0.4);
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(255, 255, 255, 0.95));
  transform: translateY(-2px);
}

.pipeline-step.done {
  border-color: rgba(22, 78, 99, 0.2);
}

.pipeline-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
}

.pipeline-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.pipeline-state {
  color: var(--slate);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.report-output {
  min-height: 420px;
  white-space: pre-wrap;
  font-size: 0.98rem;
}

.contact-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  margin-top: 26px;
  padding: 30px;
  border-radius: var(--radius-xl);
}

.contact-meta {
  display: grid;
  gap: 12px;
}

.contact-meta p {
  margin: 0;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
}

@media (max-width: 980px) {
  .hero,
  .demo-layout,
  .contact-card,
  .creator-card {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 28px;
  }

  .nav {
    flex-wrap: wrap;
  }

  .hero,
  .section,
  .contact-card,
  .demo-shell {
    padding: 22px;
  }

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

  .input-row {
    flex-direction: column;
  }
}
