:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-2: #eef2ff;
  --text: #111827;
  --muted: #5f6777;
  --soft: #e2e8f0;
  --accent: #4f46e5;
  --accent-2: #0f9f8f;
  --warning: #b45309;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.10);
  --radius: 18px;
  color-scheme: light dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1117;
    --surface: #151b23;
    --surface-2: #1e2633;
    --text: #f3f6fb;
    --muted: #a7b0c0;
    --soft: #293241;
    --accent: #8b8cff;
    --accent-2: #45d1c2;
    --warning: #f3b45b;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid color-mix(in srgb, var(--soft) 72%, transparent);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a[aria-current="page"] {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--soft);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.15;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.hero {
  width: min(1120px, calc(100% - 32px));
  min-height: min(640px, calc(100vh - 72px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.82fr);
  gap: 48px;
  align-items: center;
  padding: 42px 0 34px;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: 72px;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p {
  max-width: 610px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 20px;
}

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

.privacy-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.preview-stack {
  justify-self: center;
  width: min(100%, 430px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  align-items: end;
  gap: 14px;
}

.phone {
  position: relative;
  aspect-ratio: 0.46;
  padding: 10px;
  border-radius: 44px;
  background: #101827;
  box-shadow: var(--shadow);
}

.screenshot-card {
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--soft) 70%, transparent);
}

.screenshot-card img,
.preview-thumbs img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 34px;
}

.primary-preview {
  width: min(100%, 322px);
  justify-self: end;
}

.preview-thumbs {
  display: grid;
  gap: 12px;
  padding-bottom: 22px;
}

.preview-thumbs img {
  aspect-ratio: 0.46;
  border: 6px solid #101827;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
}

.section {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0;
}

.section.wide {
  width: min(1120px, calc(100% - 32px));
}

.section h1,
.section h2 {
  margin: 0;
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: 0;
}

.section > p,
.lead {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.section-heading-row {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
}

.section-heading-row .lead {
  max-width: 420px;
  margin: 0;
  font-size: 16px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ai-demo-section {
  width: min(1120px, calc(100% - 32px));
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 360px);
  align-items: center;
  gap: 42px;
  padding-top: 42px;
}

.ai-demo-copy .lead {
  max-width: 640px;
}

.ai-demo-stack {
  justify-self: center;
  width: min(100%, 340px);
  display: grid;
  gap: 14px;
}

.ai-demo-media {
  width: 100%;
  padding: 8px;
  border-radius: 34px;
  background: #101827;
  box-shadow: var(--shadow);
}

.ai-demo-media video {
  display: block;
  width: 100%;
  aspect-ratio: 720 / 1458;
  border: 0;
  border-radius: 26px;
  background: #111827;
  object-fit: cover;
}

.ai-proof-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--soft);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.ai-proof-card video {
  display: block;
  width: 76px;
  aspect-ratio: 390 / 810;
  border-radius: 16px;
  background: #111827;
  object-fit: cover;
}

.ai-proof-card strong {
  display: block;
  font-size: 14px;
  line-height: 1.2;
}

.ai-proof-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.screenshots-section {
  padding-top: 44px;
}

.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.screenshot-gallery figure {
  margin: 0;
}

.screenshot-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 1320 / 2868;
  object-fit: cover;
  border: 8px solid #101827;
  border-radius: 28px;
  background: #101827;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.14);
}

.screenshot-gallery figcaption {
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 32px;
}

.feature {
  padding: 22px;
  border: 1px solid var(--soft);
  border-radius: var(--radius);
  background: var(--surface);
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.text-page {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 88px;
}

.text-page h1 {
  margin: 0;
  font-size: 56px;
  line-height: 1.05;
}

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

.policy-section {
  padding: 28px 0;
  border-bottom: 1px solid var(--soft);
}

.policy-section h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.policy-section p,
.policy-section li {
  color: var(--muted);
}

.policy-section ul {
  padding-left: 22px;
}

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

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

.faq button {
  width: 100%;
  padding: 20px 0;
  border: 0;
  background: transparent;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.faq button span {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border: 1px solid var(--soft);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 16px;
  line-height: 1;
}

.faq-panel {
  display: none;
  padding: 0 0 20px;
  color: var(--muted);
}

.faq-item[data-open="true"] .faq-panel {
  display: block;
}

.footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 44px;
  border-top: 1px solid var(--soft);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
}

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

@media (max-width: 860px) {
  .nav {
    height: auto;
    min-height: 68px;
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 44px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero p {
    font-size: 18px;
  }

  .preview-stack {
    width: min(100%, 360px);
    grid-template-columns: 1fr 84px;
  }

  .ai-demo-section {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 34px;
  }

  .ai-demo-stack {
    width: min(100%, 320px);
  }

  .section-heading-row {
    display: block;
  }

  .section-heading-row .lead {
    max-width: 720px;
    margin-top: 16px;
  }

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

  .section h1,
  .section h2,
  .text-page h1 {
    font-size: 36px;
  }

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

  .footer {
    flex-direction: column;
  }
}
