:root {
  color-scheme: light;
  --bg: #f5f7f9;
  --ink: #10131a;
  --muted: #5b6472;
  --line: rgba(16, 19, 26, 0.12);
  --panel: rgba(255, 255, 255, 0.86);
  --blue: #1067ff;
  --green: #0a7b63;
  --gold: #b76b18;
  --dark: #111827;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(135deg, rgba(16, 103, 255, 0.11), transparent 34%),
    linear-gradient(215deg, rgba(10, 123, 99, 0.1), transparent 36%),
    linear-gradient(180deg, #fbfcfe 0%, var(--bg) 100%);
  color: var(--ink);
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(16, 19, 26, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 19, 26, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, black 0%, transparent 70%);
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 900;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 28px;
  height: 28px;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.header-link,
.primary-button,
.secondary-button,
.checkout-button,
.beta-form button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.header-link {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.header-link-muted {
  color: var(--muted);
}

main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-section {
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 42px;
  align-items: center;
  padding: 56px 0 72px;
}

.hero-copy,
.section-heading,
.pricing-copy {
  display: grid;
  gap: 18px;
}

.eyebrow {
  width: fit-content;
  padding: 7px 10px;
  border: 1px solid rgba(16, 103, 255, 0.2);
  border-radius: 8px;
  background: rgba(16, 103, 255, 0.09);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2 {
  max-width: 780px;
  font-weight: 950;
  line-height: 0.96;
}

h1 {
  font-size: 5.5rem;
}

h2 {
  font-size: 3.4rem;
}

.hero-subhead,
.section-lede,
.pricing-copy p,
.beta-proof p,
.beta-note,
.feature-card p,
.proof-card p,
.video-card span,
.price-row p {
  color: var(--muted);
  line-height: 1.55;
}

.hero-subhead {
  max-width: 650px;
  font-size: 1.28rem;
}

.section-lede {
  max-width: 740px;
  font-size: 1.12rem;
}

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

.primary-button,
.secondary-button {
  padding: 0 18px;
}

.primary-button,
.checkout-button,
.beta-form button {
  border: 0;
  background: var(--dark);
  color: white;
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.22);
}

.secondary-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
}

.audience-line {
  max-width: 560px;
  color: var(--green);
  font-weight: 800;
  line-height: 1.4;
}

.free-access-callout {
  max-width: 590px;
  display: grid;
  gap: 5px;
  padding: 14px 16px;
  border: 1px solid rgba(10, 123, 99, 0.22);
  border-radius: 8px;
  background: rgba(232, 251, 244, 0.84);
  box-shadow: 0 16px 38px rgba(10, 123, 99, 0.08);
}

.free-access-callout strong {
  color: var(--green);
  font-size: 1.05rem;
  font-weight: 950;
}

.free-access-callout span {
  color: var(--ink);
  font-weight: 780;
  line-height: 1.42;
}

.hero-proof-panel {
  display: grid;
  gap: 16px;
  align-self: center;
}

.hero-proof-heading {
  display: grid;
  gap: 12px;
}

.hero-proof-heading h2 {
  max-width: 600px;
  font-size: 2.55rem;
}

.hero-comparison-grid {
  margin-top: 0;
}

.hero-comparison-grid .comparison-card {
  box-shadow: 0 18px 52px rgba(16, 19, 26, 0.11);
}

.hero-comparison-grid .comparison-copy {
  padding: 14px;
}

.hero-comparison-grid .comparison-copy h3 {
  font-size: 1.08rem;
}

.hero-comparison-grid .comparison-copy p {
  font-size: 0.92rem;
}

.demo-panel,
.signup-card,
.feature-card,
.beta-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 22px 70px rgba(16, 19, 26, 0.1);
  backdrop-filter: blur(16px);
}

.demo-panel {
  overflow: hidden;
}

.edit-animation {
  position: relative;
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(120px, 0.72fr) 72px minmax(220px, 1fr);
  gap: 18px;
  align-items: center;
  padding: 28px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(16, 103, 255, 0.1), transparent 38%),
    linear-gradient(215deg, rgba(10, 123, 99, 0.12), transparent 34%),
    #f9fbfd;
}

.raw-stack,
.edit-preview {
  position: relative;
  z-index: 1;
}

.raw-stack {
  min-height: 330px;
}

.raw-label {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 10px;
  border-radius: 8px;
  background: var(--dark);
  color: white;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.clip-card {
  position: absolute;
  width: 78%;
  max-width: 190px;
  aspect-ratio: 9 / 14;
  border: 1px solid rgba(16, 19, 26, 0.12);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(16, 19, 26, 0.14);
  background:
    linear-gradient(180deg, transparent 0 52%, rgba(17, 24, 39, 0.62) 52% 100%),
    linear-gradient(135deg, #bdd7f9, #f8d39c 42%, #3c7f6a);
  animation: rawClipPulse 4.8s ease-in-out infinite;
}

.clip-card::after {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 14px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  content: "";
}

.clip-card-one {
  top: 54px;
  left: 6px;
  transform: rotate(-6deg);
}

.clip-card-two {
  top: 98px;
  left: 34px;
  background:
    linear-gradient(180deg, transparent 0 50%, rgba(17, 24, 39, 0.62) 50% 100%),
    linear-gradient(145deg, #d7ecff, #98b7ff 46%, #172033);
  animation-delay: 0.5s;
}

.clip-card-three {
  top: 142px;
  left: 66px;
  background:
    linear-gradient(180deg, transparent 0 54%, rgba(17, 24, 39, 0.62) 54% 100%),
    linear-gradient(145deg, #faf0bc, #ec8e5f 46%, #17433b);
  transform: rotate(6deg);
  animation-delay: 1s;
}

.flow-track {
  position: relative;
  height: 4px;
  border-radius: 999px;
  background: rgba(16, 103, 255, 0.18);
}

.flow-track::before,
.flow-track::after {
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  border-top: 3px solid var(--blue);
  border-right: 3px solid var(--blue);
  content: "";
}

.flow-track::before {
  left: -2px;
  transform: translateY(-50%) rotate(45deg);
}

.flow-track::after {
  right: -2px;
  transform: translateY(-50%) rotate(45deg);
}

.flow-dot {
  position: absolute;
  top: 50%;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 0 8px rgba(16, 103, 255, 0.13);
  transform: translate(-50%, -50%);
  animation: flowDot 2.4s linear infinite;
}

.flow-dot-two {
  animation-delay: 0.8s;
}

.flow-dot-three {
  animation-delay: 1.6s;
}

.edit-preview {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(16, 19, 26, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 22px 60px rgba(16, 19, 26, 0.12);
}

.phone-frame {
  width: min(100%, 250px);
  aspect-ratio: 9 / 16;
  padding: 10px;
  border: 8px solid #10131a;
  border-radius: 32px;
  background: #10131a;
  box-shadow: 0 18px 45px rgba(16, 19, 26, 0.18);
}

.video-scene {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(16, 19, 26, 0.05), rgba(16, 19, 26, 0.5)),
    linear-gradient(145deg, #bfe5ff 0%, #f6d395 42%, #24715f 100%);
}

.video-scene::before {
  position: absolute;
  left: -15%;
  right: -15%;
  bottom: 22%;
  height: 34%;
  border-radius: 50% 50% 0 0;
  background: rgba(17, 24, 39, 0.42);
  content: "";
}

.hook-chip,
.caption-line {
  position: absolute;
  left: 14px;
  right: 14px;
  border-radius: 8px;
  text-align: center;
  font-weight: 950;
}

.hook-chip {
  top: 14px;
  padding: 7px 8px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--blue);
  font-size: 0.82rem;
  animation: hookPop 4.8s ease-in-out infinite;
}

.caption-line {
  bottom: 74px;
  padding: 8px;
  background: rgba(17, 24, 39, 0.82);
  color: white;
  font-size: 0.92rem;
  line-height: 1.2;
  animation: captionSwapOne 4.8s ease-in-out infinite;
}

.caption-two {
  opacity: 0;
  animation-name: captionSwapTwo;
}

.timeline {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 0.68fr 1.2fr 0.82fr 1.08fr;
  gap: 6px;
}

.timeline span {
  height: 18px;
  border-radius: 5px;
  background: rgba(16, 103, 255, 0.2);
  animation: timelineCut 2.8s ease-in-out infinite;
}

.timeline span:nth-child(2n) {
  background: rgba(10, 123, 99, 0.2);
  animation-delay: 0.4s;
}

.edit-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.edit-tags span {
  padding: 7px 9px;
  border: 1px solid rgba(16, 19, 26, 0.1);
  border-radius: 8px;
  background: white;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.demo-caption {
  display: grid;
  gap: 5px;
  padding: 16px 18px 18px;
  background: white;
}

.demo-caption strong {
  font-size: 1.08rem;
}

.demo-caption span {
  color: var(--muted);
  line-height: 1.45;
}

.upload-animation {
  min-height: 620px;
  display: block;
  padding: 0;
  background:
    radial-gradient(circle at 72% 28%, rgba(16, 103, 255, 0.16), transparent 24%),
    radial-gradient(circle at 28% 74%, rgba(10, 123, 99, 0.12), transparent 28%),
    #f9fbfd;
}

.upload-stage {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  --flow-duration: 15s;
  --bundle-drop-x: 330px;
  --bundle-drop-y: 68px;
  --cursor-click-x: 412px;
  --cursor-click-y: 156px;
}

.video-bundle,
.upload-box,
.progress-ring,
.result-video {
  position: absolute;
}

.video-bundle {
  top: 106px;
  left: 46px;
  z-index: 4;
  width: 174px;
  height: 106px;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(16, 19, 26, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 26px 64px rgba(16, 19, 26, 0.16);
  animation: dragBundle var(--flow-duration) cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.bundle-icon {
  position: relative;
  width: 38px;
  height: 50px;
  border-radius: 10px;
  background: linear-gradient(145deg, #dbeafe, #7aa7ff);
  box-shadow: 10px 8px 0 rgba(17, 24, 39, 0.16);
}

.bundle-icon::after {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 8px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  content: "";
}

.video-bundle strong {
  font-size: 1.08rem;
  line-height: 1.05;
}

.upload-box {
  top: 112px;
  right: 48px;
  z-index: 2;
  width: 352px;
  min-height: 238px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 14px;
  border: 1px solid rgba(16, 103, 255, 0.18);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.72),
    0 24px 64px rgba(16, 19, 26, 0.08);
  animation: uploadBoxState var(--flow-duration) ease-in-out infinite;
  backdrop-filter: blur(18px);
}

.upload-icon {
  width: 50px;
  height: 50px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, transparent 0 46%, rgba(16, 103, 255, 0.16) 46% 100%),
    rgba(16, 103, 255, 0.1);
}

.upload-icon::before {
  display: block;
  width: 12px;
  height: 12px;
  margin: 17px auto 0;
  border-top: 3px solid var(--blue);
  border-left: 3px solid var(--blue);
  content: "";
  transform: rotate(45deg);
}

.upload-box strong {
  font-size: 1.22rem;
}

.cursor-pointer {
  position: absolute;
  top: 188px;
  left: 178px;
  z-index: 6;
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 8px 10px rgba(16, 19, 26, 0.24));
  animation: cursorPath var(--flow-duration) cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.cursor-pointer::before {
  position: absolute;
  inset: 0;
  clip-path: polygon(0 0, 0 100%, 30% 72%, 49% 100%, 65% 91%, 47% 64%, 82% 64%);
  background: #10131a;
  content: "";
}

.cursor-pointer::after {
  position: absolute;
  inset: 3px 0 0 4px;
  clip-path: polygon(0 0, 0 72%, 24% 52%, 41% 76%, 52% 69%, 35% 46%, 63% 46%);
  background: white;
  content: "";
}

.progress-ring {
  top: 190px;
  left: calc(50% - 104px);
  z-index: 5;
  width: 208px;
  height: 208px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--blue) var(--progress-angle, 0deg), rgba(16, 103, 255, 0.12) var(--progress-angle, 0deg));
  opacity: 0;
  transform: scale(0.86);
  animation: progressReveal var(--flow-duration) ease-in-out infinite;
}

.progress-ring::before {
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  background: white;
  content: "";
}

.progress-value {
  position: relative;
  z-index: 1;
  color: var(--dark);
  font-size: 1.72rem;
  font-weight: 950;
}

.result-video {
  right: 64px;
  bottom: 46px;
  z-index: 4;
  width: 330px;
  overflow: hidden;
  border: 1px solid rgba(16, 19, 26, 0.12);
  border-radius: 28px;
  background: #10131a;
  box-shadow: 0 30px 80px rgba(16, 19, 26, 0.2);
  opacity: 0;
  transform: translateY(28px) scale(0.88);
  animation: resultPop var(--flow-duration) ease-in-out infinite;
}

.rendered-video,
.placeholder-video {
  position: relative;
  height: 500px;
  overflow: hidden;
  background: #10131a;
}

.rendered-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.section-block,
.pricing-section,
.beta-proof,
.beta-note {
  margin: 0 0 28px;
}

.section-block {
  padding: 84px 0 42px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.feature-card {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.feature-card span {
  color: var(--gold);
  font-weight: 950;
}

.feature-card h3 {
  font-size: 1.25rem;
}

.before-after-section {
  padding-top: 36px;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
  margin-top: 28px;
}

.comparison-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 22px 70px rgba(16, 19, 26, 0.1);
}

.comparison-card-after {
  border-color: rgba(10, 123, 99, 0.26);
  box-shadow: 0 24px 76px rgba(10, 123, 99, 0.12);
}

.comparison-video {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #10131a;
}

.comparison-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comparison-copy {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.comparison-copy span {
  width: fit-content;
  padding: 6px 9px;
  border-radius: 8px;
  background: rgba(16, 19, 26, 0.08);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.comparison-card-after .comparison-copy span {
  background: rgba(10, 123, 99, 0.12);
  color: var(--green);
}

.comparison-copy h3 {
  font-size: 1.32rem;
}

.comparison-copy p {
  color: var(--muted);
  line-height: 1.45;
}

.prompt-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(16, 103, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.prompt-proof strong {
  font-weight: 950;
}

.prompt-proof span {
  color: var(--muted);
  font-weight: 750;
}

.prompt-proof a {
  margin-left: auto;
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}

.proof-section {
  padding-top: 52px;
}

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

.proof-card {
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 48px rgba(16, 19, 26, 0.08);
}

.proof-card span {
  width: fit-content;
  padding: 7px 9px;
  border-radius: 8px;
  background: rgba(16, 103, 255, 0.08);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.proof-card strong {
  font-size: 1.2rem;
}

.proof-card p {
  font-weight: 720;
}

.beta-proof {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 28px;
  border: 1px solid rgba(10, 123, 99, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(10, 123, 99, 0.12), transparent 42%),
    rgba(255, 255, 255, 0.86);
  box-shadow: 0 22px 70px rgba(10, 123, 99, 0.1);
}

.beta-proof > div {
  display: grid;
  gap: 14px;
}

.beta-proof h2 {
  max-width: 760px;
  font-size: 3rem;
}

.beta-proof p {
  max-width: 720px;
  font-size: 1.12rem;
}

.beta-proof .primary-button {
  min-width: 210px;
  padding: 0 20px;
}

.pricing-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 440px);
  gap: 28px;
  align-items: start;
  padding: 44px 0 40px;
}

.pricing-copy p {
  max-width: 680px;
  font-size: 1.12rem;
}

.pricing-plans {
  display: grid;
  gap: 16px;
}

.signup-card {
  display: grid;
  gap: 22px;
  padding: 24px;
}

.price-row {
  display: grid;
  gap: 8px;
}

.price {
  font-size: 4.1rem;
  line-height: 1;
  font-weight: 950;
}

.price-unit {
  color: var(--muted);
  font-weight: 800;
}

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

.included-list li {
  position: relative;
  padding-left: 24px;
  font-weight: 700;
  line-height: 1.35;
}

.included-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--green);
  content: "✓";
}

.checkout-button {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
}

.beta-form {
  display: grid;
  gap: 8px;
}

.plan-choice {
  display: grid;
  gap: 10px;
  margin: 0 0 6px;
  padding: 0;
  border: 0;
}

.plan-choice label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.plan-choice input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--ink);
}

.plan-choice span {
  display: grid;
  gap: 4px;
}

.plan-choice em {
  color: var(--muted);
  font-style: normal;
  font-weight: 700;
  line-height: 1.35;
}

.beta-form label {
  font-weight: 800;
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.beta-form input {
  min-width: 0;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  background: white;
  color: var(--ink);
}

.beta-form button {
  padding: 0 16px;
  cursor: pointer;
}

.form-status {
  min-height: 22px;
  color: var(--muted);
  line-height: 1.4;
}

.beta-note {
  display: flex;
  gap: 10px;
  padding: 18px;
  margin-bottom: 56px;
}

.beta-note strong {
  color: var(--gold);
  white-space: nowrap;
}

.login-page {
  min-height: 100vh;
}

.login-shell {
  min-height: calc(100vh - 74px);
  display: grid;
  place-items: center;
  padding: 48px 0;
}

.login-card {
  width: min(100%, 540px);
}

.login-card h1 {
  font-size: 3.8rem;
}

.login-card p {
  color: var(--muted);
  line-height: 1.55;
}

.portal-page {
  min-height: 100vh;
}

.portal-shell {
  display: grid;
  gap: 24px;
  padding: 36px 0 64px;
}

.portal-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.portal-hero h1 {
  font-size: 4.2rem;
}

.portal-hero p,
.legal-page p {
  color: var(--muted);
  line-height: 1.55;
}

.usage-card {
  min-width: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 50px rgba(16, 19, 26, 0.1);
}

.usage-card span {
  display: block;
  font-size: 4rem;
  line-height: 1;
  font-weight: 950;
}

.usage-card strong {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.portal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 18px;
  align-items: start;
}

.portal-card {
  align-content: start;
}

.portal-card h2 {
  font-size: 2rem;
}

.portal-form {
  display: grid;
  gap: 10px;
}

.portal-form label {
  font-weight: 850;
}

.portal-form input,
.portal-form select,
.portal-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  background: white;
  color: var(--ink);
  resize: vertical;
}

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

.request-item {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.request-item div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.request-item span,
.request-item p {
  color: var(--muted);
  line-height: 1.45;
}

.request-item a {
  width: fit-content;
  color: var(--blue);
  font-weight: 850;
}

.empty-state {
  padding: 14px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
}

.legal-page {
  display: grid;
  gap: 18px;
  max-width: 820px;
  padding: 48px 0 72px;
}

.legal-page h1 {
  font-size: 4rem;
}

.legal-page h2 {
  margin-top: 18px;
  font-size: 2rem;
}

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

  .hero-section {
    min-height: auto;
    padding-top: 34px;
  }

  h1 {
    font-size: 4.2rem;
  }

  h2 {
    font-size: 2.8rem;
  }

  .hero-proof-heading h2 {
    font-size: 2.5rem;
  }

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

  .comparison-grid,
  .proof-grid,
  .beta-proof {
    grid-template-columns: 1fr;
  }

  .beta-proof .primary-button {
    width: fit-content;
  }

  .portal-hero,
  .portal-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .edit-animation {
    min-height: 460px;
  }

  .upload-animation,
  .upload-stage {
    min-height: 560px;
  }

  .upload-box {
    right: 32px;
    width: 310px;
  }

  .progress-ring {
    right: 112px;
  }

  .result-video {
    right: 44px;
    width: 270px;
  }

  .rendered-video,
  .placeholder-video {
    height: 350px;
  }
}

@media (max-width: 640px) {
  .site-header,
  main {
    width: min(100% - 24px, 1120px);
  }

  .header-actions {
    gap: 6px;
  }

  .header-link {
    padding: 0 10px;
  }

  h1 {
    font-size: 3.1rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .hero-proof-heading h2 {
    font-size: 2rem;
  }

  .hero-subhead {
    font-size: 1.08rem;
  }

  .feature-grid,
  .comparison-grid,
  .proof-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .prompt-proof a {
    width: 100%;
    margin-left: 0;
  }

  .beta-proof {
    padding: 22px;
  }

  .beta-proof h2 {
    font-size: 2.2rem;
  }

  .beta-proof .primary-button {
    width: 100%;
  }

  .edit-animation {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .upload-animation {
    min-height: 600px;
    padding: 0;
  }

  .upload-stage {
    min-height: 600px;
    --bundle-drop-x: 82px;
    --bundle-drop-y: 134px;
    --cursor-click-x: 108px;
    --cursor-click-y: 204px;
  }

  .video-bundle {
    top: 48px;
    left: 22px;
    width: 144px;
    height: 94px;
  }

  .upload-box {
    top: 146px;
    left: 22px;
    right: 22px;
    width: auto;
    min-height: 188px;
  }

  .cursor-pointer {
    top: 126px;
    left: 132px;
  }

  .progress-ring {
    top: 208px;
    right: auto;
    left: calc(50% - 82px);
    width: 164px;
    height: 164px;
  }

  .result-video {
    right: auto;
    left: calc(50% - 118px);
    bottom: 84px;
    width: 236px;
  }

  .rendered-video,
  .placeholder-video {
    height: 296px;
  }

  .raw-stack {
    min-height: 220px;
  }

  .clip-card {
    width: 42%;
  }

  .clip-card-two {
    left: 30%;
  }

  .clip-card-three {
    left: 56%;
  }

  .flow-track {
    width: 58%;
    margin: 0 auto;
    transform: rotate(90deg);
  }

  .section-block {
    padding-top: 42px;
  }

  .price {
    font-size: 3.2rem;
  }

  .login-card h1 {
    font-size: 2.7rem;
  }

  .portal-hero h1,
  .legal-page h1 {
    font-size: 2.8rem;
  }

  .usage-card {
    width: 100%;
  }

  .beta-note {
    display: grid;
  }

  .beta-note strong {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

@keyframes rawClipPulse {
  0%,
  100% {
    opacity: 0.78;
    filter: saturate(0.86);
  }

  45% {
    opacity: 1;
    filter: saturate(1.12);
  }
}

@keyframes flowDot {
  0% {
    left: 0;
    opacity: 0;
  }

  12%,
  82% {
    opacity: 1;
  }

  100% {
    left: 100%;
    opacity: 0;
  }
}

@keyframes hookPop {
  0%,
  18%,
  100% {
    transform: translateY(-6px);
    opacity: 0;
  }

  28%,
  78% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes captionSwapOne {
  0%,
  18%,
  52%,
  100% {
    opacity: 0;
    transform: translateY(8px);
  }

  26%,
  45% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes captionSwapTwo {
  0%,
  48%,
  100% {
    opacity: 0;
    transform: translateY(8px);
  }

  58%,
  84% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes timelineCut {
  0%,
  100% {
    transform: scaleX(0.75);
    opacity: 0.65;
  }

  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes dragBundle {
  0%,
  10% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }

  34% {
    transform: translate(var(--bundle-drop-x), var(--bundle-drop-y)) scale(0.96);
    opacity: 1;
  }

  42%,
  100% {
    transform: translate(var(--bundle-drop-x), var(--bundle-drop-y)) scale(0.84);
    opacity: 0;
  }
}

@keyframes cursorPath {
  0%,
  8% {
    transform: translate(0, 0) scale(1);
  }

  34% {
    transform: translate(var(--bundle-drop-x), var(--bundle-drop-y)) scale(1);
  }

  44% {
    transform: translate(var(--cursor-click-x), var(--cursor-click-y)) scale(0.92);
  }

  50% {
    transform: translate(var(--cursor-click-x), var(--cursor-click-y)) scale(0.82);
  }

  58%,
  100% {
    transform: translate(var(--cursor-click-x), var(--cursor-click-y)) scale(0.92);
    opacity: 0;
  }
}

@keyframes uploadBoxState {
  0%,
  24% {
    border-color: rgba(16, 103, 255, 0.28);
    background: rgba(255, 255, 255, 0.78);
    transform: scale(1);
    opacity: 1;
  }

  32%,
  38% {
    border-color: rgba(10, 123, 99, 0.58);
    background: rgba(255, 255, 255, 0.94);
    transform: scale(1.02);
    opacity: 1;
  }

  44%,
  100% {
    border-color: rgba(16, 19, 26, 0);
    transform: scale(0.92);
    opacity: 0;
  }
}

@keyframes progressReveal {
  0%,
  39% {
    opacity: 0;
    transform: scale(0.86);
  }

  42%,
  52% {
    opacity: 1;
    transform: scale(1);
  }

  58%,
  100% {
    opacity: 0;
    transform: scale(0.9);
  }
}

@keyframes resultPop {
  0%,
  57% {
    opacity: 0;
    transform: translateY(28px) scale(0.88);
  }

  63%,
  98% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  100% {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }
}

@keyframes videoShimmer {
  0%,
  82% {
    transform: translateX(-110%);
  }

  92% {
    transform: translateX(110%);
  }

  100% {
    transform: translateX(110%);
  }
}

@keyframes captionPulse {
  0%,
  82% {
    opacity: 0;
    transform: translateY(8px);
  }

  88%,
  96% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
  }
}
