:root {
  color-scheme: dark;
  --bg: #090a0c;
  --panel: #14161a;
  --panel-2: #1d2025;
  --text: #f7f2ea;
  --muted: #b9b0a4;
  --soft: #7d8590;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #c7ff00;
  --accent-ink: #111800;
  --amber: #f6c45f;
  --green: #c7ff00;
  --blue: #9ec7ff;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(199, 255, 0, 0.16), transparent 30rem),
    radial-gradient(circle at 100% 20%, rgba(142, 215, 163, 0.12), transparent 26rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(9, 10, 12, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.brand img {
  border-radius: 8px;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  color: var(--muted);
  font-size: 0.94rem;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(32px, 7vw, 92px);
  align-items: center;
  min-height: min(760px, calc(100vh - 118px));
  padding: clamp(40px, 7vw, 96px) clamp(18px, 6vw, 86px);
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.lede {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--radius);
  font-weight: 750;
}

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

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 8px 16px 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: #050505;
  color: #fff;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.app-store-badge:hover {
  border-color: rgba(255, 255, 255, 0.42);
}

.app-store-badge svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
  flex: 0 0 auto;
}

.app-store-badge span {
  display: grid;
  line-height: 1.05;
  font-size: 1.16rem;
  font-weight: 800;
}

.app-store-badge small {
  font-size: 0.66rem;
  font-weight: 650;
}

.phone-preview {
  display: grid;
  place-items: center;
}

.phone-shell {
  width: min(100%, 360px);
  aspect-ratio: 0.49;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 34px;
  background: linear-gradient(145deg, #272a30, #08090b);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.phone-screen {
  height: 100%;
  overflow: hidden;
  border-radius: 26px;
  background: #111;
}

.mock-photo {
  position: relative;
  height: 100%;
  background:
    linear-gradient(150deg, rgba(10, 10, 10, 0.1), rgba(0, 0, 0, 0.72)),
    url("memero-qr.png") center 26% / 58% auto no-repeat,
    linear-gradient(135deg, #f0b45b, #34516a 46%, #0d1116);
}

.mock-topbar {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.mock-overlay {
  position: absolute;
  inset: auto 18px 28px;
}

.mock-badge {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
}

.mock-overlay h2 {
  margin-bottom: 12px;
  font-size: 2.6rem;
  line-height: 0.98;
}

.mock-overlay p:not(.mock-badge) {
  color: rgba(255, 255, 255, 0.82);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 clamp(18px, 6vw, 86px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.proof-strip div {
  padding: 24px;
  background: rgba(255, 255, 255, 0.045);
}

.proof-strip strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.1rem;
}

.proof-strip span {
  color: var(--muted);
}

.section {
  padding: clamp(72px, 10vw, 128px) clamp(18px, 6vw, 86px);
}

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

.section h2,
.detail-band h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 1;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-grid article,
.privacy-card {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
}

.feature-icon {
  display: inline-flex;
  margin-bottom: 58px;
  color: var(--green);
  font-weight: 850;
}

.feature-grid h3 {
  margin-bottom: 10px;
  font-size: 1.24rem;
}

.feature-grid p,
.privacy-card p {
  color: var(--muted);
}

.detail-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: 28px;
  align-items: end;
  padding: clamp(50px, 8vw, 88px) clamp(18px, 6vw, 86px);
  background:
    linear-gradient(90deg, rgba(199, 255, 0, 0.18), rgba(158, 199, 255, 0.12)),
    var(--panel);
  border-block: 1px solid var(--line);
}

.detail-band p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.privacy-summary {
  padding-top: clamp(72px, 8vw, 108px);
}

.privacy-card {
  min-height: 0;
  max-width: 820px;
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--accent);
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 6vw, 86px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer span {
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.policy-page {
  padding: clamp(40px, 7vw, 90px) clamp(18px, 6vw, 86px);
}

.policy-hero {
  max-width: 860px;
  margin-bottom: 48px;
}

.policy-hero h1 {
  font-size: clamp(2.7rem, 6vw, 5.4rem);
}

.updated {
  color: var(--soft);
}

.policy-content {
  max-width: 860px;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.policy-content h2 {
  margin: 34px 0 8px;
  font-size: 1.28rem;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content p {
  color: var(--muted);
}

@media (max-width: 980px) {
  .hero,
  .detail-band {
    grid-template-columns: 1fr;
  }

  .phone-preview {
    justify-content: start;
  }

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

@media (max-width: 680px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    flex-wrap: wrap;
    font-size: 0.9rem;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: 3.05rem;
  }

  .proof-strip,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .proof-strip {
    margin-inline: 18px;
  }

  .phone-shell {
    width: min(100%, 310px);
  }

  .mock-overlay h2 {
    font-size: 2.1rem;
  }
}
