:root {
  color-scheme: dark;
  --ink: #05070b;
  --panel: #0a0e15;
  --panel-high: #111722;
  --white: #f6f8fb;
  --muted: #9aa6b5;
  --cyan: #42e8f5;
  --cyan-soft: rgba(66, 232, 245, 0.16);
  --violet: #a842ff;
  --magenta: #ff3fd5;
  --gold: #ffad3d;
  --orange: #ff6635;
  --line: rgba(255, 255, 255, 0.12);
  --display: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--white);
  background:
    linear-gradient(rgba(168,66,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(66,232,245,.045) 1px, transparent 1px),
    var(--ink);
  background-size: 52px 52px;
  font-family: var(--body);
}

a { color: inherit; }

.ambient {
  position: fixed;
  z-index: -1;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .16;
}

.ambient-one { top: -18vw; right: -12vw; background: var(--violet); }
.ambient-two { top: 45vh; left: -28vw; background: var(--magenta); }

.site-header, main, footer {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 104px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-initials { color: var(--cyan); font: 900 25px var(--display); letter-spacing: 2px; }
.brand-name { padding-left: 14px; border-left: 1px solid var(--line); color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; }

.system-state {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.system-state i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 12px var(--magenta);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: 690px;
  overflow: hidden;
  padding: 88px 64px;
  border-right: 1px solid rgba(168,66,255,.2);
  border-bottom: 1px solid rgba(168,66,255,.34);
  border-left: 1px solid rgba(66,232,245,.16);
  box-shadow: inset 0 -1px 0 rgba(255,63,213,.18), 0 30px 90px rgba(0,0,0,.3);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background: url("/assets/cphq-pin-action-neon-v1.png") center center / cover no-repeat;
  filter: saturate(.72) brightness(.55) contrast(1.05);
  transform: scale(1.015);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3,5,9,.97) 0%, rgba(3,5,9,.91) 31%, rgba(3,5,9,.6) 58%, rgba(3,5,9,.22) 100%),
    linear-gradient(0deg, rgba(5,7,11,.7), transparent 45%, rgba(12,4,20,.28));
}

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

.eyebrow {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
}

h1, h2, h3 { margin: 0; font-family: var(--display); text-transform: uppercase; }

h1 {
  max-width: 760px;
  font-size: clamp(4rem, 7.5vw, 7.2rem);
  line-height: .84;
  letter-spacing: -3px;
}

h1 span { color: transparent; -webkit-text-stroke: 1.5px var(--cyan); text-shadow: 0 0 32px rgba(66,232,245,.12); }

.intro {
  max-width: 660px;
  margin: 30px 0 0;
  color: #c0c8d2;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.65;
}

.hero-detail {
  max-width: 680px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: .95rem;
  font-weight: 650;
  line-height: 1.65;
}

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 36px; }

.primary-action, .text-action {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-action {
  padding: 16px 20px;
  color: #021013;
  background: var(--cyan);
  box-shadow: 0 0 28px rgba(66,232,245,.2);
}

.primary-action:hover { background: var(--white); transform: translateY(-2px); }
.text-action { padding: 14px 0; border-bottom: 1px solid var(--cyan); }
.text-action:hover { color: var(--cyan); }

.platform { padding: 100px 0; border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 1fr .75fr; align-items: end; gap: 60px; margin-bottom: 44px; }
.section-heading h2, .connection-copy h2 { font-size: clamp(2.8rem, 5vw, 5rem); line-height: .9; }
.section-heading > p, .connection-band > p { margin: 0; color: var(--muted); line-height: 1.7; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.product-card {
  position: relative;
  min-height: 345px;
  padding: 30px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(10,14,21,.72);
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}
.product-card.live:hover { z-index: 2; background: var(--panel-high); transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0,0,0,.38); }
.product-card.feature { background: linear-gradient(145deg, rgba(66,232,245,.15), rgba(10,14,21,.8) 55%); }
.card-number { color: #626d7b; font: 900 11px var(--body); letter-spacing: 2px; }
.card-status { position: absolute; top: 28px; right: 28px; color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; }
.live .card-status { color: var(--cyan); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.product-identity { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 106px; margin: 40px 0 20px; }
.product-identity img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.acst-identity { justify-content: flex-start; }
.acst-identity img { width: min(270px, 92%); object-position: left center; filter: drop-shadow(0 8px 18px rgba(0,0,0,.3)); }
.suite-tag { display: grid; color: var(--white); font: 900 27px/.9 var(--display); letter-spacing: -.3px; text-transform: uppercase; }
.suite-tag small { margin-bottom: 5px; color: var(--cyan); font: 900 9px var(--body); letter-spacing: 2.5px; }
.example-lockup { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.04); }
.example-lockup img { width: 35px; height: 35px; }
.example-lockup b { color: #d7e4e9; font: 900 13px var(--display); letter-spacing: 1px; }
.bth-mark { display: grid; justify-items: end; color: #ffbf49; transform: skew(-6deg); }
.bth-mark small { color: var(--muted); font-size: 7px; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase; }
.bth-mark b { font: 900 37px/.85 var(--display); letter-spacing: -1px; }
.scores-card { background: linear-gradient(150deg, rgba(35,54,76,.32), rgba(10,14,21,.8) 58%); }
.score-signal { display: flex; align-items: end; gap: 5px; height: 35px; opacity: .55; }
.score-signal i { display: block; width: 5px; background: var(--cyan); }
.score-signal i:nth-child(1) { height: 11px; }.score-signal i:nth-child(2) { height: 24px; }.score-signal i:nth-child(3) { height: 34px; }.score-signal i:nth-child(4) { height: 18px; }
.stats-identity b { color: var(--cyan); font: 900 45px var(--display); }
.fantasy-card { background: linear-gradient(145deg, rgba(46,92,191,.16), rgba(10,14,21,.82) 58%); }
.fantasy-identity { justify-content: flex-start; }
.fantasy-identity img { width: min(275px, 96%); object-position: left center; filter: drop-shadow(0 8px 18px rgba(0,0,0,.32)); }
.product-card h3 { font-size: 2rem; letter-spacing: -.5px; }
.product-card p { max-width: 330px; margin: 13px 0 0; color: var(--muted); font-size: .93rem; line-height: 1.55; }
.product-card > strong { position: absolute; bottom: 28px; left: 30px; color: var(--cyan); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; }

.connection-band { display: grid; grid-template-columns: 1fr 1.2fr .9fr; align-items: center; gap: 50px; padding: 100px 0; border-top: 1px solid var(--line); }
.connection-map { display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 10px; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase; }
.connection-map span { display: grid; place-items: center; width: 108px; height: 108px; border: 1px solid rgba(66,232,245,.38); border-radius: 50%; background: rgba(66,232,245,.06); text-align: center; }
.connection-map i { width: 34px; height: 1px; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }

footer { display: grid; justify-items: center; gap: 24px; padding: 72px 0 34px; border-top: 1px solid var(--line); color: #697483; font-size: 10px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.footer-banner { width: min(900px, 100%); height: auto; }
.footer-meta { display: flex; justify-content: space-between; width: 100%; gap: 25px; }
.footer-meta p { margin: 0; }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 30px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .connection-band { grid-template-columns: 1fr; }
  .connection-map { justify-content: flex-start; }
}

@media (max-width: 620px) {
  .site-header, main, footer { width: min(100% - 28px, 1240px); }
  .site-header { min-height: 86px; }.system-state { display: none; }
  .hero { min-height: 620px; padding: 64px 24px; }
  .hero::before { background-position: 58% center; }
  .hero::after { background: linear-gradient(90deg, rgba(3,5,9,.96), rgba(3,5,9,.75)); }
  h1 { font-size: clamp(3.5rem, 18vw, 5rem); letter-spacing: -2px; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .product-grid { grid-template-columns: 1fr; }
  .connection-map { transform: scale(.82); transform-origin: left center; }
  .footer-meta { align-items: center; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
