:root {
  color-scheme: dark;
  --bg: #0b1014;
  --panel: #111920;
  --panel-soft: #172129;
  --text: #f4f7f9;
  --muted: #aab5bd;
  --line: rgba(255, 255, 255, 0.14);
  --orange: #ff9d10;
  --cyan: #55d8ff;
  --green: #9be15d;
  --shadow: rgba(0, 0, 0, 0.35);
}

* {
  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;
}

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: 24px;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(11, 16, 20, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 32px var(--shadow);
}

.brand span {
  font-size: 1.05rem;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 28px);
  color: var(--muted);
  font-size: 0.95rem;
}

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

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: min(720px, calc(100svh - 120px));
  overflow: hidden;
  padding: clamp(70px, 9vw, 128px) clamp(20px, 6vw, 86px) clamp(56px, 7vw, 92px);
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(90deg, rgba(11, 16, 20, 0.98) 0%, rgba(11, 16, 20, 0.78) 46%, rgba(11, 16, 20, 0.46) 100%),
    url("assets/logo.png") center right 8% / min(680px, 62vw) auto no-repeat;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 38%;
  content: "";
  background: linear-gradient(180deg, rgba(11, 16, 20, 0), var(--bg));
}

.hero-content {
  width: min(760px, 100%);
}

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

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

h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: clamp(3.3rem, 8vw, 7.6rem);
  line-height: 0.9;
  letter-spacing: 0;
}

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

h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.hero-copy {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  line-height: 1.65;
}

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

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  padding: 0 22px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.primary-action {
  background: var(--orange);
  color: #15100a;
}

.secondary-action {
  border: 1px solid var(--line);
  color: var(--text);
}

.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-2px);
}

.secondary-action:hover {
  border-color: rgba(85, 216, 255, 0.7);
}

.product-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0d151a;
}

.product-strip div {
  min-height: 132px;
  padding: 28px clamp(20px, 4vw, 44px);
  border-right: 1px solid var(--line);
}

.product-strip div:last-child {
  border-right: 0;
}

.product-strip strong,
.product-strip span {
  display: block;
}

.product-strip strong {
  margin-bottom: 10px;
}

.product-strip span {
  color: var(--muted);
  line-height: 1.55;
}

.section,
.download-section {
  padding: clamp(66px, 9vw, 118px) clamp(20px, 6vw, 86px);
}

.section-heading {
  width: min(780px, 100%);
  margin-bottom: 36px;
}

.section-heading p {
  color: var(--muted);
  line-height: 1.65;
}

.section-heading h2,
.download-section h2 {
  max-width: 860px;
}

.visual-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.75fr) minmax(420px, 1.25fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  background: #0c1318;
}

.workspace-visual {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 28px 80px var(--shadow);
}

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

.feature-grid article {
  min-height: 210px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.feature-grid p,
.download-section p,
.workflow-list p {
  color: var(--muted);
  line-height: 1.65;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 88px);
  background: var(--panel-soft);
}

.workflow-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-list li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.workflow-list span {
  color: var(--cyan);
  font-weight: 900;
}

.workflow-list p {
  margin-bottom: 0;
}

.download-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.download-section > div {
  width: min(780px, 100%);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 6vw, 86px);
  color: var(--muted);
}

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

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

  .hero {
    min-height: auto;
    padding-top: 88px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(11, 16, 20, 0.72) 0%, rgba(11, 16, 20, 0.96) 70%),
      url("assets/logo.png") center top 16px / min(460px, 92vw) auto no-repeat;
  }

  .hero-content {
    padding-top: min(58vw, 300px);
  }

  .product-strip,
  .feature-grid,
  .visual-section,
  .split-section {
    grid-template-columns: 1fr;
  }

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

  .product-strip div:last-child {
    border-bottom: 0;
  }

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

@media (max-width: 520px) {
  nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  h1 {
    font-size: 3rem;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }
}
