:root {
  color-scheme: light;
  --ink: #16181d;
  --muted: #646b78;
  --line: #e4e7ec;
  --paper: #fbfbfa;
  --panel: #ffffff;
  --blue: #2563eb;
  --blue-dark: #173b93;
  --green: #117864;
  --soft: #f3f5f7;
  --shadow: 0 18px 44px rgba(24, 30, 44, 0.10);
  --gutter: clamp(24px, 6vw, 96px);
  --max-page: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, var(--paper) 42%, #ffffff 100%);
  letter-spacing: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px var(--gutter);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(223, 227, 234, 0.8);
  backdrop-filter: blur(16px);
}

.brand,
nav,
.hero-actions,
.install-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 760;
}

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

nav {
  gap: clamp(12px, 3vw, 28px);
  font-size: 14px;
  color: var(--muted);
}

main {
  overflow: hidden;
}

.hero {
  min-height: calc(100vh - 62px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.28fr);
  gap: clamp(16px, 3vw, 34px);
  align-items: end;
  padding: clamp(28px, 5vw, 62px) var(--gutter) clamp(34px, 6vw, 70px);
  background: #ffffff;
}

.hero-copy {
  max-width: 720px;
}

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

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

h1 {
  margin-bottom: 16px;
  font-size: clamp(58px, 9vw, 108px);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  letter-spacing: 0;
}

.lede {
  max-width: 640px;
  color: #323846;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.36;
}

.hero-actions,
.install-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

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

.button.primary {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.button.secondary {
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.74);
}

.compatibility {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.hero-aside {
  max-width: 260px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}

.hero-visual {
  grid-column: 1 / -1;
  width: min(100%, 860px);
  justify-self: center;
  padding: clamp(10px, 2vw, 18px);
}

.media-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(243, 245, 247, 0.9)),
    var(--soft);
  box-shadow: var(--shadow);
}

.hero-frame img,
.media-frame video,
.media-frame img {
  display: block;
  width: 100%;
  border-radius: 8px;
}

.media-frame video {
  width: 100%;
  height: min(68vh, 760px);
  object-fit: contain;
  background: #f6f7f9;
}

.workflow,
.modes,
.product,
.privacy,
.install {
  padding: clamp(58px, 9vw, 110px) var(--gutter);
}

.hero,
.workflow,
.modes,
.product,
.privacy {
  position: relative;
}

.hero > *,
.workflow > *,
.modes > *,
.product > *,
.privacy > * {
  max-width: var(--max-page);
}

.section-heading {
  max-width: 900px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
  max-width: var(--max-page);
}

.steps article,
.feature-list,
.install {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.steps article {
  padding: 24px;
}

.steps span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 22px;
  color: #fff;
  background: var(--ink);
  border-radius: 50%;
  font-weight: 800;
}

.steps p,
.feature-list li,
.modes .section-heading p,
.privacy p,
.install li {
  color: var(--muted);
  line-height: 1.65;
}

.modes {
  background: #f7f8fa;
}

.modes .section-heading {
  max-width: 980px;
}

.modes .section-heading p:not(.eyebrow) {
  max-width: 740px;
  font-size: clamp(18px, 2vw, 22px);
}

.mode-stills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
  max-width: var(--max-page);
}

.mode-stills .media-frame {
  background: #11141b;
}

.product {
  color: var(--ink);
  background: #ffffff;
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 22px;
  align-items: stretch;
  margin-top: 36px;
  max-width: var(--max-page);
}

.media-stack {
  display: grid;
  gap: 16px;
}

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

.media-frame.small {
  background: #11141b;
}

.feature-list {
  padding: clamp(24px, 4vw, 42px);
  color: var(--ink);
}

.feature-list ul {
  padding-left: 20px;
}

.feature-list li + li {
  margin-top: 16px;
}

.privacy {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1fr);
  gap: 34px;
  align-items: start;
  background: #f4faf8;
}

.privacy p {
  font-size: clamp(18px, 2vw, 24px);
}

.install {
  max-width: var(--max-page);
  margin: clamp(48px, 8vw, 96px) var(--gutter);
  padding: clamp(32px, 5vw, 58px);
}

.install ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  list-style-position: inside;
}

.install li {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  padding: 30px var(--gutter);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

footer span {
  color: var(--ink);
  font-weight: 760;
}

@media (max-width: 900px) {
  .hero,
  .product-grid,
  .privacy {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-aside {
    max-width: none;
  }

  .steps,
  .install ol,
  .mode-stills {
    grid-template-columns: 1fr;
  }

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

  .media-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  :root {
    --gutter: 18px;
  }

  .site-header {
    gap: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  h1 {
    font-size: 46px;
    line-height: 0.94;
  }

  h2 {
    font-size: 34px;
    line-height: 1.05;
  }

  .lede {
    font-size: 18px;
  }

  .hero-visual {
    width: 100%;
    min-height: 220px;
    padding: 8px;
  }

  .media-frame video {
    height: auto;
    max-height: 72vh;
  }

  .workflow,
  .modes,
  .product,
  .privacy {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .button {
    width: 100%;
  }

  .install {
    margin-right: var(--gutter);
    margin-left: var(--gutter);
  }

  .install li,
  .steps article,
  .feature-list {
    padding: 18px;
  }
}
