:root {
  --color-bg: #0f1113;
  --color-surface: #161718;
  --color-surface-raised: #1d1d1f;
  --color-text: #ffffff;
  --color-text-muted: #e8f0eb;
  --color-primary: #0543d9;
  --color-primary-hover: #16c5fc;
  --color-brand-spark: #fde802;
  --color-success: #40dd2e;
  --color-danger: #ea1618;
  --font-title: "Segoe UI Display", "SF Pro Display", "Aptos Display", system-ui, sans-serif;
  --font-body: "Segoe UI", "SF Pro Text", "Aptos", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  background: rgba(15, 17, 19, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  background: rgba(15, 17, 19, 0.94);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  font-weight: 800;
  line-height: 1;
}

.brand-mark {
  width: 34px;
  height: 38px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 30px);
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
  font-weight: 700;
}

.site-nav a {
  transition: color 160ms ease;
}

.site-nav a:hover {
  color: var(--color-brand-spark);
}

.hero-section {
  min-height: 100svh;
  display: flex;
  align-items: stretch;
  padding: 92px clamp(20px, 5vw, 64px) 0;
  background:
    linear-gradient(90deg, rgba(253, 232, 2, 0.08) 0 1px, transparent 1px 100%),
    linear-gradient(0deg, rgba(22, 197, 252, 0.06) 0 1px, transparent 1px 100%),
    #0f1113;
  background-size: 96px 96px;
}

.hero-grid {
  width: min(1280px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: clamp(36px, 6vw, 96px);
}

.hero-copy {
  padding: 64px 0 96px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--color-brand-spark);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: var(--font-title);
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 26px;
  font-size: 72px;
  line-height: 1.02;
  font-weight: 800;
}

h2 {
  margin-bottom: 0;
  font-size: 40px;
  line-height: 1.12;
  font-weight: 800;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.25;
}

.hero-lede {
  max-width: 680px;
  color: rgba(232, 240, 235, 0.84);
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions,
.contact-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: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

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

.button-primary {
  background: var(--color-brand-spark);
  color: #151514;
}

.button-primary:hover {
  background: #16c5fc;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--color-text);
}

.button-secondary:hover {
  border-color: var(--color-primary-hover);
  color: var(--color-primary-hover);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 620px;
}

.signal-panel {
  position: relative;
  width: min(440px, 78vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 100%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 100%),
    rgba(22, 23, 24, 0.72);
  background-size: 52px 52px;
  overflow: hidden;
}

.signal-panel::before,
.signal-panel::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 2px solid var(--color-brand-spark);
}

.signal-panel::after {
  inset: 38px;
  border-color: rgba(22, 197, 252, 0.9);
}

.signal-panel img {
  position: relative;
  z-index: 2;
  width: 42%;
  filter: drop-shadow(0 18px 50px rgba(22, 197, 252, 0.28));
}

.signal-lines {
  position: absolute;
  inset: 0;
}

.signal-lines span {
  position: absolute;
  height: 2px;
  width: 36%;
  background: var(--color-primary-hover);
}

.signal-lines span:nth-child(1) {
  top: 20%;
  left: 0;
}

.signal-lines span:nth-child(2) {
  top: 38%;
  right: 0;
  background: var(--color-brand-spark);
}

.signal-lines span:nth-child(3) {
  bottom: 26%;
  left: 0;
  background: var(--color-primary);
}

.signal-lines span:nth-child(4) {
  bottom: 12%;
  right: 0;
}

.intro-band,
.proof-band,
.section,
.contact-section {
  padding: 96px clamp(20px, 5vw, 64px);
}

.intro-band,
.proof-band {
  background: var(--color-surface);
}

.content-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(32px, 6vw, 96px);
}

.intro-copy {
  color: rgba(232, 240, 235, 0.78);
  font-size: 19px;
}

.intro-copy p:last-child,
.section-head p:last-child,
.principle p:last-child,
.app-card p:last-child,
.contact-copy p:last-child,
.site-footer p {
  margin-bottom: 0;
}

.section {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-head p {
  color: rgba(232, 240, 235, 0.74);
  font-size: 18px;
}

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

.app-card,
.principle {
  min-height: 246px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: var(--color-surface-raised);
}

.app-card {
  display: flex;
  flex-direction: column;
}

.card-index {
  width: max-content;
  margin-bottom: auto;
  color: var(--color-primary-hover);
  font-size: 14px;
  font-weight: 900;
}

.app-card h3,
.principle h3 {
  margin-top: 46px;
}

.app-card p,
.principle p {
  color: rgba(232, 240, 235, 0.72);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(32px, 6vw, 86px);
}

.principle-list {
  display: grid;
  gap: 16px;
}

.principle {
  min-height: 180px;
}

.principle h3 {
  margin-top: 0;
}

.tile-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(64px, 1fr));
  gap: 14px;
  align-items: center;
}

.brand-tile {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 8px;
}

.brand-tile img {
  width: 52%;
}

.tile-yellow {
  background: var(--color-brand-spark);
}

.tile-yellow img {
  filter: brightness(0);
}

.tile-blue {
  background: var(--color-primary);
}

.tile-green {
  background: var(--color-success);
}

.tile-cyan {
  background: var(--color-primary-hover);
}

.tile-red {
  background: #151514;
}

.tile-red img {
  filter: brightness(0) saturate(100%) invert(17%) sepia(100%) saturate(5368%) hue-rotate(352deg) brightness(95%) contrast(96%);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 36px;
  background: #111213;
}

.contact-copy {
  max-width: 780px;
}

.contact-copy p {
  color: rgba(232, 240, 235, 0.76);
  font-size: 18px;
}

.contact-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 64px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(232, 240, 235, 0.66);
  background: #0c0d0f;
  font-size: 14px;
}

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

  .site-nav {
    display: none;
  }

  .hero-section {
    padding-top: 80px;
  }

  .hero-grid,
  .content-grid,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 48px 0 20px;
  }

  .hero-visual {
    min-height: 360px;
    padding-bottom: 64px;
  }

  h1 {
    font-size: 44px;
    line-height: 1.05;
  }

  h2 {
    font-size: 30px;
  }

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

  .app-card,
  .principle {
    min-height: auto;
  }

  .app-card h3 {
    margin-top: 42px;
  }

  .tile-row {
    grid-template-columns: repeat(5, minmax(44px, 1fr));
  }

  .contact-actions {
    justify-content: flex-start;
  }

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

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .hero-lede {
    font-size: 18px;
  }

  .intro-band,
  .proof-band,
  .section,
  .contact-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
