:root {
  --ink: #fbf7ef;
  --muted: #c9c2d8;
  --soft: #958da7;
  --night: #09080f;
  --deep: #100d18;
  --panel: #17131f;
  --line: rgba(251, 247, 239, 0.14);
  --line-strong: rgba(251, 247, 239, 0.28);
  --cyan: #82eaff;
  --violet: #b49cff;
  --brass: #d8b769;
  --paper: #f5efe7;
  --paper-ink: #19151e;
  --paper-muted: #514b59;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--night);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(130, 234, 255, 0.08) 0 1px, transparent 1px 100%),
    linear-gradient(0deg, rgba(180, 156, 255, 0.06) 0 1px, transparent 1px 100%),
    #09080f;
  background-size: 112px 112px;
}

a {
  color: inherit;
}

code {
  padding: 0.08em 0.26em;
  border: 1px solid rgba(130, 234, 255, 0.24);
  border-radius: 4px;
  color: #dcfbff;
  background: rgba(130, 234, 255, 0.08);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
}

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

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  max-width: 740px;
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 92px;
  line-height: 1.18;
  font-weight: 780;
}

h2 {
  margin-bottom: 0;
  color: inherit;
  font-size: 48px;
  line-height: 1.12;
  font-weight: 760;
}

h3 {
  margin-bottom: 12px;
  color: inherit;
  font-size: 26px;
  line-height: 1.12;
  font-weight: 720;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 20;
  width: min(calc(100% - 32px), var(--max));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(9, 8, 15, 0.76);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.34);
}

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

.brand,
.footer-brand {
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 720;
}

.brand img,
.footer-brand img,
.product-mark {
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.34);
}

.nav-links {
  gap: 5px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.nav-links a,
.site-footer a {
  padding: 8px 10px;
  border-radius: 6px;
  color: rgba(251, 247, 239, 0.72);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}

.nav-links a:last-child {
  color: #09080f;
  background: var(--cyan);
}

.hero {
  position: relative;
  min-height: 94vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 136px 0 36px;
  background:
    linear-gradient(90deg, rgba(9, 8, 15, 0.96) 0%, rgba(9, 8, 15, 0.88) 43%, rgba(9, 8, 15, 0.34) 71%, rgba(9, 8, 15, 0.7) 100%),
    linear-gradient(180deg, #151026 0%, #09080f 100%);
}

.hero-icon {
  position: absolute;
  right: max(-190px, calc((100vw - var(--max)) / 2 - 122px));
  top: 46px;
  width: 850px;
  height: 850px;
  object-fit: contain;
  opacity: 0.94;
  filter: saturate(1.08) contrast(1.03);
}

.hero-shade {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(9, 8, 15, 0.94) 58%, #09080f 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding-right: 380px;
}

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

.eyebrow.dark {
  color: #5d3da4;
}

.hero-kicker {
  max-width: 760px;
  margin-bottom: 22px;
  color: var(--ink);
  font-size: 32px;
  line-height: 1.16;
  font-weight: 650;
}

.hero-copy {
  max-width: 790px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.5;
  font-weight: 520;
}

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

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 720;
  line-height: 1.1;
}

.button.primary {
  color: #08070d;
  background: var(--cyan);
  border-color: transparent;
}

.button.secondary {
  color: var(--ink);
  background: rgba(251, 247, 239, 0.08);
}

.proof-rail {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 32px), var(--max));
  margin: 72px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
  background: rgba(9, 8, 15, 0.52);
  backdrop-filter: blur(16px);
}

.proof-rail a {
  min-height: 98px;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 18px 20px;
  border-right: 1px solid var(--line);
  text-decoration: none;
}

.proof-rail a:last-child {
  border-right: 0;
}

.proof-rail span,
.product-card span {
  color: var(--soft);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
}

.proof-rail strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.22;
}

.section {
  padding: 90px 0;
}

.section-inner {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.light-section {
  color: var(--paper-ink);
  background: var(--paper);
}

.runtime-intro,
.system-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  gap: 70px;
  align-items: start;
}

.intro-copy p,
.product-heading p {
  color: var(--paper-muted);
  font-size: 20px;
  line-height: 1.52;
}

.intro-copy p:last-child,
.product-heading p:last-child {
  margin-bottom: 0;
}

.comparison-section {
  background:
    radial-gradient(circle at 82% 12%, rgba(130, 234, 255, 0.12), transparent 34%),
    linear-gradient(180deg, #120d1c 0%, #09080f 100%);
}

.comparison-heading {
  max-width: 920px;
}

.comparison-heading p:last-child {
  max-width: 820px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.52;
}

.comparison-board {
  border-top: 1px solid var(--line-strong);
}

.comparison-row {
  display: grid;
  grid-template-columns: minmax(190px, 0.75fr) repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.comparison-row h3 {
  margin-bottom: 0;
}

.comparison-row span {
  display: block;
  margin-bottom: 9px;
  color: var(--soft);
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0;
}

.comparison-row p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.46;
}

.comparison-name span {
  color: var(--brass);
}

.comparison-row-featured {
  margin-top: 8px;
  padding: 24px;
  border: 1px solid rgba(130, 234, 255, 0.26);
  border-radius: 8px;
  background: rgba(130, 234, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(251, 247, 239, 0.06);
}

.comparison-row-featured h3,
.comparison-row-featured p {
  color: var(--ink);
}

.technical-section {
  background:
    linear-gradient(180deg, #09080f 0%, #120d1c 100%);
}

.section-heading {
  max-width: 880px;
  margin-bottom: 46px;
}

.technical-rows {
  border-top: 1px solid var(--line-strong);
}

.technical-row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) minmax(290px, 0.58fr);
  gap: 36px;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
}

.row-index {
  color: var(--brass);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 18px;
  font-weight: 850;
}

.technical-row p {
  max-width: 710px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.technical-row ul {
  display: grid;
  gap: 8px;
  align-content: start;
  margin: 3px 0 0;
  padding: 0;
  list-style: none;
}

.technical-row li {
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: rgba(251, 247, 239, 0.78);
  background: rgba(251, 247, 239, 0.04);
  font-size: 14px;
  line-height: 1.32;
}

.system-section {
  background: #120f19;
}

.system-map {
  border-top: 1px solid var(--line-strong);
}

.system-map div {
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.system-map strong {
  color: var(--ink);
  font-size: 18px;
}

.system-map p {
  max-width: 650px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.product-section h2,
.product-section h3 {
  color: var(--paper-ink);
}

.product-heading {
  max-width: 820px;
}

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

.product-card {
  min-height: 394px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
  border: 1px solid rgba(25, 21, 30, 0.16);
  border-radius: 8px;
  background: #fffaf3;
  box-shadow: 0 24px 70px rgba(25, 21, 30, 0.08);
}

.product-mark {
  width: 72px;
  height: 72px;
  margin-bottom: 26px;
  object-fit: cover;
}

.product-mark-text {
  display: grid;
  place-items: center;
  color: #09080f;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  font-size: 23px;
  font-weight: 900;
}

.product-card p {
  color: var(--paper-muted);
  line-height: 1.5;
}

.product-card a {
  margin-top: auto;
  color: #44228e;
  font-weight: 850;
}

.site-footer {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 34px 0 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: rgba(251, 247, 239, 0.72);
}

.site-footer nav {
  gap: 7px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

@media (hover: hover) {
  .button,
  .nav-links a,
  .proof-rail a,
  .product-card a {
    transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
  }

  .button:hover,
  .proof-rail a:hover {
    transform: translateY(-2px);
  }
}

@media (max-width: 1080px) {
  h1 {
    font-size: 72px;
  }

  h2 {
    font-size: 40px;
  }

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

  .hero-icon {
    right: -220px;
    top: 190px;
    width: 560px;
    height: 560px;
    opacity: 0.24;
  }

  .hero-inner {
    padding-right: 0;
  }

  .proof-rail,
  .runtime-intro,
  .system-layout,
  .product-grid,
  .comparison-row {
    grid-template-columns: 1fr;
  }

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

  .proof-rail a {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .proof-rail a:nth-child(2n) {
    border-right: 0;
  }

  .proof-rail a:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .technical-row {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .technical-row ul {
    grid-column: 2;
  }
}

@media (max-width: 700px) {
  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 31px;
  }

  h3 {
    font-size: 22px;
  }

  .site-header {
    position: relative;
    top: auto;
    left: auto;
    width: min(calc(100% - 24px), var(--max));
    margin: 12px auto 0;
    transform: none;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    background: rgba(9, 8, 15, 0.92);
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 4px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .nav-links a {
    padding: 7px 8px;
    font-size: 13px;
  }

  .nav-links a:last-child {
    margin-left: 0;
  }

  .hero {
    min-height: auto;
    padding: 34px 0 38px;
  }

  .hero-icon {
    right: -138px;
    top: 28px;
    width: 330px;
    height: 330px;
    opacity: 0.2;
  }

  .hero-inner {
    width: min(calc(100% - 32px), var(--max));
    padding-right: 0;
  }

  .hero-kicker {
    max-width: 280px;
    font-size: 21px;
    line-height: 1.22;
  }

  .hero-copy,
  .intro-copy p,
  .product-heading p,
  .technical-row p,
  .system-map p {
    font-size: 16px;
    line-height: 1.5;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .button {
    min-height: 48px;
    padding: 13px 14px;
    text-align: center;
  }

  .proof-rail {
    margin-top: 34px;
    grid-template-columns: 1fr;
  }

  .proof-rail a {
    min-height: 82px;
    padding: 16px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-rail a:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .proof-rail a:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 64px 0;
  }

  .technical-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .technical-row ul {
    grid-column: auto;
  }

  .product-card {
    min-height: 0;
  }

  .comparison-heading p:last-child {
    font-size: 16px;
    line-height: 1.5;
  }

  .comparison-row {
    gap: 16px;
    padding: 24px 0;
  }

  .comparison-row-featured {
    padding: 20px;
  }

  .comparison-row p {
    font-size: 15px;
  }

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

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 360px) {
  h1 {
    font-size: 42px;
  }

  .brand {
    gap: 9px;
  }

  .brand span {
    font-size: 20px;
  }

  .nav-links {
    gap: 2px;
  }

  .nav-links a {
    padding: 7px 6px;
    font-size: 12px;
  }

  .hero-kicker {
    max-width: 248px;
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .nav-links a,
  .proof-rail a,
  .product-card a {
    transition: none;
  }
}
