:root {
  --bg: #0c1118;
  --bg-elevated: #141b26;
  --text: #f2f5f8;
  --muted: #8b9aab;
  --accent: #3b82f6;
  --accent-soft: rgba(59, 130, 246, 0.14);
  --line: rgba(148, 163, 184, 0.18);
  --max: 1080px;
  --radius: 16px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(ellipse 70% 45% at 50% -8%, rgba(59, 130, 246, 0.22), transparent 55%),
    radial-gradient(ellipse 45% 35% at 100% 30%, rgba(14, 165, 233, 0.1), transparent 50%),
    radial-gradient(ellipse 40% 30% at 0% 80%, rgba(99, 102, 241, 0.08), transparent 45%),
    var(--bg);
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.shell {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0 0.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: inherit;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35);
}

.brand-text strong {
  display: block;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.82rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  font-size: 0.9rem;
}

.nav a {
  color: var(--muted);
}

.nav a:hover {
  color: var(--text);
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem 0 2rem;
  min-height: min(70vh, 560px);
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.hero h1 em {
  font-style: normal;
  color: #93c5fd;
}

.lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.15rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  filter: brightness(1.08);
}

.btn-store {
  background: #111827;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
}

.btn-store:hover {
  filter: brightness(1.12);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: var(--text);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.phone {
  width: min(280px, 100%);
  aspect-ratio: 9 / 16;
  border-radius: 28px;
  padding: 14px;
  background: linear-gradient(160deg, #1a2332, #0f1520);
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phone-bar {
  height: 10px;
  width: 36%;
  margin: 4px auto 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.phone-row {
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.phone-row.accent {
  background: var(--accent-soft);
  border-color: rgba(59, 130, 246, 0.35);
}

.phone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  flex: 1;
}

.phone-tile {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.ad-slot {
  margin: 1rem 0 2rem;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section {
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
}

.section h2 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
}

.section > p {
  margin: 0 0 1.5rem;
  color: var(--muted);
  max-width: 40rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature {
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.feature strong {
  display: block;
  margin-bottom: 0.35rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.footer a {
  color: var(--muted);
}

.footer a:hover {
  color: var(--text);
}

/* Legal / support pages */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.legal .brand-label {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.legal h1 {
  margin: 0 0 0.35rem;
  font-size: 1.85rem;
}

.legal .meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.legal h2 {
  margin: 1.75rem 0 0.55rem;
  font-size: 1.15rem;
  color: #93c5fd;
}

.legal p,
.legal li {
  font-size: 0.98rem;
}

.legal ul {
  padding-left: 1.25rem;
}

.highlight {
  background: var(--accent-soft);
  border: 1px solid rgba(59, 130, 246, 0.28);
  border-radius: 12px;
  padding: 0.95rem 1.05rem;
  margin: 1rem 0;
  font-size: 0.95rem;
}

.cta {
  display: inline-block;
  margin: 0.5rem 0 1.25rem;
  padding: 0.75rem 1.1rem;
  border-radius: 10px;
  background: var(--accent);
  color: #fff !important;
  font-weight: 600;
  text-decoration: none !important;
}

.legal-nav {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.legal footer {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--muted);
  border: 0;
  padding: 0;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 1.5rem;
  }

  .hero-visual {
    order: -1;
  }

  .phone {
    width: min(220px, 70%);
  }

  .features {
    grid-template-columns: 1fr;
  }

  .header {
    flex-direction: column;
    align-items: flex-start;
  }
}
