/* Rocco public pages (privacy, support, home). Same palette as the store art. */
:root {
  --cream: #fff8e7;
  --butter: #ffe9a6;
  --sun: #ffc23d;
  --ink: #1a1c3b;
  --ink-muted: #5e6285;
  --primary: #5050e6;
  --card: #ffffff;
  --line: #f1e3bd;
}
@media (prefers-color-scheme: dark) {
  :root {
    --cream: #17182f;
    --butter: #2a2b4d;
    --ink: #f4f1e8;
    --ink-muted: #b6b8d3;
    --primary: #a3a3ff;
    --card: #20213f;
    --line: #34355c;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 17px/1.6 "Nunito", system-ui, -apple-system, sans-serif;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 32px 16px 64px; }
header { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
header img { width: 56px; height: 56px; border-radius: 13px; }
header a { color: inherit; text-decoration: none; }
.brand { font-family: "Fredoka", system-ui, sans-serif; font-weight: 700; font-size: 26px; line-height: 1.1; }
.brand small { display: block; font-size: 15px; font-weight: 600; color: var(--primary); }
nav { margin-left: auto; display: flex; gap: 16px; font-weight: 700; font-size: 15px; }
nav a { color: var(--primary); text-decoration: none; }
h1, h2, h3 { font-family: "Fredoka", system-ui, sans-serif; line-height: 1.2; }
h1 { font-size: 34px; margin: 0 0 6px; }
h2 { font-size: 23px; margin: 36px 0 8px; }
h3 { font-size: 18px; margin: 22px 0 4px; }
.meta { color: var(--ink-muted); font-size: 15px; margin-bottom: 24px; }
.card { background: var(--card); border: 2px solid var(--line); border-radius: 20px; padding: 20px 22px; margin: 18px 0; }
a { color: var(--primary); }
ul { padding-left: 22px; }
li { margin: 4px 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 8px 6px; border-bottom: 1px solid var(--line); }
th { font-weight: 800; }
.hero { text-align: center; padding: 24px 0 8px; }
.hero img { width: 128px; height: 128px; border-radius: 29px; box-shadow: 0 10px 24px rgba(26, 28, 59, 0.18); }
.hero h1 { font-size: 40px; margin-top: 18px; }
.hero p { font-size: 19px; color: var(--ink-muted); margin: 0 auto; max-width: 520px; }
.hero .store { display: inline-block; margin-top: 24px; }
.hero .store img { width: auto; height: 54px; border-radius: 0; box-shadow: none; }
.accent { color: var(--primary); }
footer { margin-top: 48px; color: var(--ink-muted); font-size: 14px; text-align: center; }
@media (max-width: 520px) {
  header { flex-wrap: wrap; }
  nav { margin-left: 0; width: 100%; }
  h1 { font-size: 29px; }
}
.card h3:first-child { margin-top: 0; }

/* Shared classes for the document-style pages (how it works, pricing, FAQ, about, guides). */
.crumbs { margin: -12px 0 18px; font-size: 14px; color: var(--ink-muted); }
.crumbs a { color: var(--ink-muted); text-decoration: underline; text-underline-offset: 2px; }
.crumbs span { color: var(--ink); font-weight: 700; }
.answer { font-size: 19px; line-height: 1.55; margin: 0 0 24px; }
.get { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 40px; }
.get h3 { margin: 0 0 4px; }
.get p { margin: 0; color: var(--ink-muted); }
.get .store { flex: none; line-height: 0; }
.get .store img { width: auto; height: 54px; border-radius: 0; box-shadow: none; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 16px 0; }
.table-wrap table { min-width: 520px; }
.table-wrap.fit table { min-width: 0; }
caption { caption-side: top; text-align: left; font-size: 14px; color: var(--ink-muted); padding: 0 6px 6px; }
.tldr { background: var(--butter); border-color: var(--line); }
.tldr h2, .tldr h3 { margin-top: 0; }
.tldr ul { margin: 6px 0 0; }
.toc { font-size: 15px; padding: 14px 18px; border-left: 4px solid var(--line); margin: 0 0 24px; }
.toc b { display: block; margin-bottom: 4px; }
.toc ul, .toc ol { margin: 0; padding-left: 20px; }
.toc li { margin: 2px 0; }

/* Plan cards on the pricing page. */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0; }
.plans .card { margin: 0; }
.plans h3 { margin: 0 0 2px; }
.plans .price { font-family: "Fredoka", system-ui, sans-serif; font-size: 26px; font-weight: 700; margin: 6px 0 0; }
.plans .price small { font-family: "Nunito", system-ui, sans-serif; font-size: 15px; font-weight: 700; color: var(--ink-muted); }
.plans p { margin: 4px 0; }

/* Numbered steps (how it works). */
.steps-list { list-style: none; counter-reset: step; padding: 0; margin: 18px 0; }
.steps-list > li { counter-increment: step; position: relative; padding: 0 0 0 52px; margin: 0 0 18px; }
.steps-list > li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: var(--card);
  font-family: "Fredoka", system-ui, sans-serif; font-weight: 700; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
}
.steps-list b { display: block; font-size: 18px; }

/* A small row of app screenshots, scrolls sideways on phones. */
.shots { display: flex; gap: 14px; list-style: none; padding: 4px 0 12px; margin: 18px 0; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.shots li { flex: 0 0 calc(25% - 11px); min-width: 150px; margin: 0; scroll-snap-align: start; }
.shots img { display: block; width: 100%; height: auto; border-radius: 18px; border: 2px solid var(--line); }
.shots figcaption, .shots .cap { font-size: 14px; color: var(--ink-muted); margin-top: 6px; line-height: 1.4; }

/* FAQ groups and facts table. */
.facts th { width: 38%; }
@media (max-width: 520px) {
  .answer { font-size: 18px; }
  .get { flex-direction: column; align-items: flex-start; }
  .plans { grid-template-columns: 1fr; }
  .shots li { flex-basis: 46%; }
}
