:root {
  --ink: #18201f;
  --muted: #5d6865;
  --line: #d7dfdc;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --sea: #0d6f78;
  --green: #bcdcc8;
  --rose: #f2b7bf;
  --gold: #f2d98d;
  --shadow: 0 18px 48px rgba(20, 38, 36, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

img,
video {
  display: block;
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 54px);
  border-bottom: 1px solid rgba(24, 32, 31, 0.08);
  background: rgba(251, 250, 247, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}

nav {
  display: flex;
  gap: clamp(14px, 2.5vw, 30px);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

nav a:hover {
  color: var(--sea);
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(700px, calc(100svh - 70px));
  padding: clamp(70px, 8vw, 118px) clamp(30px, 7vw, 118px) clamp(76px, 8vw, 112px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(188, 220, 200, 0.26), rgba(251, 250, 247, 0) 52%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.65), rgba(251, 250, 247, 0));
}

.hero-copy {
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
  text-align: center;
}

.kicker,
.eyebrow {
  margin: 0 0 14px;
  color: var(--sea);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  max-width: 980px;
  color: var(--ink);
  letter-spacing: 0;
  line-height: 1.06;
}

h1 {
  display: grid;
  gap: clamp(12px, 1.6vw, 20px);
  max-width: none;
}

.title-main {
  display: block;
  font-size: clamp(62px, 8vw, 132px);
  line-height: 0.92;
  white-space: nowrap;
}

.title-sub {
  display: block;
  color: #2f3a37;
  max-width: none;
  font-size: clamp(30px, 3.4vw, 58px);
  font-weight: 760;
  line-height: 1.12;
  white-space: nowrap;
}

h2 {
  font-size: clamp(32px, 4.7vw, 60px);
}

.hero-summary,
.section-copy p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(16px, 1.55vw, 19px);
}

.hero-summary {
  margin: clamp(26px, 3vw, 38px) auto 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(32px, 4vw, 46px);
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

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

.button-secondary {
  border-color: var(--line);
  background: var(--surface);
}

.section {
  padding: clamp(70px, 9vw, 132px) clamp(22px, 5vw, 76px);
}

.overview-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(360px, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  border-top: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(188, 220, 200, 0.2), rgba(242, 183, 191, 0.14));
}

.section-copy p:not(.eyebrow) {
  margin: 22px 0 0;
}

.figure-panel,
.wide-figure {
  margin: 0;
}

.figure-panel {
  padding: clamp(16px, 2vw, 24px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: var(--shadow);
}

.figure-panel img,
.wide-figure img {
  border-radius: 10px;
}

figcaption {
  margin-top: 14px;
  color: #66716d;
  font-size: 13px;
  text-align: center;
}

.pipeline-section {
  background: var(--surface);
}

.narrow-copy {
  max-width: 1040px;
  margin: 0 auto 34px;
  text-align: center;
}

.narrow-copy p:not(.eyebrow) {
  margin-inline: auto;
}

.wide-figure {
  max-width: 1220px;
  margin-inline: auto;
}

.wide-figure img {
  border: 1px solid var(--line);
  background: white;
  box-shadow: 0 12px 36px rgba(17, 25, 24, 0.08);
}

.demo-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.65fr) minmax(420px, 1.35fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  border-top: 1px solid var(--line);
}

.video-shell {
  overflow: hidden;
  border: 1px solid #cad6d2;
  border-radius: 20px;
  background: #0c1110;
  box-shadow: var(--shadow);
}

.video-shell video {
  aspect-ratio: 1180 / 668;
  object-fit: contain;
  background: #0c1110;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(22px, 5vw, 76px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

footer p {
  margin: 0;
}

footer a {
  color: var(--sea);
  font-weight: 800;
}

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

  .overview-section,
  .demo-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .title-sub {
    white-space: normal;
  }
}

@media (max-width: 620px) {
  nav {
    width: 100%;
    justify-content: space-between;
  }

  h1 {
    gap: 10px;
  }

  .title-main {
    font-size: 46px;
    white-space: normal;
  }

  .title-sub {
    font-size: 31px;
  }

  h2 {
    font-size: 30px;
  }

  .button {
    width: 100%;
  }

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