/* SnipBook landing page. Black and white, like the app; the notebook dots are the only colour. */
:root {
  --bg: #ffffff; --panel: #f2f2ef; --ink: #111111; --muted: #5c5c58; --line: #cfcfca;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0c0c0c; --panel: #1a1a19; --ink: #f2f2ee; --muted: #a3a39d; --line: #383834; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 18px; line-height: 1.55; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
header.top { display: flex; align-items: center; gap: 12px; padding: 20px 0; }
header.top img { width: 40px; height: 40px; border-radius: 9px; }
header.top strong { font-size: 1.15rem; letter-spacing: -0.01em; }
header.top nav { margin-left: auto; display: flex; gap: 20px; font-size: 0.95rem; }
header.top nav a { text-decoration: none; color: var(--muted); }
header.top nav a:hover { color: var(--ink); text-decoration: underline; }

.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding: 40px 0 64px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 20px; text-wrap: balance; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
/* Both official badges at the same height. The Google file has had its built-in
   transparent padding trimmed, so the two line up without any offsets. */
.badges a { display: block; line-height: 0; flex: none; }
.badges img { height: 54px; width: auto; max-width: none; }
.price { margin: 20px 0 0; color: var(--muted); font-size: 0.98rem; }
.phone { justify-self: center; width: min(320px, 78vw); border: 8px solid #111111; border-radius: 40px; overflow: hidden; background: #ffffff; }
@media (prefers-color-scheme: dark) { .phone { border-color: #3a3a37; } }

section { padding: 64px 0; border-top: 1px solid var(--line); }
section h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.02em; margin: 0 0 12px; text-wrap: balance; }
section p.intro { color: var(--muted); max-width: 40em; margin: 0 0 36px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--panel); border-radius: 18px; padding: 24px; }
.card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; }
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.shots figure { margin: 0; }
.shots .phone { width: 100%; border-width: 6px; border-radius: 30px; }
.shots figcaption { margin-top: 12px; color: var(--muted); font-size: 0.95rem; text-align: center; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; padding: 0; margin: 0; list-style: none; }
.steps li { counter-increment: step; border-top: 3px solid var(--ink); padding-top: 14px; }
.steps li::before { content: counter(step); font-weight: 700; font-size: 1.4rem; display: block; margin-bottom: 4px; }
.steps li span { color: var(--muted); }
.plain { max-width: 42em; }
.plain li { margin-bottom: 8px; color: var(--muted); }
.plain li strong { color: var(--ink); }
.cta { text-align: center; }
.cta .badges { justify-content: center; }
footer { border-top: 1px solid var(--line); padding: 28px 0 48px; color: var(--muted); font-size: 0.9rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; }
footer .legal { flex-basis: 100%; font-size: 0.8rem; }
.doc { max-width: 44em; padding: 24px 0 64px; }
.doc h1 { font-size: 2.2rem; letter-spacing: -0.02em; }
.doc h2 { font-size: 1.3rem; margin-top: 2em; }
.doc li { margin-bottom: 8px; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 16px; }
  .hero .badges { justify-content: flex-start; }
  .grid, .shots, .steps { grid-template-columns: 1fr; }
  .shots { max-width: 320px; margin: 0 auto; }
  header.top nav { display: none; }
}

/* On a phone the two badges stack, at the same width so their edges line up. */
@media (max-width: 480px) {
  .badges { flex-direction: column; align-items: center; gap: 12px; }
  .hero .badges { align-items: flex-start; }
  .badges img { width: 190px; height: auto; }
}
