/* Static stylesheet for programmatic-SEO pages (frontend/public/price-check/,
   frontend/public/style-guide/). Not processed by Vite/Tailwind — these
   pages are plain HTML generated by backend/scripts/generate_seo_pages.py,
   served as-is, so this file needs a stable, un-hashed path every generated
   page can link to directly. Core tokens copied from frontend/src/index.css's
   :root block (light theme values only — these pages don't need Fashion
   Edition/dark-mode parity, they're not part of the authenticated app). Keep
   these values in sync by hand if index.css's core palette ever changes. */

:root {
  --ink: #18181b;
  --ink-soft: #6b6b76;
  --bg: #fcfcfb;
  --surface: #ffffff;
  --border: #ececef;
  --roast-soft: #fff1e6;
  /* Accessible text/link/button variant of index.css's --roast (#ea580c) —
     2026-09-09, found during this page type's own a11y pass (computed
     contrast: --roast on white ~3.55:1, on --roast-soft ~3.21:1, both fail
     WCAG AA's 4.5:1 floor for this text size — same class of bug already
     fixed multiple times elsewhere in this app, see
     docs/issues-and-decisions.md's contrast-fix entries). This darker value
     hits ~5.18:1 on white and ~4.68:1 on --roast-soft — passes AA in both
     places it's actually used for text. --roast itself is intentionally NOT
     redefined here (it doesn't exist in this file at all) so nothing can
     accidentally fall back to the failing value.
  */
  --roast-text: #c2410c;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: var(--roast-text);
}

a:focus-visible,
button:focus-visible,
.cta-button:focus-visible {
  outline: 2px solid var(--roast-text);
  outline-offset: 2px;
}

.seo-page {
  max-width: 640px;
  margin: 0 auto;
  padding: 24px 20px 64px;
}

.back-link {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
}

.back-link:hover,
.back-link:focus-visible {
  text-decoration: underline;
}

h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 16px;
}

h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 32px 0 12px;
}

.garment-photo {
  display: block;
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 16px;
}

.price-range {
  font-size: 18px;
  background: var(--roast-soft);
  color: var(--roast-text);
  border-radius: 12px;
  padding: 14px 16px;
}

.price-range strong {
  font-size: 20px;
}

.verdict-card {
  background: var(--roast-soft);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}

.verdict-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--ink);
}

.verdict-card p {
  margin: 0;
  color: var(--ink);
}

ul.sources,
ul.hub-list {
  padding-left: 20px;
}

ul.sources li,
ul.hub-list li {
  margin-bottom: 8px;
}

ul.sources a,
ul.hub-list a {
  color: var(--roast-text);
}

.cta {
  margin-top: 40px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  text-align: center;
}

.cta h2 {
  margin-top: 0;
}

.cta-button {
  display: inline-block;
  margin-top: 12px;
  padding: 12px 24px;
  border-radius: 12px;
  background: var(--roast-text);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.cta-button:hover {
  filter: brightness(1.1);
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
