:root {
  --bg: #090912;
  --bg-2: #11111f;
  --panel: rgba(22, 21, 34, 0.76);
  --panel-solid: #161522;
  --ink: #fbfaff;
  --muted: #aca7bc;
  --soft: #7f7891;
  --line: rgba(173, 181, 232, 0.18);
  --line-strong: rgba(228, 225, 255, 0.32);
  --blue: #9aa6d8;
  --rose: #d4a1ad;
  --copper: #b98b79;
  --white: #ffffff;
  --shadow: 0 26px 90px rgba(0, 0, 0, 0.55);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: "Archivo", sans-serif;
  background:
    linear-gradient(125deg, rgba(83, 96, 151, 0.22), transparent 34%),
    linear-gradient(235deg, rgba(119, 83, 93, 0.24), transparent 28%),
    linear-gradient(180deg, #090912 0%, #11111f 48%, #07070d 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, black 0%, rgba(0, 0, 0, 0.55) 46%, transparent 90%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, transparent 0 58%, rgba(228, 225, 255, 0.055) 58% 58.1%, transparent 58.1%),
    linear-gradient(118deg, transparent 0 32%, rgba(212, 161, 173, 0.055) 32% 32.15%, transparent 32.15%);
}

a,
button {
  font: inherit;
}

a {
  color: inherit;
}

.page-grid {
  display: none;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  min-height: 82px;
  margin: 16px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(228, 225, 255, 0.16);
  border-radius: 24px;
  background: rgba(12, 12, 21, 0.72);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(20px);
}

.brand,
.site-nav,
.hero-actions,
.download-actions {
  display: flex;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-width: 0;
  text-decoration: none;
  transform: translateZ(0);
}

.brand-icon-wrap {
  display: grid;
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(228, 225, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.26);
}

.brand-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-nav {
  justify-self: center;
  justify-content: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(228, 225, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
}

.site-nav a,
.header-cta {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 800;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
}

.site-nav a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.07);
}

.header-cta {
  justify-self: end;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(212, 161, 173, 0.3);
  border-radius: 999px;
  padding: 0 16px;
  background: rgba(212, 161, 173, 0.08);
  color: var(--ink);
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 40px;
}

.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(440px, 1fr);
  gap: clamp(30px, 4vw, 58px);
  align-items: center;
  min-height: calc(100vh - 86px);
  padding: 44px 0 64px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  animation: reveal 700ms ease both;
}

.hero-badge,
.eyebrow {
  width: fit-content;
  margin: 0 0 18px;
  color: var(--blue);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-badge {
  border: 1px solid rgba(154, 166, 216, 0.24);
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(154, 166, 216, 0.08);
}

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

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  max-width: 700px;
  margin-bottom: 24px;
  font-size: clamp(3.7rem, 6.2vw, 6.4rem);
  font-weight: 900;
  line-height: 0.88;
}

h1::first-line {
  color: var(--white);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.3rem, 5vw, 5.2rem);
  font-weight: 900;
  line-height: 0.9;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
}

.hero-text {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.7;
}

.hero-actions,
.download-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 20px;
  text-decoration: none;
  font-weight: 900;
}

.primary-action {
  background: var(--ink);
  color: #0b0a12;
  box-shadow: 0 20px 50px rgba(251, 250, 255, 0.16);
}

.secondary-action {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(251, 250, 255, 0.05);
}

.primary-action:hover,
.secondary-action:hover,
.header-cta:hover {
  transform: translateY(-1px);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 650px;
  margin-top: 34px;
}

.hero-proof div {
  min-height: 92px;
  border-top: 1px solid rgba(228, 225, 255, 0.22);
  padding-top: 14px;
}

.hero-proof strong {
  display: block;
  font-size: clamp(1.8rem, 4vw, 3.25rem);
  line-height: 1;
}

.hero-proof span {
  display: block;
  margin-top: 8px;
  color: var(--soft);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.desktop-visual {
  position: relative;
  min-height: 600px;
  border: 1px solid rgba(228, 225, 255, 0.2);
  border-radius: 30px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(83, 96, 151, 0.22), rgba(119, 83, 93, 0.08) 40%, rgba(8, 8, 14, 0.78)),
    rgba(16, 15, 26, 0.82);
  box-shadow: var(--shadow);
  animation: reveal 900ms ease 120ms both;
}

.desktop-visual::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, transparent 0 49%, rgba(228, 225, 255, 0.06) 49% 49.15%, transparent 49.15%),
    repeating-linear-gradient(0deg, transparent 0 20px, rgba(251, 250, 255, 0.025) 21px);
}

.logo-plate {
  position: absolute;
  right: 24px;
  top: 24px;
  z-index: 4;
  width: 118px;
  height: 118px;
  overflow: hidden;
  border: 1px solid rgba(228, 225, 255, 0.16);
  border-radius: 28px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.36);
}

.logo-plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.window-bar {
  display: grid;
  grid-template-columns: 12px 12px 12px 1fr;
  gap: 8px;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(228, 225, 255, 0.14);
  background: rgba(10, 10, 18, 0.68);
}

.window-bar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(251, 250, 255, 0.22);
}

.window-bar span:first-child {
  background: var(--rose);
}

.window-bar p {
  margin: 0 0 0 8px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
}

.app-preview {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 76px 1fr;
  min-height: 566px;
}

.preview-rail {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 18px;
  padding-top: 24px;
  border-right: 1px solid rgba(228, 225, 255, 0.12);
  background: rgba(11, 10, 18, 0.34);
}

.preview-rail img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  object-fit: cover;
}

.rail-dot {
  width: 32px;
  height: 7px;
  border-radius: 999px;
  background: rgba(251, 250, 255, 0.13);
}

.rail-dot.active {
  background: var(--rose);
}

.preview-main {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 30px;
}

.preview-status,
.task-stack div,
.mission-board article,
.privacy-list article,
.earn-grid article,
.counter-band article {
  border: 1px solid rgba(228, 225, 255, 0.14);
  border-radius: 20px;
  background: rgba(11, 10, 18, 0.5);
}

.preview-status {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  max-width: calc(100% - 132px);
}

.preview-status p,
.preview-points span,
.counter-band span,
.mission-type,
.privacy-list span {
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  text-transform: uppercase;
}

.preview-status p,
.preview-status strong {
  margin: 0;
}

.preview-status strong {
  display: block;
  margin-top: 6px;
  font-size: 2rem;
}

.live-pill {
  align-self: start;
  border-radius: 999px;
  padding: 8px 10px;
  background: rgba(154, 166, 216, 0.14);
  color: var(--blue);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
}

.preview-points {
  padding: 22px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(251, 250, 255, 0.96), rgba(154, 166, 216, 0.92) 58%, rgba(212, 161, 173, 0.88)),
    #fff;
  color: #11111f;
}

.preview-points strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(3.2rem, 7vw, 6.2rem);
  line-height: 0.84;
}

.signal-panel {
  display: grid;
  height: 142px;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(228, 225, 255, 0.14);
  border-radius: 22px;
  background: rgba(11, 10, 18, 0.38);
}

.signal-panel span {
  display: block;
  min-height: 20px;
  border-radius: 12px 12px 4px 4px;
  background: linear-gradient(180deg, var(--rose), rgba(154, 166, 216, 0.28));
  animation: barPulse 2.4s ease-in-out infinite alternate;
}

.signal-panel span:nth-child(2n) {
  animation-delay: 320ms;
}

.task-stack {
  display: grid;
  gap: 10px;
}

.task-stack div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  color: var(--ink);
  font-weight: 800;
}

.task-stack span {
  color: var(--rose);
  font-family: "IBM Plex Mono", monospace;
}

.counter-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: -28px;
  position: relative;
  z-index: 3;
}

.counter-band article {
  padding: 18px;
  background: rgba(15, 14, 24, 0.76);
  backdrop-filter: blur(18px);
}

.counter-band strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.8rem, 4vw, 3.25rem);
  line-height: 1;
}

.section {
  padding: 110px 0 0;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 42px;
}

.earn-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.earn-grid article,
.mission-board article,
.privacy-list article {
  padding: 22px;
}

.earn-grid span {
  color: var(--rose);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 800;
}

.earn-grid p,
.mission-board p,
.privacy-copy p,
.section-intro,
.download-panel p,
.site-footer p {
  color: var(--muted);
  line-height: 1.65;
}

.section-intro {
  max-width: 520px;
  margin-bottom: 0;
}

.section-heading {
  max-width: 760px;
}

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

.mission-board article {
  display: grid;
  min-height: 260px;
  align-content: space-between;
  background:
    linear-gradient(180deg, rgba(154, 166, 216, 0.08), transparent),
    rgba(15, 14, 24, 0.74);
}

.mission-board strong {
  color: var(--rose);
  font-family: "IBM Plex Mono", monospace;
  font-size: 1.3rem;
}

.privacy-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: center;
}

.privacy-copy {
  padding: 34px;
  border: 1px solid rgba(228, 225, 255, 0.14);
  border-radius: 26px;
  background: rgba(15, 14, 24, 0.72);
}

.privacy-list {
  display: grid;
  gap: 12px;
}

.privacy-list strong {
  display: block;
  margin-top: 8px;
  font-size: 1.05rem;
  line-height: 1.45;
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 110px;
  padding: 34px;
  border: 1px solid rgba(228, 225, 255, 0.18);
  border-radius: 30px;
  background:
    linear-gradient(125deg, rgba(154, 166, 216, 0.14), rgba(212, 161, 173, 0.08) 45%, rgba(15, 14, 24, 0.86)),
    rgba(15, 14, 24, 0.76);
}

code {
  color: var(--rose);
  font-family: "IBM Plex Mono", monospace;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 42px;
  color: var(--muted);
}

.site-footer span {
  color: var(--ink);
  font-weight: 900;
}

.site-footer p {
  max-width: 680px;
  margin-bottom: 0;
  font-size: 0.9rem;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes barPulse {
  to {
    filter: brightness(1.18);
    transform: scaleY(0.86);
  }
}

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

  .site-nav {
    justify-self: center;
  }

  .hero-section,
  .split-section,
  .privacy-section,
  .download-panel {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 860px;
    font-size: clamp(3.6rem, 10vw, 6.2rem);
  }

  .desktop-visual {
    min-height: auto;
  }

  .counter-band,
  .mission-board {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border-radius: 22px;
  }

  .brand-icon-wrap {
    width: 58px;
    height: 58px;
    border-radius: 16px;
  }

  .site-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 4px;
  }

  .site-nav a {
    padding: 9px 12px;
    font-size: 0.86rem;
  }

  .hero-section {
    min-height: auto;
    padding-top: 40px;
  }

  h1 {
    font-size: 3.5rem;
  }

  .hero-proof,
  .counter-band,
  .mission-board,
  .earn-grid {
    grid-template-columns: 1fr;
  }

  .app-preview {
    grid-template-columns: 1fr;
  }

  .preview-rail,
  .logo-plate {
    display: none;
  }

  .preview-status {
    max-width: none;
  }

  .site-footer {
    display: block;
  }
}

@media (max-width: 470px) {
  main,
  .site-header,
  .site-footer {
    width: calc(100% - 24px);
  }

  .site-header {
    padding: 12px;
  }

  .header-cta {
    display: none;
  }

  .site-nav {
    border-radius: 16px;
  }

  h1 {
    font-size: 2.75rem;
  }

  h2 {
    font-size: 2.3rem;
  }

  .preview-main,
  .download-panel,
  .privacy-copy {
    padding: 18px;
  }

  .preview-points strong {
    font-size: 3rem;
  }
}
