/* Home page (body.home) — split hero with phone/video frame, v1.2 band, steps, plans, FAQ,
   final CTA. Builds on the shared dark-industrial tokens in styles.css. External CSS only
   (the CSP forbids inline styles). */

.skip {
  position: absolute; left: 12px; top: -48px; z-index: 10;
  background: var(--accent); color: #16110a; font-weight: 700;
  padding: 8px 14px; border-radius: 8px; text-decoration: none;
}
.skip:focus { top: 12px; }

body.home main { max-width: 1080px; }
body.home header.site { max-width: 1080px; }
body.home section h2::before { content: none; }
body.home section h2 { font-size: 1.6rem; letter-spacing: -0.01em; }
body.home section p a, body.home .plan a { color: var(--accent); }

/* Hero: copy left, phone right on desktop; stacked on mobile with the CTA above the phone. */
.hero-split {
  display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center;
  gap: 40px; padding: 32px 0 24px;
}
.hero-copy h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.8rem); line-height: 1.05;
  letter-spacing: -0.025em; font-weight: 800;
}
.hero-copy h1 span { color: var(--accent); display: block; }
.hero-copy .lede {
  color: var(--text-2); font-size: 1.2rem; max-width: 30em; margin-top: 18px; line-height: 1.5;
}
.cta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 26px; }
.store-badge {
  display: inline-flex; flex-direction: column; justify-content: center;
  min-width: 168px; min-height: 52px; padding: 7px 22px 8px;
  background: #000; color: #fff; text-decoration: none;
  border: 1px solid #a6a6a6; border-radius: 11px; line-height: 1.1;
}
.store-badge .sb-small { font-size: 0.68rem; letter-spacing: 0.02em; }
.store-badge .sb-big { font-size: 1.45rem; font-weight: 600; letter-spacing: -0.01em; }
.store-badge:hover { border-color: #fff; }
.text-link { color: var(--text-2); font-size: 0.95rem; text-underline-offset: 3px; }
.text-link:hover { color: var(--text); }
.micro { margin-top: 14px; color: var(--text-2); font-size: 0.92rem; }

/* Phone frame (CSS only). The screenshot sits behind the video, so a missing video or poster
   still shows a real app screen instead of an empty frame. */
.phone {
  justify-self: center; width: min(100%, 300px);
  padding: 9px; border-radius: 44px;
  background: linear-gradient(160deg, #3a3e46, #1b1d22);
  box-shadow: 0 0 0 1px rgba(140,148,158,0.35), 0 24px 70px rgba(0,0,0,0.6),
              0 0 90px rgba(200,120,30,0.12);
}
.phone-screen {
  position: relative; aspect-ratio: 886 / 1920; overflow: hidden;
  border-radius: 36px; background: var(--surface);
}
.phone-screen img, .phone-screen video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
}
.phone-screen video { background: transparent; }
@media (prefers-reduced-motion: reduce) {
  .phone-video { display: none; }
}

.facts {
  list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px 24px; margin-top: 28px; padding: 18px 0;
  border-top: 1px solid rgba(140,148,158,0.18); border-bottom: 1px solid rgba(140,148,158,0.18);
  color: var(--text-2); font-size: 0.92rem;
}
.facts li::before {
  content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px;
  background: var(--business); border-radius: 50%;
}

/* v1.2 band */
.band {
  padding: 28px; border-radius: 18px;
  background: linear-gradient(180deg, #1c1a17, var(--surface));
  border: 1px solid rgba(200,120,30,0.4);
}
.band-head p { color: var(--text-2); max-width: 36em; margin-bottom: 20px; }
.pill {
  display: inline-block; margin-bottom: 8px; padding: 2px 12px; border-radius: 999px;
  background: var(--accent); color: #16110a; font-weight: 700; font-size: 0.8rem;
}
.band .feature { background: rgba(18,18,20,0.55); }

/* Steps */
body.home .steps {
  list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px;
}
body.home .step {
  background: var(--surface); border-radius: 14px; padding: 20px;
  border: 1px solid rgba(140,148,158,0.15);
}
body.home .step-num {
  display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px;
  border-radius: 50%; background: var(--accent); color: #16110a; font-weight: 700; margin-bottom: 10px;
}
body.home .step h3 { font-size: 1.05rem; margin-bottom: 6px; color: var(--text); }
body.home .step p { font-size: 0.92rem; color: var(--text-2); }

body.home .shots img { width: 200px; height: auto; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.plan {
  background: var(--surface); border-radius: 16px; padding: 24px;
  border: 1px solid rgba(140,148,158,0.15);
}
.plan-pro { border-color: var(--accent); }
.plan h3 { font-size: 1.1rem; color: var(--accent); }
.plan .price { font-size: 2rem; font-weight: 800; margin: 4px 0 12px; letter-spacing: -0.02em; }
.plan .price span { font-size: 1rem; font-weight: 600; color: var(--text-2); }
.plan .price em {
  display: block; font-size: 0.95rem; font-style: normal; font-weight: 500;
  color: var(--text-2); letter-spacing: 0;
}
.plan ul { list-style: none; }
.plan li { padding: 4px 0 4px 22px; position: relative; color: var(--text); font-size: 0.95rem; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--business); }
.plan-note { margin-top: 12px; color: var(--text-2); font-size: 0.88rem; }
.plans-foot { margin-top: 16px; color: var(--text-2); font-size: 0.95rem; }

/* FAQ */
.faq-list details { border-bottom: 1px solid rgba(140,148,158,0.2); }
.faq-list summary {
  cursor: pointer; padding: 16px 28px 16px 0; font-weight: 600; list-style: none; position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 4px; color: var(--accent); font-size: 1.3rem; line-height: 1;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { color: var(--text-2); padding: 0 0 16px; max-width: 42em; font-size: 0.95rem; }

/* Final CTA */
.final-cta {
  text-align: center; padding: 40px 20px; border-radius: 18px; background: var(--surface);
  border: 1px solid rgba(140,148,158,0.15);
}
.final-cta p { color: var(--text-2); margin: 6px 0 22px; }

@media (max-width: 820px) {
  .hero-split { grid-template-columns: 1fr; gap: 28px; padding-top: 12px; }
  .phone { width: min(70%, 260px); }
  .band { padding: 20px; }
}
@media (max-width: 480px) {
  body.home header.site { padding-left: 16px; padding-right: 16px; gap: 8px; }
  body.home header.site nav { gap: 12px; }
  body.home header.site nav a { font-size: 0.82rem; white-space: nowrap; }
  /* Privacy is in the footer; drop it from the phone header to avoid overflow. */
  body.home header.site nav a:nth-child(4) { display: none; }
  body.home main { padding-left: 16px; padding-right: 16px; }
  body.home header.site .brand { font-size: 0.95rem; }
}
@media (max-width: 400px) {
  /* Small phones (360–400px): the web app is linked from the hero, so drop it from the header too. */
  body.home header.site nav a:nth-child(1) { display: none; }
}

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.section-note { color: var(--text-2); max-width: 70ch; margin-bottom: 16px; }

.section-note-after { margin-top: 16px; margin-bottom: 0; }
.shots picture { flex-shrink: 0; display: block; }
.shots picture img { display: block; }

/* Persona strip */
.personas-lead { color: var(--text-2); max-width: 44em; margin-bottom: 14px; }
.persona-links { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.persona-links a {
  display: inline-block; padding: 8px 14px; border-radius: 999px; text-decoration: none;
  color: var(--text); background: var(--surface); border: 1px solid rgba(140,148,158,0.3); font-size: 0.92rem;
}
.persona-links a:hover { border-color: var(--accent); color: var(--accent); }
