/* Site pages: 404, policies, careers, vendor resources, report form, blog.
   One file so every footer page looks like the same product. Mobile first:
   16px side gutter, 44px+ touch targets, 16px inputs (no iOS zoom). */
.sp { --sp-ink: #1C1B1F; --sp-muted: #5B5559; --sp-line: #ECE8EA; --sp-soft: #FAF7F8; --sp-accent: #E11D48;
      color: var(--sp-ink); }
.sp *, .sp *::before, .sp *::after { box-sizing: border-box; }
.sp-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 24px 16px 64px; }
.sp-narrow { max-width: 760px; }
.sp h1 { margin: 0 0 8px; font-size: 28px; line-height: 1.2; letter-spacing: -.02em; overflow-wrap: anywhere; }
.sp h2 { margin: 32px 0 10px; font-size: 20px; line-height: 1.3; overflow-wrap: anywhere; scroll-margin-top: 96px; }
.sp h3 { margin: 20px 0 6px; font-size: 17px; line-height: 1.35; }
.sp p, .sp li { font-size: 16px; line-height: 1.65; overflow-wrap: anywhere; }
.sp p { margin: 0 0 12px; }
.sp ul, .sp ol { margin: 0 0 14px; padding-left: 22px; }
.sp li { margin-bottom: 6px; }
.sp a:not(.sp-btn) { color: var(--sp-accent); text-underline-offset: 3px; }
.sp-crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; font-size: 14px; color: var(--sp-muted); }
.sp-crumbs a { color: var(--sp-muted) !important; text-decoration: none; min-height: 24px; }
.sp-crumbs a:hover { text-decoration: underline; }
.sp-lead { font-size: 18px; color: var(--sp-muted); margin: 0 0 18px; }
.sp-meta { font-size: 14px; color: var(--sp-muted); margin: 0 0 20px; }
.sp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 12px; border: 1px solid var(--sp-accent); background: var(--sp-accent); color: #fff; font: inherit;
  font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer; text-align: center;
}
.sp-btn:hover { filter: brightness(.95); }
.sp-btn:focus-visible, .sp a:focus-visible, .sp input:focus-visible, .sp select:focus-visible,
.sp textarea:focus-visible, .sp summary:focus-visible { outline: 3px solid #1C1B1F; outline-offset: 2px; }
.sp-btn--ghost { background: #fff; color: var(--sp-ink); border-color: #D9D4D7; }
.sp-box { border: 1px solid var(--sp-line); background: var(--sp-soft); border-radius: 14px; padding: 16px 18px; margin: 0 0 22px; }
.sp-box h2 { margin-top: 0; font-size: 17px; }
.sp-box ul { margin-bottom: 0; }

/* ── 404 ─────────────────────────────────────────────── */
.sp-lost { text-align: center; padding: 40px 0 8px; }
.sp-lost-code { margin: 0; font-size: 72px; line-height: 1; font-weight: 800; letter-spacing: -.04em; color: var(--sp-accent); }
.sp-lost h1 { margin-top: 8px; }
.sp-lost-search { display: flex; gap: 8px; max-width: 520px; margin: 22px auto 14px; }
.sp-lost-search input {
  flex: 1; min-width: 0; min-height: 48px; padding: 0 16px; border: 1px solid #D9D4D7; border-radius: 12px;
  font: inherit; font-size: 16px;
}
.sp-lost-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 4px 0 26px; }
.sp-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 0; margin: 0; list-style: none; }
.sp-chips li { margin: 0; }
.sp-chips a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--sp-line);
  border-radius: 999px; background: #fff; color: var(--sp-ink) !important; text-decoration: none; font-size: 15px;
}
.sp-chips a:hover { border-color: var(--sp-accent); }
@media (max-width: 479.98px) {
  .sp-lost-search { flex-direction: column; }
  .sp-lost-search .sp-btn, .sp-lost-actions .sp-btn { width: 100%; }
  .sp-lost-code { font-size: 56px; }
}
@media (min-width: 768px) {
  .sp-wrap { padding: 40px 24px 96px; }
  .sp h1 { font-size: 36px; }
}

/* ── Policy pages ────────────────────────────────────── */
.sp-doc { display: block; }
.sp-toc { display: none; }
.sp-toc-m { border: 1px solid var(--sp-line); border-radius: 12px; margin: 0 0 22px; background: #fff; }
.sp-toc-m summary { list-style: none; cursor: pointer; min-height: 48px; padding: 0 16px; display: flex; align-items: center;
  justify-content: space-between; font-weight: 700; font-size: 16px; }
.sp-toc-m summary::-webkit-details-marker { display: none; }
.sp-toc-m summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--sp-muted); }
.sp-toc-m[open] summary::after { content: "–"; }
.sp-toc-m ol { margin: 0; padding: 0 16px 10px 36px; }
.sp-toc-m li a { display: inline-flex; align-items: center; min-height: 44px; }
.sp-doc-main section { margin: 0; }
.sp-help .sp-actions, .sp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 0; }
.sp-table { border: 1px solid var(--sp-line); border-radius: 12px; overflow: hidden; margin: 0 0 16px; }
.sp-tr { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 14px 16px; border-top: 1px solid var(--sp-line); font-size: 15px; line-height: 1.55; }
.sp-tr:first-child { border-top: 0; }
.sp-tr > span { overflow-wrap: anywhere; }
.sp-th { display: none; }
.sp-tr > span[data-label]::before { content: attr(data-label) ": "; display: block; font-size: 12px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; color: var(--sp-muted); }
@media (min-width: 640px) {
  .sp-th { display: grid; background: var(--sp-soft); font-weight: 700; }
  .sp-tr { grid-template-columns: 110px 190px 1fr; gap: 16px; align-items: start; }
  .sp-tr > span[data-label]::before { content: none; }
}
@media (min-width: 1024px) {
  .sp-doc { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: 48px; justify-content: center; }
  .sp-toc { display: block; position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 120px); overflow: auto; }
  .sp-toc-h { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--sp-muted); }
  .sp-toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--sp-line); }
  .sp-toc li { margin: 0; }
  .sp-toc a { display: block; padding: 7px 0 7px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--sp-muted) !important;
    text-decoration: none; font-size: 14px; line-height: 1.4; }
  .sp-toc a:hover { color: var(--sp-ink) !important; border-left-color: var(--sp-accent); }
  .sp-toc-m { display: none; }
}
@media print {
  nav, footer, .pa-launcher, .sp-toc, .sp-toc-m, .sp-help, .sp-crumbs, .sp-btn { display: none !important; }
  .sp { color: #000; } .sp-wrap { padding: 0; max-width: none; }
  .sp-doc { display: block; } .sp a { color: #000; text-decoration: none; }
}

/* ── Cards (vendor resources, careers) ───────────────── */
.sp-hero { padding: 8px 0 18px; }
.sp-cards { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 18px 0 26px; }
.sp-card { border: 1px solid var(--sp-line); border-radius: 16px; padding: 18px; background: #fff; }
.sp-card h2, .sp-card h3 { margin: 6px 0 6px; font-size: 18px; }
.sp-card p { margin: 0; color: var(--sp-muted); font-size: 15px; }
.sp-card--link { display: block; text-decoration: none; color: inherit !important; transition: box-shadow .15s, border-color .15s; min-height: 44px; }
.sp-card--link:hover { border-color: var(--sp-accent); box-shadow: 0 8px 24px rgba(28, 27, 31, .08); }
.sp-card-icon { font-size: 28px; line-height: 1; }
.sp-more { display: inline-block; margin-top: 10px; font-weight: 700; color: var(--sp-accent); }
.sp-links { list-style: none; padding: 0; }
.sp-links a { display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 640px) { .sp-cards--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .sp-cards--3 { grid-template-columns: repeat(3, 1fr); } }

/* ── Report a concern (form) ─────────────────────────── */
.sp-two { display: grid; grid-template-columns: 1fr; gap: 24px; }
.sp-about { border: 1px solid var(--sp-line); background: var(--sp-soft); border-radius: 12px; padding: 12px 14px; margin: 0 0 18px; font-size: 15px; overflow-wrap: anywhere; }
.sp-muted { color: var(--sp-muted); }
.sp-form { display: block; }
.sp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sp-field { margin: 0 0 16px; }
.sp-field label { display: block; margin: 0 0 6px; font-size: 15px; font-weight: 700; }
.sp-req { color: var(--sp-accent); }
.sp-field input[type=text], .sp-field input[type=email], .sp-field input[type=tel], .sp-field select, .sp-field textarea {
  display: block; width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid #D9D4D7; border-radius: 12px; background: #fff;
  color: var(--sp-ink); font: inherit; font-size: 16px; line-height: 1.4;
}
.sp-field select { padding-right: 12px; }
.sp-field textarea { padding: 12px 14px; min-height: 140px; resize: vertical; }
.sp-field input::placeholder, .sp-field textarea::placeholder { color: #6B7280; opacity: 1; }
.sp-field input[type=tel]::placeholder { text-overflow: ellipsis; }
.sp-field.has-error input, .sp-field.has-error select, .sp-field.has-error textarea { border-color: #B42318; }
.sp-err { margin: 6px 0 0; min-height: 0; font-size: 14px; color: #B42318; }
.sp-err:empty { display: none; }
.sp-hint { margin: -6px 0 16px; font-size: 14px; color: var(--sp-muted); }
.sp-count { margin-top: 4px; text-align: right; font-size: 13px; color: var(--sp-muted); }
.sp-count.is-warn { color: #B54708; font-weight: 700; }
.sp-count.is-max { color: #B42318; font-weight: 700; }
.sp-row { display: grid; grid-template-columns: 1fr; gap: 0 16px; }
.sp-checkbox { display: flex !important; gap: 12px; align-items: flex-start; font-weight: 500 !important; cursor: pointer; min-height: 44px; }
.sp-checkbox input { flex: none; width: 22px; height: 22px; margin-top: 2px; accent-color: var(--sp-accent); }
.sp-alert { border: 1px solid #F4B5AE; background: #FEF3F2; color: #912018; border-radius: 12px; padding: 12px 14px; margin: 0 0 16px; font-size: 15px; }
.sp-submit { width: 100%; }
.sp-done { margin: 0 auto; width: 64px; height: 64px; border-radius: 50%; background: #ECFDF3; color: #067647; font-size: 34px; line-height: 64px; font-weight: 700; }
.sp-ref { display: inline-block; margin: 0 0 14px; padding: 10px 18px; border: 1px dashed #D9D4D7; border-radius: 12px; background: var(--sp-soft);
  font-size: 22px; font-weight: 800; letter-spacing: .06em; user-select: all; overflow-wrap: anywhere; }
@media (min-width: 640px) { .sp-row { grid-template-columns: 1fr 1fr; } .sp-submit { width: auto; min-width: 200px; } }
@media (min-width: 1024px) { .sp-two { grid-template-columns: minmax(0, 560px) 340px; gap: 56px; justify-content: center; } }

/* ── Blog ────────────────────────────────────────────── */
.sp-posts { display: grid; grid-template-columns: 1fr; gap: 18px; margin: 20px 0 26px; }
.sp-post { display: block; border: 1px solid var(--sp-line); border-radius: 16px; overflow: hidden; background: #fff; color: inherit !important;
  text-decoration: none; transition: box-shadow .15s, border-color .15s; }
.sp-post:hover { border-color: var(--sp-accent); box-shadow: 0 8px 24px rgba(28, 27, 31, .08); }
.sp-post-cover { display: block; aspect-ratio: 16 / 9; background: var(--sp-soft); overflow: hidden; }
.sp-post-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sp-post-fallback { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 56px; font-weight: 800; color: var(--sp-accent); }
.sp-post-body { display: block; padding: 16px 18px 18px; }
.sp-post-body h2 { margin: 8px 0 6px; font-size: 18px; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sp-post-sum { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--sp-muted); font-size: 15px; line-height: 1.5; }
.sp-post-date { display: block; margin-top: 10px; font-size: 13px; color: var(--sp-muted); }
.sp-chip { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--sp-soft); border: 1px solid var(--sp-line); font-size: 12px; font-weight: 700; color: var(--sp-muted); }
.sp-pager { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 22px 0 0; }
.sp-pager .sp-btn { max-width: 100%; }
.sp-cover { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; margin: 0 0 22px; }
.sp-prose { max-width: 720px; }
.sp-prose h2 { font-size: 22px; margin-top: 30px; }
.sp-prose h3 { font-size: 18px; }
.sp-prose p, .sp-prose li { font-size: 17px; line-height: 1.7; }
@media (min-width: 640px) { .sp-posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .sp-posts { grid-template-columns: repeat(3, 1fr); } }

/* Visually hidden, still read by screen readers and still inside the viewport. */
.sp-vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
