@font-face {
  font-family: Geist;
  src: url("Geist-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Geist;
  src: url("Geist-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: Geist;
  src: url("Geist-SemiBold.ttf") format("truetype");
  font-weight: 600 900;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("GeistMono-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --graphite: #141415;
  --surface: #19191b;
  --raised: #232325;
  --text: #ededed;
  --muted: #a1a1a6;
  --subtle: #97979e;
  --line: #353537;
  --paper: #fafafa;
  --white: #fff;
  --ink: #171717;
  --ink-muted: #525252;
  --ink-subtle: #686868;
  --paper-line: #dedede;
  --amber: #f2b33d;
  --amber-ink: #8a5a00;
  --mono: "Geist Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(20px, 5vw, 76px);
  --section-space: clamp(68px, 8vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

html { scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--graphite);
  color: var(--text);
  font: 400 1rem/1.6 Geist, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.08; font-weight: 500; }
h1, h2 { text-wrap: balance; }
h2 { font-size: clamp(2.25rem, 4.2vw, 4.0625rem); letter-spacing: -0.065em; }
h3 { font-size: 1.375rem; letter-spacing: -0.038em; }
a { color: inherit; }
button { font: inherit; }
img { display: block; max-width: 100%; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }

.wrap { width: min(100% - var(--gutter) * 2, 1240px); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.light { color-scheme: light; background: var(--paper); color: var(--ink); }
.light :focus-visible { outline-color: var(--amber-ink); }
.kicker {
  color: var(--subtle);
  font: 400 0.8125rem/1.5 var(--mono);
  letter-spacing: 0.015em;
}

.light .kicker { color: var(--ink-subtle); }
.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  transform: translateY(-140%);
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--text);
  color: var(--ink);
}
.skip-link:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--line); }
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-inline-start: -4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -0.06em;
  white-space: nowrap;
}
.brand img { flex: 0 0 auto; }
.nav nav, .footer nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); }
.nav nav a, .footer nav a {
  color: var(--muted);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color 150ms var(--ease);
}
.nav nav a:hover, .footer nav a:hover { color: var(--text); }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--text);
  color: var(--ink);
  text-decoration: none;
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.25;
  transition: background 160ms var(--ease), border-color 160ms var(--ease);
}
.button:hover { background: #d2d2d2; }
.nav-download { min-height: 42px; background: transparent; border-color: #57575a; color: var(--text); white-space: nowrap; }
.nav-download:hover { background: var(--raised); border-color: var(--muted); }

.hero { padding: clamp(68px, 8vw, 120px) 0 clamp(64px, 7vw, 108px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(24px, 4.5vw, 72px);
}
.hero h1 {
  font-size: clamp(3rem, 5.05vw, 5.25rem);
  letter-spacing: -0.075em;
  line-height: 0.99;
  margin: 21px 0 26px;
  text-wrap: initial;
}
.hero-description {
  max-width: 435px;
  font-size: clamp(1.0625rem, 1.55vw, 1.25rem);
  color: var(--muted);
  line-height: 1.55;
}
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 22px; margin-top: 28px; }
.store-button { min-height: 52px; padding-inline: 13px 16px; white-space: nowrap; }
.store-button svg { width: 25px; height: 25px; }
.text-link {
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration-color: var(--subtle);
  text-underline-offset: 5px;
  transition: text-decoration-color 150ms var(--ease);
}
.text-link:hover { text-decoration-color: currentColor; }
.device-note { margin-top: 16px; color: var(--subtle); font-size: 0.875rem; }

.hero-figure { min-width: 0; }
.hero-figure figcaption { color: var(--subtle); font: 400 0.75rem/1.45 var(--mono); margin-top: 10px; text-align: right; }
.cut-demo { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.demo-top { min-height: 59px; padding: 8px 13px 8px 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.demo-file { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font: 400 0.8125rem/1.4 var(--mono); }
.demo-toggle, .billing-switch {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--graphite);
}
.demo-toggle button, .billing-switch button {
  min-height: 32px;
  border: 0;
  border-radius: 6px;
  padding: 4px 9px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
}
.demo-toggle button:hover { color: var(--text); }
.demo-toggle button[aria-pressed="true"] { background: #37373a; color: var(--text); }
.demo-screen { position: relative; aspect-ratio: 1.8; overflow: hidden; background: #282722; }
.demo-screen picture, .demo-screen img { width: 100%; height: 100%; }
.demo-screen img { object-fit: cover; object-position: 50% 46%; }
.cut-demo[data-mode="cut"] .demo-screen img { transform: scale(1.045); }
.demo-screen img { transition: transform 400ms var(--ease); }
.viewfinder { position: absolute; inset: 12px; border: 1px solid rgb(255 255 255 / 28%); pointer-events: none; }
.on-screen-caption { position: absolute; inset: auto 0 10%; color: #fff; font-size: clamp(0.875rem, 1.65vw, 1.25rem); text-align: center; font-weight: 600; }
.on-screen-caption [data-cue]:not(:empty) { background: rgb(20 20 21 / 92%); border-radius: 5px; padding: 5px 9px; }
.on-screen-caption b { color: var(--amber); font-weight: 600; }

.demo-timeline { --playhead: 34%; --second-width: 112px; }
.timeline-shell { position: relative; }
.timeline-scroll {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: #57575c var(--surface);
  cursor: grab;
  user-select: none;
}
.timeline-scroll:focus-visible { outline-offset: -2px; }
.timeline-scroll.is-dragging { cursor: grabbing; }
.timeline-reel { display: flex; width: 100%; }
.timeline-reel::before, .timeline-reel::after { content: ""; }
.timeline-reel::before { flex: 0 0 var(--playhead); }
.timeline-reel::after { flex: 0 0 calc(100% - var(--playhead)); }
.timeline-track { flex: 0 0 calc(var(--duration) * var(--second-width)); padding: 9px 0 7px; }
.timeline-ruler { position: relative; height: 24px; border-bottom: 1px solid var(--line); }
.timeline-tick {
  position: absolute;
  left: calc(var(--second) * var(--second-width));
  top: 0;
  height: 100%;
  padding-left: 6px;
  color: var(--subtle);
  font: 400 0.6875rem/1.4 var(--mono);
}
.timeline-tick::before { content: ""; position: absolute; left: 0; bottom: 0; height: 7px; border-left: 1px solid #57575a; }
.timeline-playhead {
  position: absolute;
  z-index: 1;
  left: var(--playhead);
  top: 4px;
  bottom: 10px;
  width: 1px;
  background: var(--text);
  pointer-events: none;
}
.timeline-playhead::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 0;
  width: 7px;
  height: 6px;
  background: var(--text);
  clip-path: polygon(0 0, 100% 0, 100% 56%, 50% 100%, 0 56%);
}
.timeline-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px 12px;
  min-height: 32px;
  padding: 5px 12px;
  color: var(--subtle);
  font: 400 0.6875rem/1.4 var(--mono);
}
.timeline-time { color: var(--text); font-variant-numeric: tabular-nums; }
.timeline-touch { display: none; }
.wave { position: relative; display: flex; height: 39px; gap: 2px; align-items: center; margin-top: 4px; }
.wave span { flex: 1; height: var(--height); min-width: 1px; background: #7b7b80; border-radius: 2px; }
.wave-cut span:nth-child(n+34) { background: #ababaf; }
.wave-raw .removed { background: var(--amber); opacity: 0.78; }
.splice {
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: calc(var(--second) * var(--second-width));
  width: 7px;
  margin-left: -3px;
  border-inline: 1px solid var(--amber);
  background: var(--surface);
}
.splice::before, .splice::after { content: ""; position: absolute; width: 9px; left: -2px; height: 1px; background: var(--amber); }
.splice::before { top: 0; }
.splice::after { bottom: 0; }
.demo-transcript {
  min-height: 49px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 0.8125rem;
  line-height: 1.5;
}
.demo-transcript s { color: var(--muted); text-decoration-color: var(--amber); text-decoration-thickness: 2px; }

.section-intro { margin-bottom: clamp(32px, 5vw, 62px); }
.section-intro h2, .autopilot h2 { margin-top: 14px; }
.split-intro { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px 56px; align-items: end; }
.section-intro > p { max-width: 370px; color: var(--ink-muted); font-size: clamp(1rem, 1.6vw, 1.1875rem); }
.workflow h2 { max-width: 660px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--paper-line); }
.steps article { padding: 24px 28px 0 0; }
.steps article + article { border-left: 1px solid var(--paper-line); padding-left: 28px; }
.steps article:last-child { padding-right: 0; }
.steps svg, .clip-symbol svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.steps h3 { margin-top: 20px; }
.steps p { margin-top: 10px; color: var(--ink-muted); max-width: 370px; }

.autopilot { background: var(--surface); }
.autopilot-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr); gap: 48px clamp(36px, 8vw, 115px); align-items: center; }
.autopilot-copy h2 { text-wrap: initial; max-width: 600px; }
.autopilot-copy > p:not(.kicker) { font-size: 1.125rem; line-height: 1.65; color: var(--muted); margin: 22px 0 18px; max-width: 480px; }
.idea-board { border: 1px solid var(--line); border-radius: 16px; background: var(--graphite); padding: 17px; }
.idea-board-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 600; padding: 0 2px 15px; }
.idea-tag, .idea-series, .idea-label { color: var(--muted); font: 400 0.75rem/1.5 var(--mono); }
.idea-card { border: 1px solid var(--line); border-radius: 10px; background: var(--raised); padding: clamp(16px, 2vw, 24px); }
.idea-card h3 { max-width: 355px; margin: 10px 0 18px; font-size: clamp(1.25rem, 2.4vw, 1.75rem); }
.idea-card ul { margin: 5px 0 0; padding-inline-start: 17px; color: var(--muted); font-size: 0.9375rem; }
.idea-card li + li { margin-top: 3px; }
.idea-next { display: flex; align-items: center; gap: 10px; padding: 14px 4px 0; color: var(--muted); font-size: 0.875rem; }
.idea-next-mark { width: 7px; height: 7px; border: 1px solid var(--subtle); border-radius: 50%; flex: 0 0 auto; }
.clip-note { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 15px; border-top: 1px solid var(--line); padding-top: 25px; }
.clip-symbol { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; background: var(--raised); border: 1px solid var(--line); border-radius: 9px; }
.clip-symbol svg { width: 21px; height: 21px; }
.clip-note h3 { margin: 2px 0 5px; font-size: 1.25rem; }
.clip-note p { color: var(--muted); max-width: 780px; }

.pricing-intro { grid-template-columns: minmax(0, 1fr) auto; }
.billing-switch { justify-self: end; background: #ededed; border-color: var(--paper-line); }
.billing-switch button { color: var(--ink-muted); min-height: 36px; padding-inline: 15px; font-size: 0.875rem; }
.billing-switch button:hover { color: var(--ink); }
.billing-switch button[aria-pressed="true"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgb(0 0 0 / 8%); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.plan { display: grid; grid-template-rows: auto auto auto auto 1fr auto auto; padding: clamp(18px, 2.2vw, 32px); background: var(--white); border: 1px solid var(--paper-line); border-radius: 16px; }
.plan-pro { border-color: #828282; }
.plan h3 { font-size: 1.5rem; }
.plan-description { margin-top: 7px; color: var(--ink-muted); font-size: 0.9375rem; }
.plan-price { margin-top: 21px; letter-spacing: -0.04em; white-space: nowrap; }
.plan-price strong { font: 400 clamp(1.75rem, 3.45vw, 2.75rem)/1.1 var(--mono); letter-spacing: -0.085em; }
.plan-price span { color: var(--ink-subtle); font-size: 0.875rem; letter-spacing: 0; }
.plan-billing { color: var(--ink-subtle); font-size: 0.875rem; min-height: 24px; margin-top: 5px; }
.plan ul { margin: 19px 0 23px; padding: 18px 0 0; list-style: none; border-top: 1px solid var(--paper-line); font-size: 0.9375rem; line-height: 1.5; }
.plan li { position: relative; padding-left: 20px; }
.plan li + li { margin-top: 9px; }
.plan li::before { content: ""; position: absolute; top: 0.4em; left: 0; height: 5px; width: 9px; border: solid #686868; border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg); }
.plan-button { width: 100%; background: var(--white); border-color: #bcbcbc; }
.plan-button:hover { background: #ededed; border-color: #969696; }
.plan-pro .plan-button { background: var(--ink); color: var(--white); border-color: var(--ink); }
.plan-pro .plan-button:hover { background: #373737; }
.trial-note { color: var(--ink-subtle); margin-top: 10px; font-size: 0.8125rem; text-align: center; }
.pricing-footnote { margin-top: 15px; max-width: 765px; color: var(--ink-subtle); font-size: 0.875rem; }
.credits { display: flex; justify-content: space-between; align-items: center; gap: 18px 28px; margin-top: 38px; padding-block: 23px; border-block: 1px solid var(--paper-line); }
.credits h3 { font-size: 1.25rem; }
.credits p { margin-top: 5px; color: var(--ink-muted); font-size: 0.9375rem; }
.credits dl { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.credits dt { color: var(--ink-subtle); font-size: 0.875rem; }
.credits dd { font-family: var(--mono); }

.faq { border-top: 1px solid var(--paper-line); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: 26px clamp(36px, 6vw, 90px); }
.faq h2 { font-size: clamp(2.125rem, 3.7vw, 3.625rem); text-wrap: initial; }
.faq-list { border-top: 1px solid var(--paper-line); }
details { border-bottom: 1px solid var(--paper-line); }
summary {
  min-height: 58px;
  padding: 17px 30px 17px 0;
  cursor: pointer;
  position: relative;
  list-style: none;
  font-weight: 500;
  line-height: 1.45;
}
summary::-webkit-details-marker { display: none; }
summary::before, summary::after { content: ""; position: absolute; top: 28px; right: 4px; width: 12px; height: 1px; background: currentColor; }
summary::after { transform: rotate(90deg); }
details[open] summary::after { display: none; }
details p { padding: 0 30px 18px 0; color: var(--ink-muted); max-width: 650px; }

.closing { background: var(--graphite); }
.closing-row { display: flex; justify-content: space-between; align-items: center; gap: 22px 40px; }
.closing h2 { font-size: clamp(2.125rem, 4.2vw, 3.75rem); text-wrap: initial; }
.closing p { margin-top: 10px; color: var(--muted); }
.closing .release-note { margin: 0; padding: 9px 14px; border: 1px solid var(--line); border-radius: 9px; font-size: 0.875rem; }
.footer { border-top: 1px solid var(--line); }
.footer-row { min-height: 96px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 24px; }
.footer nav { flex-wrap: wrap; gap: 8px clamp(14px, 2vw, 30px); }
.footer p { font-size: 0.875rem; color: var(--subtle); }

.policy-topbar { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.policy-topbar .text-link { color: var(--muted); }
.policy-heading { padding-top: clamp(44px, 6vw, 80px); }
.policy-heading h1 { font-size: clamp(2.6rem, 6.5vw, 5.25rem); letter-spacing: -0.073em; text-wrap: initial; }
.policy-heading > p { margin-top: 14px; color: var(--muted); font: 400 0.8125rem/1.5 var(--mono); }
.policy-nav { display: flex; flex-wrap: wrap; gap: 0 24px; margin-top: 30px; }
.policy-nav a { padding-block: 13px; border-bottom: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: 0.875rem; }
.policy-nav a:hover, .policy-nav a[aria-current="page"] { color: var(--text); }
.policy-nav a[aria-current="page"] { border-color: var(--amber); }
.policy-body { max-width: 770px; padding-block: clamp(30px, 5vw, 74px) clamp(50px, 7vw, 98px); }
.policy-body h2 { margin-top: 33px; font-size: clamp(1.5rem, 3vw, 1.95rem); letter-spacing: -0.047em; text-wrap: initial; }
.policy-body p, .policy-body li { color: var(--ink-muted); line-height: 1.7; }
.policy-body p { margin-top: 12px; }
.policy-body .policy-lead { margin-top: 0; font-size: clamp(1.0625rem, 2vw, 1.25rem); color: var(--ink); }
.policy-body strong, .policy-body a { color: var(--ink); }
.policy-body a { text-decoration-color: var(--ink-subtle); text-underline-offset: 3px; overflow-wrap: anywhere; }
.policy-body ul, .policy-body ol { margin: 12px 0 0; padding-inline-start: 23px; }
.policy-body li + li { margin-top: 9px; }

@media (min-width: 901px) {
  .plan { grid-template-rows: subgrid; grid-row: span 7; }
  .plans { row-gap: 0; }
}

@media (max-width: 1080px) and (min-width: 901px) {
  .hero h1 { font-size: clamp(2.9rem, 5.1vw, 4rem); }
  .hero-actions { gap: 13px 17px; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; max-width: 700px; gap: 30px; }
  .hero h1 { font-size: clamp(3.125rem, 8.8vw, 5.25rem); }
  .hero { padding-top: 52px; }
  .hero-description { max-width: 525px; }
  .autopilot-grid { gap: 30px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .plan-description { min-height: 45px; }
  .plan-billing { min-height: 44px; }
  .plan { grid-template-rows: auto auto auto auto 1fr auto minmax(32px, auto); }
}
@media (max-width: 700px) {
  .nav { min-height: 65px; display: grid; grid-template-columns: 1fr auto; column-gap: 12px; row-gap: 0; }
  .nav nav { grid-column: 1 / -1; grid-row: 2; min-height: 39px; gap: 8px clamp(14px, 5vw, 32px); flex-wrap: wrap; padding-bottom: 10px; }
  .nav nav a { font-size: 0.875rem; }
  .nav-download { padding: 7px 12px; min-height: 38px; }
  .nav .brand { min-height: 60px; justify-self: start; }
  .split-intro, .autopilot-grid, .faq-grid { grid-template-columns: 1fr; }
  .section-intro h2 { text-wrap: initial; }
  .steps { grid-template-columns: 1fr; border-top: 0; }
  .steps article, .steps article + article { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 4px 10px; border-left: 0; border-top: 1px solid var(--paper-line); padding: 17px 0; }
  .steps h3 { margin-top: 0; align-self: center; }
  .steps p { margin-top: 1px; grid-column: 2; }
  .steps article:last-child { padding-bottom: 0; }
  .billing-switch { justify-self: start; }
  .plans { grid-template-columns: 1fr; }
  .plan { display: block; }
  .plan-price strong { font-size: clamp(2.25rem, 6vw, 2.75rem); }
  .plan-description, .plan-billing { min-height: 0; }
  .credits { align-items: flex-start; flex-direction: column; }
  .closing-row { flex-wrap: wrap; }
  .footer-row { padding-block: 12px; }
  .footer nav { order: 1; flex-basis: 100%; padding-bottom: 6px; }
  .policy-nav { gap: 0 15px; }
}
@media (max-width: 370px) {
  .hero h1 { font-size: 2.85rem; }
  .hero-break { display: none; }
  .demo-top { padding-inline: 9px; }
  .demo-file { font-size: 0.6875rem; }
  .demo-toggle button { padding-inline: 5px; }
}
@media (pointer: coarse) {
  .timeline-touch { display: inline; }
  .timeline-keys { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
