:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #536176;
  --line: #dce3ed;
  --surface: #ffffff;
  --soft: #f5f7fb;
  --teal: #1f7a6e;
  --blue: #2563eb;
  --rose: #b8465f;
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 68px);
  color: white;
  background: rgba(8, 18, 33, 0.58);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 28px);
  font-size: 15px;
}

nav a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] {
  color: white;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 120px clamp(20px, 6vw, 78px) 82px;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(6, 17, 32, 0.86), rgba(6, 17, 32, 0.58) 44%, rgba(6, 17, 32, 0.18)),
    linear-gradient(0deg, rgba(6, 17, 32, 0.66), transparent 42%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
  color: white;
}

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

.hero .eyebrow {
  color: #8df2dd;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(52px, 8vw, 92px);
  line-height: 0.96;
}

h2 {
  font-size: clamp(28px, 3.8vw, 46px);
  line-height: 1.08;
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(20px, 2.2vw, 27px);
  line-height: 1.35;
}

.hero-actions,
.cta .button,
.document .button {
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.2;
}

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

.button.secondary {
  margin-left: 10px;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.14);
}

.section {
  padding: clamp(56px, 8vw, 96px) clamp(20px, 6vw, 78px);
}

.video-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
  background: white;
}

.section-copy p,
.feature-card p,
.cta p,
.document p,
.document li {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.demo-video {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111827;
  box-shadow: 0 22px 64px rgba(20, 31, 52, 0.16);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  background: #eef3f8;
}

.feature-card {
  min-height: 250px;
  padding: 28px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.feature-card h2 {
  font-size: 24px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  background: white;
}

figure {
  margin: 0;
}

figure img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
}

figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}

.cta {
  background: #172033;
  color: white;
}

.cta p {
  max-width: 860px;
  color: rgba(255, 255, 255, 0.78);
}

.document {
  max-width: 860px;
  min-height: 76vh;
  padding: 140px 24px 76px;
  margin: 0 auto;
}

.document h1 {
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1;
}

.document h2 {
  margin-top: 42px;
  font-size: 28px;
}

.document ul {
  padding-left: 22px;
}

.document .button.primary {
  color: white;
}

.site-footer {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 28px;
  color: #607085;
  background: #f8fafc;
  border-top: 1px solid var(--line);
}

.site-footer a {
  text-decoration: none;
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
  }

  .hero {
    min-height: 88vh;
  }

  .video-section,
  .feature-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .button.secondary {
    margin-left: 0;
    margin-top: 10px;
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding-top: 170px;
  }

  .hero-actions {
    display: grid;
    gap: 10px;
    max-width: 260px;
  }
}
