/* Shared layout for the plain-language guide pages:
   /photo-book-that-plays-videos, /popcode-vs-artivive, /popcode-vs-qr-codes.

   These pages exist to answer one question each, in the words people (and AI
   assistants) search with, so they are mostly text: a gradient head like
   pricing.html's, then steps, cards, a comparison table and a FAQ. The FAQ uses
   <details> so every answer is in the HTML for crawlers without any script. */
:root {
  --ink: #1a1a1a;
  --muted: #6f6f6f;
  --faint: #8a8a8a;
  --line: #e7e5e0;
  --paper: #ffffff;
  --bg: #f9f9f9;
  --violet: #7657FC;
  --serif: 'CooperBT', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 760px; }
@media (max-width: 560px) { .wrap { padding: 0 20px; } }
section { padding: 72px 0; }
@media (max-width: 640px) { section { padding: 48px 0; } }

h1 { font-family: var(--serif); font-weight: 400; font-size: 54px; line-height: 1.06;
     letter-spacing: -0.02em; margin: 0 0 20px; }
h2 { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.12;
     letter-spacing: -0.02em; margin: 0 0 16px; }
h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.2; margin: 0 0 8px; }
p { font-size: 16.5px; line-height: 1.65; color: var(--muted); margin: 0 0 14px; }
p strong { color: var(--ink); font-weight: 600; }
@media (max-width: 640px) { h1 { font-size: 36px; } h2 { font-size: 27px; } }
.center { text-align: center; }
.section-sub { max-width: 36em; margin: 0 auto 36px; text-align: center; }

/* ── Gradient head, as on pricing.html ── */
body .site-header::after { display: none; }
.g-hero {
  position: relative; overflow-x: clip;
  background: linear-gradient(135deg, #5bc8f5 0%, #7c3aed 100%);
  color: #fff; padding: 72px 0 150px; text-align: center;
}
.g-hero .eyebrow { color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
                   margin: 0 0 22px; opacity: .92; }
.g-hero h1 { max-width: 15em; margin-inline: auto; text-wrap: balance; }
.g-hero .lede { font-size: 19px; line-height: 1.6; color: rgba(255,255,255,.9); max-width: 34em;
                margin: 0 auto 30px; }
.g-hero .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.g-hero .btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.g-hero .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.hero-curve {
  position: absolute; left: -2%; bottom: -1px; width: 104%; height: 110px;
  display: block; pointer-events: none;
}
@media (max-width: 640px) {
  .g-hero { padding: 48px 0 90px; }
  .g-hero .lede { font-size: 17px; }
  .hero-curve { height: 50px; }
}

/* ── Steps ── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--pc-radius-card, 18px);
        padding: 26px 24px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; margin-bottom: 14px;
  background: linear-gradient(135deg, #7657FC, #589AF9); color: #fff; font-weight: 700; font-size: 15px;
}
.step p { font-size: 15.5px; margin: 0; }

/* ── Product cards ── */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .products { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .products { grid-template-columns: 1fr; } }
.product { background: var(--paper); border: 1px solid var(--line); border-radius: var(--pc-radius-card, 18px);
           overflow: hidden; display: flex; flex-direction: column; text-decoration: none; }
.product img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #efede8; }
.product div { padding: 18px 20px 20px; }
.product p { font-size: 15px; margin: 0; }
.product:hover h3 { color: var(--violet); }
.also { text-align: center; margin-top: 26px; }

/* ── Comparison table ── */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--pc-radius-card, 18px);
              border: 1px solid var(--line); background: var(--paper); }
table.compare { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; min-width: 560px; }
table.compare th, table.compare td { text-align: left; vertical-align: top; padding: 14px 18px;
                                     border-bottom: 1px solid var(--line); }
table.compare tr:last-child td { border-bottom: none; }
table.compare thead th { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint);
                         background: #fbfaf8; }
table.compare tbody th { font-weight: 600; color: var(--ink); width: 26%; }
table.compare td { color: var(--muted); }
table.compare td.us { color: var(--ink); }
/* On a phone each row becomes a small card: the row name, then each side
   labelled, so nothing hides off the right edge. */
@media (max-width: 600px) {
  table.compare { min-width: 0; }
  table.compare thead { display: none; }
  table.compare tr { display: block; padding: 14px 18px; border-bottom: 1px solid var(--line); }
  table.compare tr:last-child { border-bottom: none; }
  table.compare tbody th, table.compare td { display: block; width: auto; padding: 0; border: none; }
  table.compare tbody th { margin-bottom: 8px; }
  table.compare td { margin-bottom: 8px; }
  table.compare td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 700;
                             letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
}
.note { font-size: 13.5px; color: var(--faint); margin-top: 14px; }

/* ── Two-up text blocks ── */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .pair { grid-template-columns: 1fr; gap: 10px; } }
.callout { background: var(--paper); border: 1px solid var(--line); border-radius: var(--pc-radius-card, 18px);
           padding: 28px 28px 16px; }
.callout ul { margin: 0 0 14px; padding-left: 20px; }
.callout li { font-size: 15.5px; line-height: 1.6; color: var(--muted); margin-bottom: 8px; }

/* ── FAQ ── */
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
               margin-bottom: 10px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; position: relative;
               font-weight: 600; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 14px; font-size: 22px;
                      font-weight: 400; color: var(--violet); }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { margin: 0 0 18px; }

/* ── Related links + closing ── */
.related { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.related a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 12px 18px;
             border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.related a:hover { color: var(--violet); border-color: var(--violet); }
.end { background: #fff; border-top: 1px solid var(--line); text-align: center; }
.end .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }

/* ── Footer, as on pricing.html ── */
footer { background: #fff; border-top: 1px solid var(--line); padding: 56px 0 40px; }
.foot-top { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
.foot-top img { height: 30px; }
.foot-tag { font-family: var(--serif); font-size: 17px; color: var(--muted); margin: 12px 0 0; }
.foot-links { display: flex; gap: 26px; flex-wrap: wrap; }
.foot-links a { font-size: 14.5px; font-weight: 600; color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--ink); }
.foot-base { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 40px; padding-top: 22px;
             border-top: 1px solid var(--line); font-size: 13.5px; color: var(--faint); }
.foot-base a { text-decoration: none; color: inherit; }
