/* Shared styles for the guide pages (apps-that-pay-you-to-walk, sweatcoin-alternative, weward-alternative) */
:root {
  --mint: #00D9A8;
  --blue: #2B7FD4;
  --text-link: #2670BB;
  --teal: #0F6E56;
  --surface: #F4F7FB;
  --dark: #1A1A2E;
  --muted: #4A5568;
  --line: #E2E8F0;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: 'DM Sans', sans-serif; color: var(--dark); background: #fff; line-height: 1.65; font-size: 17px; }
h1, h2, h3 { font-family: 'Poppins', sans-serif; line-height: 1.25; }
a { color: var(--text-link); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10; }

.top { background: linear-gradient(135deg, #00C9A0, #2B7FD4); color: #fff; }
.top__bar { max-width: 880px; margin: 0 auto; padding: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.top__brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 20px; }
.top__brand img { width: 36px; height: 36px; border-radius: 9px; }
.top__cta { color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; border: 1.5px solid rgba(255,255,255,0.8); border-radius: 999px; padding: 7px 14px; white-space: nowrap; }
.hero { max-width: 880px; margin: 0 auto; padding: 24px 16px 48px; }
.hero h1 { font-size: clamp(30px, 6vw, 44px); margin: 0 0 12px; }
.hero p { font-size: 19px; margin: 0; max-width: 680px; }
.hero .updated { font-size: 14px; opacity: 0.9; margin-top: 14px; }

main { max-width: 880px; margin: 0 auto; padding: 32px 16px 56px; }
main h2 { font-size: 26px; margin: 40px 0 12px; }
main h3 { font-size: 19px; margin: 24px 0 8px; }
main p, main li { color: #2D3748; }
.callout { background: var(--surface); border-left: 4px solid var(--mint); border-radius: 8px; padding: 16px 18px; margin: 24px 0; }
.callout p { margin: 0; }

.table-wrap { overflow-x: auto; margin: 16px 0; }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 16px; }
th, td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: 'Poppins', sans-serif; font-size: 15px; background: var(--surface); }

.cta { background: linear-gradient(135deg, #00C9A0, #2B7FD4); color: #fff; border-radius: 18px; padding: 28px 24px; margin: 40px 0; text-align: center; }
.cta h2 { margin: 0 0 8px; color: #fff; }
.cta p { color: #fff; margin: 0 0 18px; }
.cta a { display: inline-block; background: #fff; color: var(--text-link); font-weight: 700; text-decoration: none; padding: 13px 26px; border-radius: 999px; }

details { border-bottom: 1px solid var(--line); padding: 14px 0; }
summary { font-family: 'Poppins', sans-serif; font-weight: 600; cursor: pointer; }
details p { margin: 10px 0 0; }

.related { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 12px; }
.related a { display: block; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; text-decoration: none; font-weight: 600; }

footer { background: var(--dark); color: #CBD5E0; font-size: 14px; }
footer .inner { max-width: 880px; margin: 0 auto; padding: 28px 16px; display: flex; flex-wrap: wrap; gap: 10px 20px; }
footer a { color: #E2E8F0; }
footer .note { width: 100%; color: #A0AEC0; margin: 6px 0 0; }
