/* Pawximity marketing site.
 *
 * Brand: berry/rose #c88688 accents, cream #f8f8f2 background (light), a
 * readable system font stack, ~70ch reading width, generous line height, and
 * a dark scheme via prefers-color-scheme. No JavaScript, no web fonts, no
 * third-party anything - so there is no cookie banner to need.
 */

:root {
  --bg: #f8f8f2;
  --bg-raised: #ffffff;
  --text: #3a2e2b;
  --text-muted: #6f5d57;
  --accent: #c88688;
  --accent-strong: #a96063;
  --accent-contrast: #ffffff;
  --border: #e4d9d2;
  --focus: #8c4a4d;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #211a18;
    --bg-raised: #2c2320;
    --text: #f0e9e2;
    --text-muted: #c4b5ae;
    --accent: #d8a6a1;
    --accent-strong: #e2bab6;
    --accent-contrast: #211a18;
    --border: #453833;
    --focus: #e8c2be;
    color-scheme: dark;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
}

/* Visible focus everywhere, keyboard users included. */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 2px;
}

a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  text-decoration-thickness: 2px;
}

main {
  max-width: 70ch;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

/* --- Home page ---------------------------------------------------------- */

.hero {
  text-align: center;
  padding: 4rem 1.25rem 2rem;
}

.hero__logo {
  width: 128px;
  height: auto;
  border-radius: 24px;
}

.hero__name {
  font-size: 2.25rem;
  margin: 1rem 0 0.25rem;
  letter-spacing: 0.01em;
}

.hero__slogan {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin: 0 0 2.5rem;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Placeholder store badges. Replace the whole .store-badge block (and remove
 * the TODO comment in each page) with the official badges once the listings
 * exist. */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.2rem;
  border: 1px dashed var(--accent);
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
  text-decoration: none;
}

.store-badge svg {
  width: 22px;
  height: 22px;
  fill: var(--accent);
}

/* --- Legal pages -------------------------------------------------------- */

.legal-meta {
  color: var(--text-muted);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.legal-meta p {
  margin: 0.25rem 0;
}

.draft-note {
  border-left: 4px solid var(--accent);
  background: var(--bg-raised);
  padding: 0.75rem 1rem;
  margin: 0 0 2rem;
  font-style: italic;
}

h1 {
  font-size: 1.9rem;
  line-height: 1.3;
  margin: 0 0 1.5rem;
}

h2 {
  font-size: 1.35rem;
  margin: 2.25rem 0 0.75rem;
}

p,
li {
  margin: 0 0 1rem;
}

ul {
  padding-left: 1.4rem;
}

li {
  margin-bottom: 0.5rem;
}

strong {
  font-weight: 650;
}

table {
  border-collapse: collapse;
  width: 100%;
  margin: 1.25rem 0 2rem;
  font-size: 0.95rem;
}

caption {
  text-align: left;
  font-weight: 650;
  margin-bottom: 0.5rem;
}

th,
td {
  border: 1px solid var(--border);
  padding: 0.6rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--bg-raised);
}

/* --- Footer ------------------------------------------------------------- */

.site-footer {
  max-width: 70ch;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.site-footer ul {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.site-footer li {
  margin: 0;
}

@media (max-width: 480px) {
  body {
    font-size: 1rem;
  }

  .hero__name {
    font-size: 1.8rem;
  }

  th,
  td {
    padding: 0.5rem;
  }
}
