/* The sales site (Phase 6). System fonts, no web fonts, no third-party requests. */
:root {
  --ink: #1d2126;
  --muted: #5b6470;
  --ground: #fbfbf9;
  --panel: #f1f2ef;
  --rule: #d6d9dc;
  --accent: #1f5f8b;
  --accent-ink: #ffffff;
  --focus: #f0b429;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 18px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
main { max-width: 960px; margin: 0 auto; padding: 32px 16px 64px; }
.hero, .cta, .letter, .legal, .dev-notice, .faq { max-width: 640px; margin-left: auto; margin-right: auto; }
h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 8px; }
.subhead { font-size: 1.2rem; color: var(--muted); margin: 0 0 24px; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible, video:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.video { margin: 0 auto 24px; }
.video-frame { position: relative; width: 100%; background: #000; overflow: hidden; border-radius: 6px; }
.video-frame.ratio-16-9 { aspect-ratio: 16 / 9; }
.video-frame img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; object-fit: contain; }
/* Captions: readable at phone width, inside the picture (the VTT places them near the bottom). */
.video-frame video::cue { font-size: clamp(14px, 3.6vw, 22px); line-height: 1.35; color: #fff; background: rgba(0, 0, 0, 0.8); }
.play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  min-width: 72px; min-height: 72px; border-radius: 50%; border: 0;
  background: rgba(0, 0, 0, 0.72); color: #fff; font-size: 28px; cursor: pointer;
}
.duration { position: absolute; right: 12px; bottom: 12px; background: rgba(0, 0, 0, 0.7); color: #fff; font-size: 0.85rem; padding: 2px 8px; border-radius: 4px; }
.transcript { max-width: 640px; margin: 12px auto 0; }
.transcript summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; }

.cta { margin-top: 24px; margin-bottom: 32px; text-align: center; }
.cta-form { margin: 0 0 8px; }
.btn {
  display: inline-block; min-height: 48px; padding: 12px 28px; border: 0; border-radius: 6px;
  background: var(--accent); color: var(--accent-ink); font: inherit; font-weight: 600; cursor: pointer;
}
.cta-line { margin: 4px 0; color: var(--muted); }
.code-link { margin-top: 12px; font-size: 0.95rem; }
.code-link a { display: inline-block; min-height: 44px; line-height: 44px; }
.notice { background: var(--panel); border: 1px solid var(--rule); border-radius: 6px; padding: 12px 16px; font-weight: 600; }

.letter p, .letter li { margin: 0 0 16px; }
.letter ul { padding-left: 1.2em; }
.testimonial { margin: 24px 0; padding: 16px 20px; background: var(--panel); border-left: 4px solid var(--rule); }
.testimonial blockquote { margin: 0; }
.testimonial figcaption { color: var(--muted); }
.faq { margin-top: 32px; }

.legal { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--rule); font-size: 0.95rem; color: var(--muted); }
.legal a { display: inline-block; min-height: 44px; line-height: 44px; }
.legal-page { max-width: 640px; }
.legal-page h2 { font-size: 1.1rem; margin: 28px 0 8px; }
.version { color: var(--muted); }
.dev-notice { background: #fff3cd; border: 1px solid #e0c36b; padding: 8px 12px; border-radius: 6px; font-size: 0.9rem; }

@media (max-width: 480px) {
  body { font-size: 17px; }
  h1 { font-size: 1.6rem; }
  main { padding-top: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; transition: none; animation: none; }
}
