:root {
  --cabinet: #071433;
  --cabinet-deep: #040b1c;
  --panel: #122448;
  --foam: #eef1f8;
  --mute: #93a0bd;
  --line: rgba(238, 241, 248, 0.12);
  --red: #ff2e2e;
  --red-deep: #c91818;
  --gold: #f0b429;
  --shell: min(1120px, calc(100% - 2.5rem));
  --font-display: "Teko", Impact, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --header-h: 4rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--foam);
  background: var(--cabinet-deep);
}

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

a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #ffd666;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--gold);
  color: var(--cabinet-deep);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(4, 11, 28, 0.9);
  border-bottom-color: var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  color: var(--foam);
  text-decoration: none;
}

.brand-mark {
  width: 0.7rem;
  height: 0.7rem;
  background: var(--red);
  transform: translateY(-0.15rem);
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}

.brand-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
  border: 1px solid var(--line);
  padding: 0.15rem 0.4rem;
}

.nav {
  display: none;
  align-items: center;
  gap: 1.35rem;
}

.nav a {
  color: var(--foam);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.85;
}

.nav a:hover {
  opacity: 1;
  color: var(--foam);
}

.nav-external {
  color: var(--gold) !important;
  opacity: 1 !important;
}

.nav-toggle {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  background: rgba(18, 36, 72, 0.85);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--foam);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 1.25rem 1.25rem;
  background: rgba(4, 11, 28, 0.96);
  border-bottom: 1px solid var(--line);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  color: var(--foam);
  text-decoration: none;
  padding: 0.75rem 0.25rem;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}

@media (min-width: 860px) {
  .nav {
    display: flex;
  }

  .nav-toggle,
  .mobile-nav {
    display: none !important;
  }
}

/* Hero — single composition, no cards */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: center;
  padding: calc(var(--header-h) + 1.5rem) 0 3.5rem;
  overflow: clip;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  transform: scale(1.05);
  animation: hero-drift 24s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  from { transform: scale(1.05) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(1.2%, -0.8%, 0); }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(4, 11, 28, 0.92) 0%,
      rgba(4, 11, 28, 0.78) 28%,
      rgba(4, 11, 28, 0.35) 52%,
      rgba(4, 11, 28, 0.2) 72%,
      rgba(4, 11, 28, 0.55) 100%
    ),
    linear-gradient(
      180deg,
      rgba(4, 11, 28, 0.55) 0%,
      transparent 24%,
      transparent 58%,
      rgba(4, 11, 28, 0.9) 100%
    );
}

.hero-scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 3px,
    rgba(0, 0, 0, 0.22) 3px,
    rgba(0, 0, 0, 0.22) 4px
  );
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  padding: 0.5rem 0;
}

.hero-eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(238, 241, 248, 0.72);
}

.hero-brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(6.25rem, 16vw, 10.5rem);
  line-height: 0.82;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow:
    0 0 40px rgba(78, 205, 196, 0.25),
    5px 5px 0 rgba(255, 46, 46, 0.45);
}

.hero-line {
  margin: 0.85rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.2vw, 2.85rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--gold);
}

.hero-sub {
  margin: 0 0 1.5rem;
  color: rgba(238, 241, 248, 0.9);
  max-width: 36ch;
  font-size: 1.08rem;
  text-shadow: 0 1px 12px rgba(4, 11, 28, 0.8);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-readout {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  margin: 1.5rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(238, 241, 248, 0.16);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: rgba(78, 205, 196, 0.95);
}

.hero-readout-live {
  color: var(--red);
  font-weight: 700;
}

@media (max-width: 720px) {
  .hero {
    align-items: end;
    padding-bottom: 3rem;
  }

  .hero-photo {
    object-position: 70% center;
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(4, 11, 28, 0.45) 0%, rgba(4, 11, 28, 0.5) 35%, rgba(4, 11, 28, 0.94) 100%),
      linear-gradient(90deg, rgba(4, 11, 28, 0.75), transparent 75%);
  }

  .hero-sub {
    max-width: 42ch;
  }
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.75rem 1.45rem;
  border: 2px solid transparent;
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  line-height: 1;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease,
    color 0.15s ease;
}

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

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.btn-primary:hover {
  background: var(--red-deep);
  border-color: var(--red-deep);
  color: #fff;
}

.btn-secondary {
  background: rgba(4, 11, 28, 0.45);
  border-color: rgba(238, 241, 248, 0.55);
  color: #fff;
  backdrop-filter: blur(6px);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Sections */
.section {
  padding: 5.5rem 0;
  border-top: 1px solid var(--line);
  background: var(--cabinet);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.75rem;
}

.section-head h2,
.manifesto h2,
.closer h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.section-head p {
  margin: 0;
  color: var(--mute);
  max-width: 48ch;
}

.manifesto-grid {
  display: grid;
  gap: 2.5rem;
}

.manifesto-grid p {
  margin: 0;
  color: var(--mute);
  max-width: 38ch;
  font-size: 1.125rem;
}

@media (min-width: 800px) {
  .manifesto-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.primitive-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  margin-bottom: 2.5rem;
}

.primitive {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.primitive h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.04em;
  color: var(--gold);
  font-weight: 600;
}

.primitive p {
  margin: 0;
  color: var(--mute);
  max-width: 52ch;
}

@media (min-width: 800px) {
  .primitive-list {
    grid-template-columns: repeat(3, 1fr);
    border-top: none;
  }

  .primitive {
    padding: 0 1.5rem 0 0;
    border-bottom: none;
    border-right: 1px solid var(--line);
  }

  .primitive:last-child {
    border-right: none;
    padding-right: 0;
  }

  .primitive:nth-child(2),
  .primitive:nth-child(3) {
    padding-left: 1.5rem;
  }
}

.fact-strip {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.fact-strip > div {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  padding: 1.1rem 1.2rem;
}

.fact-label {
  display: block;
  font-size: 0.8rem;
  color: var(--mute);
  margin-bottom: 0.25rem;
}

.fact-value {
  display: block;
  font-family: var(--font-display);
  font-size: 2.1rem;
  line-height: 1;
  letter-spacing: 0.03em;
}

.fact-note {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.85rem;
  color: var(--mute);
}

@media (min-width: 800px) {
  .fact-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

.fine-print {
  margin: 0;
  font-size: 0.9rem;
  color: var(--mute);
}

/* Demos with media */
.demo-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2rem;
}

.demo-item {
  display: grid;
  gap: 1.25rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.demo-media {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
  aspect-ratio: 16 / 9;
}

.demo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.demo-item:hover .demo-media img {
  transform: scale(1.04);
}

.demo-index {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--red);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.demo-body h3 {
  margin: 0 0 0.45rem;
  font-size: 1.35rem;
  font-weight: 700;
}

.demo-body p {
  margin: 0 0 0.85rem;
  color: var(--mute);
  max-width: 52ch;
}

.demo-body a {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(240, 180, 41, 0.45);
}

.demo-body a:hover {
  border-bottom-color: var(--gold);
}

@media (min-width: 860px) {
  .demo-item {
    grid-template-columns: minmax(280px, 42%) 1fr;
    gap: 2rem;
    align-items: center;
    padding-bottom: 2.25rem;
  }

  .demo-item:nth-child(even) .demo-media {
    order: 2;
  }

  .demo-item:nth-child(even) .demo-body {
    order: 1;
  }
}

.why-grid {
  display: grid;
  gap: 2rem;
}

.why-grid h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.85rem;
  letter-spacing: 0.03em;
  font-weight: 600;
}

.why-grid p {
  margin: 0;
  color: var(--mute);
  max-width: 40ch;
}

@media (min-width: 860px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.faq-list {
  display: grid;
  gap: 0.65rem;
  max-width: 46rem;
}

.faq-list details {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 0.25rem 1rem;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-weight: 650;
  padding: 0.95rem 0;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--gold);
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list p {
  margin: 0 0 1rem;
  color: var(--mute);
}

.closer {
  background:
    linear-gradient(180deg, transparent, rgba(255, 46, 46, 0.06)),
    var(--cabinet-deep);
}

.closer-inner {
  max-width: 36rem;
}

.closer p {
  margin: 0 0 1.5rem;
  color: var(--mute);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.75rem 0 3.5rem;
  background: var(--cabinet-deep);
}

.footer-inner {
  display: grid;
  gap: 1.75rem;
}

.footer-inner strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.footer-inner p {
  margin: 0.5rem 0 0;
  color: var(--mute);
  max-width: 42ch;
  font-size: 0.95rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.footer-links a {
  color: var(--foam);
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--gold);
}

@media (min-width: 720px) {
  .footer-inner {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-photo,
  .demo-media img {
    animation: none !important;
    transition: none !important;
  }

  .btn:hover {
    transform: none;
  }

  .demo-item:hover .demo-media img {
    transform: none;
  }
}


/* Trending */
.trend-grid {
  display: grid;
  gap: 1.5rem;
}

.trend-item {
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}

.trend-item h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.85rem;
  letter-spacing: 0.03em;
  font-weight: 600;
}

.trend-item p {
  margin: 0 0 0.75rem;
  color: var(--mute);
  max-width: 52ch;
}

.trend-item a {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(240, 180, 41, 0.45);
}

.trend-item a:hover {
  border-bottom-color: var(--gold);
}

@media (min-width: 860px) {
  .trend-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0 2.5rem;
  }
}
