/* Buddy Pal Dogs — static site styles
   Warm, trustworthy palette. No build step required. */

:root {
  --cream: #f4eee4;
  --paper: #fffbf6;
  --paper-2: #f8f1e8;
  --ink: #2b221a;
  --ink-soft: #5b5147;
  --line: #e4d6c6;
  --line-strong: #d3c2ad;
  --terracotta: #b85c38;
  --terracotta-dark: #8e3f22;
  --terracotta-soft: #f3e1d6;
  --forest: #3c5b4a;
  --forest-dark: #2a4235;
  --forest-soft: #dce8e1;
  --gold: #c4a05a;
  --gold-soft: #f3e8cf;
  --reserved: #7a5c38;
  --shadow: 0 10px 30px rgba(43, 34, 26, 0.08);
  --shadow-hover: 0 16px 36px rgba(43, 34, 26, 0.14);
  --radius: 18px;
  --radius-sm: 10px;
  --header-h: 4.5rem;
  --max: 70rem;
  --font-serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--terracotta-dark);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--terracotta);
}

:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 251, 246, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.7rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}

.logo-mark {
  width: 2.4rem;
  height: 2.4rem;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.logo-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.logo-tag {
  font-size: 0.75rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  width: 2.75rem;
  height: 2.75rem;
  cursor: pointer;
  padding: 0;
  color: var(--ink);
}

.nav-toggle:hover {
  background: var(--paper-2);
}

.nav-toggle-bars {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: currentColor;
  margin: 0 auto;
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.15rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--terracotta-dark);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--terracotta) !important;
  color: #fff !important;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  text-decoration: none !important;
  font-weight: 650;
}

.nav-cta:hover {
  background: var(--terracotta-dark) !important;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 650;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.75rem 1.35rem;
  line-height: 1.2;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--terracotta);
  color: #fff;
  box-shadow: 0 6px 16px rgba(184, 92, 56, 0.28);
}

.btn-primary:hover {
  background: var(--terracotta-dark);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn-ghost {
  background: var(--paper);
  color: var(--terracotta-dark);
  border: 1.5px solid var(--terracotta-soft);
}

.btn-ghost:hover {
  background: var(--terracotta-soft);
  color: var(--terracotta-dark);
}

.btn-small {
  padding: 0.55rem 1rem;
  font-size: 0.95rem;
  width: 100%;
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(86vh, 42rem);
  display: flex;
  align-items: flex-end;
  color: #fff;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(28, 20, 14, 0.15) 0%, rgba(28, 20, 14, 0.55) 48%, rgba(28, 20, 14, 0.82) 100%);
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem 1.25rem 3.25rem;
  width: 100%;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.7rem;
}

.hero h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.15rem, 5.2vw, 4rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 0.85rem;
  max-width: 16ch;
}

.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 36rem;
  margin: 0 0 1.6rem;
  color: rgba(255, 251, 246, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-note {
  margin: 1.15rem 0 0;
  font-size: 0.92rem;
  color: rgba(255, 251, 246, 0.75);
}

/* Layout helpers */
.section {
  padding: 4.25rem 1.25rem;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-header {
  max-width: 40rem;
  margin: 0 0 2.25rem;
}

.section-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 0 0 0.5rem;
}

h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 0.7rem;
}

h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.25rem;
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
}

.lede {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.125rem;
}

.sample-note {
  display: inline-block;
  margin-top: 0.85rem;
  padding: 0.3rem 0.7rem;
  background: var(--gold-soft);
  color: var(--reserved);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 999px;
}

/* Dogs */
.dogs-section {
  background: var(--paper);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  margin: 0 0 1.75rem;
  padding: 1rem 1.1rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  align-items: end;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 10.5rem;
  flex: 1;
}

.filter-group label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

select,
input,
textarea {
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
  width: 100%;
}

select:hover,
input:hover,
textarea:hover {
  border-color: #c4b09a;
}

.filter-reset {
  background: none;
  border: 0;
  color: var(--terracotta-dark);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  padding: 0.6rem 0.2rem;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.dog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.dog-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.dog-card.is-hidden {
  display: none;
}

.dog-card.is-reserved {
  background: #fbf7f1;
}

.dog-photo-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--paper-2);
}

.dog-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0.5rem;
  border-radius: 6px;
  background: var(--gold);
  color: var(--ink);
}

.status {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: var(--forest);
  color: #fff;
}

.status-reserved {
  background: var(--reserved);
}

.dog-body {
  padding: 1rem 1.05rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.dog-body h3 {
  margin: 0;
  font-size: 1.35rem;
}

.dog-breed {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 600;
}

.dog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  margin: 0.35rem 0 0.5rem;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.dog-price {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 0.7rem;
}

.placeholder-price {
  color: var(--terracotta-dark);
  letter-spacing: 0.04em;
}

.filter-empty {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
  color: var(--ink-soft);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}

.filter-empty.is-visible {
  display: block;
}

/* About */
.about-section {
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.about-copy p {
  color: var(--ink-soft);
}

.about-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.about-facts li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.85rem 0.95rem;
}

.about-facts strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.02rem;
  color: var(--ink);
  margin-bottom: 0.15rem;
}

.about-facts span {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* How it works */
.steps-section {
  background: var(--paper);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.15rem 1.35rem;
  position: relative;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--terracotta);
  color: #fff;
  font-weight: 750;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.steps h3 {
  text-wrap: balance;
}

.steps p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* Health */
.health-section {
  background: var(--forest-dark);
  color: #f4eee4;
}

.health-section .section-kicker {
  color: var(--gold);
}

.health-section h2,
.health-section h3 {
  color: #fff;
}

.health-section .lede,
.health-section p {
  color: rgba(244, 238, 228, 0.86);
}

.health-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.health-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem;
}

.placeholder-callout {
  margin-top: 1.25rem;
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--gold);
  background: rgba(196, 160, 90, 0.12);
  color: #f3e8cf;
  font-size: 0.95rem;
}

/* FAQ */
.faq-section {
  background: var(--cream);
}

.faq-list {
  display: grid;
  gap: 0.65rem;
  max-width: 50rem;
}

.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-item h3 {
  margin: 0;
}

.faq-item button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
  padding: 1rem 3rem 1rem 1.1rem;
  cursor: pointer;
  position: relative;
}

.faq-item button::after {
  content: "+";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--terracotta);
}

.faq-item button[aria-expanded="true"]::after {
  content: "–";
}

.faq-panel {
  display: none;
  padding: 0 1.1rem 1.1rem;
  color: var(--ink-soft);
}

.faq-panel p {
  margin: 0;
}

.faq-item button[aria-expanded="true"] + .faq-panel {
  display: block;
}

/* Contact */
.contact-section {
  background: var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2rem;
  align-items: start;
}

.contact-card,
.form-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
}

.contact-card h2,
.form-card h2 {
  font-size: 1.85rem;
}

.contact-list {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
}

.contact-list li {
  margin: 0 0 1rem;
}

.contact-list .label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.15rem;
}

.placeholder {
  background: #fff4b0;
  color: var(--ink);
  padding: 0.05em 0.25em;
  border-radius: 3px;
  font-weight: 650;
}

.permit-line {
  margin-top: 1.25rem;
  padding: 0.8rem 0.9rem;
  background: var(--paper);
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  font-size: 0.95rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.field {
  margin: 0 0 0.85rem;
}

.field label {
  display: block;
  font-weight: 650;
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
}

.req {
  color: var(--terracotta-dark);
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-note {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0.4rem 0 1rem;
}

.form-status {
  margin: 0.8rem 0 0;
  font-weight: 650;
  color: var(--forest);
}

.form-card.is-highlighted {
  box-shadow: 0 0 0 3px var(--terracotta), var(--shadow);
  transition: box-shadow 0.3s ease;
}

/* Footer */
.site-footer {
  background: #221a14;
  color: rgba(244, 238, 228, 0.8);
  padding: 2.5rem 1.25rem 1.6rem;
  font-size: 0.95rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem 2rem;
}

.site-footer a {
  color: #f3e8cf;
}

.site-footer h2,
.site-footer .footer-name {
  font-family: var(--font-serif);
  color: #fff;
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin: 0 0 0.35rem;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  max-width: var(--max);
  margin: 1.75rem auto 0;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: space-between;
  font-size: 0.85rem;
}

/* Utilities */
.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;
}

/* Responsive */
@media (max-width: 960px) {
  .dog-grid,
  .steps,
  .health-grid,
  .about-grid,
  .contact-grid,
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: -1;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.6rem 1.25rem 1rem;
    gap: 0;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav .nav-cta {
    margin-top: 0.7rem;
    text-align: center;
    border-bottom: 0;
  }

  .hero {
    min-height: 32rem;
  }

  .hero-inner {
    padding-top: 6rem;
  }

  .dog-grid,
  .steps,
  .health-grid,
  .form-row,
  .about-facts,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.25rem 1.1rem;
  }

  .filters {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-group {
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .dog-card,
  .btn {
    transition: none;
  }
}

/* Montréal bilingual accents and local sections */
.kicker-fr {
  font-weight: 650;
  letter-spacing: 0.02em;
  text-transform: none;
  opacity: 0.95;
}

.hero-fr {
  margin: -0.35rem 0 0.9rem;
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: rgba(255, 251, 246, 0.88);
}

.area-line {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  color: rgba(255, 251, 246, 0.78);
}

.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
}

.area-chips li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.32rem 0.72rem;
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--ink);
}

.price-tax-note {
  margin: -0.4rem 0 1.25rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.life-section {
  background: var(--paper-2);
}

.tips-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.tip-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem 1.35rem;
}

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

.tip-card a {
  font-weight: 650;
}

.rules-section {
  background: var(--cream);
}

.rules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.rule-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem 1.35rem;
}

.rule-card p,
.rule-card li {
  color: var(--ink-soft);
}

.rule-card ul {
  margin: 0.4rem 0 0;
  padding-left: 1.15rem;
}

.official-sources {
  margin: 1.5rem 0 0;
  padding: 1rem 1.1rem;
  background: var(--paper);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
}

.official-sources h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.official-sources ol {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--ink-soft);
}

.official-sources li {
  margin: 0 0 0.35rem;
}

.cad {
  font-size: 0.82em;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

@media (max-width: 760px) {
  .tips-grid,
  .rules-grid {
    grid-template-columns: 1fr;
  }
}
