:root {
  --primary: #171717;
  --on-primary: #ffffff;
  --ink: #171717;
  --body: #4d4d4d;
  --mute: #888888;
  --hairline: #ebebeb;
  --hairline-strong: #a1a1a1;
  --canvas: #ffffff;
  --canvas-soft: #fafafa;
  --canvas-soft-2: #f5f5f5;
  --link: #0070f3;
  --violet: #7928ca;
  --cyan: #50e3c2;
  --pink: #ff0080;
  --amber: #f9cb28;
  --coral: #ff4d4d;
  --shadow: 0 1px 1px rgb(0 0 0 / 5%), 0 8px 24px rgb(0 0 0 / 6%);
  --container: 1180px;
  --gutter: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas-soft);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: var(--primary);
  color: var(--on-primary);
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

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

p {
  color: var(--body);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.site-header.is-solid {
  background: rgb(255 255 255 / 90%);
  border-bottom-color: var(--hairline);
}

.nav-shell {
  width: min(100%, var(--container));
  min-height: 64px;
  margin: 0 auto;
  padding: 12px var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.brand {
  width: 118px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  color: var(--on-primary);
  transition: color 180ms ease;
}

.site-header.is-solid .brand {
  color: var(--ink);
}

.brand-logo {
  display: block;
  width: 100%;
  height: 100%;
  background: currentColor;
  -webkit-mask: url("logo.svg?v=2") center / contain no-repeat;
  mask: url("logo.svg?v=2") center / contain no-repeat;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-links,
.footer-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a,
.footer-links a {
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 0;
  color: var(--body);
  font-size: 14px;
}

.site-header:not(.is-solid) .nav-links a {
  color: rgb(255 255 255 / 76%);
}

.nav-links a:hover,
.footer-links a:hover {
  background: var(--canvas-soft-2);
  color: var(--ink);
}

.site-header:not(.is-solid) .nav-links a:hover {
  background: rgb(255 255 255 / 8%);
  color: var(--on-primary);
}

.nav-cta {
  justify-self: end;
  height: 28px;
  min-height: 28px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--primary);
  border-radius: 6px;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  white-space: nowrap;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.site-header:not(.is-solid) .nav-cta {
  border-color: rgb(255 255 255 / 30%);
  background: rgb(255 255 255 / 10%);
  color: var(--on-primary);
}

.section {
  padding: 96px 0;
}

.container {
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.hero-section {
  --primary: #f5f5f5;
  --on-primary: #090909;
  --ink: #f2f2f2;
  --body: #c6c6c6;
  --mute: #8f8f8f;
  --hairline: #272727;
  --hairline-strong: #3a3a3a;
  --canvas: #0c0c0c;
  --canvas-soft: #080808;
  --canvas-soft-2: #141414;
  --shadow: 0 1px 0 rgb(255 255 255 / 4%), 0 20px 60px rgb(0 0 0 / 38%);
  position: relative;
  min-height: 100svh;
  padding: 112px 0 88px;
  overflow: hidden;
  color: var(--ink);
  background:
    linear-gradient(rgb(255 255 255 / 4%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px),
    var(--canvas);
  background-size: 64px 64px;
}

.hero-mesh {
  display: none;
}

.hero-layout {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.hero-copy {
  max-width: 1120px;
  min-width: 0;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--mute);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  line-height: 16px;
}

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

h1 {
  max-width: 1120px;
  font-size: clamp(44px, 6vw, 82px);
  line-height: 0.98;
}

h2 {
  max-width: 780px;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.04;
}

h3 {
  font-size: 18px;
  line-height: 1.35;
}

.lead {
  max-width: 820px;
  margin-top: 24px;
  font-size: 20px;
  line-height: 1.5;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--hairline);
  border-radius: 100px;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  white-space: nowrap;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--on-primary);
}

.button-secondary {
  background: var(--canvas);
  color: var(--ink);
}

.icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.star-transform-visual {
  position: relative;
  width: 100dvw;
  margin-left: calc(50% - 50dvw);
  min-height: clamp(420px, 56vw, 680px);
  overflow: hidden;
  border-radius: 0;
  background: transparent;
}

.star-transform-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.split-grid,
.product-grid,
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
}

.copy-stack {
  display: grid;
  gap: 18px;
}

.copy-stack p,
.section-heading p,
.product-note p,
.cta-shell p {
  font-size: 18px;
  line-height: 1.58;
}

.soft-section {
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 48px;
}

.section-heading p {
  margin-top: 18px;
}

.section-heading.narrow {
  max-width: 700px;
}

.feature-grid {
  display: grid;
  gap: 16px;
}

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

.feature-card,
.product-panel,
.product-note {
  border: 1px solid var(--hairline);
  border-radius: 0;
  background: var(--canvas);
  box-shadow: none;
}

.feature-card {
  min-height: 190px;
  padding: 24px;
}

.section-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 22px;
  color: var(--cyan);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.feature-card p,
.capability-grid p,
.step-item p {
  margin-top: 10px;
  color: var(--body);
}

.step-list {
  display: grid;
  margin-top: 48px;
  border-top: 1px solid var(--hairline);
}

.step-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--hairline);
}

.step-item > span {
  color: var(--mute);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.dark-section {
  background: var(--canvas);
  color: var(--ink);
}

.dark-section p,
.dark-section .eyebrow {
  color: var(--body);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 0;
  background: var(--hairline);
}

.capability-grid article {
  min-height: 240px;
  padding: 24px;
  background: var(--canvas);
}

.capability-grid .section-icon {
  color: var(--cyan);
}

.capability-grid p {
  color: var(--body);
}

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

.product-panel {
  padding: 28px;
}

.data-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.data-list li {
  min-height: 38px;
  padding: 9px 12px;
  border: 1px solid var(--hairline);
  border-radius: 0;
  background: var(--canvas);
  color: var(--body);
  font-size: 14px;
}

.product-note {
  margin-top: 32px;
  padding: 28px;
}

.product-note p {
  max-width: 880px;
  margin-top: 12px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.trust-list span {
  padding: 8px 12px;
  border: 1px solid var(--hairline);
  border-radius: 0;
  background: var(--canvas);
  color: var(--body);
  font-size: 14px;
}

.final-cta {
  padding-top: 120px;
  background: var(--canvas);
  text-align: center;
}

.cta-shell {
  max-width: 820px;
}

.cta-shell h2 {
  margin: 0 auto;
}

.cta-shell p {
  margin-top: 16px;
}

.cta-shell .button {
  margin-top: 32px;
}

.site-footer {
  border-top: 1px solid var(--hairline);
  background: var(--canvas);
  padding: 36px 0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-grid strong {
  display: block;
  width: 132px;
  height: 54px;
  color: var(--ink);
}

.footer-grid p {
  margin-top: 4px;
  font-size: 14px;
}

@media (max-width: 1040px) {
  .split-grid,
  .product-grid,
  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

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

@media (max-width: 760px) {
  :root {
    --gutter: 16px;
  }

  .nav-shell {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .section {
    padding: 72px 0;
  }

  .hero-section {
    min-height: auto;
    padding: 88px 0 72px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(38px, 12vw, 52px);
  }

  .lead,
  .copy-stack p,
  .section-heading p,
  .product-note p,
  .cta-shell p {
    font-size: 16px;
  }

  .feature-card,
  .product-panel,
  .product-note {
    padding: 20px;
  }

  .hero-layout {
    gap: 56px;
  }

  .star-transform-visual {
    min-height: 420px;
  }

  .six-grid,
  .capability-grid,
  .data-list {
    grid-template-columns: 1fr;
  }

  .step-item {
    grid-template-columns: 44px 1fr;
    gap: 16px;
  }

  .footer-grid {
    display: grid;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

@media (max-width: 440px) {
  .nav-cta {
    text-align: center;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .star-transform-visual {
    min-height: 360px;
  }
}
