/* Shared styles for the static marketing pages in public/vs, public/best,
   public/for and public/compare.html. Same palette as faq.html / how-to.html,
   so the whole non-app side of the site reads as one thing. */
:root {
  --bg: #f4ecd8;
  --paper: #fff8e1;
  --ink: #2a2418;
  --muted: #6b5f4a;
  --rule: #e6d9b8;
  --accent: #c89b1a;
  --cork: #b6884f;
  --yes: #3d7a2a;
  --no: #a14a3a;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  background: var(--bg);
  color: var(--ink);
  font:
    16px/1.65 'Nunito',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    sans-serif;
  min-height: 100vh;
  padding: 0 16px 96px;
}
.topbar {
  max-width: 820px;
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand {
  font-family: 'Caveat', cursive;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}
.topbar .try {
  margin-left: auto;
  font-size: 0.95rem;
}
.page {
  max-width: 820px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 48px 56px;
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.04),
    0 24px 48px -24px rgba(60, 40, 0, 0.18);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 8px;
}
h1 {
  font-size: 36px;
  line-height: 1.15;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.intro {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 32px;
}
h2 {
  font-size: 22px;
  margin: 40px 0 12px;
  letter-spacing: -0.005em;
}
h3 {
  font-size: 17px;
  margin: 24px 0 6px;
}
p,
ul,
ol {
  margin: 0 0 14px;
}
ul,
ol {
  padding-left: 22px;
}
li {
  margin-bottom: 6px;
}
a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
a:hover {
  color: var(--accent);
}

kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85em;
  padding: 1px 6px;
  border: 1px solid var(--rule);
  border-bottom-width: 2px;
  border-radius: 4px;
  background: #fffdf3;
}

/* Comparison table. Scrolls inside its own box on narrow screens so the
   page itself never scrolls sideways. */
.table-wrap {
  overflow-x: auto;
  margin: 0 0 16px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 480px;
}
th,
td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
thead th {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
tbody th {
  font-weight: 600;
  width: 34%;
}
.yes {
  color: var(--yes);
  font-weight: 700;
}
.no {
  color: var(--no);
  font-weight: 700;
}

/* "When to pick which" pair. */
.verdicts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 8px 0 16px;
}
.verdict {
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 16px 18px;
  background: #fffdf3;
}
.verdict h3 {
  margin-top: 0;
}
.verdict ul {
  margin: 0;
}

/* Ranked list on /best pages. */
.pick {
  border-top: 1px solid var(--rule);
  padding: 18px 0 4px;
}
.pick h3 {
  margin: 0 0 4px;
}
.pick .best-for {
  color: var(--muted);
  font-style: italic;
  margin: 0 0 8px;
}

/* Real quotes as sticky notes. */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin: 24px 0 8px;
  padding: 0;
  list-style: none;
}
.quotes li {
  margin: 0;
  background: var(--note, #fdf07c);
  padding: 16px 16px 12px;
  border-radius: 3px;
  transform: rotate(var(--rot, -1deg));
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.18),
    0 8px 16px rgba(0, 0, 0, 0.1);
}
.quotes blockquote {
  margin: 0 0 8px;
  font-family: 'Caveat', cursive;
  font-size: 1.35rem;
  line-height: 1.2;
}
.quotes cite {
  font-style: normal;
  font-size: 13px;
  color: var(--muted);
}

/* Call to action block. */
.cta {
  margin: 40px 0 8px;
  padding: 28px 24px;
  border-radius: 6px;
  background: var(--cork);
  color: #fff8e1;
  text-align: center;
}
.cta p {
  margin: 0 0 16px;
  font-family: 'Caveat', cursive;
  font-size: 1.6rem;
  line-height: 1.2;
}
.cta .go {
  display: inline-block;
  background: #fff8e1;
  color: var(--ink);
  text-decoration: none;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
}
.cta .go:hover {
  color: var(--ink);
  background: #fdf07c;
}
.cta .alt {
  display: block;
  margin-top: 12px;
  color: #fff8e1;
  text-decoration-color: rgba(255, 248, 225, 0.5);
  font-size: 15px;
}

/* FAQ. */
.qa {
  border-top: 1px solid var(--rule);
  padding: 16px 0;
}
.qa h3 {
  margin: 0 0 6px;
}
.qa p:last-child {
  margin-bottom: 0;
}

.related {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}
.related ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

footer {
  max-width: 820px;
  margin: 32px auto 0;
  color: var(--muted);
  font-size: 14px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
footer a {
  color: var(--muted);
}

@media (max-width: 640px) {
  .page {
    padding: 32px 20px;
  }
  h1 {
    font-size: 28px;
  }
}
