:root {
  --bg: #ffffff;
  --soft: #f4f4f1;
  --ink: #0b0b0c;
  --muted: #62626a;
  --brand: #ff4a1c;
  --line: #e6e6e1;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #0b0b0c;
    --soft: #18181b;
    --ink: #f5f5f4;
    --muted: #a1a1aa;
    --line: #2a2a2e;
  }
}
:root[data-theme='dark'] {
  --bg: #0b0b0c;
  --soft: #18181b;
  --ink: #f5f5f4;
  --muted: #a1a1aa;
  --line: #2a2a2e;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: Manrope, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.top {
  max-width: 1080px; margin: 0 auto; padding: 18px 16px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 800; font-size: 24px; text-decoration: none; letter-spacing: -0.5px; }
/* O V do app (src/components/brand/Logo.tsx), o mesmo das páginas legais. */
.mark { width: 32px; height: 32px; flex: none; }
.pill { font-weight: 700; text-decoration: none; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: var(--bg); }
main { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.hero { text-align: center; padding: 48px 0 32px; }
.kicker { color: var(--brand); font-weight: 700; margin: 0 0 12px; }
h1 { font-size: clamp(44px, 9vw, 84px); line-height: 1.02; letter-spacing: -2px; margin: 0 0 18px; font-weight: 800; }
.lead { font-size: clamp(17px, 2.4vw, 21px); color: var(--muted); max-width: 640px; margin: 0 auto 28px; }
.lead strong { color: var(--ink); }
.cta { display: inline-block; font-weight: 800; font-size: 18px; text-decoration: none; padding: 18px 34px; border-radius: 999px; background: var(--ink); color: var(--bg); }
.cta[aria-disabled='true'] { opacity: 0.85; cursor: default; }
.fine { color: var(--muted); font-size: 14px; margin-top: 14px; }
/* As 8 telas da App Store, lado a lado e sem vão: elas foram feitas para continuar uma na outra (o celular que
   começa numa termina na seguinte), como na loja. No computador, 2 fileiras de 4; no celular, uma faixa de arrastar. */
.shots {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin: 24px 0 56px; border-radius: 28px; overflow: hidden;
  background: #fff; box-shadow: 0 0 0 1px rgb(0 0 0 / 0.08);
}
.shots img { display: block; width: 100%; height: auto; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding-bottom: 56px; }
.grid article { background: var(--soft); border-radius: 22px; padding: 24px; }
.grid h2 { margin: 0 0 6px; font-size: 21px; letter-spacing: -0.3px; }
.grid p { margin: 0; color: var(--muted); }
.foot { border-top: 1px solid var(--line); text-align: center; padding: 28px 16px 40px; color: var(--muted); font-size: 14px; }
.foot nav a { font-weight: 600; }
.doc { max-width: 760px; margin: 0 auto; padding: 16px 16px 64px; }
.doc h1 { font-size: clamp(32px, 6vw, 44px); letter-spacing: -1px; }
.doc h2 { margin-top: 32px; font-size: 22px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14px; display: block; overflow-x: auto; }
.doc th, .doc td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.doc th { background: var(--soft); }
@media (max-width: 720px) {
  .shots {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 74%;
    margin: 16px -16px 48px; border-radius: 0; box-shadow: none;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .shots::-webkit-scrollbar { display: none; }
  .shots img { scroll-snap-align: start; }
  .grid { grid-template-columns: 1fr; }
}
