:root {
  color-scheme: light;
  --ink: #071013;
  --ink-2: #162126;
  --muted: #536168;
  --line: rgba(7, 16, 19, 0.13);
  --paper: #f8fbf6;
  --panel: #ffffff;
  --mint: #8be0c8;
  --teal: #087f8c;
  --cobalt: #145da0;
  --amber: #f2b84b;
  --red: #d85c52;
  --blue: #2f6fed;
  --shadow: 0 28px 90px rgba(7, 16, 19, 0.18);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 clamp(18px, 4vw, 56px);
  color: #f8fbf6;
  background: rgba(7, 16, 19, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.metrics,
.runtime-list li,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-size: 18px;
  font-weight: 840;
}

.brand-mark {
  position: relative;
  width: 30px;
  height: 30px;
  border: 2px solid #f8fbf6;
  border-radius: 8px;
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  content: "";
  inset: 7px;
  border: 3px solid var(--mint);
  border-radius: 50%;
}

.brand-mark::after {
  inset: 5px 12px;
  border: 0;
  border-radius: 999px;
  background: var(--amber);
  transform: rotate(35deg);
}

.nav-links {
  gap: clamp(16px, 3vw, 34px);
  color: rgba(248, 251, 246, 0.72);
  font-size: 15px;
  font-weight: 680;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #ffffff;
}

.nav-cta {
  min-height: 42px;
  padding: 11px 18px;
  border: 1px solid rgba(248, 251, 246, 0.24);
  border-radius: 8px;
  font-weight: 780;
}

.hero {
  position: relative;
  min-height: min(760px, 78svh);
  overflow: hidden;
  color: #ffffff;
  background: var(--ink);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("/assets/dashboard-hardware.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 16, 19, 0.94) 0%, rgba(7, 16, 19, 0.72) 45%, rgba(7, 16, 19, 0.2) 100%),
    linear-gradient(0deg, rgba(7, 16, 19, 0.78), rgba(7, 16, 19, 0.1) 44%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  padding: clamp(78px, 11vh, 130px) 0 clamp(64px, 9vh, 112px);
  margin-left: clamp(18px, 8vw, 120px);
}

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

.hero .eyebrow {
  color: var(--mint);
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(72px, 10vw, 136px);
  line-height: 0.92;
  font-weight: 930;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.04;
  font-weight: 900;
}

h3 {
  margin-bottom: 12px;
  font-size: 21px;
  line-height: 1.18;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 32px;
  color: rgba(248, 251, 246, 0.8);
  font-size: clamp(18px, 2.2vw, 25px);
  line-height: 1.55;
  font-weight: 620;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 8px;
  font-weight: 820;
  white-space: nowrap;
}

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

.button.secondary {
  color: #ffffff;
  border: 1px solid rgba(248, 251, 246, 0.36);
}

.metrics {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 36px));
  margin: -42px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.metric {
  flex: 1 1 25%;
  min-height: 112px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 620;
}

.section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(78px, 10vw, 126px) 0;
}

.section-intro {
  max-width: 810px;
}

.section-intro p:not(.eyebrow),
.showcase-copy p,
.runtime-panel p,
.closing-section p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
  font-weight: 560;
}

.chain-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 44px;
}

.chain-flow::before {
  position: absolute;
  top: 52px;
  right: 0;
  left: 0;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--mint), var(--cobalt), var(--amber), var(--red));
}

.chain-flow article,
.capability-grid article,
.roadmap-grid article {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.chain-flow article {
  min-height: 220px;
  padding: 82px 18px 22px;
}

.chain-flow span {
  position: absolute;
  top: 24px;
  left: 18px;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--teal);
  font-weight: 880;
}

.chain-flow p,
.capability-grid p,
.roadmap-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.58;
  font-weight: 560;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(280px, 0.55fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 62px);
  align-items: center;
  padding: clamp(72px, 9vw, 112px) max(18px, calc((100vw - var(--max)) / 2));
  color: #f8fbf6;
  background: var(--ink);
}

.showcase .eyebrow,
.runtime-section .eyebrow {
  color: var(--mint);
}

.showcase-copy p {
  color: rgba(248, 251, 246, 0.68);
}

.product-shot,
.wide-shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(248, 251, 246, 0.16);
  border-radius: 8px;
  background: #0c151b;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.26);
}

.product-shot img,
.wide-shot img {
  width: 100%;
  height: auto;
}

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

.capability-grid article {
  min-height: 190px;
  padding: 26px;
  box-shadow: 0 18px 58px rgba(7, 16, 19, 0.06);
}

.capability-grid article::before {
  display: block;
  width: 48px;
  height: 7px;
  margin-bottom: 26px;
  border-radius: 999px;
  content: "";
  background: var(--mint);
}

.capability-grid article:nth-child(2)::before,
.capability-grid article:nth-child(5)::before {
  background: var(--amber);
}

.capability-grid article:nth-child(3)::before,
.capability-grid article:nth-child(6)::before {
  background: var(--cobalt);
}

.runtime-section {
  padding: clamp(72px, 9vw, 112px) max(18px, calc((100vw - var(--max)) / 2));
  color: #f8fbf6;
  background: #10202a;
}

.runtime-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(260px, 0.48fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  margin-bottom: 36px;
}

.runtime-panel p {
  color: rgba(248, 251, 246, 0.7);
}

.runtime-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.runtime-list li {
  min-height: 62px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(248, 251, 246, 0.13);
  color: rgba(248, 251, 246, 0.82);
  font-weight: 700;
}

.runtime-list li::before {
  width: 12px;
  height: 12px;
  margin-right: 14px;
  border-radius: 50%;
  content: "";
  background: var(--amber);
}

.wide-shot {
  border-color: rgba(248, 251, 246, 0.12);
}

.roadmap-section {
  padding-bottom: clamp(78px, 10vw, 128px);
}

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

.roadmap-grid article {
  min-height: 210px;
  padding: 28px;
}

.roadmap-grid span {
  display: inline-flex;
  margin-bottom: 38px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.closing-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(62px, 8vw, 90px) max(18px, calc((100vw - var(--max)) / 2));
  color: #f8fbf6;
  background: var(--ink);
}

.closing-section h2 {
  max-width: 820px;
}

.closing-section p {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(248, 251, 246, 0.72);
}

.site-footer {
  justify-content: space-between;
  min-height: 78px;
  padding: 0 max(18px, calc((100vw - var(--max)) / 2));
  color: var(--muted);
  background: #ffffff;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 680;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .metrics,
  .chain-flow,
  .capability-grid,
  .roadmap-grid,
  .runtime-panel,
  .showcase {
    grid-template-columns: 1fr;
  }

  .metrics {
    display: grid;
    margin-top: 0;
    border-radius: 0;
    width: 100%;
  }

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

  .chain-flow::before {
    display: none;
  }

  .chain-flow article {
    min-height: auto;
  }
}

@media (max-width: 700px) {
  .site-header {
    min-height: 64px;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: 78svh;
  }

  .hero-media {
    background-position: 62% center;
  }

  .hero-overlay {
    background: linear-gradient(0deg, rgba(7, 16, 19, 0.88), rgba(7, 16, 19, 0.58));
  }

  .hero-content {
    width: calc(100% - 36px);
    margin: 0 auto;
    padding-top: 72px;
  }

  h1 {
    font-size: clamp(50px, 15vw, 64px);
    line-height: 0.98;
  }

  h2 {
    font-size: clamp(32px, 12vw, 44px);
  }

  .button {
    width: 100%;
  }

  .showcase,
  .runtime-section,
  .closing-section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .closing-section {
    display: block;
  }

  .closing-section .button {
    margin-top: 28px;
  }

  .site-footer {
    display: grid;
    gap: 6px;
    justify-content: start;
    padding: 18px;
  }
}
