:root {
  --bg: #f2eee8;
  --bg-deep: #e9dfd0;
  --surface: rgba(255, 250, 244, 0.72);
  --surface-strong: rgba(255, 252, 248, 0.92);
  --panel-dark: rgba(20, 23, 28, 0.9);
  --panel-soft: rgba(31, 35, 42, 0.72);
  --ink-1: #17161a;
  --ink-2: #3e3b41;
  --ink-3: #756d68;
  --line: rgba(23, 22, 26, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --gold: #b79055;
  --gold-soft: rgba(183, 144, 85, 0.18);
  --teal: #1f746c;
  --teal-soft: rgba(31, 116, 108, 0.16);
  --pearl: #efe6da;
  --radius-xl: 34px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow: 0 40px 80px -52px rgba(19, 15, 10, 0.4);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink-2);
  background:
    radial-gradient(circle at 10% 10%, rgba(183, 144, 85, 0.22), transparent 24%),
    radial-gradient(circle at 92% 16%, rgba(31, 116, 108, 0.18), transparent 22%),
    radial-gradient(circle at 88% 88%, rgba(255, 255, 255, 0.8), transparent 24%),
    linear-gradient(180deg, #f8f4ee 0%, var(--bg) 48%, var(--bg-deep) 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.26) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 50% 20%, #000 10%, transparent 72%);
}

.page-noise {
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0.18;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.8) 0 0.7px, transparent 1px),
    radial-gradient(circle at 80% 40%, rgba(23, 22, 26, 0.26) 0 0.7px, transparent 1px),
    radial-gradient(circle at 60% 80%, rgba(183, 144, 85, 0.45) 0 0.7px, transparent 1px);
  background-size: 26px 26px, 32px 32px, 34px 34px;
}

.glow {
  position: fixed;
  z-index: -1;
  pointer-events: none;
  filter: blur(22px);
  border-radius: 999px;
  opacity: 0.9;
}

.glow-a {
  width: 360px;
  height: 360px;
  top: 70px;
  right: -120px;
  background: rgba(183, 144, 85, 0.18);
  animation: drift-a 18s ease-in-out infinite;
}

.glow-b {
  width: 340px;
  height: 340px;
  left: -120px;
  bottom: 8%;
  background: rgba(31, 116, 108, 0.18);
  animation: drift-b 22s ease-in-out infinite;
}

a {
  color: inherit;
}

.shell {
  width: min(1200px, calc(100vw - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 18px 0 0;
}

.nav-shell {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: rgba(248, 242, 233, 0.7);
  backdrop-filter: blur(18px);
  box-shadow: 0 28px 48px -40px rgba(21, 18, 13, 0.6);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(239, 230, 218, 0.4)),
    linear-gradient(135deg, rgba(183, 144, 85, 0.8), rgba(31, 116, 108, 0.7));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 20px 28px -22px rgba(23, 22, 26, 0.55);
  position: relative;
  overflow: hidden;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 999px;
}

.brand-mark::before {
  width: 34px;
  height: 1px;
  left: 4px;
  top: 20px;
  background: rgba(255, 255, 255, 0.84);
  transform: rotate(-28deg);
}

.brand-mark::after {
  width: 14px;
  height: 14px;
  right: 6px;
  top: 6px;
  background: rgba(255, 255, 255, 0.76);
  filter: blur(0.5px);
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand strong,
.eyebrow,
.section-kicker,
.card-label,
.stage-badge,
.stage-status,
.timeline-head strong {
  font-family: "Sora", sans-serif;
}

.brand strong {
  font-size: 0.98rem;
  color: var(--ink-1);
  letter-spacing: 0.02em;
}

.brand em {
  font-style: normal;
  font-size: 0.72rem;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.main-nav a,
.nav-cta,
.button {
  text-decoration: none;
  transition:
    transform 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease;
}

.main-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 0.92rem;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.54);
  color: var(--ink-1);
}

.nav-cta {
  padding: 11px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #111318, #2b3238);
  color: #f8f5ef;
  font-size: 0.88rem;
  box-shadow: 0 18px 30px -22px rgba(18, 21, 25, 0.9);
}

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

main {
  padding: 26px 0 36px;
}

.hero {
  padding: 50px 0 22px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(440px, 0.95fr);
  gap: 28px;
  align-items: center;
}

.hero-copy,
.hero-stage,
.overview,
.feature-section,
.workflow,
.library,
.scenes,
.faq,
.closing {
  opacity: 0;
  transform: translateY(18px);
  animation: enter-up 780ms ease forwards;
}

.hero-stage {
  animation-delay: 120ms;
}

.hero-copy h1 {
  margin: 18px 0 18px;
  color: var(--ink-1);
  font-family: "Sora", sans-serif;
  font-size: clamp(2.8rem, 6vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  max-width: 10ch;
}

.eyebrow,
.section-kicker,
.card-label,
.stage-badge,
.stage-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.eyebrow {
  color: rgba(23, 22, 26, 0.72);
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.hero-lead,
.section-heading p,
.feature-card p,
.workflow-step p,
.scene-card p,
.faq-list p,
.metric-card p,
.closing p {
  margin: 0;
  color: var(--ink-3);
  line-height: 1.9;
}

.hero-lead {
  max-width: 58ch;
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
}

.button-primary {
  background: linear-gradient(135deg, #171b22, #2d3640);
  color: #faf6f0;
  box-shadow: 0 20px 30px -24px rgba(21, 22, 26, 0.9);
}

.button-secondary {
  border-color: rgba(23, 22, 26, 0.1);
  background: rgba(255, 252, 248, 0.64);
  color: var(--ink-1);
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.signal-strip article,
.metric-card,
.feature-card,
.workflow-step,
.style-card,
.scene-card,
.faq-list details,
.overview,
.feature-section,
.workflow,
.library,
.scenes,
.faq,
.closing {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.signal-strip article {
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 252, 248, 0.68);
  backdrop-filter: blur(10px);
}

.signal-strip strong,
.metric-card strong,
.feature-card h3,
.workflow-step h3,
.scene-card h3,
.closing h2,
.section-heading h2,
.timeline-head strong {
  color: var(--ink-1);
}

.signal-strip strong,
.metric-card strong {
  display: block;
  margin-bottom: 6px;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
}

.signal-strip span,
.metric-card span {
  color: var(--ink-3);
  font-size: 0.9rem;
  line-height: 1.65;
}

.stage-card {
  position: relative;
  padding: 22px;
  border-radius: calc(var(--radius-xl) + 2px);
  background:
    linear-gradient(155deg, rgba(28, 31, 37, 0.98), rgba(15, 17, 22, 0.98)),
    linear-gradient(135deg, rgba(183, 144, 85, 0.18), rgba(31, 116, 108, 0.12));
  box-shadow:
    0 55px 90px -58px rgba(8, 8, 10, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.stage-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 18%, rgba(183, 144, 85, 0.15), transparent 22%),
    radial-gradient(circle at 16% 90%, rgba(31, 116, 108, 0.12), transparent 18%);
  pointer-events: none;
}

.stage-topline,
.timeline-head,
.preview-copy,
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.stage-badge {
  color: rgba(255, 255, 255, 0.92);
}

.stage-status {
  color: rgba(255, 255, 255, 0.46);
  justify-content: flex-end;
}

.prompt-window,
.preview-frame,
.timeline,
.stage-grid article {
  position: relative;
  z-index: 1;
}

.prompt-window {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
}

.window-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.prompt-window p {
  margin: 10px 0 0;
  color: rgba(255, 247, 238, 0.82);
  line-height: 1.84;
}

.stage-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.stage-grid article {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.stage-grid span,
.timeline-head span {
  display: block;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.8rem;
}

.stage-grid strong {
  display: block;
  margin-top: 6px;
  color: rgba(255, 250, 242, 0.92);
  font-family: "Sora", sans-serif;
  font-size: 0.95rem;
  line-height: 1.45;
}

.preview-frame {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
}

.preview-chrome {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.preview-chrome span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.26);
}

.preview-image {
  min-height: 260px;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 18%, rgba(255, 239, 219, 0.56), transparent 18%),
    radial-gradient(circle at 30% 72%, rgba(183, 144, 85, 0.38), transparent 24%),
    linear-gradient(140deg, #5e4f44 0%, #1e2329 48%, #101216 100%);
}

.preview-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 24%),
    linear-gradient(0deg, rgba(14, 15, 18, 0.28), transparent 42%);
}

.preview-image::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.preview-copy {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  align-items: end;
  z-index: 1;
}

.preview-copy span {
  color: rgba(255, 244, 230, 0.64);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.preview-copy strong {
  color: rgba(255, 250, 243, 0.95);
  font-family: "Sora", sans-serif;
  font-size: 1.18rem;
}

.timeline {
  margin-top: 18px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.timeline-head strong {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 249, 242, 0.9);
}

.timeline-track {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr 1fr 0.8fr;
  gap: 8px;
  margin-top: 12px;
}

.timeline-track i {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(183, 144, 85, 0.9), rgba(31, 116, 108, 0.72));
  opacity: 0.9;
  transform-origin: left center;
  animation: pulse-track 2.8s ease-in-out infinite;
}

.timeline-track .t2 {
  animation-delay: 180ms;
}

.timeline-track .t3 {
  animation-delay: 340ms;
}

.timeline-track .t4 {
  animation-delay: 520ms;
}

.overview,
.feature-section,
.workflow,
.library,
.scenes,
.faq,
.closing {
  margin-top: 18px;
  padding: 28px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  backdrop-filter: blur(16px);
}

.section-heading {
  align-items: end;
  margin-bottom: 18px;
}

.section-heading > div {
  max-width: 760px;
}

.section-heading h2 {
  margin: 12px 0 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section-heading p {
  max-width: 440px;
  font-size: 0.95rem;
}

.overview-grid,
.feature-grid,
.workflow-grid,
.style-grid,
.scene-grid {
  display: grid;
  gap: 14px;
}

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

.metric-card {
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 252, 248, 0.84);
}

.metric-card strong {
  margin: 12px 0 8px;
  font-size: clamp(1.8rem, 2.2vw, 2.5rem);
  letter-spacing: -0.04em;
}

.metric-card span {
  color: rgba(23, 22, 26, 0.56);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

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

.feature-card {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 252, 248, 0.84);
}

.feature-card-large {
  grid-column: span 2;
  background:
    radial-gradient(circle at 90% 18%, rgba(183, 144, 85, 0.12), transparent 20%),
    linear-gradient(145deg, rgba(255, 253, 250, 0.94), rgba(247, 241, 233, 0.9));
}

.card-label {
  color: rgba(23, 22, 26, 0.56);
}

.feature-card h3,
.workflow-step h3,
.scene-card h3,
.closing h2 {
  margin: 12px 0 8px;
  font-family: "Sora", sans-serif;
  font-size: 1.14rem;
  line-height: 1.4;
}

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

.workflow-step,
.scene-card {
  padding: 20px;
  border-radius: 20px;
  background: rgba(255, 252, 248, 0.84);
}

.workflow-step span {
  color: var(--gold);
  font-family: "Sora", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.style-card {
  min-height: 240px;
  padding: 22px;
  border-radius: 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #f8f5ef;
  position: relative;
  overflow: hidden;
}

.style-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(10, 10, 12, 0.56) 100%);
}

.style-card span,
.style-card strong {
  position: relative;
  z-index: 1;
}

.style-card span {
  font-family: "Sora", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.84;
}

.style-card strong {
  margin-top: 10px;
  font-size: 1.02rem;
  line-height: 1.65;
}

.style-amber {
  background:
    radial-gradient(circle at 68% 16%, rgba(255, 240, 213, 0.68), transparent 18%),
    linear-gradient(135deg, #2c2522, #7f6146, #d0a772);
}

.style-slate {
  background:
    radial-gradient(circle at 78% 18%, rgba(206, 221, 255, 0.44), transparent 18%),
    linear-gradient(135deg, #111216, #253041, #627185);
}

.style-emerald {
  background:
    radial-gradient(circle at 30% 20%, rgba(222, 253, 235, 0.34), transparent 18%),
    linear-gradient(135deg, #0f1716, #15433d, #2d8779);
}

.style-pearl {
  color: #17161a;
  background:
    radial-gradient(circle at 26% 18%, rgba(255, 255, 255, 0.92), transparent 18%),
    linear-gradient(135deg, #fdf9f3, #e6ddd1, #b9aca1);
}

.style-pearl::before {
  background: linear-gradient(180deg, transparent 16%, rgba(255, 255, 255, 0.15) 42%, rgba(23, 22, 26, 0.1) 100%);
}

.style-pearl span,
.style-pearl strong {
  color: #1a191e;
}

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

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 252, 248, 0.84);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  color: var(--ink-1);
  font-family: "Sora", sans-serif;
  font-size: 1rem;
}

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

.faq-list p {
  margin-top: 12px;
}

.closing {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 22px;
  align-items: center;
  background:
    radial-gradient(circle at 88% 22%, rgba(31, 116, 108, 0.14), transparent 18%),
    radial-gradient(circle at 14% 74%, rgba(183, 144, 85, 0.12), transparent 18%),
    rgba(255, 251, 245, 0.78);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 0 0 34px;
  color: var(--ink-3);
  font-size: 0.84rem;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes enter-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-track {
  0%,
  100% {
    transform: scaleX(0.96);
    opacity: 0.72;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes drift-a {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-16px, 18px, 0);
  }
}

@keyframes drift-b {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(20px, -16px, 0);
  }
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .closing {
    grid-template-columns: 1fr;
  }

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

  .feature-card-large {
    grid-column: span 2;
  }
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    padding-top: 14px;
  }

  .nav-shell {
    flex-wrap: wrap;
    border-radius: 28px;
  }

  .main-nav {
    width: 100%;
    margin-left: 0;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .signal-strip,
  .overview-grid,
  .feature-grid,
  .workflow-grid,
  .style-grid,
  .scene-grid,
  .stage-grid {
    grid-template-columns: 1fr;
  }

  .feature-card-large {
    grid-column: span 1;
  }

  .hero-copy h1 {
    max-width: 10ch;
  }

  .preview-image {
    min-height: 220px;
  }

  .site-footer {
    padding-bottom: 28px;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100vw - 24px, 1200px);
  }

  .hero {
    padding-top: 34px;
  }

  .overview,
  .feature-section,
  .workflow,
  .library,
  .scenes,
  .faq,
  .closing,
  .stage-card {
    padding: 20px;
    border-radius: 24px;
  }

  .button,
  .nav-cta {
    width: 100%;
  }

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

  .hero-copy h1 {
    max-width: 9ch;
    font-size: clamp(1.9rem, 10.5vw, 3rem);
    line-height: 1.04;
    letter-spacing: -0.03em;
  }

  .preview-copy {
    left: 18px;
    right: 18px;
  }
}
