:root {
  --bg: #08080b;
  --panel: rgba(255, 255, 255, 0.065);
  --panel-strong: rgba(255, 255, 255, 0.105);
  --stroke: rgba(255, 255, 255, 0.14);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.68);
  --soft: rgba(255, 255, 255, 0.48);
  --purple: #7c3aed;
  --purple-2: #a855f7;
  --green: #35d05a;
  --shadow: 0 24px 80px rgba(124, 58, 237, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 0%, rgba(124, 58, 237, 0.34), transparent 28rem),
    radial-gradient(circle at 0% 45%, rgba(168, 85, 247, 0.24), transparent 20rem),
    linear-gradient(180deg, #120b1f 0%, var(--bg) 42%, #030304 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

.page {
  width: min(100%, 460px);
  margin: 0 auto;
  padding: 18px 20px 32px;
  overflow: hidden;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.nav-link {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero {
  position: relative;
  padding: 24px 0 34px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #d9c6ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 390px;
  font-size: clamp(42px, 12vw, 62px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero-copy {
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
  font-weight: 650;
}

.cta-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 24px;
}

.store-badge,
.store-button,
.primary-button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 20px;
  font-size: 17px;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.primary-button {
  background: linear-gradient(100deg, var(--purple), var(--purple-2));
  box-shadow: var(--shadow), inset 0 -2px 0 rgba(255, 255, 255, 0.28);
}

.store-button {
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.9);
}

.store-badge {
  min-height: 62px;
  justify-content: flex-start;
  gap: 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  background: #ffffff;
  color: #08080b;
  box-shadow: 0 18px 52px rgba(255, 255, 255, 0.12), 0 14px 42px rgba(0, 0, 0, 0.28);
}

.store-copy {
  display: grid;
  gap: 2px;
  text-align: left;
}

.store-copy span {
  color: rgba(8, 8, 11, 0.66);
  font-size: 12px;
  line-height: 1;
  font-weight: 750;
}

.store-badge b {
  font-size: 19px;
  line-height: 1.08;
}

.store-icon {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.app-preview {
  position: relative;
  margin: 34px auto 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 44px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.5);
}

.phone-screen {
  position: relative;
  overflow: hidden;
  min-height: 540px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 20%, rgba(124, 58, 237, 0.32), transparent 15rem),
    linear-gradient(180deg, #141019, #060607 78%);
  padding: 22px;
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-title {
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.score-pill {
  padding: 8px 12px;
  border: 1px solid rgba(168, 85, 247, 0.45);
  border-radius: 18px;
  background: rgba(124, 58, 237, 0.22);
  font-size: 12px;
  font-weight: 800;
  color: #dec9ff;
}

.face-card {
  position: relative;
  overflow: hidden;
  margin-top: 24px;
  min-height: 352px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 34px;
  background: #101012;
}

.face-card img {
  width: 100%;
  height: 352px;
  object-fit: cover;
  opacity: 0.86;
}

.face-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.82) 100%);
}

.scan-frame {
  position: absolute;
  inset: 24px;
  z-index: 2;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  opacity: 0.54;
}

.unlock-card {
  position: absolute;
  z-index: 3;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  background: rgba(13, 13, 16, 0.78);
  backdrop-filter: blur(18px);
}

.unlock-card strong {
  display: block;
  font-size: 22px;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.mini-scores {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.mini-score {
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.mini-score span {
  color: var(--soft);
  font-size: 12px;
  font-weight: 800;
}

.mini-score b {
  display: block;
  margin-top: 4px;
  font-size: 26px;
  line-height: 1;
}

.progress {
  height: 7px;
  margin-top: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--purple), var(--purple-2));
}

.section {
  padding: 44px 0 0;
}

.section h2 {
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.section-lead {
  margin-top: 12px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 620;
}

.feature-grid,
.testimonial-grid {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.feature-card,
.testimonial,
.legal-card {
  border: 1px solid var(--stroke);
  border-radius: 28px;
  background: var(--panel);
  padding: 20px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.2);
}

.feature-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(124, 58, 237, 0.26);
  color: #e7d7ff;
  font-size: 20px;
  font-weight: 900;
}

.feature-card h3,
.testimonial h3 {
  margin-top: 14px;
  font-size: 20px;
  letter-spacing: -0.035em;
}

.feature-card p,
.testimonial p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
  font-weight: 600;
}

.scratch-demo {
  position: relative;
  margin-top: 22px;
  border: 1px solid var(--stroke);
  border-radius: 36px;
  background:
    radial-gradient(circle at 50% 0%, rgba(168, 85, 247, 0.34), transparent 15rem),
    rgba(255, 255, 255, 0.06);
  padding: 24px;
  overflow: hidden;
}

.scratch-demo::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(124, 58, 237, 0.2), transparent 58%);
  pointer-events: none;
}

.demo-logo-wrap,
.demo-token-list {
  position: relative;
  z-index: 1;
}

.demo-logo-wrap {
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.demo-token-list {
  display: grid;
  gap: 10px;
}

.result-token {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  padding: 14px 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.result-token b {
  display: block;
  font-size: 24px;
}

.result-token span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.center-logo {
  width: 92px;
  height: 92px;
  border-radius: 28px;
  box-shadow: 0 0 50px rgba(168, 85, 247, 0.38);
}

.testimonial {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.045));
}

.stars {
  color: #ffd84f;
  letter-spacing: 2px;
}

.testimonial-author {
  display: block;
  margin-top: 14px;
  color: #e7d7ff;
  font-size: 14px;
  font-weight: 850;
}

.download-row {
  margin-top: 44px;
  padding: 28px 20px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 0%, rgba(168, 85, 247, 0.42), transparent 14rem),
    rgba(255, 255, 255, 0.06);
  border: 1px solid var(--stroke);
  text-align: center;
}

.download-row h2 {
  font-size: 34px;
}

.footer {
  padding: 34px 0 8px;
  color: var(--soft);
  font-size: 13px;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-bottom: 18px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 750;
}

.legal-page {
  padding-top: 18px;
}

.legal-page h1 {
  font-size: 38px;
}

.legal-card {
  margin-top: 22px;
}

.legal-card h2 {
  margin-top: 26px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 560;
}

.legal-card p {
  margin-top: 10px;
}

.legal-card ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.legal-updated {
  margin-top: 12px;
  color: var(--soft);
  font-weight: 700;
}

@media (min-width: 760px) {
  .page {
    width: min(100%, 980px);
    padding-inline: 32px;
  }

  .hero {
    display: grid;
    grid-template-columns: 0.95fr 1fr;
    gap: 50px;
    align-items: center;
    min-height: 720px;
  }

  .app-preview {
    margin-top: 0;
  }

  .feature-grid,
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cta-row {
    grid-template-columns: 1fr 1fr;
  }
}
