/* Actually marketing site — dark / red brand */

:root {
  --bg: #050505;
  --bg-elevated: #0c0c0e;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.62);
  --accent: #e61c24;
  --accent-soft: rgba(230, 28, 36, 0.18);
  --border: rgba(255, 255, 255, 0.1);
  --font-display: "Syne", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-body);
  font-optical-sizing: auto;
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

/* Atmosphere — not flat black */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 60% at 70% -10%, rgba(230, 28, 36, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 50% at 10% 40%, rgba(255, 255, 255, 0.04), transparent 50%),
    radial-gradient(ellipse 80% 40% at 50% 100%, rgba(230, 28, 36, 0.08), transparent 55%),
    linear-gradient(180deg, #000 0%, #070708 40%, #050505 100%);
  animation: atmosphere-drift 18s ease-in-out infinite alternate;
}

.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: overlay;
}

@keyframes atmosphere-drift {
  from {
    filter: hue-rotate(0deg) brightness(1);
    transform: scale(1);
  }
  to {
    filter: hue-rotate(-6deg) brightness(1.05);
    transform: scale(1.03);
  }
}

/* Header */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}

.nav-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  opacity: 0.85;
}

.nav-mark:hover {
  opacity: 1;
}

.nav-cta {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.nav-cta:hover {
  color: var(--text);
  border-color: var(--accent);
}

/* Hero — one composition */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 6.5rem 1.5rem 4rem;
}

.hero-copy {
  max-width: 32rem;
  animation: rise 0.9s var(--ease) both;
}

.brand {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.25rem, 8vw, 5.5rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.hero h1 {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.92);
}

.lede {
  margin: 0 0 1.75rem;
  max-width: 28rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 40px rgba(230, 28, 36, 0.35);
}

.btn-primary:hover {
  background: #f02830;
  box-shadow: 0 16px 48px rgba(230, 28, 36, 0.45);
}

.btn-ghost {
  color: var(--muted);
  border: 1px solid var(--border);
  background: transparent;
}

.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.28);
}

/* Phone visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: rise 1.1s 0.12s var(--ease) both;
}

.phone {
  position: relative;
  width: min(280px, 72vw);
}

.phone-bezel {
  position: relative;
  aspect-ratio: 9 / 19.2;
  border-radius: 2.4rem;
  background: linear-gradient(160deg, #2a2a2e 0%, #111114 40%, #0a0a0c 100%);
  padding: 0.55rem;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 40px 80px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(230, 28, 36, 0.12);
}

.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 1.95rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(230, 28, 36, 0.12) 0%, transparent 35%),
    linear-gradient(160deg, #1a1a1e 0%, #0d0d10 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem 1.1rem 1.5rem;
  gap: 0.55rem;
}

.island {
  position: absolute;
  top: 0.85rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 7.5rem;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  background: #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.island-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: island-glow 1.6s ease-in-out infinite;
}

.island-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.85);
}

.island-pulse {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(230, 28, 36, 0.18), transparent);
  transform: translateX(-100%);
  animation: island-sweep 2.4s ease-in-out infinite;
}

@keyframes island-glow {
  0%, 100% { opacity: 0.55; box-shadow: 0 0 0 0 rgba(230, 28, 36, 0.4); }
  50% { opacity: 1; box-shadow: 0 0 10px 2px rgba(230, 28, 36, 0.55); }
}

@keyframes island-sweep {
  0% { transform: translateX(-100%); }
  55%, 100% { transform: translateX(100%); }
}

.feed-line {
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.feed-line-a { width: 92%; }
.feed-line-b { width: 78%; }
.feed-line-c { width: 64%; margin-bottom: 0.85rem; }

.verdict {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 0.9rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.verdict-mark {
  width: 1.6rem;
  height: 1.6rem;
  color: #fff;
  flex-shrink: 0;
}

.verdict p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.tap-ripple,
.tap-ripple-delay {
  position: absolute;
  right: -8%;
  top: 42%;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  border: 1.5px solid rgba(230, 28, 36, 0.55);
  pointer-events: none;
  animation: tap-ring 2.4s var(--ease) infinite;
}

.tap-ripple-delay {
  animation-delay: 0.7s;
}

@keyframes tap-ring {
  0% { transform: scale(0.55); opacity: 0.8; }
  100% { transform: scale(1.85); opacity: 0; }
}

.tap-caption {
  position: absolute;
  right: -4%;
  top: calc(42% + 3.4rem);
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5.5rem 1.5rem;
}

.section h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.section-lede {
  margin: 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.how .section-lede {
  margin-bottom: 2.75rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 2rem;
  counter-reset: none;
}

.steps li {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}

.step-num {
  display: block;
  margin-bottom: 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.steps h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.025em;
}

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

.privacy {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.privacy .section-lede {
  max-width: 38rem;
}

.cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.cta .section-lede {
  margin-bottom: 0.5rem;
}

.android-note {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.38);
}

/* Footer */
.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--border);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: -0.02em;
  opacity: 0.7;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
}

.footer-links a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.42);
  transition: color 0.2s var(--ease);
}

.footer-links a:hover {
  color: var(--muted);
}

.footer-copy {
  margin: 0;
  text-align: right;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.32);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .atmosphere,
  .island-dot,
  .island-pulse,
  .tap-ripple,
  .tap-ripple-delay,
  .hero-copy,
  .hero-visual {
    animation: none !important;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 5.5rem;
    padding-bottom: 3rem;
    gap: 3rem;
    text-align: center;
  }

  .hero-copy {
    max-width: none;
    margin: 0 auto;
  }

  .lede {
    margin-left: auto;
    margin-right: auto;
  }

  .cta-group {
    justify-content: center;
  }

  .phone {
    width: min(240px, 68vw);
  }

  .tap-caption {
    right: auto;
    left: 50%;
    top: auto;
    bottom: -2.2rem;
    transform: translateX(-50%);
  }

  .tap-ripple,
  .tap-ripple-delay {
    right: auto;
    left: 50%;
    top: auto;
    bottom: 8%;
    margin-left: -1.6rem;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .how .section-lede,
  .privacy .section-lede {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .how h2,
  .privacy h2 {
    text-align: center;
  }

  .site-footer {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .footer-copy {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .brand {
    font-size: clamp(2.75rem, 14vw, 3.5rem);
  }

  .cta-group {
    flex-direction: column;
    width: 100%;
  }

  .cta-group .btn {
    width: 100%;
  }
}
