:root {
  --ink: #17191f;
  --ink-soft: #343945;
  --paper: #fbfaf7;
  --paper-strong: #ffffff;
  --mist: #e8edf0;
  --line: rgba(23, 25, 31, 0.12);
  --blue: #2563eb;
  --cyan: #0e9fb2;
  --green: #1f8f5f;
  --amber: #b86d18;
  --red: #b4443a;
  --shadow: 0 18px 60px rgba(19, 24, 33, 0.16);
  --radius: 8px;
  --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", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(calc(100% - 32px), var(--max));
  margin: 16px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: var(--radius);
  background: rgba(251, 250, 247, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 30px rgba(20, 24, 31, 0.08);
}

.site-header.legal-header {
  position: sticky;
  margin-top: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
  font-weight: 750;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 32px;
  color: #fff;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  font-size: 0.82rem;
  letter-spacing: 0;
}

.brand-name {
  white-space: nowrap;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.site-nav a,
.header-action {
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 650;
}

.site-nav a:hover,
.header-action:hover {
  background: rgba(23, 25, 31, 0.07);
  color: var(--ink);
}

.header-action {
  border: 1px solid var(--line);
}

.hero {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 112px 24px 118px;
  color: var(--paper-strong);
  background: #101217;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(0deg, rgba(251, 250, 247, 0.98), rgba(251, 250, 247, 0));
  pointer-events: none;
}

.signal-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100vw - 48px));
  margin: 0 auto;
  transform: translateY(14px);
}

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

.hero .eyebrow {
  color: #76d6d2;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: 6.8rem;
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 670px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.28rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 750;
}

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

.button.primary:hover {
  background: #1d4ed8;
}

.button.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.hero-footer {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(calc(100% - 48px), var(--max));
  transform: translateX(-50%);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-footer div {
  min-width: 0;
  padding: 18px 18px 10px 0;
}

.metric-value,
.metric-label {
  display: block;
}

.metric-value {
  color: #fff;
  font-size: 1.55rem;
  font-weight: 820;
}

.metric-label {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
}

.section {
  padding: 92px 24px;
}

.band-light {
  background: #eef4f2;
}

.band-ink {
  color: #f7f7f2;
  background: #202227;
}

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

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 92px);
  align-items: start;
}

.section-heading h2 {
  max-width: 760px;
  margin: 0;
  font-size: 3.7rem;
  line-height: 1.02;
  letter-spacing: 0;
}

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

.lead-copy p,
.product-copy p,
.lane p,
.system-card p,
.contact-inner p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.03rem;
}

.band-ink .system-card p,
.band-ink .section-heading h2 {
  color: #f7f7f2;
}

.band-ink .eyebrow {
  color: #8ce2c4;
}

.product-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(280px, 1fr);
  gap: clamp(28px, 4vw, 62px);
  align-items: center;
  margin-top: 44px;
  padding: clamp(20px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.product-visual {
  min-height: 360px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(140deg, rgba(37, 99, 235, 0.18), transparent 42%),
    #151922;
}

.browser-shell {
  width: min(86%, 430px);
  aspect-ratio: 1.24;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.26);
}

.browser-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
}

.browser-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
}

.inventory-lines {
  display: grid;
  gap: 11px;
}

.inventory-lines span {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
}

.inventory-lines .wide {
  width: 76%;
}

.inventory-lines .short {
  width: 48%;
}

.inventory-lines .accent {
  background: #69d6a0;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 30px;
}

.link-grid i {
  aspect-ratio: 1;
  border-radius: 6px;
  background: linear-gradient(145deg, #fff, #c8f0e2);
}

.status-pill {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 16px;
  padding: 6px 10px;
  border: 1px solid rgba(31, 143, 95, 0.22);
  border-radius: 999px;
  color: var(--green);
  background: rgba(31, 143, 95, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.product-copy h3 {
  margin: 0 0 14px;
  font-size: 4.3rem;
  line-height: 0.95;
}

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

.feature-list li {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f5f7f3;
  color: var(--ink-soft);
  font-weight: 650;
}

.system-grid,
.agent-lanes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 42px;
}

.agent-lanes {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.system-card,
.lane {
  min-height: 220px;
  padding: 22px;
  border-radius: var(--radius);
}

.system-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.lane {
  border: 1px solid var(--line);
  background: var(--paper-strong);
}

.card-number {
  display: block;
  margin-bottom: 36px;
  color: #8ce2c4;
  font-weight: 850;
}

.system-card h3,
.lane h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.contact-section {
  padding: 112px 24px;
  background:
    linear-gradient(90deg, rgba(37, 99, 235, 0.12), transparent 45%),
    linear-gradient(145deg, #edf6f5, #fff8ed);
}

.contact-inner {
  width: min(760px, 100%);
  margin: 0 auto;
  text-align: center;
}

.contact-inner h2 {
  margin: 0 0 18px;
  font-size: 4.8rem;
  line-height: 0.98;
}

.contact-inner .button {
  margin-top: 28px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.site-footer a {
  text-decoration: none;
  font-weight: 700;
}

.legal-page {
  width: min(calc(100% - 48px), 920px);
  margin: 0 auto;
  padding: 82px 0 92px;
}

.legal-hero {
  padding: 44px 0 32px;
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(3rem, 8vw, 6rem);
}

.legal-hero p:last-child {
  margin: 18px 0 0;
  color: var(--ink-soft);
}

.legal-document {
  display: grid;
  gap: 20px;
  padding-top: 34px;
}

.legal-document h2 {
  margin: 18px 0 0;
  font-size: 1.55rem;
}

.legal-document p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.legal-document a {
  color: var(--blue);
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .two-column,
  .product-panel {
    grid-template-columns: 1fr;
  }

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

  .product-visual {
    min-height: 300px;
  }

  h1 {
    font-size: 5.1rem;
  }

  .hero-copy {
    font-size: 1.18rem;
  }

  .section-heading h2 {
    font-size: 3rem;
  }

  .product-copy h3 {
    font-size: 3.4rem;
  }

  .contact-inner h2 {
    font-size: 3.6rem;
  }
}

@media (max-width: 620px) {
  .site-header {
    width: calc(100% - 20px);
    margin-top: 10px;
  }

  .brand-name {
    display: none;
  }

  .hero {
    min-height: 96svh;
    padding: 94px 18px 172px;
  }

  .hero-content {
    width: 100%;
  }

  h1 {
    font-size: 3.55rem;
  }

  .hero-copy {
    font-size: 1.05rem;
  }

  .section-heading h2,
  .contact-inner h2 {
    font-size: 2.35rem;
  }

  .product-copy h3 {
    font-size: 2.75rem;
  }

  .hero-footer {
    grid-template-columns: 1fr;
    bottom: 14px;
  }

  .hero-footer div {
    padding: 8px 0;
  }

  .metric-value {
    font-size: 1.16rem;
  }

  .metric-label {
    font-size: 0.82rem;
  }

  .section {
    padding: 68px 18px;
  }

  .feature-list,
  .system-grid,
  .agent-lanes {
    grid-template-columns: 1fr;
  }

  .system-card,
  .lane {
    min-height: 170px;
  }

  .site-footer {
    display: grid;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
