/* pic2vdo marketing site - single stylesheet, no build step.
   Committed dark theme. System font stack (self-hosted Archivo is a
   later polish item, see the build summary). */

:root {
  --bg: #0b1220;
  --surface: #131d31;
  --surface-2: #18243b;
  --text: #e9eef8;
  --muted: #9db0cd;
  --border: rgba(255, 255, 255, 0.10);
  --accent: #5b8cff;
  --accent-2: #33d6a6;
  --radius: 14px;
  --wrap: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin: 0 0 0.5em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin: 0 0 0.7em; }
h3 { font-size: 1.15rem; margin: 0 0 0.35em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 760px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 18, 32, 0.82);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--text); font-weight: 700; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: auto; }
.brand span { font-size: 1.15rem; }

.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--muted); font-size: 0.95rem; }
.nav a:hover { color: var(--text); text-decoration: none; }
.nav a.btn { color: #fff; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 4px 0; border-radius: 2px; }

.mobile-nav { display: none; flex-direction: column; gap: 4px; padding: 12px 22px 20px; border-bottom: 1px solid var(--border); background: var(--bg); }
.mobile-nav a { color: var(--text); padding: 10px 0; font-size: 1.05rem; }
.mobile-nav a.btn { margin-top: 8px; text-align: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; background: var(--accent); color: #fff;
  padding: 11px 20px; border-radius: 10px; font-weight: 600; font-size: 0.98rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .12s ease, background .12s ease;
}
.btn:hover { text-decoration: none; background: #4a7ef5; transform: translateY(-1px); }
.btn-lg { padding: 14px 26px; font-size: 1.05rem; }
.btn-small { padding: 8px 14px; font-size: 0.9rem; }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); }

/* ---------- sections ---------- */
.section { padding: 84px 0; border-top: 1px solid var(--border); }
.section.alt { background: var(--surface); }
.section-intro { color: var(--muted); max-width: 620px; margin-top: -0.3em; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }

/* ---------- hero ---------- */
.hero { padding: 72px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34ch; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 12px; }
.fineprint { font-size: 0.9rem; color: var(--muted); }

.hero-visual { display: flex; justify-content: center; }
.phone-mock {
  width: 230px; aspect-ratio: 9 / 17; background: #05070d;
  border: 2px solid var(--border); border-radius: 34px; padding: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 22px; overflow: hidden; background: #000; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }
.phone-play {
  position: absolute; inset: 0; margin: auto; width: 62px; height: 62px;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(91,140,255,0.92); color: #fff; font-size: 22px; padding-left: 4px;
}

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.steps li { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.section.alt .steps li { background: var(--bg); }
.step-n {
  display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px;
  background: var(--accent); color: #fff; font-weight: 700; margin-bottom: 12px;
}
.steps h3 em { color: var(--muted); font-style: normal; font-weight: 400; }
.steps p { margin: 0; color: var(--muted); font-size: 0.98rem; }

.callouts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 26px; }
.callout { border: 1px solid var(--border); border-left: 3px solid var(--accent-2); border-radius: var(--radius); padding: 20px; }
.callout p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.footnote { margin-top: 22px; color: var(--muted); font-size: 0.9rem; }

/* ---------- try it ---------- */
.demo { margin-top: 28px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.section.alt .demo { background: var(--bg); }
.demo-chooser { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.demo-chooser button {
  background: transparent; border: 1px solid var(--border); color: var(--muted);
  padding: 9px 16px; border-radius: 999px; cursor: pointer; font-size: 0.95rem;
}
.demo-chooser button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }

.demo-panel { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; }
.demo-desktop { text-align: center; }
.demo-qr { width: 200px; height: 200px; background: #fff; border-radius: 12px; padding: 10px; }
.demo-desktop p { color: var(--muted); font-size: 0.9rem; margin: 10px 0 0; }
.demo-mobile { display: none; }
.demo-howto { color: var(--muted); font-size: 0.92rem; }
.demo-target img { border-radius: 10px; border: 1px solid var(--border); max-width: 320px; }
.demo-target p { color: var(--muted); font-size: 0.9rem; }
.demo-note { margin: 18px 0 0; color: var(--muted); font-size: 0.88rem; }

/* On touch / narrow screens, show the button, hide the QR. main.js also
   toggles a .is-touch class as a belt-and-braces. */
@media (max-width: 640px), (pointer: coarse) {
  .demo-desktop { display: none; }
  .demo-mobile { display: block; }
  .demo-panel { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.section.alt .card { background: var(--bg); }
.card p { color: var(--muted); font-size: 0.95rem; margin: 0 0 14px; }
.card .btn { margin-top: auto; }

/* ---------- lists ---------- */
.ticks, .qa { margin: 0; padding: 0; }
.ticks { list-style: none; display: grid; gap: 12px; margin: 16px 0 22px; }
.ticks li { position: relative; padding-left: 28px; color: var(--muted); }
.ticks li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--accent-2); font-weight: 700; }

.qa { margin-top: 22px; }
.qa + .qa { margin-top: 18px; border-top: 1px solid var(--border); padding-top: 18px; }
.qa p { margin: 0; color: var(--muted); }

/* ---------- contact form ---------- */
.contact-form { margin-top: 26px; display: grid; gap: 16px; max-width: 520px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.9rem; color: var(--muted); }
.field input, .field select, .field textarea {
  background: var(--bg); border: 1px solid var(--border); border-radius: 9px;
  color: var(--text); padding: 11px 12px; font: inherit; font-size: 0.98rem;
}
.section.alt .field input, .section.alt .field select, .section.alt .field textarea { background: var(--surface-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-size: 0.95rem; min-height: 1.4em; }
.form-status.ok { color: var(--accent-2); }
.form-status.err { color: #ff8a8a; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0; background: var(--surface); }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: var(--muted); font-size: 0.92rem; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .lead { max-width: none; }
  .steps, .callouts { grid-template-columns: 1fr; }
  .cards, .cards.three { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .nav-toggle { display: block; }
  .site-header.open .mobile-nav { display: flex; }
  .section { padding: 60px 0; }
  .cards, .cards.three { grid-template-columns: 1fr; }
}
