:root {
  color-scheme: light;
  --black: #030303;
  --ink: #050505;
  --muted: #636363;
  --line: #dedede;
  --soft: #f5f5f2;
  --accent: #7b2ff2;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  letter-spacing: 0;
  overflow-x: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 44px;
  width: 100%;
  min-height: 96px;
  padding: 0 max(42px, calc((100% - 1380px) / 2));
  color: #fff;
  background: #000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 170px;
  height: auto;
}

.nav-links {
  display: flex;
  gap: 34px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  font-weight: 600;
}

.nav-links a:hover {
  color: #fff;
}

.hero {
  padding: 64px 42px 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.9) 44%, rgba(0, 0, 0, 0.68) 100%),
    url("assets/purple.png") center / cover no-repeat;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: start;
  width: min(1280px, 100%);
  margin: 0 auto;
}

.hero-copy {
  min-width: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: rgba(5, 5, 5, 0.58);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 34px;
  font-size: clamp(3rem, 4.55vw, 4.85rem);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.hero-aside {
  display: grid;
  gap: 28px;
  padding-top: 72px;
}

.hero-aside p {
  max-width: 430px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.94rem, 1.05vw, 1.05rem);
  line-height: 1.6;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.58);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 50px;
  padding: 0 28px;
  border: 0;
  border-radius: 0;
  font-weight: 700;
}

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

.button.primary::after {
  margin-left: 10px;
  content: "->";
}

.problem-section,
.benefits-section,
.platform-section,
.cta-section {
  width: 100%;
  padding: clamp(64px, 8vw, 108px) 42px;
}

.problem-section {
  background: var(--soft);
}

.platform-section {
  background: #fff;
}

.split-section,
.section-heading,
.benefit-grid,
.preview-grid,
.cta-panel {
  width: min(1180px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(36px, 7vw, 82px);
  align-items: start;
  color: var(--ink);
}

.split-section h2,
.section-heading h2,
.cta-panel h2 {
  margin-bottom: 0;
  font-size: clamp(2.15rem, 4.1vw, 4.35rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.problem-section .section-kicker {
  width: min(1180px, 100%);
  margin-right: auto;
  margin-left: auto;
  color: var(--muted);
}

.problem-copy {
  padding-top: 10px;
}

.problem-copy p {
  max-width: 560px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.68;
}

.problem-copy p + p {
  margin-top: 24px;
}

.section-heading {
  margin-bottom: clamp(38px, 5.5vw, 68px);
}

.concept-note {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 6vw, 86px);
}

.benefit-card {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.card-icon {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.benefit-card h3,
.preview-card h3 {
  margin-bottom: 22px;
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.15;
}

.benefit-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
  list-style: none;
}

.benefit-card li::before {
  display: inline-block;
  width: 18px;
  color: var(--accent);
  content: "/";
}

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

.preview-card {
  min-height: auto;
  padding: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.preview-window {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  height: auto;
  margin-bottom: 0;
  border-bottom: 1px solid var(--line);
  background: #0a0a0a;
}

.preview-window img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-window img[src*="platform-dashboard"] {
  object-position: center;
}

.image-window img[src*="patch-record"] {
  object-position: center;
}

.log-window {
  display: grid;
  align-content: start;
  gap: 1px;
  padding: 14px;
  background: #0c1114;
}

.log-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 4px 10px;
  padding: 10px 0;
  color: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.log-row:last-child {
  border-bottom: 0;
}

.log-row span {
  grid-row: span 2;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.68rem;
  font-weight: 700;
}

.log-row strong {
  color: #fff;
  font-size: 0.78rem;
}

.log-row em {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.7rem;
  font-style: normal;
}

.preview-card h3 {
  padding: 16px 16px 8px;
  margin: 0;
  font-size: 0.94rem;
}

.rendering-caption {
  padding: 0 16px 18px;
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.cta-section {
  color: #fff;
  background: var(--black);
}

.cta-panel {
  display: block;
}

.cta-panel .eyebrow {
  color: rgba(255, 255, 255, 0.58);
}

.cta-panel p:not(.eyebrow) {
  max-width: 640px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  line-height: 1.65;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  margin: 0;
  padding: 38px max(42px, calc((100% - 1180px) / 2)) 46px;
  color: rgba(255, 255, 255, 0.58);
  background: var(--black);
  font-size: 0.94rem;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 18px 24px;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 18px;
  }

  .hero,
  .problem-section,
  .benefits-section,
  .platform-section,
  .cta-section {
    padding-right: 24px;
    padding-left: 24px;
  }

  .hero-grid,
  .split-section,
  .benefit-grid,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  h1 {
    margin-bottom: 18px;
  }

  .hero-aside {
    padding-top: 0;
  }

  .preview-grid {
    gap: 16px;
  }
}

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

  .nav-links a {
    font-size: 0.9rem;
  }

  .hero {
    padding-top: 48px;
  }

  h1 {
    font-size: clamp(2.05rem, 9vw, 2.35rem);
    line-height: 1.04;
  }

  .split-section h2,
  .section-heading h2,
  .cta-panel h2 {
    font-size: clamp(2rem, 9vw, 2.65rem);
  }

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

  .site-footer {
    flex-direction: column;
    padding-right: 24px;
    padding-left: 24px;
  }
}
