:root {
  --bg: #050b14;
  --bg-2: #08111f;
  --panel: rgba(13, 24, 39, 0.9);
  --panel-solid: #101a29;
  --panel-soft: rgba(22, 34, 52, 0.74);
  --line: rgba(123, 155, 190, 0.18);
  --line-strong: rgba(57, 198, 255, 0.38);
  --text: #eef6ff;
  --muted: #9fb0c3;
  --dim: #718397;
  --blue: #1c8dff;
  --blue-bright: #56d7ff;
  --cyan: #39c6ff;
  --green: #35ff8b;
  --red: #ff3d5f;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
}

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

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

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(57, 198, 255, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(57, 198, 255, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 48% 18%, rgba(57, 198, 255, 0.16), transparent 30%),
    linear-gradient(135deg, #050b14 0%, #0a1423 52%, #111a27 100%);
  background-size: 32px 32px, 32px 32px, auto, auto;
}

.site-bg::before,
.site-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.site-bg::before {
  z-index: 2;
  background:
    linear-gradient(115deg, transparent 0 34%, rgba(57, 198, 255, 0.08) 44%, transparent 54% 100%),
    linear-gradient(180deg, transparent, rgba(5, 11, 20, 0.56));
  animation: forge-scan 9s linear infinite;
}

.site-bg::after {
  z-index: 3;
  background:
    radial-gradient(circle at center, transparent 0 18%, rgba(5, 11, 20, 0.36) 50%, rgba(5, 11, 20, 0.9) 100%),
    linear-gradient(90deg, rgba(5, 11, 20, 0.9), transparent 18% 82%, rgba(5, 11, 20, 0.9)),
    repeating-linear-gradient(0deg, rgba(238, 246, 255, 0.022) 0 1px, transparent 1px 5px);
}

.crosshair-wall {
  position: absolute;
  inset: -90px -80px;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(7, minmax(128px, 1fr));
  grid-auto-rows: 126px;
  gap: 10px;
  opacity: 0.72;
  filter: blur(1px);
  transform: rotate(-0.75deg);
}

.crosshair-wall.compact {
  grid-template-columns: repeat(4, minmax(150px, 1fr));
}

.wall-cell {
  display: grid;
  place-items: center;
  border: 1px solid rgba(38, 54, 74, 0.35);
  border-radius: 6px;
  background: rgba(21, 30, 43, 0.62);
  animation: wall-drift 18s ease-in-out infinite;
}

.wall-cell.depth-0 {
  opacity: 0.26;
  filter: blur(2px);
}

.wall-cell.depth-1 {
  opacity: 0.42;
  filter: blur(1px);
}

.wall-cell.depth-2 {
  opacity: 0.66;
}

.wall-cell.depth-3 {
  opacity: 0.36;
  transform: scale(1.08);
}

.wall-cell:nth-child(3n) {
  animation-delay: -5s;
}

.wall-cell:nth-child(4n) {
  animation-delay: -11s;
}

.ch {
  position: relative;
  display: block;
  width: 58px;
  height: 58px;
  color: var(--cyan);
  filter: drop-shadow(0 0 12px currentColor);
}

.ch.plus::before,
.ch.plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.ch.plus::before {
  width: 5px;
  height: 100%;
}

.ch.plus::after {
  width: 100%;
  height: 5px;
}

.ch.split::before,
.ch.split::after {
  content: "";
  position: absolute;
  top: 26px;
  width: 21px;
  height: 5px;
  background: currentColor;
}

.ch.split::before {
  left: 0;
}

.ch.split::after {
  right: 0;
}

.ch.dot::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 25px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.ch.ring::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.ch.box::before {
  content: "";
  position: absolute;
  inset: 13px;
  border: 4px solid currentColor;
}

.ch.bracket::before,
.ch.bracket::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 4px solid currentColor;
}

.ch.bracket::before {
  border-right: 0;
  border-bottom: 0;
}

.ch.bracket::after {
  border-left: 0;
  border-top: 0;
}

.cyan { color: var(--cyan); }
.blue { color: var(--blue); }
.green { color: var(--green); }
.red { color: var(--red); }
.white { color: #eef6ff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 clamp(18px, 4vw, 70px);
  border-bottom: 1px solid rgba(57, 198, 255, 0.12);
  background: rgba(7, 17, 31, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.brand img {
  width: 34px;
  height: 34px;
}

.brand span span {
  color: var(--cyan);
}

.site-header nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-header nav a:hover,
.site-footer nav a:hover {
  color: var(--text);
}

.nav-buy,
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 6px;
  font-weight: 900;
  white-space: nowrap;
  transition: transform 160ms ease, border-color 160ms ease;
}

.nav-buy,
.primary {
  border: 1px solid rgba(57, 198, 255, 0.6);
  color: #03101d;
  background: linear-gradient(180deg, #56d7ff, #1c8dff);
  box-shadow: 0 18px 50px rgba(28, 141, 255, 0.26);
}

.secondary {
  border: 1px solid rgba(159, 176, 195, 0.28);
  color: var(--text);
  background: rgba(34, 51, 72, 0.68);
}

.primary:hover,
.secondary:hover,
.nav-buy:hover {
  transform: translateY(-1px);
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  place-items: center;
  padding: clamp(38px, 6vw, 72px) 18px;
}

.hero-panel,
.download-card,
.legal-card {
  position: relative;
  z-index: 5;
  width: min(980px, 100%);
  border: 1px solid rgba(159, 176, 195, 0.18);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 0%, rgba(57, 198, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(16, 26, 41, 0.96), rgba(8, 17, 31, 0.94));
  box-shadow: 0 32px 120px rgba(0, 0, 0, 0.58);
}

.hero-panel {
  display: grid;
  justify-items: center;
  padding: clamp(34px, 6vw, 74px);
  text-align: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  margin: 0 0 28px;
  padding: 0 13px;
  border: 1px solid rgba(57, 198, 255, 0.45);
  border-radius: 999px;
  color: var(--text);
  background: rgba(57, 198, 255, 0.09);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.pill span {
  width: 12px;
  height: 12px;
  border: 3px solid var(--cyan);
  border-top-color: transparent;
  border-radius: 50%;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(54px, 10vw, 118px);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(24px, 4vw, 42px);
  line-height: 1.05;
  letter-spacing: 0;
}

.tagline {
  max-width: 710px;
  color: #c5d3e4;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 26px 0 18px;
}

.hero-actions.left {
  justify-content: flex-start;
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.status-row span {
  padding: 8px 10px;
  border: 1px solid rgba(57, 198, 255, 0.18);
  border-radius: 4px;
  color: var(--muted);
  background: rgba(7, 17, 31, 0.58);
  font-size: 12px;
  font-weight: 800;
}

.feature-band {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(159, 176, 195, 0.1);
}

.feature-band article {
  min-height: 190px;
  padding: clamp(24px, 4vw, 42px);
  background: rgba(16, 26, 41, 0.92);
}

.feature-band span,
.eyebrow {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.feature-band p,
.product-strip li,
.support-line,
.questions p,
.download-card p,
.legal-page p,
.legal-page li {
  color: var(--muted);
  line-height: 1.6;
}

.product-strip,
.questions,
.download-page,
.legal-page {
  position: relative;
  z-index: 5;
  padding: clamp(48px, 8vw, 96px) clamp(18px, 5vw, 76px);
}

.product-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.8fr);
  gap: clamp(26px, 6vw, 70px);
  align-items: start;
  background: rgba(5, 11, 20, 0.38);
}

.product-strip ol,
.steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-strip li,
.steps li {
  padding: 14px;
  border: 1px solid rgba(159, 176, 195, 0.14);
  border-radius: 6px;
  background: rgba(7, 17, 31, 0.62);
}

.support-line {
  max-width: 560px;
  margin: 18px 0 0;
}

.support-line a,
.questions a,
.download-card a,
.legal-card a {
  color: var(--blue-bright);
  font-weight: 800;
}

.support-line a:hover,
.questions a:hover,
.download-card a:hover,
.legal-card a:hover {
  color: var(--text);
}

.questions {
  display: grid;
  gap: 12px;
  width: min(920px, 100%);
  margin: 0 auto;
}

details {
  border: 1px solid rgba(159, 176, 195, 0.16);
  border-radius: 6px;
  background: rgba(16, 26, 41, 0.84);
}

summary {
  cursor: pointer;
  padding: 18px;
  font-weight: 900;
}

details p {
  margin: 0;
  padding: 0 18px 18px;
}

.download-page,
.legal-page {
  min-height: calc(100vh - 72px);
}

.download-card,
.legal-card {
  margin: 0 auto;
  padding: clamp(24px, 5vw, 48px);
}

.download-card h1,
.legal-card h1 {
  font-size: clamp(42px, 8vw, 82px);
}

.steps {
  margin: 28px 0;
}

.note {
  max-width: 760px;
}

.legal-card h2 {
  margin-top: 28px;
}

.site-footer {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 76px);
  border-top: 1px solid rgba(159, 176, 195, 0.14);
  color: var(--muted);
  background: rgba(4, 9, 18, 0.92);
}

@keyframes wall-drift {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -16px, 0);
  }
}

@keyframes forge-scan {
  0% {
    transform: translateX(-32%);
  }
  100% {
    transform: translateX(32%);
  }
}

@media (max-width: 860px) {
  .site-header nav {
    display: none;
  }

  .crosshair-wall {
    grid-template-columns: repeat(4, minmax(110px, 1fr));
  }

  .feature-band,
  .product-strip {
    grid-template-columns: 1fr;
  }

  .product-strip ol {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: auto;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .brand span {
    display: none;
  }

  .nav-buy {
    min-height: 38px;
    font-size: 13px;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel,
  .download-card,
  .legal-card {
    padding: 22px;
  }

  .hero-actions,
  .hero-actions.left {
    justify-content: stretch;
  }

  .primary,
  .secondary {
    width: 100%;
  }

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