:root {
  --ink: #071b24;
  --muted: #627780;
  --white: #ffffff;
  --mist: #f7feff;
  --aqua: #51e2f4;
  --aqua-soft: #dffbff;
  --green: #8adf2d;
  --blue: #0d6bff;
  --line: rgba(7, 27, 36, 0.12);
  --shadow: 0 28px 78px rgba(13, 107, 255, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background:
    linear-gradient(90deg, rgba(81, 226, 244, 0.18) 1px, transparent 1px),
    linear-gradient(rgba(81, 226, 244, 0.16) 1px, transparent 1px),
    radial-gradient(circle at 78% 8%, rgba(138, 223, 45, 0.2), transparent 25rem),
    linear-gradient(180deg, #ffffff 0%, #f8feff 60%, #ffffff 100%);
  background-size: 92px 92px, 92px 92px, auto, auto;
  overflow-x: hidden;
}

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

button {
  font: inherit;
}

.scan-cursor {
  --x: 50vw;
  --y: 26vh;
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle at var(--x) var(--y), rgba(81, 226, 244, 0.25), transparent 15rem);
}

.app-shell {
  position: relative;
  z-index: 2;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 44px;
}

.topbar {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand,
.topbar nav,
.actions,
.join-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.brand {
  font-weight: 950;
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  box-shadow: inset 0 -5px 0 rgba(81, 226, 244, 0.35);
}

.topbar nav a,
.join-links a {
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 900;
  backdrop-filter: blur(14px);
  transition: transform 180ms ease, background 180ms ease;
}

.topbar nav a:hover,
.join-links a:hover {
  background: var(--aqua-soft);
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: 670px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  align-items: center;
  gap: 34px;
  padding: 62px 0 42px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 76px 20% 62px -70px;
  z-index: -1;
  background:
    linear-gradient(90deg, transparent 0 48%, rgba(81, 226, 244, 0.28) 48% 52%, transparent 52% 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(223, 251, 255, 0.9));
  border: 1px solid rgba(81, 226, 244, 0.32);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.unlock-panel {
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #0c8299;
  font-size: 0.86rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(4rem, 10vw, 8.2rem);
  line-height: 0.86;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-shadow: 0 12px 0 rgba(81, 226, 244, 0.18);
}

.lead {
  max-width: 600px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.64;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 5px 6px 0 rgba(7, 27, 36, 0.12);
  cursor: pointer;
  font-weight: 950;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 7px 8px 0 rgba(7, 27, 36, 0.1);
}

.button.primary {
  color: var(--white);
  background: var(--ink);
}

.button.soft {
  background: var(--aqua-soft);
}

.face-card {
  position: relative;
  width: min(100%, 460px);
  justify-self: center;
  padding: 28px;
  background: linear-gradient(180deg, #ffffff, #f1feff);
  border: 1px solid rgba(81, 226, 244, 0.45);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  transition: transform 220ms ease;
}

.face-card img {
  width: 100%;
  display: block;
  border-radius: 8px;
  filter: drop-shadow(0 28px 28px rgba(7, 27, 36, 0.13));
}

.scan-line {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 20%;
  height: 3px;
  z-index: 3;
  background: linear-gradient(90deg, transparent, var(--aqua), transparent);
  box-shadow: 0 0 24px rgba(81, 226, 244, 0.9);
  animation: scan 2.8s ease-in-out infinite;
}

.corner {
  position: absolute;
  width: 58px;
  height: 58px;
  border-color: var(--ink);
  border-style: solid;
  z-index: 4;
}

.tl {
  left: 16px;
  top: 16px;
  border-width: 5px 0 0 5px;
}

.tr {
  right: 16px;
  top: 16px;
  border-width: 5px 5px 0 0;
}

.bl {
  left: 16px;
  bottom: 16px;
  border-width: 0 0 5px 5px;
}

.br {
  right: 16px;
  bottom: 16px;
  border-width: 0 5px 5px 0;
}

.status-strip {
  display: flex;
  gap: 12px;
  margin: 6px calc(50% - 50vw) 44px;
  padding: 14px 0;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
  font-weight: 950;
  white-space: nowrap;
}

.status-strip span {
  min-width: max-content;
  padding-inline: 32px;
  animation: move-strip 13s linear infinite;
}

.id-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.id-grid article,
.banner-copy,
.join-section {
  padding: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 20px 56px rgba(13, 107, 255, 0.1);
}

.id-grid article {
  min-height: 205px;
}

.id-grid b {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 36px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
}

.id-grid h2 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.id-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.56;
}

.banner-section {
  display: grid;
  grid-template-columns: 0.62fr 1.38fr;
  align-items: center;
  gap: 22px;
  margin: 54px 0;
}

.banner-copy h2,
.join-section h2 {
  margin-bottom: 0;
  font-size: clamp(1.9rem, 4.8vw, 4.4rem);
  line-height: 0.96;
}

.banner-section img {
  width: 100%;
  display: block;
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: 10px 12px 0 rgba(7, 27, 36, 0.1);
}

.join-section {
  min-height: 300px;
  display: grid;
  align-content: center;
  background:
    radial-gradient(circle at 90% 16%, rgba(138, 223, 45, 0.23), transparent 18rem),
    linear-gradient(135deg, #ffffff, #f3feff);
}

.join-section h2 {
  margin-bottom: 22px;
}

@keyframes scan {
  0%,
  100% {
    top: 18%;
    opacity: 0.2;
  }
  50% {
    top: 78%;
    opacity: 1;
  }
}

@keyframes move-strip {
  to {
    transform: translateX(-100%);
  }
}

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

  .hero,
  .banner-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    inset: 34px -22px 26px;
  }

  .face-card {
    order: -1;
  }

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

@media (max-width: 560px) {
  .app-shell {
    width: min(100% - 22px, 1160px);
    padding-top: 10px;
  }

  .topbar nav {
    width: 100%;
  }

  .topbar nav a {
    flex: 1;
    text-align: center;
  }

  h1 {
    font-size: clamp(3.2rem, 16vw, 5rem);
  }

  .lead {
    font-size: 1.04rem;
  }

  .button {
    width: 100%;
  }
}
