/* PawLife site: neutral base stylesheet.
   Placeholder for the design pass: tokens from the app palette, readable
   typography, simple layout. Class names are block__element; every page
   section is a <section class="..."> with a stable id.
   After any edit the build stamps a new ?v= hash (scripts/site_config.py). */

@font-face {
  font-family: "Comfortaa";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/comfortaa-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Comfortaa";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/comfortaa-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Comfortaa";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/comfortaa-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Comfortaa";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/comfortaa-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --cream: #F6EFE4;
  --cream-deep: #EFE6D4;
  --card: #FFFBF4;
  --coral: #C67139;
  --coral-bright: #E08A4E;
  --coral-dark: #A85C2B;
  --sage: #7A8A5E;
  --sage-light: #9BAE79;
  --dark: #1A1410;
  --dark-card: #2A2018;
  --text: #16120E;
  --text-2: #6B5843;
  --text-3: #7E6C57;
  --border: rgba(22, 18, 14, 0.1);
  --safe: #5F7A3E;
  --caution: #A86E12;
  --danger: #B3402A;

  --bg: var(--cream);
  --surface: var(--card);
  --accent: var(--coral);
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Comfortaa", var(--font-body);
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1100px;
  --gap: clamp(16px, 4vw, 32px);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: var(--dark);
    --surface: var(--dark-card);
    --text: #F5EDE0;
    --text-2: #C9B49B;
    --text-3: #A8927A;
    --border: rgba(245, 237, 224, 0.12);
    --accent: var(--coral-bright);
    --safe: #9BAE79;
    --caution: #E0A84E;
    --danger: #E8735A;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--font-body);
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); }
a:hover { color: var(--coral-dark); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.25; margin: 0 0 0.5em; }
h1 { font-size: clamp(30px, 5vw, 48px); }
h2 { font-size: clamp(24px, 3.4vw, 34px); }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 10; background: var(--surface); padding: 8px 12px; }

.button {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
}
.button--primary { background: var(--accent); color: #fff; }
.button--primary:hover { background: var(--coral-dark); color: #fff; }
.button--secondary { border-color: var(--border); color: var(--text); background: var(--surface); }

/* Header and footer */
.site-header { border-bottom: 1px solid var(--border); background: var(--bg); }
.site-header__inner, .site-footer__inner, .main > section, .main > article {
  max-width: var(--max); margin-inline: auto; padding-inline: var(--gap);
}
.site-header__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-block: 12px; }
.site-header__brand { display: flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; font: 700 20px var(--font-head); }
.site-header__logo { border-radius: 8px; }
.site-nav__list { display: flex; flex-wrap: wrap; gap: 4px 18px; list-style: none; margin: 0; padding: 0; }
.site-nav__link { color: var(--text-2); text-decoration: none; }
.site-nav__link[aria-current="page"], .site-nav__link:hover { color: var(--accent); }
.site-header__cta { margin-left: auto; padding: 8px 16px; font-size: 15px; }
.lang-switch { max-width: var(--max); margin-inline: auto; padding: 0 var(--gap) 10px; }
.lang-switch__list { display: flex; flex-wrap: wrap; gap: 4px 12px; list-style: none; margin: 0; padding: 0; font-size: 14px; }
.lang-switch__link { color: var(--text-3); text-decoration: none; }
.lang-switch__link[aria-current="page"] { color: var(--text); font-weight: 600; }

.site-footer { margin-top: 64px; border-top: 1px solid var(--border); padding-block: 40px 24px; color: var(--text-2); font-size: 15px; }
.site-footer__inner { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.site-footer__heading { font-size: 15px; color: var(--text); }
.site-footer__list, .site-footer__social { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer__social { display: flex; gap: 12px; }
.site-footer__link { color: var(--text-2); text-decoration: none; }
.site-footer__link:hover { color: var(--accent); }
.site-footer__logo { display: inline-flex; align-items: center; gap: 8px; font: 700 18px var(--font-head); color: var(--text); text-decoration: none; }
.site-footer__legal { max-width: var(--max); margin: 24px auto 0; padding-inline: var(--gap); font-size: 13px; color: var(--text-3); }

/* Shared blocks */
.main > section { padding-block: clamp(40px, 7vw, 72px); }
.section-head { max-width: 720px; margin-bottom: 28px; }
.section-head__label, .hero__eyebrow, .feature-hero__eyebrow, .feature__badge {
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sage); font-weight: 700; margin-bottom: 8px;
}
.section-head__lead { color: var(--text-2); }
.section-head__accent, .hero__accent, .cta__accent { color: var(--accent); }
.breadcrumbs { font-size: 14px; color: var(--text-3); margin-bottom: 12px; }
.breadcrumbs a { color: var(--text-3); }
.prose { max-width: 720px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }

/* Home */
.hero__inner, .how__inner, .qr-tag__inner, .feature-hero__inner { display: grid; gap: var(--gap); align-items: center; }
@media (min-width: 860px) {
  .hero__inner, .how__inner, .qr-tag__inner, .feature-hero__inner { grid-template-columns: 1.1fr 0.9fr; }
}
.hero__lead { font-size: 19px; color: var(--text-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0; }
.hero__note { font-size: 14px; color: var(--text-3); }
.hero__media { margin: 0; }
.hero__photo { border-radius: var(--radius); }
.hero__insight { margin-top: 12px; padding: 14px 16px; background: var(--surface); border-radius: var(--radius-sm); font-size: 15px; color: var(--text-2); }
.hero__insight-title { display: block; color: var(--text); }
.rating-badge { font-size: 15px; color: var(--text-2); }
.rating-badge__stars { color: var(--coral-bright); }
.rating-badge__avg { font-weight: 700; color: var(--text); }

.moments__list, .how__steps, .qr-tag__steps, .features__grid, .platforms__grid, .trust__grid,
.proof__facts, .feature-points__list, .screens__list, .languages__list {
  list-style: none; margin: 0; padding: 0;
}
.moments__list, .features__grid, .platforms__grid, .trust__grid, .feature-points__list, .blog-grid {
  display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.moment, .feature, .platform, .trust__item, .plan, .feature-points__item, .blog-card, .mock, .qr-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px;
}
.moment__meta { font-size: 13px; color: var(--text-3); }
.moments__summary { margin-top: 20px; color: var(--text-2); font-style: italic; }
.how__steps, .qr-tag__steps { display: grid; gap: 16px; }
.step__num { font: 700 14px var(--font-head); color: var(--accent); }
.mock__head, .mock__week, .mock__tiles { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: baseline; margin-bottom: 12px; }
.mock__tile { flex: 1; min-width: 80px; background: var(--bg); border-radius: var(--radius-sm); padding: 8px; font-size: 14px; display: grid; }
.mock__badge, .mock__week-tag { font-size: 13px; color: var(--sage); }
.proof__quote { font: 600 clamp(20px, 3vw, 28px)/1.4 var(--font-head); margin: 0 0 24px; }
.proof__phones { display: flex; gap: 16px; max-width: 520px; }
.proof__phone { width: 48%; border-radius: 24px; }
.proof__facts { display: grid; gap: 12px; margin-top: 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.proof__fact strong { display: block; font-family: var(--font-head); }
.feature--lead { margin-bottom: 16px; }
.feature__icon, .platform__icon, .trust__icon { font-size: 26px; }
.feature__link { color: var(--text); text-decoration: none; }
.feature__link:hover { color: var(--accent); }
.feature__text, .platform__text, .trust__text { color: var(--text-2); font-size: 15px; margin: 0; }
.feature__pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 12px 0 0; }
.feature__pills li { background: var(--bg); border-radius: 999px; padding: 4px 12px; font-size: 14px; }
.feature__more { display: inline-block; margin-top: 8px; font-size: 15px; }
.qr-card { display: grid; gap: 6px; max-width: 280px; text-align: center; }
.qr-card__name { font: 700 28px var(--font-head); }
.pricing__grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.plan--pro { border-color: var(--accent); }
.plan__price { font: 700 36px var(--font-head); margin: 0; }
.plan__period { font-size: 16px; color: var(--text-3); }
.plan__features { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 6px; font-size: 15px; }
.plan__feature::before { content: "✓ "; color: var(--sage); }
.plan__feature--no { color: var(--text-3); }
.plan__feature--no::before { content: "– "; color: var(--text-3); }
.screens__list { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.screens__item { flex: 0 0 auto; width: 200px; scroll-snap-align: start; }
.screens__img { border-radius: 20px; }
.languages__list { display: flex; flex-wrap: wrap; gap: 8px; }
.languages__list li { background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 4px 14px; }
.faq__list { display: grid; gap: 8px; max-width: 760px; }
.faq__item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 18px; }
.faq__question { cursor: pointer; font-weight: 600; }
.faq__answer { margin: 10px 0 0; color: var(--text-2); }
.blog-card { display: block; color: var(--text); text-decoration: none; }
.blog-card:hover { border-color: var(--accent); }
.blog-card p { color: var(--text-2); font-size: 15px; }
.blog-card-cat, .blog-card-date { font-size: 13px; color: var(--text-3); display: block; }
.blog-icon { border-radius: 7px; margin-right: 4px; }
.cta { text-align: center; }
.cta__note { font-size: 14px; color: var(--text-3); margin-top: 12px; }

/* Food safety tables */
.food-hero__lead { font-size: 19px; color: var(--text-2); max-width: 720px; }
.food-hero__reviewed { font-size: 14px; color: var(--text-3); }
.pet-switch__list { display: flex; gap: 8px; list-style: none; padding: 0; margin: 16px 0 0; }
.pet-switch__link { display: inline-block; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--border); text-decoration: none; color: var(--text); background: var(--surface); }
.pet-switch__link[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.food-filter { display: grid; gap: 12px; margin: 16px 0; }
.food-filter__search { font: inherit; padding: 10px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface); color: var(--text); max-width: 420px; }
.food-filter__chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.food-filter__chip { font: inherit; font-size: 15px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; }
.food-filter__chip[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.food-filter__count { opacity: 0.7; }
.food-table__wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.food-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.food-table th, .food-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.food-table thead th { position: sticky; top: 0; background: var(--surface); font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-3); }
.food-row__name { font-weight: 600; }
.food-row--toxin { scroll-margin-top: 80px; }
.food-row--toxin:target { outline: 2px solid var(--accent); outline-offset: -2px; }
.hazard { font-size: 13px; font-weight: 700; white-space: nowrap; }
.hazard--safe { color: var(--safe); }
.hazard--caution { color: var(--caution); }
.hazard--dangerous { color: var(--danger); }
.food-detail td { padding-top: 0; }
.toxin__summary { cursor: pointer; color: var(--accent); font-weight: 600; }
.toxin__body { max-width: 720px; padding: 8px 0 16px; }
.toxin__urgent { border-left: 4px solid var(--danger); background: var(--bg); padding: 10px 14px; border-radius: var(--radius-sm); margin: 12px 0; }
.toxin__note, .guide__note { font-size: 14px; color: var(--text-3); font-style: italic; }
.toxin__dose th, .toxin__dose td { border: 0; padding: 4px 12px 4px 0; }
.toxin__timing { display: grid; grid-template-columns: max-content 1fr; gap: 4px 12px; }
.toxin__timing dt { font-weight: 600; }
.toxin__timing dd { margin: 0; }
.toxin__disclaimer { font-size: 14px; color: var(--text-3); }

/* Feature pages */
.feature-hero__pain { font-size: 19px; color: var(--text-2); }
.feature-hero__media { margin: 0; max-width: 320px; justify-self: center; }
.feature-hero__screen { border-radius: 28px; }
.feature-points__title { font-size: 18px; }
.feature-points__text { color: var(--text-2); margin: 0; }
.feature-nav__list { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; }
.feature-nav__list a[aria-current="page"] { color: var(--text); font-weight: 600; }

/* Blog and documents */
.article__byline, .blog-head__meta, .doc__updated { font-size: 14px; color: var(--text-3); }
.blog-head__toc ul { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; }
.blog-section__lead { color: var(--text-2); }
.read-next { margin-top: 48px; }
.blog-table-wrap { overflow-x: auto; margin: 16px 0; }
.blog-table { border-collapse: collapse; font-size: 15px; }
.blog-table th, .blog-table td { border-bottom: 1px solid var(--border); padding: 8px 10px; text-align: left; vertical-align: top; }
.blog-disclosure, .blog-cta { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; margin: 20px 0; }
.blog-footnote { font-size: 14px; color: var(--text-3); }
.not-found { text-align: center; }
.not-found__links { list-style: none; padding: 0; display: grid; gap: 8px; }
