:root {
  --background: #06080f;
  --foreground: #eef1f7;
  --surface: #0d1220;
  --surface-2: #121829;
  --border: #1e2740;
  --muted: #8a93ab;

  --brand-blue-600: #0038ff;
  --brand-blue-400: #00c2ff;
  --brand-teal-600: #00d9a3;
  --brand-teal-400: #5fe0c0;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--background);
  color: var(--foreground);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

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

ul {
  margin: 0;
}

.container {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: linear-gradient(90deg, var(--brand-blue-400), var(--brand-teal-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Navbar */

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(30, 39, 64, 0.8);
  background: rgba(6, 8, 15, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  border-radius: 9px;
  display: block;
}

.brand-name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 32px;
}

@media (min-width: 640px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}

.nav-links a:hover {
  color: var(--foreground);
}

/* App Store badge */

.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #ffffff;
  color: #000000;
  text-decoration: none;
  transition: opacity 0.15s;
}

.app-store-badge:hover {
  opacity: 0.9;
}

.app-store-badge--sm {
  padding: 6px 14px;
}

.app-store-badge--lg {
  padding: 12px 20px;
}

.apple-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.app-store-badge--lg .apple-icon {
  width: 24px;
  height: 24px;
}

.app-store-badge-title {
  font-size: 13px;
  font-weight: 600;
}

.app-store-badge--lg .app-store-badge-title {
  font-size: 16px;
}

.app-store-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  text-align: left;
}

.app-store-badge-eyebrow {
  font-size: 11px;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0, 56, 255, 0.1), transparent 60%);
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 48px;
  max-width: 1152px;
  margin: 0 auto;
  padding: 80px 24px;
}

@media (min-width: 640px) {
  .hero-inner {
    padding: 112px 24px;
  }
}

@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 32px;
  }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--brand-teal-400);
}

.hero h1 {
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 3rem;
  }
}

.hero .lead {
  margin-top: 24px;
  max-width: 28rem;
  font-size: 1.125rem;
  color: var(--muted);
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.link-underline {
  font-size: 14px;
  font-weight: 500;
  color: var(--foreground);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 4px;
  transition: text-decoration-color 0.15s;
}

.link-underline:hover {
  text-decoration-color: var(--foreground);
}

/* Phone frame */

.phone-stack {
  position: relative;
  margin: 0 auto;
  display: flex;
  width: fit-content;
  align-items: flex-end;
  gap: 16px;
}

@media (min-width: 640px) {
  .phone-stack {
    gap: 24px;
  }
}

.phone-frame {
  width: 240px;
}

@media (min-width: 640px) {
  .phone-frame {
    width: 280px;
  }
}

.phone-secondary {
  display: none;
  transform: translateY(24px);
}

@media (min-width: 640px) {
  .phone-secondary {
    display: block;
  }
}

.phone-primary {
  position: relative;
  z-index: 10;
}

.phone-bezel {
  border-radius: 42px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 10px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

.phone-screen {
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid var(--border);
}

.phone-screen img {
  display: block;
  width: 100%;
  height: auto;
}

/* Sections */

.section {
  max-width: 1152px;
  margin: 0 auto;
  padding: 80px 24px;
}

.section-narrow {
  max-width: 768px;
}

@media (min-width: 640px) {
  .section {
    padding: 112px 24px;
  }
}

.section-heading {
  max-width: 36rem;
}

.section-heading h2 {
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.section-heading p {
  margin-top: 16px;
  color: var(--muted);
}

.features-grid {
  margin-top: 48px;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 24px;
}

.feature-card h3 {
  font-weight: 500;
}

.feature-card p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

.section-alt {
  border-top: 1px solid var(--border);
  background: rgba(13, 18, 32, 0.4);
}

.section-alt-inner {
  max-width: 1152px;
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}

@media (min-width: 640px) {
  .section-alt-inner {
    padding: 96px 24px;
  }
}

.section-alt-inner h2 {
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.section-alt-inner p {
  margin: 16px auto 0;
  max-width: 32rem;
  color: var(--muted);
}

/* Features page */

.page-header--intro {
  max-width: 36rem;
}

.page-header h1 {
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.page-header p {
  margin-top: 16px;
  color: var(--muted);
}

.features-list {
  margin-top: 56px;
}

.features-list-item {
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 32px;
  margin-top: 48px;
}

.features-list-item:first-child {
  margin-top: 0;
}

@media (min-width: 640px) {
  .features-list-item {
    grid-template-columns: 1fr 2fr;
    gap: 32px;
  }
}

.num-title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.num {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  color: var(--muted);
}

.features-list-item h2 {
  font-weight: 500;
}

.features-list-item p {
  color: var(--muted);
}

.screenshots-row {
  margin-top: 80px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 32px;
  border-top: 1px solid var(--border);
  padding-top: 64px;
}

/* CTA / contact boxes */

.cta-box {
  margin-top: 64px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 32px;
  text-align: center;
}

.cta-box h2 {
  font-size: 1.25rem;
  font-weight: 600;
}

.cta-box p {
  margin: 8px auto 0;
  max-width: 24rem;
  font-size: 14px;
  color: var(--muted);
}

.cta-box .app-store-badge {
  margin-top: 20px;
}

.btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  border-radius: 12px;
  background: var(--foreground);
  color: var(--background);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

/* FAQ */

.faq-list {
  margin-top: 48px;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  font-weight: 500;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .icon {
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 0.15s;
}

.faq-item[open] summary .icon {
  transform: rotate(45deg);
}

.faq-item p {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}

/* Legal pages */

.legal-updated {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}

.legal-content {
  margin-top: 48px;
  color: var(--muted);
}

.legal-content section {
  margin-top: 32px;
}

.legal-content h2 {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--foreground);
}

.legal-content p {
  margin-top: 12px;
}

.legal-content ul {
  margin-top: 12px;
  padding-left: 20px;
  list-style: disc;
}

.legal-content li {
  margin-top: 8px;
}

.legal-content strong {
  color: var(--foreground);
}

.legal-content a {
  color: var(--foreground);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 4px;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px 24px;
  font-size: 14px;
  color: var(--muted);
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

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