/* Poke Pleb Collectibles — Sell Your Pokemon Bulk
   Shared stylesheet for every page. */
:root {
  --navy: #0b1f4d;
  --blue: #1e5fd9;
  --blue-deep: #123b9c;
  --sky: #eaf1ff;
  --white: #ffffff;
  --green: #0f7a36;
  --green-bg: #e7f9ee;
  --ink: #0b1f4d;
  --muted: #3c5694;
  --soft: #5a6b8c;
  --danger: #8a1414;
  --danger-bg: #fff3f3;
  --danger-line: #d92626;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  background: linear-gradient(180deg, #dce9ff 0%, #f3f8ff 40%, #eef4ff 100%);
  background-attachment: fixed;
  color: var(--ink);
  line-height: 1.5;
}
img { max-width: 100%; }
a { color: var(--blue-deep); }
a:hover { color: var(--blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: #fff; color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 800;
}
.skip-link:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 28px; background: var(--navy); color: #fff;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 900; font-size: 18px; letter-spacing: .5px; text-transform: uppercase;
  color: #fff; text-decoration: none;
}
.brand:hover { color: #fff; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { color: #cfe0ff; text-decoration: none; font-size: 14px; font-weight: 700; }
.site-nav a:hover { color: #fff; text-decoration: underline; }
.site-nav a.nav-cta {
  background: var(--blue); color: #fff; padding: 9px 16px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: .5px; font-size: 12px; font-weight: 800;
}
.site-nav a.nav-cta:hover { background: #2f72ef; text-decoration: none; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { max-width: 880px; margin: 0 auto; padding: 18px 20px 0; font-size: 13px; font-weight: 700; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--soft); }
.breadcrumb a { color: var(--blue-deep); }
.breadcrumb [aria-current] { color: var(--soft); }

/* ---------- Hero ---------- */
.hero { text-align: center; padding: 48px 20px 30px; }
.hero .eyebrow {
  display: inline-block; background: var(--blue); color: #fff; font-weight: 800; font-size: 12px;
  letter-spacing: 1.5px; text-transform: uppercase; padding: 8px 18px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(32px, 6vw, 52px); font-weight: 900; line-height: 1.1;
  margin: 0 auto 16px; text-transform: uppercase; letter-spacing: .5px; max-width: 900px;
}
.hero .lead { max-width: 680px; margin: 0 auto 14px; font-size: 17px; color: #294a8f; font-weight: 600; line-height: 1.65; }
.hero .payment-line { display: block; font-size: 14px; color: var(--blue-deep); font-weight: 700; margin-top: 6px; }
.hero .cta-row { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin: 22px 0 22px; }
.hero .badges { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; padding: 0; margin: 0; list-style: none; }
.hero .badges li {
  background: #fff; border: 2px solid var(--blue); color: var(--navy);
  font-weight: 700; font-size: 13px; padding: 8px 16px; border-radius: 999px;
}

/* ---------- Layout shell ---------- */
.section { max-width: 880px; margin: 0 auto; padding: 0 20px 44px; }
.section.wide { max-width: 1100px; }
.card {
  background: #fff; border: 4px solid var(--blue); border-radius: 24px; padding: 28px;
  box-shadow: 0 8px 0 rgba(18, 59, 156, .15);
}
.card > :first-child { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }
[id] { scroll-margin-top: 16px; }

/* ---------- Long-form text ---------- */
.prose h2 { font-size: clamp(22px, 3.4vw, 28px); line-height: 1.2; margin: 0 0 12px; }
.prose h3 { font-size: 18px; line-height: 1.3; margin: 26px 0 8px; }
.prose p, .prose li { font-size: 16px; line-height: 1.7; color: #1d3470; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose a { font-weight: 700; }
.prose strong { color: var(--navy); }
.prose .fine { font-size: 13px; color: var(--soft); }

.updated-badge {
  display: inline-flex; align-items: center; gap: 6px; background: var(--green-bg); color: var(--green);
  font-weight: 800; font-size: 12px; padding: 6px 14px; border-radius: 999px; margin: 0 0 16px;
}
.updated-badge::before { content: "●"; font-size: 10px; }

/* ---------- Callouts ---------- */
.guidelines {
  background: var(--danger-bg); border: 3px solid var(--danger-line); color: var(--danger);
  padding: 16px 20px; border-radius: 12px; margin: 0 0 22px;
}
.guidelines .gt { margin: 0 0 10px; font-size: 16px; text-align: center; text-transform: uppercase; letter-spacing: .3px; color: var(--danger); }
.guidelines ul { margin: 0; padding-left: 20px; font-weight: 700; font-size: 14px; line-height: 1.7; }
.helper-note {
  background: #fff8e1; border: 2px solid #f2cf6b; color: #5e4a0c; font-weight: 700; font-size: 14px;
  padding: 12px 16px; border-radius: 12px; margin: 12px 0 22px; line-height: 1.55;
}
.helper-note p { margin: 0 0 8px; }
.helper-note p:last-child { margin: 0; }
.tip {
  background: var(--sky); border-left: 5px solid var(--blue); border-radius: 10px;
  padding: 14px 18px; margin: 18px 0; font-size: 15px; line-height: 1.65; color: #1d3470;
}
.tip strong { color: var(--navy); }

/* ---------- Buttons ---------- */
.btn, button {
  display: inline-block; cursor: pointer; border: none; font-family: inherit; font-weight: 800;
  text-transform: uppercase; letter-spacing: .5px; font-size: 13px; line-height: 1.2;
  padding: 15px 24px; border-radius: 12px; box-shadow: 0 5px 0 rgba(0, 0, 0, .15);
  transition: transform .08s ease; text-decoration: none; text-align: center;
}
.btn:active, button:active { transform: translateY(3px); box-shadow: 0 2px 0 rgba(0, 0, 0, .15); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: #12306f; color: #fff; }
.btn-accent { background: var(--blue); color: #fff; }
.btn-accent:hover { background: #2f72ef; color: #fff; }
.btn-secondary { background: #fff; color: var(--navy); border: 2px solid var(--navy); box-shadow: 0 5px 0 rgba(11, 31, 77, .2); }
.btn-secondary:hover { background: var(--sky); color: var(--navy); }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Calculator / rate tables ---------- */
.group-label {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px 10px 0 0;
  font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; margin: 26px 0 0;
}
.group-label h3 { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: #fff; }
.group-label .unit-tag { background: rgba(255, 255, 255, .18); padding: 4px 10px; border-radius: 999px; font-size: 11px; }

table.rates { width: 100%; border-collapse: collapse; margin-bottom: 4px; }
table.rates th {
  text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--blue-deep);
  padding: 8px 6px; border-bottom: 2px solid var(--sky); background: var(--sky);
}
table.rates th:last-child, table.rates td.subtotal { text-align: right; }
table.rates td { padding: 10px 6px; border-bottom: 1px solid var(--sky); font-size: 14px; font-weight: 600; vertical-align: middle; }
table.rates td.rate { color: var(--navy); font-weight: 800; white-space: nowrap; }
table.rates td.subtotal { font-weight: 800; color: var(--blue-deep); white-space: nowrap; }
table.rates input[type="number"] {
  width: 84px; padding: 9px 10px; border: 2px solid #c9d8f5; border-radius: 8px;
  font-size: 15px; font-weight: 700; color: var(--navy); font-family: inherit;
}
table.rates input[type="number"]:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30, 95, 217, .18); }
.ct { display: flex; align-items: center; gap: 12px; }
.thumbs { display: flex; gap: 6px; flex-shrink: 0; }
.thumbs img {
  width: 150px; height: 150px; object-fit: contain; background: #fff; border-radius: 8px;
  box-shadow: 0 0 0 1px #d9e5fb; display: block;
}
.ct-name { min-width: 0; }
.ct-name .nm { white-space: nowrap; }
.ct-name .note { display: block; font-size: 12px; font-weight: 700; color: var(--soft); margin-top: 2px; white-space: normal; }

.calc-bar {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  margin-top: 24px; padding-top: 20px; border-top: 2px dashed #c9d8f5;
}
.calc-bar .total { font-size: 15px; font-weight: 700; color: var(--navy); }
.calc-bar .total strong { display: block; font-size: 32px; font-weight: 900; color: var(--green); line-height: 1.1; }
.calc-note { font-size: 13px; color: var(--soft); font-weight: 600; margin: 14px 0 0; }

/* Plain reference tables (rates page, examples) */
table.data { width: 100%; border-collapse: collapse; margin: 14px 0 20px; font-size: 15px; }
table.data caption { text-align: left; font-weight: 800; padding: 0 0 8px; color: var(--navy); }
table.data th { text-align: left; background: var(--sky); color: var(--blue-deep); font-size: 12px; text-transform: uppercase; letter-spacing: .5px; padding: 10px 12px; }
table.data td { padding: 11px 12px; border-bottom: 1px solid var(--sky); font-weight: 600; vertical-align: top; }
table.data td.num, table.data th.num { text-align: right; white-space: nowrap; }
table.data tfoot td { font-weight: 900; color: var(--navy); border-top: 2px solid var(--blue); border-bottom: none; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- Steps / features ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin: 18px 0 0; padding: 0; list-style: none; counter-reset: step; }
.step { background: var(--sky); border-radius: 16px; padding: 18px; counter-increment: step; }
.step::before {
  content: counter(step); display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; background: var(--blue); color: #fff; font-weight: 900; border-radius: 50%; font-size: 14px; margin-bottom: 10px;
}
.step h3 { margin: 0 0 6px !important; font-size: 16px !important; color: var(--navy); }
.step p { margin: 0 !important; font-size: 14px !important; color: var(--muted) !important; font-weight: 600; line-height: 1.55 !important; overflow-wrap: anywhere; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 18px 0 0; padding: 0; list-style: none; }
.features li { background: var(--sky); border-radius: 16px; padding: 18px; margin: 0; }
.features h3 { margin: 0 0 6px !important; font-size: 16px !important; }
.features p { margin: 0 !important; font-size: 14px !important; line-height: 1.6 !important; color: var(--muted) !important; font-weight: 600; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 14px 0 18px; list-style: none; }
.chips li { margin: 0 !important; background: var(--sky); color: var(--navy) !important; border: 2px solid #c9d8f5; border-radius: 999px; padding: 6px 14px; font-weight: 800; font-size: 14px !important; line-height: 1.3 !important; }

.payment-strip { text-align: center; font-weight: 700; color: var(--navy); background: var(--sky); border-radius: 14px; padding: 16px; margin-top: 18px; font-size: 14px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy), var(--blue-deep)); color: #fff; border-radius: 24px;
  padding: 32px 28px; text-align: center; box-shadow: 0 8px 0 rgba(11, 31, 77, .25);
}
.cta-band h2 { margin: 0 0 8px; font-size: clamp(22px, 3.4vw, 28px); color: #fff; }
.cta-band p { margin: 0 auto 20px; max-width: 560px; font-weight: 600; color: #dbe7ff; font-size: 16px; line-height: 1.6; }
.cta-band .btn-row { justify-content: center; }
.cta-band .btn-primary { background: #fff; color: var(--navy); }
.cta-band .btn-primary:hover { background: var(--sky); }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 2px solid var(--sky); padding: 14px 0; }
.faq details:last-child { border-bottom: none; }
.faq summary {
  cursor: pointer; font-weight: 800; color: var(--navy); font-size: 16px; list-style: none; position: relative; padding-right: 28px; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: -2px; font-size: 22px; font-weight: 900; color: var(--blue); }
.faq details[open] summary::after { content: "–"; }
.faq .answer { margin: 10px 0 0; }
.faq .answer p { margin: 0 0 10px; font-weight: 600; color: var(--muted); font-size: 15px; line-height: 1.65; }

/* ---------- Related links ---------- */
.link-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin: 16px 0 0; padding: 0; list-style: none; }
.link-grid li { margin: 0 !important; }
.link-grid a {
  display: block; height: 100%; background: var(--sky); border-radius: 14px; padding: 14px 16px;
  text-decoration: none; color: var(--navy); font-weight: 800; font-size: 15px; line-height: 1.35; border: 2px solid transparent;
}
.link-grid a:hover { border-color: var(--blue); color: var(--navy); }
.link-grid a span { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-top: 4px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #cfe0ff; margin-top: 20px; padding: 40px 28px 30px; }
.footer-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.site-footer .fh { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: #fff; margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; font-size: 14px; }
.site-footer a { color: #cfe0ff; text-decoration: none; font-weight: 600; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand { font-size: 14px; line-height: 1.6; font-weight: 600; }
.footer-brand strong { display: block; color: #fff; font-size: 16px; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .5px; }
.footer-legal { max-width: 1100px; margin: 28px auto 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: 12px; color: #9db6e6; font-weight: 600; line-height: 1.6; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  /* Rate tables become stacked cards before the two-image rows run out of room */
  table.rates thead { position: absolute; left: -9999px; }
  table.rates, table.rates tbody, table.rates tr, table.rates td { display: block; width: 100%; }
  table.rates tr { border: 2px solid var(--sky); border-radius: 14px; padding: 12px; margin-top: 12px; background: #fff; }
  table.rates td { border-bottom: none; padding: 4px 0; }
  table.rates td:first-child { padding-bottom: 10px; border-bottom: 1px dashed #c9d8f5; margin-bottom: 8px; }
  .thumbs { flex-wrap: wrap; }
  .thumbs img { width: 72px; height: 72px; }
  .ct { flex-wrap: wrap; }
  .ct-name .nm { white-space: normal; font-size: 15px; font-weight: 800; }
  table.rates td[data-label]::before {
    content: attr(data-label) ": "; font-weight: 800; color: var(--blue-deep); text-transform: uppercase; font-size: 11px; letter-spacing: .4px;
  }
  table.rates td.qty { display: flex; align-items: center; gap: 8px; }
  table.rates td.subtotal { text-align: left; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .site-header { padding: 12px 16px; }
  .brand { font-size: 15px; }
  .brand img { width: 34px; height: 34px; }
  .site-nav a:not(.nav-cta) { display: none; }
  .hero { padding: 34px 16px 22px; }
  .card, .cta-band { padding: 20px 16px; border-radius: 20px; }
  .section { padding-left: 14px; padding-right: 14px; }
  .breadcrumb { padding-left: 16px; padding-right: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-row .btn, .btn-row button { flex: 1 1 100%; }
  .calc-bar .btn-row { width: 100%; }
}

.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; }
.hero-sm { padding-top: 36px; padding-bottom: 32px; }
.hero-sm h1 { font-size: clamp(26px, 5vw, 38px); }
dl { margin: 0; }
dt { font-weight: 800; margin-top: 16px; color: var(--navy, #0b1f4d); }
dd { margin: 4px 0 0; }
.calc-intro { margin: 0 0 14px; }
.updated-badge { display: inline-block; margin: 0 0 14px; font-size: 13px; font-weight: 700; background: #eef3ff; border-radius: 999px; padding: 4px 12px; }
.guidelines .gt { font-weight: 800; }

.site-nav a.nav-brand { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-transform: uppercase; letter-spacing: .4px; font-weight: 800; margin-right: 4px; }
.site-nav a.nav-brand img { width: 32px; height: 32px; object-fit: contain; }
@media (max-width: 700px) {
  .site-nav a.nav-brand span { display: none; }
  .site-nav { gap: 12px; }
  .brand { white-space: nowrap; }
}
.disclaimer { margin: 14px 0 0; font-size: 14px; } .footer-legal a { color: #cfe0ff; }

.agree { display: flex; align-items: flex-start; gap: 10px; margin: 6px 0 14px; font-weight: 700; cursor: pointer; }
.agree input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--blue, #1f5fd6); }
.agree-msg { color: var(--danger, #c0222b); font-weight: 700; margin: 0 0 12px; }

.calc-actions { display: flex; flex-direction: column; align-items: flex-end; }
.calc-actions .agree { margin: 0 0 12px; }
.calc-actions .agree-msg { margin: 0 0 12px; text-align: right; }
@media (max-width: 700px) { .calc-actions { width: 100%; align-items: stretch; } .calc-actions .agree-msg { text-align: left; } }

.footer-links { margin: 12px 0 0; }
.after-steps { margin-top: 18px; }

.footer-legal a { text-decoration: underline; }
@media (max-width: 380px) {
  .site-header { padding: 10px 12px; gap: 8px; }
  .brand { font-size: 13px; }
  .site-nav a.nav-brand { display: none; }
  .site-nav a.nav-cta { padding: 8px 12px; font-size: 12px; }
}

/* ---------- Mobile menu (no JavaScript needed) ---------- */
.site-header { position: relative; }
.mobile-menu { display: none; }
.mobile-menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 12px; border: 2px solid #3b5aa8; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.mobile-menu .bars, .mobile-menu .bars::before, .mobile-menu .bars::after { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; content: ""; position: relative; }
.mobile-menu .bars::before { position: absolute; top: -6px; }
.mobile-menu .bars::after { position: absolute; top: 6px; }
.mobile-menu[open] summary { background: #1c3a80; }
.mobile-menu nav { position: absolute; left: 0; right: 0; top: 100%; z-index: 50; background: var(--navy); border-top: 1px solid #2a4686; box-shadow: 0 12px 24px rgba(5,15,40,.35); max-height: calc(100vh - 70px); overflow-y: auto; }
.mobile-menu ul { list-style: none; margin: 0; padding: 6px 0 10px; }
.mobile-menu li a { display: block; padding: 14px 20px; min-height: 44px; color: #fff; font-weight: 700; font-size: 16px; text-decoration: none; }
.mobile-menu li a:hover, .mobile-menu li a:focus-visible { background: #1c3a80; }
@media (max-width: 900px) {
  .site-nav a:not(.nav-cta) { display: none !important; }
  .mobile-menu { display: block; }
  .site-header { gap: 10px; }
  .site-nav { margin-left: auto; }
  .brand { margin-right: 0; }
}
@media (max-width: 700px) {
  .footer-grid a { display: inline-block; padding: 6px 0; }
  .faq summary { padding-top: 16px; padding-bottom: 16px; min-height: 48px; }
  input[type=number], .agree input { font-size: 16px; }
  .agree { padding: 6px 0; }
  .agree input { width: 24px; height: 24px; }
}
@media (max-width: 380px) {
  .brand { white-space: normal; line-height: 1.15; flex: 1 1 auto; min-width: 0; font-size: 12px; }
  .site-nav { flex: none; }
  .mobile-menu summary { width: 40px; height: 40px; }
}
@media (max-width: 700px) {
  .footer-grid a { padding: 11px 0; }
  .brand { padding: 12px 0; }
  .breadcrumb a { display: inline-block; padding: 12px 6px 12px 0; margin: -12px 0; }
}
