:root {
  color-scheme: dark;
  --bg: #071014;
  --panel: rgba(17, 28, 34, 0.84);
  --panel-strong: #101a20;
  --line: rgba(159, 202, 214, 0.24);
  --text: #f4f7f7;
  --muted: #a7b7ba;
  --soft: #d2dcdd;
  --copper: #f2a84a;
  --gold: #ffd36a;
  --teal: #59d5c5;
  --green: #99dc70;
  --danger: #ff7c60;
  --shadow: 0 22px 80px rgba(0, 0, 0, 0.42);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 76% 14%, rgba(242, 168, 74, 0.2), transparent 22rem),
    radial-gradient(circle at 16% 16%, rgba(89, 213, 197, 0.15), transparent 20rem),
    linear-gradient(140deg, #050a0d 0%, #0a1419 44%, #100c09 100%);
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 72%);
}

body::after {
  position: fixed;
  inset: auto 0 0;
  z-index: -1;
  height: 42vh;
  content: "";
  background:
    linear-gradient(transparent 10%, rgba(0, 0, 0, 0.52)),
    repeating-linear-gradient(
      90deg,
      rgba(242, 168, 74, 0.07) 0 1px,
      transparent 1px 92px
    );
}

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

p {
  max-width: 64ch;
  color: var(--muted);
  line-height: 1.75;
}

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 36px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 70px;
  padding: 12px 0;
  background: linear-gradient(to bottom, rgba(7, 16, 20, 0.96), rgba(7, 16, 20, 0.72));
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(255, 211, 106, 0.26), 0 10px 24px rgba(0, 0, 0, 0.32);
}

.brand strong,
.brand small {
  display: block;
  letter-spacing: 0;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

nav a {
  border: 1px solid transparent;
  padding: 9px 12px;
  color: var(--soft);
  font-size: 0.9rem;
}

nav a:hover,
nav a:focus-visible {
  border-color: rgba(255, 211, 106, 0.34);
  color: var(--text);
  outline: none;
}

.nav-cta {
  border-color: rgba(255, 211, 106, 0.52);
  color: var(--gold);
  box-shadow: inset 0 0 18px rgba(242, 168, 74, 0.08);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(380px, 1fr);
  align-items: center;
  gap: 42px;
  min-height: calc(100vh - 120px);
  padding: 46px 0 54px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  max-width: 820px;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3.5rem, 10vw, 6.9rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.lede {
  margin: 22px 0 0;
  color: var(--soft);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0 18px;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.button.primary {
  border-color: rgba(255, 211, 106, 0.82);
  color: #121313;
  background: linear-gradient(135deg, var(--gold), var(--copper));
}

.button.secondary {
  color: var(--text);
  background: rgba(14, 25, 31, 0.84);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: 2px solid rgba(89, 213, 197, 0.36);
  outline-offset: 3px;
}

.release-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.release-strip span {
  border: 1px solid rgba(159, 202, 214, 0.26);
  padding: 9px 12px;
  color: var(--soft);
  background: rgba(9, 17, 22, 0.7);
  font-size: 0.88rem;
}

.workshop-stage {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  border: 1px solid rgba(159, 202, 214, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 38%),
    radial-gradient(circle at 20% 18%, rgba(89, 213, 197, 0.18), transparent 12rem),
    radial-gradient(circle at 80% 32%, rgba(255, 211, 106, 0.2), transparent 16rem),
    linear-gradient(145deg, rgba(15, 26, 32, 0.92), rgba(7, 14, 18, 0.9));
  box-shadow: var(--shadow);
}

.factory-halo {
  position: absolute;
  inset: 42px 48px auto auto;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255, 211, 106, 0.28);
  transform: rotate(14deg);
  animation: pulse-frame 4.8s ease-in-out infinite;
}

.factory-halo::before,
.factory-halo::after {
  position: absolute;
  content: "";
  background: rgba(255, 211, 106, 0.72);
  box-shadow: 0 0 22px rgba(255, 211, 106, 0.42);
}

.factory-halo::before {
  inset: 44% 12%;
  height: 8px;
}

.factory-halo::after {
  inset: 12% 44%;
  width: 8px;
}

.simulator-frame {
  position: absolute;
  right: 11%;
  bottom: 32px;
  z-index: 2;
  width: min(318px, 64%);
  height: 530px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 211, 106, 0.4);
  padding: 10px;
  background:
    linear-gradient(rgba(255, 211, 106, 0.08), rgba(255, 211, 106, 0.01)),
    linear-gradient(145deg, #18262d, #080f13);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.58),
    0 0 58px rgba(255, 211, 106, 0.14);
}

.simulator-frame::before {
  position: absolute;
  inset: 10px 38% auto;
  z-index: 2;
  height: 5px;
  content: "";
  background: rgba(9, 17, 22, 0.35);
}

.simulator-shot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.cog,
.crate {
  position: absolute;
  border: 1px solid rgba(255, 211, 106, 0.35);
  background: rgba(242, 168, 74, 0.1);
}

.cog {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  animation: rotate-cog 8s linear infinite;
}

.cog::before,
.cog::after {
  position: absolute;
  content: "";
  background: rgba(255, 211, 106, 0.38);
}

.cog::before {
  inset: 42% 8%;
}

.cog::after {
  inset: 8% 42%;
}

.cog-a {
  left: 58px;
  bottom: 86px;
}

.cog-b {
  top: 100px;
  right: 54px;
  width: 56px;
  height: 56px;
  animation-duration: 5.8s;
}

.crate {
  width: 76px;
  height: 58px;
  transform: rotate(-7deg);
}

.crate::before,
.crate::after {
  position: absolute;
  content: "";
  background: rgba(89, 213, 197, 0.32);
}

.crate::before {
  inset: 50% 0 auto;
  height: 1px;
}

.crate::after {
  inset: 0 50% auto;
  width: 1px;
  height: 100%;
}

.crate-a {
  left: 74px;
  top: 184px;
}

.crate-b {
  right: 40%;
  bottom: 28px;
  width: 54px;
  height: 42px;
  transform: rotate(11deg);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: -16px;
}

.metrics div,
.section,
.support-card {
  border: 1px solid rgba(159, 202, 214, 0.2);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.metrics div {
  min-height: 130px;
  padding: 20px;
}

.metrics strong {
  display: block;
  color: var(--gold);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.metrics span {
  display: block;
  margin-top: 12px;
  color: var(--soft);
}

.section {
  margin-top: 18px;
  padding: clamp(24px, 4vw, 42px);
}

.split {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 36px;
}

.loop {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.loop li {
  min-height: 174px;
  border: 1px solid rgba(159, 202, 214, 0.2);
  padding: 18px;
  background: rgba(6, 13, 17, 0.62);
}

.loop span {
  color: var(--teal);
  font-size: 0.84rem;
  font-weight: 800;
}

.loop strong {
  display: block;
  margin-top: 16px;
  font-size: 1.05rem;
}

.loop p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.release-card,
.privacy-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.privacy-panel {
  border-color: rgba(89, 213, 197, 0.24);
}

.privacy-panel a:not(.button) {
  flex: 0 0 auto;
  color: var(--teal);
  font-weight: 800;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 26px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.legal-shell {
  max-width: 980px;
}

.legal {
  margin-top: 42px;
  border: 1px solid rgba(159, 202, 214, 0.2);
  padding: clamp(26px, 5vw, 54px);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.legal h1 {
  font-size: clamp(2.7rem, 8vw, 5.8rem);
}

.legal h2 {
  margin-top: 34px;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.legal p {
  max-width: 78ch;
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 24px;
  align-items: start;
}

.support-card {
  padding: 22px;
  background: rgba(6, 13, 17, 0.62);
}

.support-card h2 {
  margin-top: 0;
  font-size: 1.4rem;
}

.support-card a {
  color: var(--teal);
  font-weight: 800;
}

@keyframes rotate-cog {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse-frame {
  50% {
    transform: rotate(14deg) scale(1.04);
    opacity: 0.72;
  }
}

@media (max-width: 920px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .hero,
  .split,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 24px;
  }

  .workshop-stage {
    min-height: 560px;
  }

  .simulator-frame {
    right: 7%;
    width: min(300px, 60%);
  }

  .release-card,
  .privacy-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .site-shell {
    width: min(100% - 22px, 1180px);
    padding-top: 10px;
  }

  .topbar {
    position: static;
  }

  nav a {
    padding: 8px 9px;
    font-size: 0.84rem;
  }

  h1 {
    font-size: clamp(3rem, 18vw, 4.7rem);
  }

  .hero-actions,
  .release-actions,
  .release-strip {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .workshop-stage {
    min-height: auto;
    padding: 20px 10px;
  }

  .simulator-frame {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(100%, 320px);
    height: 610px;
    margin: 0 auto;
  }

  .metrics,
  .loop {
    grid-template-columns: 1fr;
  }

  .cog-a,
  .cog-b,
  .crate-b,
  .crate-a {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
