:root {
  --bg: #050604;
  --bg-2: #0a0d0b;
  --panel: #0f1411;
  --panel-2: #141a16;
  --line: rgba(255, 255, 255, 0.16);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #f4f7f2;
  --muted: rgba(244, 247, 242, 0.68);
  --faint: rgba(244, 247, 242, 0.46);
  --green: #cdff00;
  --blue: #6eb7ff;
  --font: "Basier Square", "Basier Circle", "Inter", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(13, 19, 15, 0.64) 0%, rgba(5, 6, 4, 0) 36rem),
    var(--bg);
  font-family: var(--font);
  font-feature-settings: "kern" 1, "liga" 1;
  line-height: 1.45;
}

body::selection {
  color: #020301;
  background: var(--green);
}

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(5, 6, 4, 0.72);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: var(--green);
  letter-spacing: 0;
}

.brand-logo {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(205, 255, 0, 0.34));
}

.brand-text {
  font-size: 18px;
  line-height: 1;
  white-space: nowrap;
}

.brand-text span {
  font-weight: 300;
}

.brand-text strong {
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: var(--muted);
  font-size: 12px;
}

.nav-links a,
.footer-links a,
.secondary-link {
  transition: color 180ms ease, border-color 180ms ease;
}

.nav-links a:hover,
.footer-links a:hover,
.secondary-link:hover {
  color: var(--green);
}

.header-cta {
  justify-self: end;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(205, 255, 0, 0.5);
  color: var(--green);
  font-size: 12px;
}

.hero {
  position: relative;
  min-height: min(760px, 96vh);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #020301;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% center;
  filter: saturate(1.04) contrast(1.05) brightness(0.82);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 3, 1, 0.94) 0%, rgba(2, 3, 1, 0.72) 34%, rgba(2, 3, 1, 0.18) 66%, rgba(2, 3, 1, 0.44) 100%),
    linear-gradient(180deg, rgba(2, 3, 1, 0.62) 0%, rgba(2, 3, 1, 0.1) 40%, rgba(2, 3, 1, 0.78) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(900px, calc(100% - 36px));
  margin: 0 0 clamp(52px, 8vw, 92px) clamp(18px, 6vw, 86px);
  padding-top: 120px;
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: var(--green);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow span,
.section-kicker span {
  width: 9px;
  height: 9px;
  background: var(--green);
  box-shadow: 0 0 18px rgba(205, 255, 0, 0.45);
}

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

h1 {
  max-width: 740px;
  margin-bottom: 24px;
  font-size: clamp(44px, 6.4vw, 88px);
  font-weight: 440;
  letter-spacing: 0;
  line-height: 0.94;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(31px, 4vw, 58px);
  font-weight: 430;
  letter-spacing: 0;
  line-height: 1;
}

h3 {
  margin-bottom: 18px;
  font-size: clamp(21px, 1.8vw, 30px);
  font-weight: 460;
  letter-spacing: 0;
  line-height: 1.06;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 30px;
  color: rgba(244, 247, 242, 0.78);
  font-size: clamp(16px, 1.15vw, 20px);
  line-height: 1.42;
}

.hero-actions,
.final-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
  font-weight: 600;
}

.primary-link {
  padding: 0 18px;
  border: 1px solid rgba(205, 255, 0, 0.62);
  color: #050604;
  background: var(--green);
  box-shadow: 0 0 32px rgba(205, 255, 0, 0.2);
}

.secondary-link {
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: #060806;
}

.signal-strip span {
  min-height: 78px;
  display: flex;
  align-items: center;
  padding: 0 clamp(18px, 3vw, 42px);
  border-right: 1px solid var(--line-soft);
  color: rgba(244, 247, 242, 0.76);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.signal-strip span:last-child {
  border-right: 0;
}

.section {
  padding: clamp(70px, 10vw, 150px) clamp(18px, 6vw, 86px);
  border-bottom: 1px solid var(--line);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: clamp(44px, 7vw, 118px);
  align-items: start;
}

.prose {
  border-top: 1px solid var(--line);
}

.prose p {
  margin: 0;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.45;
}

.hardware-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    var(--bg-2);
}

.panel-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

.panel {
  min-height: 330px;
  padding: clamp(28px, 4vw, 52px);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
    var(--panel);
}

.panel-large {
  grid-row: span 2;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(135deg, rgba(205, 255, 0, 0.09), rgba(5, 6, 4, 0.1) 48%),
    var(--panel-2);
}

.panel-device-demo {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  background:
    radial-gradient(circle at 66% 28%, rgba(205, 255, 0, 0.13), rgba(205, 255, 0, 0) 30%),
    linear-gradient(135deg, rgba(205, 255, 0, 0.09), rgba(5, 6, 4, 0.1) 48%),
    var(--panel-2);
}

.panel-device-demo > .panel-label,
.panel-device-demo > h3,
.panel-device-demo > p:not(.panel-label) {
  position: relative;
  z-index: 4;
}

.panel-device-demo > h3,
.panel-device-demo > p:not(.panel-label) {
  max-width: 680px;
}

.device-demo {
  position: absolute;
  z-index: 1;
  inset: 0 0 118px 0;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
}

.device-demo-fallback {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  opacity: 0.68;
  filter: saturate(0.62) contrast(1.08) brightness(0.74);
  transition: opacity 420ms ease;
}

.device-demo.is-ready .device-demo-fallback {
  opacity: 0;
}

.device-demo:active {
  cursor: grabbing;
}

.device-demo::before,
.device-demo::after {
  content: "";
  position: absolute;
  z-index: 3;
  pointer-events: none;
}

.device-demo::before {
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 20, 17, 0.1) 0%, rgba(15, 20, 17, 0) 45%, rgba(15, 20, 17, 0.84) 100%),
    linear-gradient(90deg, rgba(15, 20, 17, 0.44) 0%, rgba(15, 20, 17, 0) 42%);
}

.device-demo::after {
  top: 52px;
  right: 58px;
  width: 74px;
  height: 9px;
  background: var(--green);
  box-shadow: 0 0 26px rgba(205, 255, 0, 0.38);
}

.device-demo-hud {
  position: absolute;
  z-index: 4;
  top: 74px;
  right: 58px;
  display: grid;
  gap: 8px;
  color: rgba(244, 247, 242, 0.52);
  font-family: "SFMono-Regular", "Menlo", "Monaco", "Consolas", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-align: right;
}

.device-demo-hud span:first-child {
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}

.panel p {
  max-width: 560px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.panel-label {
  margin-bottom: auto;
  color: var(--green) !important;
  font-size: 11px !important;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.prototype-lab {
  position: relative;
  overflow: hidden;
  padding-top: clamp(74px, 8vw, 118px);
  padding-bottom: clamp(42px, 6vw, 74px);
  background:
    radial-gradient(circle at 72% 44%, rgba(205, 255, 0, 0.11), rgba(205, 255, 0, 0) 31%),
    radial-gradient(circle at 55% 22%, rgba(110, 183, 255, 0.08), rgba(110, 183, 255, 0) 28%),
    linear-gradient(180deg, #030403 0%, #090d0a 48%, #020301 100%);
}

.prototype-lab::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  pointer-events: none;
  background:
    linear-gradient(rgba(244, 247, 242, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 247, 242, 0.06) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(circle at 64% 50%, #000 0%, transparent 64%);
}

.prototype-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(520px, 1.18fr);
  gap: clamp(28px, 5vw, 88px);
  align-items: center;
}

.prototype-copy {
  max-width: 620px;
}

.prototype-label {
  margin-bottom: 24px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.prototype-copy h2 {
  max-width: 700px;
  margin-bottom: 28px;
  font-size: clamp(34px, 4.5vw, 64px);
}

.prototype-copy p:not(.prototype-label) {
  max-width: 560px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.45;
}

.prototype-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line-soft);
}

.prototype-specs span {
  min-height: 70px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  color: rgba(244, 247, 242, 0.7);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.prototype-stage {
  position: relative;
  min-height: clamp(520px, 56vw, 720px);
  margin-right: calc(clamp(18px, 6vw, 86px) * -1);
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
}

.prototype-stage:active {
  cursor: grabbing;
}

.prototype-canvas {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 420ms ease;
}

.device-demo.is-ready .prototype-canvas,
.prototype-stage .prototype-canvas {
  opacity: 1;
}

.prototype-stage::before,
.prototype-stage::after {
  content: "";
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.prototype-stage::before {
  inset: 9% 8% 8% 2%;
  border: 1px solid rgba(244, 247, 242, 0.09);
  border-left: 0;
  border-bottom: 0;
}

.prototype-stage::after {
  top: 16%;
  right: 12%;
  width: 78px;
  height: 9px;
  background: var(--green);
  box-shadow: 0 0 26px rgba(205, 255, 0, 0.36);
}

.prototype-scanline {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  opacity: 0.19;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.1) 0,
      rgba(255, 255, 255, 0.1) 1px,
      transparent 1px,
      transparent 5px
    );
  mix-blend-mode: screen;
}

.prototype-hud {
  position: absolute;
  z-index: 3;
  right: clamp(28px, 5vw, 90px);
  bottom: clamp(30px, 5vw, 72px);
  display: grid;
  gap: 10px;
  color: rgba(244, 247, 242, 0.52);
  font-family: "SFMono-Regular", "Menlo", "Monaco", "Consolas", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-align: right;
}

.prototype-hud span:first-child {
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}

.loop-section {
  background:
    linear-gradient(90deg, rgba(110, 183, 255, 0.08), rgba(205, 255, 0, 0.035) 38%, rgba(5, 6, 4, 0) 74%),
    #050604;
}

.loop-header {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 520px);
  gap: clamp(44px, 7vw, 110px);
  margin-bottom: clamp(52px, 8vw, 96px);
}

.loop-header p {
  color: var(--muted);
  font-size: clamp(16px, 1.15vw, 19px);
  line-height: 1.48;
}

.loop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.loop-grid div {
  min-height: 240px;
  padding: 28px 24px;
  border-right: 1px solid var(--line-soft);
}

.loop-grid div:last-child {
  border-right: 0;
}

.loop-grid span {
  display: block;
  margin-bottom: 70px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}

.loop-grid p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.48;
}

.manifesto {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  min-height: 132px;
  padding-top: clamp(34px, 5vw, 58px);
  padding-bottom: clamp(34px, 5vw, 58px);
  background: #f3f6ee;
  color: #050604;
}

.manifesto-rule {
  flex: 0 0 clamp(38px, 6vw, 86px);
  width: clamp(38px, 6vw, 86px);
  height: 1px;
  margin: 0;
  background: rgba(5, 6, 4, 0.22);
}

.manifesto p {
  width: auto;
  margin: 0;
  color: rgba(5, 6, 4, 0.9);
  font-size: clamp(20px, 2.3vw, 34px);
  font-weight: 440;
  line-height: 1.12;
  letter-spacing: 0;
  white-space: nowrap;
}

.articles {
  background: var(--bg);
}

.article-list {
  border-top: 1px solid var(--line);
}

.article-row {
  display: grid;
  grid-template-columns: minmax(140px, 0.24fr) minmax(260px, 1fr) auto;
  gap: 28px;
  align-items: center;
  min-height: 126px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}

.article-row strong {
  font-size: clamp(20px, 2.1vw, 32px);
  font-weight: 430;
  line-height: 1.08;
}

.article-row span:last-child {
  color: var(--green);
  font-size: 13px;
  font-weight: 650;
}

.article-meta {
  color: var(--faint);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.final-cta {
  justify-content: space-between;
  gap: 40px;
  background:
    linear-gradient(135deg, rgba(205, 255, 0, 0.12), rgba(110, 183, 255, 0.08) 40%, rgba(5, 6, 4, 0) 72%),
    #080b08;
}

.final-cta h2 {
  max-width: 980px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 6vw, 86px) 42px;
  background: #050604;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 12px;
}

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

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .hero-image {
    object-position: 64% center;
  }

  .hero-content {
    margin-bottom: 56px;
  }

  .signal-strip,
  .two-column,
  .loop-header,
  .loop-grid,
  .article-row {
    grid-template-columns: 1fr;
  }

  .signal-strip span,
  .loop-grid div {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

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

  .panel-large {
    grid-row: auto;
    min-height: 380px;
  }

  .panel-device-demo {
    min-height: 620px;
  }

  .device-demo {
    bottom: 168px;
  }

  .prototype-layout {
    grid-template-columns: 1fr;
  }

  .prototype-stage {
    min-height: 560px;
    margin: 12px -18px -16px;
  }

  .loop-grid div {
    min-height: 180px;
  }

  .loop-grid span {
    margin-bottom: 36px;
  }

  .article-row {
    gap: 14px;
    padding: 26px 0;
  }

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

@media (max-width: 560px) {
  .header-cta {
    display: none;
  }

  .hero {
    min-height: 710px;
  }

  .hero-image {
    opacity: 0.68;
    object-position: 72% center;
  }

  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(2, 3, 1, 0.92), rgba(2, 3, 1, 0.54)),
      linear-gradient(180deg, rgba(2, 3, 1, 0.62), rgba(2, 3, 1, 0.8));
  }

  h1 {
    font-size: clamp(38px, 12.5vw, 56px);
  }

  .hero-copy {
    font-size: 16px;
  }

  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .prototype-copy h2 {
    font-size: clamp(34px, 10.5vw, 48px);
  }

  .prototype-specs {
    grid-template-columns: 1fr;
  }

  .prototype-stage {
    min-height: 470px;
  }

  .panel-device-demo {
    min-height: 600px;
  }

  .device-demo {
    bottom: 216px;
  }

  .device-demo::after,
  .device-demo-hud {
    right: 22px;
  }

  .prototype-hud {
    right: 22px;
    bottom: 28px;
  }

  .manifesto p {
    font-size: clamp(18px, 5.1vw, 23px);
  }
}
