/* Shared styles for pandaqueue.com's content pages (pricing, comparisons,
   guides). Same tokens and nav/footer as index.html, plus article
   typography, tables and cards. Pages are generated by _src/build.py. */
:root { --ink: #14130f; --paper: #f6f4ee; --lime: #c6ee4a; --lime-hover: #d4f566; --lime-soft: #e4f2b8; --olive: #3d6b00; --body: #3a382f; --muted: #55523f; --faint: #6b6853; --line: #14130f1f; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Instrument Sans", system-ui, sans-serif; font-size: 17px; line-height: 1.6; }
a { color: var(--ink); text-underline-offset: 2px; }
a:hover { color: var(--olive); }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.narrow { max-width: 820px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.display, h1, h2, h3 { font-family: "Bricolage Grotesque", system-ui, sans-serif; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: #f6f4eeee; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid #14130f14; }
.nav-inner { display: flex; align-items: center; gap: 32px; padding-top: 14px; padding-bottom: 14px; }
.brand { font-family: "Bricolage Grotesque", system-ui, sans-serif; font-weight: 800; font-size: 22px; text-decoration: none; display: flex; align-items: center; gap: 8px; }
.brand-mark { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); display: inline-block; box-shadow: inset 0 0 0 5px var(--paper), inset 0 0 0 13px var(--ink); }
.nav-links { display: flex; gap: 24px; font-size: 15px; margin-left: auto; flex-wrap: wrap; }
.nav-links a, .nav-signin { text-decoration: none; font-size: 15px; white-space: nowrap; }
.btn-dark { background: var(--ink); color: var(--paper); padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.btn-dark:hover { background: var(--olive); color: #fff; }
.btn-lime { display: inline-block; background: var(--lime); color: var(--ink); padding: 15px 28px; border-radius: 999px; font-weight: 700; font-size: 17px; text-decoration: none; box-shadow: 0 2px 0 var(--ink); }
.btn-lime:hover { background: var(--lime-hover); color: var(--ink); }
.btn-outline { display: inline-block; padding: 15px 26px; border-radius: 999px; font-weight: 600; font-size: 17px; text-decoration: none; border: 1.5px solid var(--ink); }
.btn-outline:hover { background: #14130f10; color: var(--ink); }
@media (max-width: 760px) { .nav-links { display: none; } .nav-inner { gap: 16px; } .nav-signin { margin-left: auto; } }
@media (max-width: 400px) { .nav-inner { gap: 12px; padding-left: 16px; padding-right: 16px; } .brand { font-size: 20px; } .btn-dark { padding: 9px 14px; } }

/* Page header */
.crumbs { font-size: 14px; color: var(--faint); padding-top: 28px; }
.crumbs a { color: var(--faint); }
.page-head { padding-top: 28px; padding-bottom: 8px; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--olive); }
.page-head h1 { font-weight: 800; font-size: clamp(36px, 5.5vw, 64px); line-height: 1.02; letter-spacing: -.025em; margin: 12px 0 0; text-wrap: balance; }
.lede { font-size: 20px; color: var(--body); margin: 20px 0 0; max-width: 720px; text-wrap: pretty; }
.updated { font-size: 14px; color: var(--faint); margin-top: 14px; }
.ctas { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

/* Article body */
.prose { padding-top: 16px; padding-bottom: 24px; }
.prose h2 { font-weight: 800; font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -.015em; line-height: 1.12; margin: 56px 0 14px; }
.prose h3 { font-size: 22px; margin: 32px 0 8px; }
.prose p, .prose li { color: var(--body); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; background: #14130f0d; padding: 1px 5px; border-radius: 5px; }
.prose pre { background: var(--ink); color: #eae7da; border-radius: 14px; padding: 18px 20px; overflow-x: auto; font-size: 14px; line-height: 1.55; }
.prose pre code { background: none; padding: 0; color: inherit; overflow-wrap: normal; }
.prose code, .tldr code, td code { overflow-wrap: anywhere; }
.tldr { background: var(--lime-soft); border-radius: 18px; padding: 22px 26px; margin-top: 28px; }
.tldr p { margin: 6px 0 0; color: var(--ink); }
.tldr ul { margin: 8px 0 0; }
.tldr li { color: var(--ink); }
.note { font-size: 15px; color: var(--muted); }
.callout { border-left: 4px solid var(--lime); background: #fff; padding: 14px 18px; border-radius: 0 12px 12px 0; margin: 20px 0; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 20px 0; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 560px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid #14130f14; vertical-align: top; }
thead th { background: #faf9f5; font-weight: 700; font-size: 14px; }
tbody tr:last-child td { border-bottom: 0; }
td.us, th.us { background: #c6ee4a1f; }
.yes { color: var(--olive); font-weight: 600; }
.no { color: #8a3b12; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 24px 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; text-decoration: none; display: block; }
.card h3 { margin: 0 0 6px; font-size: 21px; }
.card p { margin: 0; color: var(--body); font-size: 15px; }
a.card:hover { border-color: var(--ink); color: var(--ink); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin: 32px 0 8px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.plan.featured { border: 2px solid var(--ink); }
.plan h2 { margin: 0; font-size: 24px; }
.plan .price { font-family: "Bricolage Grotesque", system-ui, sans-serif; font-weight: 800; font-size: 44px; line-height: 1; }
.plan .price.text { font-size: 32px; padding: 6px 0; }
.plan .price small { font-size: 16px; font-weight: 600; color: var(--faint); }
.plan .per { font-size: 14px; color: var(--faint); margin: 0; }
.plan ul { list-style: none; padding: 0; margin: 6px 0 0; font-size: 15px; }
.plan li { padding: 5px 0; border-top: 1px solid #14130f10; color: var(--body); }
.plan .btn-lime, .plan .btn-outline { text-align: center; margin-top: auto; font-size: 16px; padding: 13px 18px; }

/* FAQ */
.faq details { border-top: 1.5px solid var(--ink); }
.faq details:last-of-type { border-bottom: 1.5px solid var(--ink); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq .a { padding: 0 0 20px; color: var(--body); }

/* Final CTA */
.final { padding-top: 64px; padding-bottom: 80px; }
.final-box { background: var(--ink); color: var(--paper); border-radius: 28px; padding: 56px 28px; text-align: center; }
.final-box h2 { font-weight: 800; font-size: clamp(30px, 4.4vw, 52px); letter-spacing: -.02em; line-height: 1.02; margin: 0 auto; max-width: 720px; text-wrap: balance; }
.final-box p { color: #d6d3c4; margin: 16px auto 0; max-width: 540px; font-size: 18px; }
.final-box .btn-lime { margin-top: 28px; box-shadow: none; }

/* Footer */
footer { border-top: 1px solid var(--line); }
.foot { display: flex; flex-wrap: wrap; gap: 24px 56px; justify-content: space-between; font-size: 14px; color: var(--muted); padding-top: 36px; padding-bottom: 36px; }
.foot .about { max-width: 360px; }
.foot .about b { font-family: "Bricolage Grotesque", system-ui, sans-serif; font-size: 20px; color: var(--ink); }
.foot .cols { display: flex; gap: 48px; flex-wrap: wrap; }
.foot .col { display: flex; flex-direction: column; gap: 6px; }
.foot .col b { color: var(--ink); }
