/* Inner pages of the public site. Colours, type, buttons, cards and feature rows
   all come from the homepage's own <style>; only what those pages add is here. */
.hero.pg-hero { padding-bottom: 40px; }
.hero.pg-hero h1 { max-width: 860px; margin-left: auto; margin-right: auto; }
.pg-crumb { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.pg-crumb a { color: inherit; text-decoration: none; }
.pg-crumb a:hover { color: var(--accent); }

.pg-steps { counter-reset: s; list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; max-width: 1080px; }
.pg-steps li { counter-increment: s; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--card-shadow); }
.pg-steps li::before { content: counter(s, decimal-leading-zero); display: block; font-weight: 700; color: var(--accent); font-size: 13px; letter-spacing: .08em; margin-bottom: 8px; }
.pg-steps b { display: block; color: var(--ink); margin-bottom: 4px; }
.pg-steps span { color: var(--muted); font-size: 14.5px; line-height: 1.5; }

.pg-faq { display: grid; gap: 10px; max-width: 860px; margin: 0 auto; }
.pg-faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
.pg-faq summary { cursor: pointer; list-style: none; padding: 17px 0; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; }
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq summary::after { content: "+"; font-weight: 400; font-size: 22px; line-height: 1; color: var(--muted); transition: transform .2s; }
.pg-faq details[open] summary::after { transform: rotate(45deg); }
.pg-faq details p { margin: 0 0 18px; color: var(--muted); }
.pg-faq-group + .pg-faq-group { margin-top: 34px; }
.pg-faq-group h3 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); max-width: 860px; margin: 0 auto 12px; }

.pg-next { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1080px; margin: 0 auto; }
.pg-next a { display: block; text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; color: var(--ink); transition: border-color .2s, transform .2s; }
.pg-next a:hover { border-color: var(--accent); transform: translateY(-2px); }
.pg-next b { display: block; font-size: 16px; }
.pg-next span { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; }

.pg-prose { max-width: 760px; margin: 0 auto; font-size: 17px; line-height: 1.7; }
.pg-prose p { margin: 0 0 16px; }

@media (max-width: 900px) {
  .pg-steps, .pg-next { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .pg-steps, .pg-next { grid-template-columns: 1fr; }
}
.center-head + .pg-faq, .center-head + .pg-next, .center-head + .pg-steps { margin-top: 36px; }
.hero.pg-legal { padding-bottom: 8px; }
.pg-prose h2 { font-size: 22px; letter-spacing: -.01em; margin: 34px 0 10px; color: var(--ink); }
.pg-prose ul { margin: 0 0 16px; padding-left: 20px; }
.pg-prose li { margin-bottom: 8px; }
.pg-prose a { color: var(--accent); }
.fbot a { color: inherit; }

/* ---- Richer inner pages (2026-11-15): problem, proof screens, comparison, timeline, use cases, trust, CTA bands ---- */
::selection { background: var(--accent-soft); color: var(--ink); }
.pg-sec-head { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.pg-sec-head h2 { margin: 0 0 12px; text-wrap: balance; }
.pg-sec-head p { margin: 0; color: var(--muted); font-size: 17px; text-wrap: pretty; }

/* The problem, in the owner's words */
.pg-pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; max-width: 1080px; margin: 0 auto; }
.pg-pains > div { border-top: 2px solid var(--ink); padding-top: 16px; }
.pg-pains b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 6px; }
.pg-pains p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Text + product screen */
.pg-proof { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; max-width: 1080px; margin: 0 auto; }
.pg-proof + .pg-proof { margin-top: 72px; }
.pg-proof.flip > :first-child { order: 2; }
.pg-proof h3 { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.15; letter-spacing: -.02em; color: var(--ink); margin: 0 0 12px; text-wrap: balance; }
.pg-proof > div > p { color: var(--muted); margin: 0 0 16px; }
.pg-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pg-ticks li { position: relative; padding-left: 28px; }
.pg-ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f7f9e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 7 9 18l-5-5'/%3E%3C/svg%3E") center/11px no-repeat; }

/* Drawn product screens (example data, labelled) */
.mk { position: relative; background: var(--white); border-radius: var(--r-l); box-shadow: var(--card-shadow), 0 30px 60px -30px rgba(16,24,40,.25); overflow: hidden; max-width: 440px; margin: 0 auto; width: 100%; }
.mk-tag { position: absolute; top: 12px; right: 12px; z-index: 2; font-size: 11px; font-weight: 600; color: var(--muted); background: rgba(255,255,255,.92); border-radius: 999px; padding: 2px 8px; }
.mk-wa-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #075e54; color: #fff; }
.mk-wa-head i { width: 32px; height: 32px; border-radius: 50%; background: #d9fdd3; display: grid; place-items: center; color: #075e54; font-style: normal; font-weight: 700; font-size: 13px; }
.mk-wa-head b { display: block; font-size: 14px; line-height: 1.2; }
.mk-wa-head small { font-size: 11.5px; color: #cfe9e4; }
.mk-wa { background: var(--wa-bg); padding: 16px 14px 18px; display: grid; gap: 8px; }
.mk-wa .mi, .mk-wa .mo { max-width: 84%; padding: 8px 11px 6px; border-radius: 10px; font-size: 14px; line-height: 1.45; box-shadow: 0 1px 1px rgba(0,0,0,.08); color: #111b21; }
.mk-wa .mi { background: #fff; justify-self: start; border-top-left-radius: 3px; }
.mk-wa .mo { background: var(--wa-bubble); justify-self: end; border-top-right-radius: 3px; }
.mk-wa small { display: block; text-align: right; font-size: 10.5px; color: #667781; margin-top: 2px; }
.mk-prod { display: grid; grid-template-columns: 60px 1fr; gap: 10px; align-items: center; background: #fff; border-radius: 8px; padding: 6px; margin-bottom: 6px; }
.mk-prod .ph { width: 60px; height: 60px; border-radius: 6px; background: linear-gradient(160deg, #31406b 0%, #1d2747 100%); }
.mk-prod b { display: block; font-size: 13.5px; }
.mk-prod span { font-size: 12px; color: #667781; }
.mk-btns { display: grid; gap: 1px; margin: 6px -11px -6px; border-top: 1px solid rgba(0,0,0,.08); }
.mk-btns span { text-align: center; color: #0a7cff; font-size: 13.5px; font-weight: 500; padding: 8px 0 7px; }
.mk-hdr-img { height: 116px; margin: -8px -11px 8px; border-radius: 10px 0 0 0; background: linear-gradient(160deg, #c4a57d 0%, #8a6a43 100%); }
.mk-note { display: flex; gap: 8px; align-items: center; padding: 11px 16px; font-size: 13px; color: var(--ok); background: var(--ok-bg); }
.mk-note svg { width: 16px; height: 16px; flex: none; }
.mk-panel { padding: 22px 22px 20px; }
.mk-panel h4 { margin: 0 0 14px; font-size: 15px; color: var(--ink); }
.mk-field { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line-2); font-size: 14px; }
.mk-field span { color: var(--muted); }
.mk-field b { color: var(--ink); text-align: right; font-weight: 600; }
.mk-chip { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--ok-bg); color: var(--ok); margin-left: 6px; }
.mk-skip { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--warn-bg); color: var(--warn); font-size: 13px; }
.mk-btn { display: inline-block; margin-top: 14px; padding: 9px 16px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 600; }
.mk-btn.ghost { background: none; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); margin-left: 6px; }
.mk-why { margin: 12px 0 0; padding: 12px; border-radius: 10px; background: var(--bg); font-size: 13.5px; color: var(--text); }
.mk-thumbs { display: flex; gap: 6px; margin-top: 12px; }
.mk-thumbs i { width: 46px; height: 46px; border-radius: 8px; background: linear-gradient(160deg, #31406b, #1d2747); }
.mk-thumbs i:nth-child(2) { background: linear-gradient(160deg, #e9dcc6, #c9b28c); }
.mk-thumbs i:nth-child(3) { background: linear-gradient(160deg, #7c8f6a, #56664a); }

/* Before vs with Wabotics */
.pg-compare { width: 100%; max-width: 1080px; margin: 0 auto; border-collapse: separate; border-spacing: 0; background: var(--white); border-radius: var(--r); box-shadow: var(--card-shadow); overflow: hidden; font-size: 15px; }
.pg-compare th, .pg-compare td { text-align: left; padding: 16px 20px; vertical-align: top; border-bottom: 1px solid var(--line-2); }
.pg-compare tr:last-child td { border-bottom: 0; }
.pg-compare thead th { font-size: 13px; letter-spacing: .02em; color: var(--muted); font-weight: 600; background: var(--bg); }
.pg-compare thead th:last-child { color: var(--accent-dark); }
.pg-compare td:first-child { font-weight: 600; color: var(--ink); width: 26%; }
.pg-compare td:nth-child(2) { color: var(--muted); }
.pg-compare td:last-child { color: var(--ink); background: rgba(221,241,242,.35); }

/* Step timeline */
.pg-time { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; position: relative; }
.pg-time::before { content: ""; position: absolute; left: 17px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--accent-2), var(--accent-soft)); }
.pg-time li { position: relative; padding: 0 0 26px 56px; }
.pg-time li:last-child { padding-bottom: 0; }
.pg-time li::before { content: ""; position: absolute; left: 8px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); border: 2px solid var(--accent); box-shadow: 0 0 0 5px var(--white); }
.tint .pg-time li::before { box-shadow: 0 0 0 5px var(--bg); }
.pg-time b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 4px; }
.pg-time span { color: var(--muted); }
.pg-time em { font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--accent-dark); display: block; margin-bottom: 2px; }

/* Use cases by store type */
.pg-uses { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; max-width: 1180px; margin: 0 auto; }
.pg-use { background: var(--white); border-radius: var(--r); padding: 18px; box-shadow: var(--card-shadow); display: flex; flex-direction: column; gap: 10px; }
.pg-use > b { font-size: 13px; letter-spacing: .02em; color: var(--accent-dark); }
.pg-use q { quotes: none; background: var(--wa-bubble); border-radius: 10px; border-top-right-radius: 3px; padding: 9px 11px; font-size: 14px; color: #111b21; }
.pg-use p { margin: 0; font-size: 14px; color: var(--muted); }

/* Trust band (every feature page, before the pilot form) */
.pg-trust { background: linear-gradient(180deg, #0f3442, #0b2833); color: #d7ecef; }
.pg-trust h2 { color: #fff; }
.pg-trust .pg-sec-head p { color: #a9cdd4; }
.pg-trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; max-width: 1080px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,.12); }
.pg-trust-grid > div { padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.pg-trust-grid b { display: flex; gap: 10px; align-items: center; color: #fff; font-size: 16px; margin-bottom: 6px; }
.pg-trust-grid b svg { width: 20px; height: 20px; color: #8fd6da; flex: none; }
.pg-trust-grid p { margin: 0; font-size: 14.5px; color: #a9cdd4; }
.pg-trust a { color: #cdeef0; text-underline-offset: 3px; }
.pg-trust-op { max-width: 1080px; margin: 22px auto 0; font-size: 13.5px; color: #8fb6bd; }

/* Call to action band after a major section */
.pg-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; max-width: 1080px; margin: 48px auto 0; padding: 22px 26px; border-radius: var(--r); background: var(--accent-soft); }
.pg-cta p { margin: 0; color: var(--ink); font-weight: 600; font-size: 17px; }
.pg-cta p small { display: block; font-weight: 400; color: var(--muted); font-size: 14px; margin-top: 2px; }
.pg-cta .acts { display: flex; gap: 10px; flex-wrap: wrap; }

.pg-faq summary:focus-visible, .pg-next a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 10px; }

@media (max-width: 1000px) {
  .pg-uses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-proof { grid-template-columns: 1fr; gap: 32px; }
  .pg-proof.flip > :first-child { order: 0; }
  .pg-trust-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .pg-pains, .pg-uses, .pg-trust-grid { grid-template-columns: 1fr; }
  .pg-compare thead { display: none; }
  .pg-compare, .pg-compare tbody, .pg-compare tr, .pg-compare td { display: block; width: 100%; }
  .pg-compare tr { border-bottom: 1px solid var(--line); }
  .pg-compare td { border: 0; padding: 6px 18px; }
  .pg-compare td:first-child { padding-top: 16px; width: 100%; }
  .pg-compare td:nth-child(2)::before { content: "By hand: "; font-weight: 600; color: var(--muted); }
  .pg-compare td:last-child { padding-bottom: 16px; }
  .pg-compare td:last-child::before { content: "With Wabotics: "; font-weight: 600; color: var(--accent-dark); }
  .pg-cta { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .pg-next a { transition: none; }
}
.pg-compare.two td:first-child { width: 34%; }
.pg-compare.two td:last-child { color: var(--ink); }
@media (max-width: 640px) { .pg-compare.two td:last-child::before { content: none; } .pg-compare.two td { padding: 4px 18px; } .pg-compare.two td:first-child { padding-top: 16px; } }

/* ---- Answer-first summaries, guides index and articles ---- */
.pg-answer-sec { padding-top: 0; padding-bottom: 8px; }
.pg-answer { max-width: 760px; margin: 0 auto; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 14px; padding: 20px 24px; box-shadow: var(--card-shadow); }
.pg-answer h2 { font-size: 18px; line-height: 1.3; letter-spacing: -.01em; color: var(--ink); margin: 0 0 8px; }
.pg-answer p { margin: 0; font-size: 16.5px; line-height: 1.65; color: var(--text); }
.pg-updated { max-width: 760px; margin: 0 auto; padding: 0 0 8px; font-size: 13px; color: var(--muted); text-align: center; }
.pg-byline { font-size: 14px; color: var(--muted); margin: 14px 0 0; }

.pg-guides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 1080px; margin: 0 auto; }
.pg-guide-card { display: flex; flex-direction: column; gap: 8px; text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; box-shadow: var(--card-shadow); color: var(--text); transition: border-color .2s, transform .2s; }
.pg-guide-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.pg-guide-card b { font-size: 18px; line-height: 1.3; color: var(--ink); text-wrap: balance; }
.pg-guide-card span { color: var(--muted); font-size: 15px; line-height: 1.55; }
.pg-guide-card small { margin-top: auto; padding-top: 6px; font-size: 13px; color: var(--accent-dark); }

.pg-article { max-width: 760px; margin: 0 auto; font-size: 17px; line-height: 1.75; overflow-wrap: break-word; }
.pg-article > .pg-answer { margin-bottom: 28px; }
.pg-article h2 { font-size: clamp(22px, 2.4vw, 27px); line-height: 1.25; letter-spacing: -.015em; color: var(--ink); margin: 44px 0 12px; scroll-margin-top: 90px; text-wrap: balance; }
.pg-article h3 { font-size: 19px; color: var(--ink); margin: 28px 0 8px; }
.pg-article p { margin: 0 0 16px; }
.pg-article ul, .pg-article ol { margin: 0 0 18px; padding-left: 22px; }
.pg-article li { margin-bottom: 8px; }
.pg-article a { color: var(--accent-dark); text-underline-offset: 2px; }
.pg-article b, .pg-article strong { color: var(--ink); }
.pg-article .pg-compare { margin: 8px 0 24px; font-size: 15px; line-height: 1.55; }
.pg-article .pg-faq { margin: 8px 0 0; }
.pg-toc { background: var(--bg); border-radius: 14px; padding: 18px 22px; margin: 0 0 12px; font-size: 15px; }
.pg-toc b { display: block; color: var(--ink); margin-bottom: 6px; }
.pg-toc ol { margin: 0; padding-left: 20px; }
.pg-toc li { margin: 3px 0; }
.pg-toc a { text-decoration: none; }
.pg-toc a:hover { text-decoration: underline; }
.pg-quote { background: var(--wa-bubble); border-radius: 12px 12px 12px 2px; padding: 12px 16px; max-width: 520px; font-size: 15.5px; line-height: 1.55; color: var(--ink); }
.pg-sources { font-size: 15px; color: var(--muted); }
.pg-disclosure { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 28px; }
@media (max-width: 760px) {
  .pg-guides { grid-template-columns: minmax(0, 1fr); }
  .pg-article { font-size: 16.5px; }
  .pg-answer { padding: 18px; }
}
.pg-article .pg-answer h2 { font-size: 18px; margin: 0 0 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.pg-gloss { max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }
.pg-gloss div { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; }
.pg-gloss dt { font-weight: 600; color: var(--ink); }
.pg-gloss dd { margin: 6px 0 0; color: var(--muted); }
