:root {
  --bg: #0a0a0a;
  --bg-raised: #121212;
  --bg-inset: #171717;
  --fg: #ffffff;
  --fg-mid: #c4c4c4;
  --fg-dim: #8f8f8f;
  --cyan: #00f0ff;
  --purple: #b026ff;
  --green: #39ff14;
  --line: #242424;
  --line-soft: #1b1b1b;
  --measure: 66ch;
  --shell: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: -1px -1px;
  color: var(--fg);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--cyan);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #66f6ff;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 2px;
}

h1, h2, h3, h4 {
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--cyan);
  color: #04181a;
  padding: 10px 16px;
  font-weight: 700;
  z-index: 100;
}

.skip-link:focus {
  left: 8px;
  top: 8px;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: 28px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.86);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--fg);
  text-decoration: none;
  flex-shrink: 0;
}

.wordmark img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--line);
}

.wordmark-text {
  display: block;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.09em;
  line-height: 1.15;
}

.wordmark-text span {
  display: block;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  color: var(--fg-dim);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--fg-dim);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding-block: 6px;
  border-bottom: 2px solid transparent;
}

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

.site-nav a[aria-current="page"] {
  color: var(--fg);
  border-bottom-color: var(--cyan);
}

/* ---------- Type scale ---------- */

.kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 18px;
}

.display {
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.headline {
  font-size: clamp(2rem, 4.4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

h2.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
}

h3 {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.lede {
  font-size: clamp(1.06rem, 1.8vw, 1.24rem);
  color: var(--fg-mid);
  max-width: var(--measure);
  line-height: 1.55;
}

.prose {
  color: var(--fg-mid);
  max-width: var(--measure);
}

.prose + .prose {
  margin-top: 18px;
}

/* ---------- Hero ---------- */

.hero {
  padding-block: clamp(64px, 11vw, 120px) clamp(56px, 9vw, 96px);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.hero .display {
  margin-bottom: 22px;
}

.hero-art {
  position: relative;
  justify-self: center;
  width: min(100%, 360px);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: #000;
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tagline-stamp {
  margin-top: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

/* ---------- Buttons ---------- */

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 0.94rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--cyan);
  color: #04181a;
}

.btn-primary:hover {
  background: #5cf4ff;
  color: #04181a;
}

.btn-ghost {
  border-color: var(--line);
  color: var(--fg);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--fg-dim);
  color: var(--fg);
}

/* ---------- Sections ---------- */

.band {
  padding-block: clamp(56px, 8vw, 88px);
  border-bottom: 1px solid var(--line);
}

.band:last-of-type {
  border-bottom: none;
}

.band-head {
  margin-bottom: 40px;
}

.band-head .lede {
  margin-top: 14px;
}

.cards {
  display: grid;
  gap: 20px;
}

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

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

.card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  color: var(--fg-dim);
  font-size: 0.95rem;
}

.card-accent {
  border-top: 2px solid var(--cyan);
}

.card-accent-purple {
  border-top: 2px solid var(--purple);
}

.card-accent-green {
  border-top: 2px solid var(--green);
}

/* ---------- Spec list ---------- */

.spec {
  border-top: 1px solid var(--line);
  max-width: 760px;
}

.spec-row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 24px;
  padding-block: 16px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.spec-key {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

.spec-val {
  color: var(--fg);
}

/* ---------- Contact routes ---------- */

.routes {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.route {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
}

.route h3 {
  margin-bottom: 6px;
}

.route p {
  color: var(--fg-dim);
  font-size: 0.92rem;
  margin-bottom: 12px;
}

.route a {
  font-weight: 700;
  word-break: break-word;
}

/* ---------- Callout ---------- */

.callout {
  background: var(--bg-inset);
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan);
  border-radius: 0 12px 12px 0;
  padding: 24px 26px;
  max-width: 760px;
}

.callout h3 {
  margin-bottom: 10px;
}

.callout p {
  color: var(--fg-mid);
  font-size: 0.96rem;
}

.callout p + p {
  margin-top: 12px;
}

/* ---------- Lists ---------- */

.tick {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: var(--measure);
}

.tick li {
  position: relative;
  padding-left: 26px;
  padding-block: 9px;
  color: var(--fg-mid);
  border-bottom: 1px solid var(--line-soft);
}

.tick li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;
  width: 8px;
  height: 8px;
  background: var(--cyan);
}

.tick li:last-child {
  border-bottom: none;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 52px 40px;
  background: #070707;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.footer-brand p {
  color: var(--fg-dim);
  font-size: 0.9rem;
  margin-top: 14px;
  max-width: 34ch;
}

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.footer-col a {
  color: var(--fg-mid);
  text-decoration: none;
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--fg);
  text-decoration: underline;
}

.footer-base {
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: space-between;
  align-items: center;
  color: var(--fg-dim);
  font-size: 0.84rem;
}

.footer-base .entity {
  color: var(--fg-mid);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .cards-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }
  .shell {
    padding-inline: 20px;
  }
  .site-header .shell {
    flex-wrap: wrap;
    min-height: 0;
    padding-block: 12px;
    gap: 10px;
  }
  .site-nav {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .site-nav ul {
    gap: 20px;
    padding-bottom: 4px;
  }
  .site-nav a {
    white-space: nowrap;
    font-size: 0.86rem;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-art {
    order: -1;
    width: min(70%, 220px);
    justify-self: start;
  }
  .cards-3,
  .cards-2,
  .routes {
    grid-template-columns: minmax(0, 1fr);
  }
  .spec-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition-duration: 0.01ms !important;
  }
}
