:root {
  --bg: #0f0f14;
  --bg-soft: #15151d;
  --card: #1c1c24;
  --card-strong: #242431;
  --line: #2e2e38;
  --text: #ffffff;
  --muted: #a5a5b3;
  --faint: #666675;
  --indigo: #6366f1;
  --pink: #ec4899;
  --violet: #8a5cf6;
  --green: #10b981;
  --gold: #fbbf24;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 18% 10%, rgba(99, 102, 241, 0.22), transparent 34rem),
    radial-gradient(circle at 82% 0%, rgba(236, 72, 153, 0.18), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif;
  line-height: 1.7;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1160px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  padding: 14px 0;
  backdrop-filter: blur(18px);
}

.site-header::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  height: 76px;
  z-index: -1;
  border-bottom: 1px solid rgba(46, 46, 56, 0.58);
  background: rgba(15, 15, 20, 0.72);
}

.site-header.compact {
  margin-bottom: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-weight: 800;
}

.brand img {
  border-radius: 12px;
  box-shadow: 0 12px 34px rgba(236, 72, 153, 0.22);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a {
  border-radius: 999px;
  padding: 9px 13px;
  transition: color 180ms ease, background 180ms ease;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.nav-toggle {
  display: none;
  place-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(28, 28, 36, 0.92);
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  align-items: center;
  gap: 52px;
  width: min(1160px, calc(100% - 32px));
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: 58px 0 70px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--pink);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.3rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.15rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 14px;
  padding: 0 22px;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--pink), var(--violet));
  box-shadow: 0 18px 42px rgba(236, 72, 153, 0.24);
}

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

.app-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
  margin: 34px 0 0;
}

.app-meta div {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(28, 28, 36, 0.7);
  padding: 15px;
}

.app-meta dt {
  color: var(--faint);
  font-size: 0.8rem;
}

.app-meta dd {
  margin: 4px 0 0;
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.phone-stage {
  display: grid;
  place-items: center;
  min-height: 650px;
}

.phone-shell {
  width: min(360px, 88vw);
  aspect-ratio: 9 / 18.5;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 44px;
  background: linear-gradient(145deg, #292933, #101016);
  box-shadow: var(--shadow);
  padding: 14px;
}

.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(99, 102, 241, 0.22), transparent 36%),
    var(--bg-soft);
  padding: 24px 18px;
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.8);
}

.screen-logo {
  width: 112px;
  height: 112px;
  margin: 42px auto 34px;
  border-radius: 28px;
  box-shadow: 0 16px 44px rgba(236, 72, 153, 0.24);
}

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

.metric-grid div,
.progress-card,
.feature-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(28, 28, 36, 0.86);
}

.metric-grid div {
  min-height: 92px;
  padding: 16px 12px;
}

.metric-grid strong {
  display: block;
  font-size: 1.75rem;
  line-height: 1;
}

.metric-grid span {
  color: var(--muted);
  font-size: 0.82rem;
}

.progress-card {
  margin-top: 12px;
  padding: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.progress-card i {
  display: block;
  width: 74%;
  height: 8px;
  margin-top: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--indigo));
}

.section-band,
.split-section,
.download-band {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 32px;
}

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

.feature-card {
  min-height: 260px;
  padding: 22px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.feature-mark {
  display: inline-flex;
  margin-bottom: 36px;
  color: var(--pink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.privacy-points p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.inline-actions a {
  border-bottom: 1px solid rgba(236, 72, 153, 0.65);
  color: var(--text);
  font-weight: 800;
}

.download-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.download-band p {
  max-width: 640px;
  margin: 16px 0 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer nav {
  display: flex;
  gap: 16px;
}

.site-footer a:hover {
  color: var(--text);
}

.legal-page {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 80px;
}

.legal-document {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(28, 28, 36, 0.76);
  box-shadow: var(--shadow);
  padding: clamp(22px, 5vw, 54px);
}

.legal-document h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
}

.legal-document h2 {
  margin-top: 38px;
  font-size: 1.35rem;
}

.legal-document p,
.legal-document li {
  color: var(--muted);
}

.legal-document a {
  color: var(--text);
  border-bottom: 1px solid var(--pink);
}

.legal-document ul {
  padding-inline-start: 22px;
}

.updated {
  margin-top: 10px;
  color: var(--faint);
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 48px;
  }

  .phone-stage {
    min-height: 560px;
  }

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

  .split-section,
  .download-band {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: grid;
  }

  .nav-links:not(.always-visible) {
    position: absolute;
    top: 68px;
    inset-inline: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(21, 21, 29, 0.98);
    padding: 8px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links.always-visible {
    gap: 2px;
    font-size: 0.86rem;
  }

  .nav-links.always-visible a {
    padding: 8px;
  }

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

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

  .feature-card {
    min-height: auto;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .brand span {
    max-width: 146px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .phone-stage {
    min-height: 500px;
  }
}
