:root {
  --ink: #151515;
  --muted: #67655f;
  --paper: #fbfaf6;
  --line: #ddd9cf;
  --green: #1c6b57;
  --green-dark: #0e4335;
  --blue: #285b9f;
  --amber: #d6a13e;
  --coral: #ce5d42;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-header {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 22px 24px;
}

.site-header.compact {
  padding-bottom: 10px;
}

.brand,
.nav-links,
.hero-actions,
.email-row,
.footer,
.download-strip {
  align-items: center;
  display: flex;
}

.brand {
  font-size: 18px;
  font-weight: 760;
  gap: 10px;
}

.brand-mark {
  background: var(--green);
  border-radius: 8px;
  color: var(--white);
  display: grid;
  height: 34px;
  place-items: center;
  width: 34px;
}

.nav-links {
  color: var(--muted);
  font-size: 14px;
  gap: 18px;
}

.nav-links a:hover {
  color: var(--ink);
}

.hero,
.download-hero {
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 0.84fr) minmax(360px, 1.16fr);
  margin: 0 auto;
  max-width: 1180px;
  padding: 58px 24px 76px;
}

.download-hero {
  align-items: center;
  min-height: 660px;
}

.hero-copy,
.download-copy {
  align-self: center;
}

.eyebrow {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(54px, 8vw, 108px);
  letter-spacing: 0;
  line-height: 0.9;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(30px, 4vw, 52px);
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 18px;
}

h3 {
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 10px;
}

.hero-text,
.download-copy p,
.workflow-section p,
.release-notes p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

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

.button {
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font-size: 15px;
  font-weight: 760;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  white-space: nowrap;
}

.button.primary {
  background: var(--green);
  color: var(--white);
}

.button.primary:hover {
  background: var(--green-dark);
}

.button.primary:disabled {
  cursor: wait;
  opacity: 0.7;
}

.button.secondary {
  background: var(--white);
  border-color: var(--line);
}

.editor-window {
  background: #f7f4ed;
  border: 1px solid #cfc9bb;
  border-radius: 8px;
  box-shadow: 0 34px 80px rgb(22 24 19 / 18%);
  min-height: 500px;
  overflow: hidden;
}

.editor-window.download {
  transform: rotate(-1deg);
}

.window-bar {
  align-items: center;
  background: #eee9df;
  border-bottom: 1px solid #d7d1c4;
  display: grid;
  grid-template-columns: 88px 1fr 88px;
  min-height: 42px;
  padding: 0 14px;
}

.traffic-lights {
  display: flex;
  gap: 8px;
}

.traffic-lights span {
  border-radius: 999px;
  height: 12px;
  width: 12px;
}

.traffic-lights span:nth-child(1) {
  background: var(--coral);
}

.traffic-lights span:nth-child(2) {
  background: var(--amber);
}

.traffic-lights span:nth-child(3) {
  background: #4dba74;
}

.window-title {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.editor-body {
  display: grid;
  gap: 14px;
  grid-template-columns: 86px 1fr;
  grid-template-rows: 1fr 126px;
  min-height: 458px;
  padding: 14px;
}

.tool-rail {
  background: #242521;
  border-radius: 8px;
  color: #f6f1e8;
  display: grid;
  font-size: 12px;
  font-weight: 750;
  gap: 10px;
  grid-row: 1 / 3;
  padding: 14px 10px;
}

.tool-rail span {
  align-items: center;
  background: rgb(255 255 255 / 8%);
  border-radius: 7px;
  display: flex;
  height: 36px;
  justify-content: center;
}

.preview-panel {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 230px;
  min-width: 0;
}

.video-frame {
  background: linear-gradient(140deg, rgb(28 107 87 / 88%), rgb(40 91 159 / 86%)), #284d64;
  border-radius: 8px;
  min-height: 278px;
  overflow: hidden;
  position: relative;
}

.subject-block {
  background: linear-gradient(180deg, #f5dcb2, #d29667);
  border-radius: 28px 28px 10px 10px;
  bottom: 72px;
  height: 140px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 116px;
}

.caption-strip {
  background: rgb(21 21 21 / 78%);
  border-radius: 7px;
  bottom: 20px;
  color: var(--white);
  font-size: 13px;
  font-weight: 760;
  left: 22px;
  max-width: calc(100% - 44px);
  padding: 10px 12px;
  position: absolute;
}

.prompt-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
}

.prompt-card p {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  margin: 0;
  text-transform: uppercase;
}

.prompt-card strong {
  font-size: 18px;
  line-height: 1.25;
}

.prompt-card button {
  background: var(--blue);
  border: 0;
  border-radius: 7px;
  color: var(--white);
  font-weight: 760;
  margin-top: auto;
  min-height: 40px;
}

.timeline-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  padding: 16px;
}

.timeline-row {
  border-radius: 6px;
  min-height: 22px;
}

.timeline-row.audio {
  background: linear-gradient(90deg, #93c4b6 0 44%, #d8e7e2 44% 100%);
}

.timeline-row.clips {
  background: linear-gradient(90deg, #d6a13e 0 24%, #ce5d42 24% 58%, #285b9f 58% 100%);
}

.timeline-row.captions {
  background: linear-gradient(90deg, #e9e1d2 0 34%, #151515 34% 55%, #e9e1d2 55% 100%);
}

.band,
.workflow-section,
.release-notes {
  margin: 0 auto;
  max-width: 1180px;
  padding: 72px 24px;
}

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

.screenshot-frame {
  margin: 34px 0 0;
}

.screenshot-frame img {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgb(22 24 19 / 14%);
  display: block;
  height: auto;
  width: 100%;
}

.download-shot {
  margin: 0 0 38px;
}

.feature-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 34px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.feature-card p {
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0;
}

.workflow-section {
  display: grid;
  gap: 46px;
  grid-template-columns: 0.92fr 1.08fr;
}

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

.workflow-list li {
  background: #efe9dc;
  border-left: 5px solid var(--green);
  border-radius: 8px;
  font-weight: 710;
  line-height: 1.35;
  padding: 18px 20px;
}

.download-strip {
  background: #22251f;
  color: var(--white);
  gap: 24px;
  justify-content: space-between;
  margin: 34px auto 0;
  max-width: 1180px;
  padding: 36px 24px;
}

.download-strip .eyebrow {
  color: #98dbc6;
}

.download-strip h2 {
  margin-bottom: 0;
}

.waitlist-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 30px;
  padding: 18px;
}

.waitlist-form label {
  color: var(--ink);
  display: block;
  font-size: 14px;
  font-weight: 780;
  margin-bottom: 10px;
}

.email-row {
  gap: 10px;
}

.email-row input {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  flex: 1;
  font: inherit;
  min-height: 46px;
  min-width: 0;
  padding: 11px 13px;
}

.form-message {
  font-size: 14px;
  font-weight: 700;
  margin: 12px 0 0;
}

.form-message.success {
  color: var(--green);
}

.form-message.error {
  color: var(--coral);
}

.release-notes {
  padding-top: 10px;
}

.release-notes div {
  border-top: 1px solid var(--line);
  padding-top: 44px;
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 26px 24px 40px;
}

.footer strong {
  color: var(--ink);
}

.footer p {
  margin: 6px 0 0;
}

.footer a {
  color: var(--green);
  font-weight: 760;
}

@media (max-width: 900px) {
  .hero,
  .download-hero,
  .workflow-section {
    grid-template-columns: 1fr;
  }

  .hero,
  .download-hero {
    gap: 34px;
    padding-top: 34px;
  }

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

  .preview-panel {
    grid-template-columns: 1fr;
  }

  .prompt-card {
    min-height: 170px;
  }

  .editor-window.download {
    transform: none;
  }
}

@media (max-width: 640px) {
  .site-header,
  .footer,
  .download-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero,
  .download-hero,
  .band,
  .workflow-section,
  .release-notes {
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: 58px;
  }

  .editor-body {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .tool-rail {
    display: flex;
    grid-row: auto;
    overflow-x: auto;
  }

  .tool-rail span {
    min-width: 66px;
  }

  .email-row {
    align-items: stretch;
    flex-direction: column;
  }
}
