:root {
  --shadow: #05080b;
  --deep: #10161b;
  --panel: #121b22;
  --panel-2: #18242c;
  --lab: #dde3e7;
  --soft: #9eacb5;
  --dim: #65747d;
  --cyan: #48c7d8;
  --cyan-glow: rgba(72, 199, 216, 0.28);
  --amber: #f2a33a;
  --amber-glow: rgba(242, 163, 58, 0.24);
  --red: #d34a3f;
  --green: #5ec27e;
  --line: rgba(221, 227, 231, 0.12);
  --line-hot: rgba(72, 199, 216, 0.38);
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, sans-serif;
  --font-mono: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
  --container: 1180px;
  --header-h: 74px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--lab);
  background:
    linear-gradient(90deg, rgba(72, 199, 216, 0.055) 1px, transparent 1px) 0 0 / 84px 84px,
    linear-gradient(180deg, rgba(221, 227, 231, 0.03) 1px, transparent 1px) 0 0 / 100% 9px,
    radial-gradient(circle at 76% 10%, rgba(242, 163, 58, 0.12), transparent 33vw),
    radial-gradient(circle at 10% 22%, rgba(72, 199, 216, 0.13), transparent 36vw),
    linear-gradient(135deg, #081013 0%, #12171c 52%, #07090c 100%);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
h1, h2, h3, p { margin: 0; }

h1, h2 {
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 11em;
  font-size: clamp(3rem, 6vw + 1rem, 6.8rem);
  font-weight: 900;
}

h2 {
  font-size: clamp(2.1rem, 3vw + 1rem, 4rem);
  font-weight: 860;
}

h3 {
  font-size: 1.18rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -90px;
  left: 18px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 8px;
  color: #051014;
  background: var(--cyan);
  font-weight: 800;
}

.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.ambient span {
  position: absolute;
  filter: blur(70px);
  opacity: 0.4;
  animation: drift 26s var(--ease) infinite alternate;
}

.ambient span:nth-child(1) { width: 42vw; height: 42vw; left: -10vw; top: 4vw; background: radial-gradient(circle, var(--cyan-glow), transparent 68%); }
.ambient span:nth-child(2) { width: 36vw; height: 36vw; right: -8vw; top: 10vw; background: radial-gradient(circle, var(--amber-glow), transparent 70%); animation-delay: -8s; }
.ambient span:nth-child(3) { width: 44vw; height: 44vw; left: 34vw; bottom: -18vw; background: radial-gradient(circle, rgba(211, 74, 63, 0.13), transparent 70%); animation-delay: -14s; }

@keyframes drift {
  to { transform: translate3d(3vw, 4vw, 0) scale(1.08); }
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background 180ms var(--ease), border-color 180ms var(--ease), backdrop-filter 180ms var(--ease);
}

.site-header.is-scrolled,
.nav__menu.is-open {
  background: rgba(5, 8, 11, 0.78);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 0 0 1px var(--line), 0 0 22px rgba(72, 199, 216, 0.16);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.8vw, 34px);
  color: var(--soft);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav__menu a { padding: 10px 0; transition: color 140ms var(--ease); }
.nav__menu a:hover { color: var(--lab); }

.nav__toggle {
  display: none;
  width: 44px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--lab);
  background: rgba(18, 27, 34, 0.7);
}

.nav__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: calc(var(--header-h) + 80px) 0 72px;
}

.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.86fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
}

.kicker {
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__copy {
  display: grid;
  gap: 24px;
}

.hero__lead {
  max-width: 690px;
  color: var(--soft);
  font-size: clamp(1.08rem, 1vw + 0.95rem, 1.42rem);
}

.hero__actions,
.hero__signals {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid var(--line-hot);
  font-weight: 850;
}

.button--primary {
  color: #071014;
  background: linear-gradient(135deg, var(--amber), #ffd384);
  border-color: rgba(242, 163, 58, 0.75);
  box-shadow: 0 14px 38px rgba(242, 163, 58, 0.18);
}

.button--secondary {
  color: var(--lab);
  background: rgba(72, 199, 216, 0.10);
}

.hero__signals span {
  color: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.lockdown-console {
  position: relative;
  aspect-ratio: 1;
  border: 1px solid var(--line-hot);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 48%, rgba(72, 199, 216, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(221, 227, 231, 0.07), rgba(5, 8, 11, 0.78));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.lockdown-console::before,
.lockdown-console::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 3px solid rgba(72, 199, 216, 0.42);
  transform: rotate(45deg);
}

.lockdown-console::after {
  inset: 23%;
  border-color: rgba(242, 163, 58, 0.45);
  transform: rotate(45deg);
}

.console__frame {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.console__icon {
  position: relative;
  z-index: 2;
  width: 34%;
  height: 34%;
  border-radius: 22%;
  box-shadow: 0 0 38px rgba(72, 199, 216, 0.32);
}

.console__status {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--soft);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.console__status strong { color: var(--amber); }

.console__grid {
  position: absolute;
  inset: 13px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.console__grid span {
  border: 1px solid rgba(221, 227, 231, 0.06);
  background: rgba(5, 8, 11, 0.16);
}

.proof-band {
  border-block: 1px solid var(--line);
  background: rgba(5, 8, 11, 0.36);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-grid div {
  padding: 28px 24px;
  border-right: 1px solid var(--line);
}

.proof-grid div:last-child { border-right: 0; }
.proof-grid strong { display: block; color: var(--cyan); font-size: clamp(2.2rem, 3vw, 3.5rem); line-height: 1; }
.proof-grid span { color: var(--soft); font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; }

.section {
  padding: clamp(72px, 9vw, 132px) 0;
}

.section-heading {
  max-width: 760px;
  display: grid;
  gap: 16px;
}

.section-heading p,
.campaign-layout p,
.cta-panel p {
  color: var(--soft);
  font-size: 1.08rem;
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.screenshot-grid {
  margin-top: 42px;
  display: grid;
  gap: 24px;
}

.actual-shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-hot);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.actual-shot img {
  width: 100%;
  aspect-ratio: 16 / 8.2;
  object-fit: cover;
}

.actual-shot figcaption {
  padding: 13px 16px;
  color: var(--soft);
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.split-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 38px;
  align-items: start;
}

.feature-board,
.feature-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.feature-board article,
.feature-cards article,
.cta-panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(221, 227, 231, 0.055), rgba(5, 8, 11, 0.42)),
    var(--panel);
  padding: 22px;
}

.feature-board span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.feature-board p,
.feature-cards p {
  color: var(--soft);
  margin-top: 8px;
}

.campaign-section {
  background: linear-gradient(90deg, rgba(211, 74, 63, 0.10), rgba(72, 199, 216, 0.04));
  border-block: 1px solid var(--line);
}

.campaign-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
}

.campaign-layout > div {
  display: grid;
  gap: 16px;
}

.level-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.level-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 8, 11, 0.34);
  font-weight: 800;
}

.level-list span {
  color: var(--amber);
  font-family: var(--font-mono);
}

.feature-cards {
  margin-top: 36px;
  grid-template-columns: repeat(3, 1fr);
}

.cta-section {
  padding-top: 40px;
}

.cta-panel {
  max-width: 760px;
  margin-inline: auto;
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
  border-color: rgba(242, 163, 58, 0.38);
}

.cta-panel img {
  border-radius: 18px;
}

.notify {
  width: min(100%, 560px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 8px;
}

.notify input {
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--lab);
  background: rgba(5, 8, 11, 0.55);
}

.notify__error,
.notify__success {
  grid-column: 1 / -1;
  text-align: left;
  font-size: 0.92rem;
}

.notify__error { color: #ff9a90; }
.notify__success { color: var(--green); }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  color: var(--dim);
}

.footer-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  align-items: center;
  gap: 24px;
}

@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed;
    top: var(--header-h);
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(5, 8, 11, 0.94);
  }
  .nav__menu.is-open { display: flex; }
  .hero__layout,
  .split-layout,
  .campaign-layout,
  .footer-layout {
    grid-template-columns: 1fr;
  }
  .lockdown-console { max-width: 560px; width: 100%; margin-inline: auto; }
  .proof-grid,
  .feature-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .hero { padding-top: calc(var(--header-h) + 44px); }
  .proof-grid,
  .feature-board,
  .feature-cards,
  .notify { grid-template-columns: 1fr; }
  .proof-grid div { border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-grid div:last-child { border-bottom: 0; }
  .actual-shot img { aspect-ratio: 16 / 9; }
}

@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;
  }
}
