/* Marketing site — builds on app.css tokens. Always light: brand surfaces. */
.site {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f5f7fb;
  --text: #0f172a;
  --muted: #5b6474;
  --border: #e3e8f0;
  --brand: #1f4fd8;
  --brand-soft: #e6edfd;
  color-scheme: light;
  background: var(--bg);
}
.site .topbar { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(8px); }
.btn-lg { min-height: 50px; padding: 12px 22px; font-size: 1.02rem; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.icon { width: 28px; height: 28px; flex: none; fill: none; stroke: var(--brand); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Hero */
.hero {
  background: #0b1730 url("/assets/img/hero.jpg") center right / cover no-repeat;
  color: #fff; padding: 72px 0 80px; overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); line-height: 1.08; letter-spacing: -.025em; margin-bottom: 20px; }
.hero .lead { font-size: 1.15rem; line-height: 1.6; color: #c8d1e3; max-width: 34em; }
.hero-cta { margin-top: 32px; flex-wrap: wrap; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; padding: 0; margin: 28px 0 0; color: #c8d1e3; font-size: .95rem; }
.checks li::before { content: "✓"; color: #8fb0ff; font-weight: 700; margin-right: 8px; }
.hero-device { display: flex; justify-content: center; }

/* Phone frame around real app screenshots */
.phone {
  width: 300px; max-width: 100%; aspect-ratio: 390 / 780; padding: 10px; border-radius: 44px;
  background: #0d1220; box-shadow: 0 0 0 2px #2a3550, 0 30px 80px rgba(0, 0, 0, .45);
}
.phone img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 34px; }
.phone-sm { width: 240px; padding: 8px; border-radius: 36px; box-shadow: 0 0 0 1px var(--border), 0 18px 40px rgba(15, 23, 42, .12); }
.phone-sm img { border-radius: 28px; }

/* Trust strip */
.trust { border-bottom: 1px solid var(--border); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { display: flex; gap: 14px; padding: 32px 24px; }
.trust-item + .trust-item { border-left: 1px solid var(--border); }
.trust-item h3, .feature-card h3, .steps h3 { font-size: 1.05rem; margin-bottom: 6px; }
.trust-item p, .feature-card p, .steps p { color: var(--muted); margin: 0; font-size: .95rem; line-height: 1.5; }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--surface-2); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); letter-spacing: -.02em; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 26px; }
.feature-card .icon { margin-bottom: 16px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; list-style: none; padding: 0; margin: 0; }
.steps li { display: flex; gap: 16px; }
.step-num {
  flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); font-weight: 700;
}
.shots { display: flex; justify-content: center; gap: 40px; margin-top: 64px; flex-wrap: wrap; }
.shots figure { margin: 0; text-align: center; }
.shots figcaption { margin-top: 14px; font-weight: 600; color: var(--muted); font-size: .95rem; }

.security-list { list-style: none; padding: 0; margin: 0 auto; max-width: 760px; display: grid; gap: 14px; }
.security-list li {
  background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--brand);
  border-radius: 8px; padding: 16px 20px; color: var(--muted); line-height: 1.55;
}
.security-list strong { color: var(--text); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: 24px; justify-content: center; }
.plan { border: 1px solid var(--border); border-radius: 14px; padding: 30px; display: flex; flex-direction: column; gap: 6px; }
.plan h3 { font-size: 1.25rem; margin: 0; }
.plan .badge { white-space: nowrap; }
.plan-featured { border: 2px solid var(--brand); box-shadow: 0 12px 40px rgba(31, 79, 216, .12); }
.price { font-size: 2.6rem; font-weight: 800; letter-spacing: -.02em; margin: 14px 0 6px; }
.price-text { font-size: 1.9rem; color: var(--brand); }
.plan-list { list-style: none; padding: 16px 0 0; margin: 0 0 24px; border-top: 1px solid var(--border); display: grid; gap: 10px; flex: 1; }
.plan-list li::before { content: "✓"; color: var(--brand); font-weight: 700; margin-right: 10px; }

/* CTA (footer styles live in app.css) */
.cta { background: #0b1730; color: #fff; padding: 72px 0; }
.cta h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); letter-spacing: -.02em; }
.cta p { color: #c8d1e3; margin-bottom: 28px; }

@media (max-width: 860px) {
  .hero { padding: 48px 0 56px; background-position: 70% center; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .phone { width: 260px; }
  .trust-grid, .feature-grid, .steps { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--border); }
  .trust-item { padding: 22px 0; }
  .section { padding: 64px 0; }
  .plans { grid-template-columns: 1fr; }
  .shots { gap: 28px; }
  .shots figure:nth-child(n+2) { display: none; }
}
@media (max-width: 480px) {
  .hero-cta .btn { flex: 1; }
}
.site main { padding: 0; }

/* Hero note, works-with strip, FAQ */
.hero-note { margin: 14px 0 0; font-size: .92rem; color: #c8d1e3; }
.works-with { border-bottom: 1px solid var(--border); padding: 28px 0; text-align: center; }
.works-with-head { margin: 0 0 14px; color: var(--muted); font-size: .92rem; }
.works-with-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; font-weight: 600; color: #334155; }
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.02rem; color: var(--text); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-weight: 700; font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details[open] summary { margin-bottom: 10px; }
.faq p { margin: 0; color: var(--muted); line-height: 1.6; }
@media (max-width: 480px) {
  .works-with-list { gap: 8px 18px; font-size: .92rem; }
  .faq details { padding: 16px; }
}
