/* The marketing site wears the app's clothes: paper, ink lines, a gold accent, and
   Bangers for the headings, with hard shadows like a comic panel's. */
@font-face {
  font-family: 'Bangers';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/fonts/bangers.woff2') format('woff2');
}

:root {
  --bg: #f4f1ea;
  --surface: #ffffff;
  --line: #e4dfd3;
  --ink: #1d1c1a;
  --ink-2: #4e4b45;
  --muted: #6f6b63;
  --gold: #f5c518;
  --gold-deep: #8a6b00;
  --ink-line: #16130f;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, Roboto, sans-serif;
  --font-display: 'Bangers', Impact, 'Arial Black', sans-serif;
  --edge: 2px solid var(--ink-line);
  --drop: 4px 4px 0 var(--ink-line);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  background-image: radial-gradient(rgba(22, 19, 15, 0.06) 1px, transparent 1px);
  background-size: 14px 14px;
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
}
a { color: var(--gold-deep); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.04em; line-height: 1.05; margin: 0 0 0.4em; }
h1 { font-size: clamp(2.6rem, 8vw, 4.6rem); text-shadow: 3px 3px 0 var(--gold); }
h2 { font-size: clamp(1.9rem, 5vw, 2.8rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }

/* The top bar and the footer */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.brand { font-family: var(--font-display); font-size: 1.9rem; letter-spacing: 0.04em; color: var(--ink); text-decoration: none; text-shadow: 2px 2px 0 var(--gold); }
.brand b { font-weight: 400; color: var(--gold-deep); text-shadow: none; }
.top nav { display: flex; gap: 14px; flex-wrap: wrap; }
.top nav a { color: var(--ink-2); font-weight: 700; text-decoration: none; }
.top nav a:hover { text-decoration: underline; }
footer { margin: 60px 0 30px; padding-top: 18px; border-top: var(--edge); color: var(--muted); font-size: 0.9rem; }
footer nav { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
footer a { color: var(--ink-2); }

/* The cover */
.cover { display: grid; gap: 28px; align-items: center; padding: 30px 0 10px; }
@media (min-width: 760px) { .cover { grid-template-columns: 1.1fr 0.9fr; padding: 50px 0 20px; } }
.cover p.lede { font-size: 1.2rem; color: var(--ink-2); max-width: 32em; }
.cover-art { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cover-art img { border: var(--edge); box-shadow: var(--drop); background: #e9e9e6; aspect-ratio: 4 / 5; object-fit: cover; }
.cover-art img:first-child { transform: rotate(-3deg); }
.cover-art img:last-child { transform: rotate(2deg) translateY(18px); }
.caption-box { display: inline-block; padding: 3px 12px; background: var(--gold); color: var(--ink); border: var(--edge); font-family: var(--font-display); letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.95rem; transform: rotate(-1.5deg); }
.btn { display: inline-block; padding: 12px 20px; background: var(--gold); color: var(--ink); border: var(--edge); box-shadow: var(--drop); font-weight: 800; text-decoration: none; border-radius: 8px; }
.btn:hover { transform: translate(1px, 1px); box-shadow: 3px 3px 0 var(--ink-line); }
.btn.quiet { background: var(--surface); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 18px 0 6px; }
.note { font-size: 0.9rem; color: var(--muted); }

/* Panels: the sections as a comic page */
section { margin: 48px 0; }
.panels { display: grid; gap: 18px; }
@media (min-width: 700px) { .panels { grid-template-columns: repeat(3, 1fr); } }
.panel { background: var(--surface); border: var(--edge); box-shadow: var(--drop); border-radius: 10px; padding: 18px 18px 14px; }
.panel .num { font-family: var(--font-display); font-size: 2rem; color: var(--gold-deep); line-height: 1; }
.list { display: grid; gap: 12px; }
@media (min-width: 700px) { .list { grid-template-columns: 1fr 1fr; } }
.list .panel { padding: 14px 16px; }
.list h3 { margin-bottom: 4px; }

/* The styles shelf */
.shelf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (min-width: 700px) { .shelf { grid-template-columns: repeat(6, 1fr); } }
.shelf figure { margin: 0; }
.shelf img { border: var(--edge); box-shadow: var(--drop); aspect-ratio: 1; object-fit: cover; background: #e9e9e6; }
.shelf figcaption { font-size: 0.85rem; font-weight: 700; margin-top: 6px; text-align: center; }

/* Pricing */
.prices { display: grid; gap: 14px; }
@media (min-width: 760px) { .prices { grid-template-columns: 1.2fr 1fr 1fr 1fr; } }
.price { background: var(--surface); border: var(--edge); box-shadow: var(--drop); border-radius: 10px; padding: 16px; }
.price.main { background: #fff8dc; }
.price .amount { font-family: var(--font-display); font-size: 2.2rem; letter-spacing: 0.03em; }
.price .amount small { font-family: var(--font); font-size: 0.9rem; letter-spacing: 0; color: var(--muted); }
.price ul { padding-left: 18px; margin: 8px 0 0; }
.price li { margin: 3px 0; }

/* Long pages: privacy, terms, support */
.prose { max-width: 720px; }
.prose h2 { font-size: 1.7rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.15rem; font-family: var(--font); font-weight: 800; letter-spacing: 0; margin-top: 1.3em; }
.prose dt { font-weight: 800; margin-top: 12px; }
.prose dd { margin: 2px 0 0; color: var(--ink-2); }
.prose table { border-collapse: collapse; width: 100%; margin: 12px 0; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.updated { color: var(--muted); font-size: 0.9rem; }
