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

:root {
  color-scheme: dark;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --bg: #000000;
  --text: #f8fafc;
  --text-muted: rgba(248, 250, 252, 0.65);
  --surface: #ffffff;
  --surface-muted: rgba(255, 255, 255, 0.05);
  --accent: #007aff;
  --accent-secondary: #34c759;
  --border: rgba(255, 255, 255, 0.2);
  --shadow-card: 0 35px 90px rgba(0, 0, 0, 0.55);
  --radius-large: 32px;
  --radius-medium: 20px;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

main {
  max-width: 1200px;
  margin: 0 auto;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.78rem;
  color: var(--accent-secondary);
  font-weight: 600;
}

.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
}

.skip-link {
  position: absolute;
  top: -50px;
  left: 24px;
  background: var(--text);
  color: var(--bg);
  padding: 12px 22px;
  border-radius: 999px;
  transition: top 0.2s ease;
  z-index: 999;
}

.skip-link:focus {
  top: 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(20px, 5vw, 60px);
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
}

.logo-mark {
  width: 56px;
  height: 56px;
  display: block;
  object-fit: contain;
  border-radius: 8px;
  /* Remove white background by using dark background that matches site */
  background: rgba(255, 255, 255, 0.05);
  padding: 4px;
  box-sizing: border-box;
}

.logo-title {
  margin: 0;
  font-weight: 600;
  font-size: 1.1rem;
}

.logo-tagline {
  margin: 2px 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  font-weight: 500;
  color: var(--text-muted);
}

.nav-cta {
  padding: 16px 34px;
  border-radius: 999px;
  background: var(--surface);
  color: #000000 !important;
  font-weight: 600;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.65);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--text);
}

.hero {
  padding: clamp(40px, 8vw, 140px) clamp(20px, 6vw, 80px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 4vw, 3.8rem);
  margin: 0 0 18px;
}

.hero-points {
  margin: 24px 0;
  padding-left: 20px;
  color: var(--text-muted);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.primary-cta {
  padding: 16px 34px;
  border-radius: 999px;
  background: var(--surface);
  color: #000000;
  font-weight: 600;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.65);
}

.secondary-cta {
  padding: 16px 30px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-weight: 600;
}

.hero-visual {
  text-align: center;
}

.landing-card {
  position: relative;
  width: 320px;
  max-width: 90%;
  margin: 0 auto;
  padding: 0;
  background: var(--surface);
  border-radius: 32px;
  border: 3px solid transparent;
  background-image: linear-gradient(var(--surface), var(--surface)),
    linear-gradient(135deg, rgba(0, 122, 255, 0.65), rgba(52, 199, 89, 0.55), rgba(255, 149, 0, 0.4));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 45px 90px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.app-screenshot {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 29px;
}

.landing-title {
  margin: 0;
  font-size: 2.4rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-align: center;
}

.landing-tagline {
  margin: 18px 0 36px;
  font-size: 1.1rem;
  text-align: center;
  color: #0f172a;
}

.landing-button {
  width: 160px;
  height: 48px;
  border-radius: 12px;
  border: none;
  background: #000000;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.landing-button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.landing-glow {
  position: absolute;
  inset: -36px;
  background: radial-gradient(circle, rgba(0, 122, 255, 0.35), transparent 70%);
  filter: blur(20px);
  z-index: -1;
}

.hero-caption {
  margin-top: 20px;
  color: var(--text-muted);
}

.experience {
  padding: clamp(40px, 6vw, 120px) clamp(20px, 6vw, 80px);
}

.experience-card {
  background: var(--surface-muted);
  border-radius: var(--radius-large);
  border: 1px solid var(--border);
  padding: clamp(32px, 5vw, 64px);
  box-shadow: var(--shadow-card);
}

.experience-card h2 {
  margin-top: 12px;
  margin-bottom: 18px;
}

.experience-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.experience-grid article {
  padding: 20px;
  border-radius: var(--radius-medium);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.experience-grid h3 {
  margin: 0 0 10px;
}

.trust {
  padding: clamp(40px, 6vw, 120px) clamp(20px, 6vw, 80px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.promise-card,
.quote-card {
  border-radius: var(--radius-large);
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow-card);
}

.promise-card ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 16px;
}

.promise-card strong {
  color: var(--surface);
}

.quote {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.author {
  margin: 0 0 20px;
  color: var(--text-muted);
}

.download {
  padding: clamp(40px, 6vw, 120px) clamp(20px, 6vw, 80px);
}

.download-card {
  border-radius: var(--radius-large);
  padding: clamp(32px, 5vw, 64px);
  background: var(--surface);
  color: #0f172a;
  border: none;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.download-card .eyebrow {
  color: var(--accent);
}

.download-card h2 {
  color: #0f172a;
}

.download-card p {
  color: rgba(15, 23, 42, 0.8);
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 16px;
  background: #000000;
  color: #ffffff;
  font-weight: 600;
}

.app-store-badge span {
  font-size: 1.5rem;
}

.site-footer {
  padding: 32px clamp(20px, 5vw, 60px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  color: var(--text-muted);
}

.footer-links {
  margin-top: 14px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-links a {
  font-weight: 500;
}

@media (max-width: 900px) {
  .site-nav {
    position: absolute;
    top: 80px;
    right: 20px;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.96);
    padding: 20px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-card);
    display: none;
  }

  .site-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  main {
    width: 100%;
  }
}

/* Legal/Privacy page styles */
.legal {
  max-width: 800px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 120px) clamp(20px, 6vw, 80px);
}

.legal-hero {
  margin-bottom: 48px;
}

.legal-hero h1 {
  margin: 12px 0 18px;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.legal-hero p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.legal-section {
  margin-bottom: 48px;
}

.legal-section h2 {
  margin: 0 0 18px;
  font-size: 1.5rem;
}

.legal-section p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.legal-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 16px;
}

.legal-list li {
  color: var(--text-muted);
  line-height: 1.7;
  padding-left: 24px;
  position: relative;
}

.legal-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-secondary);
  font-weight: bold;
}

.legal-list strong {
  color: var(--text);
  font-weight: 600;
}

.legal-section a {
  color: var(--accent);
  text-decoration: underline;
}

.legal-section a:hover {
  color: var(--accent-secondary);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
