:root {
  --bg: #070808;
  --panel: rgba(12, 18, 20, 0.78);
  --panel-strong: rgba(13, 20, 23, 0.94);
  --line: rgba(255, 255, 255, 0.14);
  --text: #f4f7f5;
  --muted: rgba(244, 247, 245, 0.68);
  --dim: rgba(244, 247, 245, 0.48);
  --mint: #7cf7cf;
  --amber: #f2c66d;
  --mono: "SFMono-Regular", "Roboto Mono", Consolas, monospace;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  cursor: none !important;
}

main {
  max-width: 100vw;
  overflow-x: hidden;
}

a,
button {
  cursor: none !important;
}

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.52);
}

.cursor.hover {
  width: 18px;
  height: 18px;
  background: rgba(255, 255, 255, 0.84);
}

.back-button {
  position: fixed;
  top: 28px;
  left: 28px;
  z-index: 20;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(6, 8, 8, 0.54);
  color: var(--text);
  text-decoration: none;
  backdrop-filter: blur(12px);
}

.video-hero {
  position: relative;
  min-height: 84vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 120px max(28px, calc((100vw - 1180px) / 2)) 76px;
  border-bottom: 1px solid var(--line);
}

.hero-frame,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-frame {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.06);
  opacity: 0.72;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 8, 8, 0.94), rgba(7, 8, 8, 0.58) 48%, rgba(7, 8, 8, 0.22)),
    linear-gradient(0deg, rgba(7, 8, 8, 1), rgba(7, 8, 8, 0.2) 56%, rgba(7, 8, 8, 0.5));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, 820px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--mint);
  font-family: var(--mono);
  font-size: 0.74rem;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(3.1rem, 7vw, 6.8rem);
  font-weight: 300;
  line-height: 0.92;
}

.hero-content > p {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(244, 247, 245, 0.84);
  font-size: 1.18rem;
  line-height: 1.55;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-actions a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  text-decoration: none;
  font-size: 0.94rem;
}

.hero-actions a:first-child,
.hero-actions a:hover {
  border-color: rgba(124, 247, 207, 0.55);
  background: rgba(124, 247, 207, 0.12);
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: #090d0e;
}

.proof-band div {
  min-height: 128px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.proof-band div:last-child {
  border-right: 0;
}

.proof-band span {
  display: block;
  color: var(--text);
  font-family: var(--mono);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.proof-band p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.featured-section,
.samples-section,
.workflow-section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 76px 0;
  border-bottom: 1px solid var(--line);
}

.section-copy {
  max-width: 780px;
  margin-bottom: 28px;
}

.section-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.04;
}

.section-copy p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.68;
}

.feature-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
}

.primary-feature {
  margin-bottom: 14px;
}

.video-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #020303;
}

.video-shell iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.feature-copy {
  padding: 18px;
}

.feature-copy h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.32rem;
  font-weight: 400;
}

.feature-copy p:not(.eyebrow) {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.secondary-feature-grid,
.sample-grid,
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

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

.sample-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: var(--panel);
  color: var(--text);
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.sample-card:hover,
.sample-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(124, 247, 207, 0.48);
  background: var(--panel-strong);
}

.sample-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  border-radius: 6px;
}

.sample-card span {
  display: block;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.2;
}

.sample-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.workflow-section {
  border-bottom: 0;
}

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

.workflow-grid article {
  min-height: 208px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.workflow-grid span {
  color: var(--amber);
  font-family: var(--mono);
  font-size: 0.74rem;
}

.workflow-grid h3 {
  margin: 22px 0 10px;
  color: var(--text);
  font-size: 1.22rem;
  font-weight: 400;
}

.workflow-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

@media (max-width: 920px) {
  .proof-band,
  .secondary-feature-grid,
  .sample-grid,
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .proof-band div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .sample-card {
    grid-template-columns: 148px minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .back-button {
    top: 18px;
    left: 18px;
  }

  .video-hero,
  .featured-section,
  .samples-section,
  .workflow-section {
    width: 100%;
  }

  .video-hero {
    min-height: 78vh;
    padding: 96px 20px 56px;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
  }

  h1 {
    font-size: 3rem;
  }

  .hero-content > p {
    max-width: 34ch;
    font-size: 0.98rem;
  }

  .hero-actions {
    width: min(100%, 260px);
  }

  .hero-actions a {
    width: 100%;
    flex: 1 1 100%;
    padding: 0 12px;
  }

  .featured-section,
  .samples-section,
  .workflow-section {
    padding: 56px 20px;
  }

  .sample-card {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .workflow-grid article {
    min-height: 0;
  }
}
