:root {
  color-scheme: dark;
  --bg: #101112;
  --panel: #181b1d;
  --panel-strong: #202529;
  --text: #f4f2ed;
  --muted: #b7b0a7;
  --line: rgba(244, 242, 237, 0.16);
  --green: #66d38f;
  --cyan: #63c7da;
  --amber: #e7b75f;
  --red: #ef6b5c;
  --shadow: rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}

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

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(16, 17, 18, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.topbar nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.topbar nav a {
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

.topbar nav a:hover,
.topbar nav a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  outline: none;
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 128px clamp(20px, 6vw, 84px) 72px;
  border-bottom: 1px solid var(--line);
}

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

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.06) contrast(1.08);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(16, 17, 18, 0.92) 0%, rgba(16, 17, 18, 0.62) 43%, rgba(16, 17, 18, 0.28) 100%),
    linear-gradient(0deg, rgba(16, 17, 18, 0.78) 0%, rgba(16, 17, 18, 0) 50%);
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(3.3rem, 10vw, 8.3rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

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

.lead {
  max-width: 680px;
  margin-bottom: 28px;
  color: #e5e0d8;
  font-size: clamp(1.08rem, 2vw, 1.38rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 6px;
  border: 1px solid var(--line);
  font-weight: 800;
}

.button.primary {
  background: var(--green);
  color: #102017;
  border-color: transparent;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
}

.section {
  padding: clamp(56px, 8vw, 104px) clamp(20px, 6vw, 84px);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

.section-heading p,
.split > div:first-child + div p,
.timeline p,
.clip p,
.flow p {
  color: var(--muted);
}

.compact {
  max-width: 760px;
}

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

.metric,
.flow article,
.clip,
.timeline li {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 45px var(--shadow);
}

.metric {
  min-height: 148px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.metric-value {
  color: var(--cyan);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1;
}

.metric-label {
  color: var(--muted);
  font-size: 0.95rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

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

.flow article,
.clip {
  min-height: 220px;
  padding: 22px;
}

.step-index {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--amber);
  font-weight: 900;
  font-size: 0.86rem;
}

.clips {
  background:
    linear-gradient(180deg, rgba(99, 199, 218, 0.06), transparent 38%),
    var(--bg);
}

.clip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.clip {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 18px;
}

.clip video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  border-radius: 6px;
  background: #050607;
}

.clip span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.timeline li {
  min-height: 230px;
  padding: 22px;
}

.timeline span {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.timeline strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.04rem;
}

.footer {
  min-height: 86px;
  padding: 24px clamp(20px, 6vw, 84px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .metric-grid,
  .clip-grid,
  .timeline,
  .flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 620px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px;
  }

  .topbar nav {
    justify-content: flex-start;
  }

  .topbar nav a {
    padding: 7px 8px;
    font-size: 0.84rem;
  }

  .hero {
    min-height: 86svh;
    padding: 154px 18px 52px;
  }

  .metric-grid,
  .clip-grid,
  .timeline,
  .flow {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 48px 18px;
  }

  .metric,
  .flow article,
  .clip,
  .timeline li {
    min-height: 0;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-video {
    animation: none;
  }
}
