:root {
  --brand: #006847;
  --brand-dark: #004f36;
  --brand-soft: #eaf4f0;
  --gold: #f4c95d;
  --gold-deep: #9b6a00;
  --surface: #ffffff;
  --surface-soft: #f5f8f7;
  --surface-warm: #fdf8f2;
  --text: #15231e;
  --text-muted: #4b5d56;
  --border: rgba(0, 104, 71, 0.16);
  --border-strong: rgba(0, 104, 71, 0.34);
  --shadow-soft: 0 16px 42px rgba(15, 45, 33, 0.11);
  --shadow-card: 0 8px 20px rgba(16, 42, 32, 0.12);
  --radius: 10px;
  --radius-lg: 16px;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.ai-workflow-lab-page {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family:
    'DM Sans',
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.page {
  padding-top: 0;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: clamp(64px, 8vw, 88px) 0;
}

.section-soft {
  background: var(--surface-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-warm {
  background: var(--surface-warm);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  line-height: 1.06;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--gold-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

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

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(2.15rem, 4.7vw, 3.5rem);
  letter-spacing: -0.025em;
}

.section-lead {
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1.72;
}

/* Hero */

.hero {
  padding: clamp(48px, 7vw, 80px) 0 clamp(56px, 8vw, 96px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.75rem, 5.2vw, 4.6rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.hero h1 .highlight {
  border-bottom: 3px solid var(--gold);
}

.hero-lead {
  margin: 22px 0 0;
  max-width: 640px;
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1.72;
}

.hero-voice {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.hero-voice-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
}

.hero-voice-icon svg {
  width: 24px;
  height: 24px;
}

.hero-voice h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  letter-spacing: -0.02em;
}

.hero-checklist {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.hero-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 12px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
}

.hero-checklist li::before {
  content: '';
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--brand-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23006847' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 14px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition:
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1),
    background 220ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(0, 104, 71, 0.26);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-dark);
  box-shadow: var(--shadow-card);
}

.btn-link {
  min-height: auto;
  padding: 0;
  color: var(--brand);
  font-weight: 700;
}

.hero-meta {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.hero-meta p {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.hero-meta svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--gold-deep);
}

/* Workflow demo card */

.workflow-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.workflow-voice {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.workflow-voice-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.workflow-voice-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
}

.workflow-voice-label span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
}

.workflow-time {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.waveform {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 42px;
  margin-bottom: 14px;
}

.waveform span {
  flex: 1;
  border-radius: 2px;
  background: var(--brand);
}

.workflow-quote {
  margin: 0;
  color: var(--text);
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.45;
}

.workflow-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0 14px;
}

.workflow-head h3 {
  font-size: 1rem;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
}

.workflow-complete {
  color: var(--brand);
  font-size: 0.85rem;
  font-weight: 800;
}

.workflow-steps {
  display: grid;
  gap: 12px;
}

.workflow-step {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid var(--border);
}

.workflow-step-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
}

.workflow-step-icon svg {
  width: 18px;
  height: 18px;
}

.workflow-step strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.95rem;
}

.workflow-step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.workflow-status {
  align-self: center;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.workflow-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* Founder */

.founder-band {
  padding: 28px 0;
  background: var(--surface-warm);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.founder-grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px 24px;
  align-items: center;
}

.founder-avatar {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
}

.founder-avatar svg {
  width: 34px;
  height: 34px;
}

.founder-grid h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
}

.founder-grid p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

/* Workflows grid */

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
}

.workflow-item {
  display: grid;
  gap: 12px;
}

.workflow-item-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
}

.workflow-item-icon svg {
  width: 24px;
  height: 24px;
}

.workflow-item h3 {
  font-size: 1.15rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  line-height: 1.25;
}

.workflow-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Steps */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.step-card {
  display: grid;
  gap: 14px;
}

.step-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
}

.step-icon svg {
  width: 24px;
  height: 24px;
}

.step-card h3 {
  font-size: 1.2rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
}

.step-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* Pricing */

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

.price-card {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 28px 24px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.price-card--featured {
  border-color: var(--gold-deep);
  box-shadow: var(--shadow-card);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 12px;
  border-radius: 6px;
  background: var(--gold);
  color: var(--brand-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.price-amount {
  margin: 0;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2.4rem, 4vw, 3rem);
  line-height: 1;
}

.price-amount span {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
}

.price-billing {
  margin: -8px 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.price-features {
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 10px;
  font-size: 0.98rem;
}

.price-features li::before {
  content: '✓';
  flex: 0 0 auto;
  color: var(--brand);
  font-weight: 800;
}

.price-note {
  margin: 20px auto 0;
  max-width: 640px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.price-note svg {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 4px;
  vertical-align: -2px;
}

/* FAQ */

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

.faq details {
  border-bottom: 1px solid var(--border);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '⌄';
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.faq details[open] summary::after {
  transform: rotate(180deg);
}

.faq p {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* Final CTA */

.final-cta {
  padding: clamp(64px, 8vw, 88px) 0;
  background: var(--brand-soft);
  border-top: 1px solid var(--border);
  text-align: center;
}

.final-cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.final-cta p {
  max-width: 640px;
  margin: 16px auto 0;
  color: var(--text-muted);
  font-size: 1.08rem;
}

.final-cta .hero-actions {
  justify-content: center;
  margin-top: 28px;
}

@media (max-width: 980px) {
  .hero-grid,
  .workflow-grid,
  .steps-grid,
  .pricing-grid,
  .faq-grid,
  .founder-grid {
    grid-template-columns: 1fr;
  }

  .founder-grid {
    gap: 16px;
  }
}

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

  .btn {
    transition: none;
  }
}
