/* ErXing Dog Guide — design system
   Visual language inspired by modern component libraries (kokonutui.com, 21st.dev):
   soft elevated cards, generous radius, subtle glassmorphism, warm accent, quiet motion.
   Built with plain CSS — no frameworks. */

:root {
  --color-bg: #FBF9F6;
  --color-surface: #FFFFFF;
  --color-surface-2: #F3EEE7;
  --color-border: #E7E0D6;
  --color-text: #221C14;
  --color-text-muted: #6B6153;
  --color-accent: #D97A3E;
  --color-accent-strong: #B8622E;
  --color-accent-soft: #F6E3D2;
  --color-sage: #7A9279;
  --color-focus: #2563EB;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(34, 28, 20, 0.06);
  --shadow-md: 0 8px 24px rgba(34, 28, 20, 0.08);
  --shadow-lg: 0 16px 40px rgba(34, 28, 20, 0.12);
  --nav-blur: blur(14px);
  --transition-fast: 180ms cubic-bezier(.4,0,.2,1);
  --transition-med: 240ms cubic-bezier(.4,0,.2,1);
  --max-width: 1180px;
}

:root[data-theme="dark"] {
  --color-bg: #15130F;
  --color-surface: #1E1B16;
  --color-surface-2: #262220;
  --color-border: #342F28;
  --color-text: #F3EEE7;
  --color-text-muted: #B3A897;
  --color-accent: #E8914F;
  --color-accent-strong: #F2A561;
  --color-accent-soft: #3A2B1E;
  --color-sage: #8FAE8C;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --color-bg: #15130F;
    --color-surface: #1E1B16;
    --color-surface-2: #262220;
    --color-border: #342F28;
    --color-text: #F3EEE7;
    --color-text-muted: #B3A897;
    --color-accent: #E8914F;
    --color-accent-strong: #F2A561;
    --color-accent-soft: #3A2B1E;
    --color-sage: #8FAE8C;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; border-radius: var(--radius-md); }

a { color: var(--color-accent-strong); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
  border-radius: 6px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--color-bg) 78%, transparent);
  backdrop-filter: var(--nav-blur);
  -webkit-backdrop-filter: var(--nav-blur);
  border-bottom: 1px solid var(--color-border);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-text);
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-sage));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 2px;
  position: relative;
}
.nav-links a:hover { color: var(--color-accent-strong); text-decoration: none; }
.nav-links a.active { color: var(--color-accent-strong); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.icon-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.icon-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.nav-toggle {
  display: none;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  cursor: pointer;
}

@media (max-width: 880px) {
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; background: var(--color-surface); border-bottom: 1px solid var(--color-border); padding: 16px 24px; gap: 14px; display: none; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}
.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--color-accent-strong); transform: translateY(-2px); box-shadow: var(--shadow-md); text-decoration: none; }
.btn-secondary {
  background: var(--color-surface);
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn-secondary:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 56px;
  position: relative;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: -45%;
  background: radial-gradient(
    55% 55% at 30% 30%,
    var(--color-accent) 0%,
    var(--color-accent-soft) 38%,
    var(--color-sage) 68%,
    transparent 100%
  );
  filter: blur(40px) saturate(115%);
  opacity: 0.55;
  animation: gradient-blob-breathe 11s ease-in-out infinite alternate;
  transform-origin: 50% 50%;
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg::before { animation: none; }
}

/* ---------- Hero search ---------- */
.hero-search { position: relative; margin: 0 0 16px; max-width: 540px; }
.hero-search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 16px;
  background: color-mix(in srgb, var(--color-surface) 82%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.hero-search-field:focus-within {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-accent) 22%, transparent), var(--shadow-md);
}
.hero-search-field svg { flex: none; opacity: 0.6; }
.hero-search-field input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--color-text);
  font: inherit;
  font-size: 0.98rem;
  padding: 10px 0;
}
.hero-search-field input:focus-visible { outline: none; }
.hero-search-btn { padding: 10px 20px; }
.hero-search-list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 60;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}
.hero-search-list[hidden] { display: none; }
.hero-search-list li a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  transition: background var(--transition-fast);
}
.hero-search-list li a:hover,
.hero-search-list li[aria-selected="true"] a {
  background: var(--color-accent-soft);
  text-decoration: none;
}
.hero-search-title { font-weight: 600; font-size: 0.93rem; }
.hero-search-meta { font-size: 0.78rem; color: var(--color-text-muted); }
.hero-search-all a { color: var(--color-accent-strong); font-weight: 600; font-size: 0.9rem; }

.quick-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  max-width: 540px;
}
.quick-chips-label { font-size: 0.82rem; color: var(--color-text-muted); font-weight: 600; margin-right: 2px; }
.chip {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: color-mix(in srgb, var(--color-surface) 80%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--color-text);
  font-size: 0.85rem;
  font-weight: 500;
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}
.chip:hover {
  transform: translateY(-2px);
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
  text-decoration: none;
}

/* ---------- Card spotlight (follows the cursor) ---------- */
.card { position: relative; }
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    240px circle at var(--mx, 50%) var(--my, 50%),
    color-mix(in srgb, var(--color-accent) 20%, transparent),
    transparent 70%
  );
  transition: opacity var(--transition-med);
}
@media (hover: hover) and (pointer: fine) {
  .card:hover::after { opacity: 1; }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-accent-soft);
  color: var(--color-accent-strong);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.1;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
.hero p.lead {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 540px;
  margin: 0 0 28px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(6px);
}

.hero-card--lottie {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  backdrop-filter: none;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
#hero-lottie {
  width: 100%;
  max-width: 360px;
}
#hero-lottie svg { display: block; }

@keyframes gradient-blob-breathe {
  0%   { transform: scale(0.9) rotate(-4deg); }
  100% { transform: scale(1.12) rotate(5deg); }
}

/* ---------- Sections ---------- */
section { padding: 56px 0; }
.section-head { margin-bottom: 32px; max-width: 680px; }
.section-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 10px; }
.section-head p { color: var(--color-text-muted); margin: 0; }

.section-tight { padding-top: 0; }

/* ---------- Cards grid ---------- */
.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 980px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid { grid-template-columns: 1fr; } }

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-med);
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}
.card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--color-accent) 35%, var(--color-border));
}

.card-thumb {
  width: calc(100% + 48px);
  margin: -24px -24px 4px -24px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.card-badge {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-accent-strong);
  background: var(--color-accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
}
.card h3 { margin: 0; font-size: 1.1rem; }
.card h3 a { color: var(--color-text); }
.card h3 a:hover { color: var(--color-accent-strong); text-decoration: none; }
.card p { margin: 0; color: var(--color-text-muted); font-size: 0.95rem; flex: 1; }
.card-meta { display: flex; gap: 10px; font-size: 0.8rem; color: var(--color-text-muted); flex-wrap: wrap; }

.category-icon {
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--color-accent-soft), var(--color-surface-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

/* ---------- Library / Explorer ---------- */
.search-panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  margin-bottom: 32px;
}
.search-row { display: flex; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.search-input-wrap { position: relative; flex: 1 1 280px; }
.search-input-wrap input[type="search"] {
  width: 100%;
  padding: 13px 16px 13px 42px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-surface-2);
  color: var(--color-text);
  font-size: 0.98rem;
}
.search-input-wrap svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); opacity: 0.6; }

.filters-row { display: flex; gap: 10px; flex-wrap: wrap; }
.filters-row select {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-surface-2);
  color: var(--color-text);
  font-size: 0.9rem;
}
.filters-row button.clear-filters {
  background: none;
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  cursor: pointer;
}

.results-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; color: var(--color-text-muted); font-size: 0.9rem; }

.fav-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 4px;
  line-height: 1;
  color: var(--color-text-muted);
  align-self: flex-start;
  margin-left: auto;
}
.fav-btn[aria-pressed="true"] { color: var(--color-accent-strong); }
.card-top-row { display: flex; align-items: flex-start; gap: 10px; }

.empty-state {
  text-align: center;
  padding: 56px 24px;
  color: var(--color-text-muted);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-lg);
}
.empty-state h3 { color: var(--color-text); margin-bottom: 8px; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: 0.85rem; color: var(--color-text-muted); margin-bottom: 18px; }
.breadcrumbs a { color: var(--color-text-muted); }
.breadcrumbs a:hover { color: var(--color-accent-strong); }

/* ---------- Article ---------- */
.article-header { padding: 48px 0 24px; }
.article-header .eyebrow { margin-bottom: 14px; }
.article-header h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin: 0 0 14px; }
.article-sub { color: var(--color-text-muted); font-size: 1.02rem; max-width: 680px; }
.article-meta-row { display: flex; gap: 18px; flex-wrap: wrap; font-size: 0.85rem; color: var(--color-text-muted); margin-top: 18px; }

.article-body {
  max-width: 740px;
  font-size: 1.05rem;
}
.article-body h2 { margin-top: 2.2em; font-size: 1.4rem; }
.article-body h3 { margin-top: 1.6em; font-size: 1.15rem; }
.article-body p { color: var(--color-text); }
.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.article-body th, .article-body td { border: 1px solid var(--color-border); padding: 10px 12px; text-align: left; font-size: 0.95rem; }
.article-body th { background: var(--color-surface-2); }

.callout {
  background: var(--color-surface-2);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 1.6em 0;
  font-size: 0.97rem;
}
.callout strong { color: var(--color-accent-strong); }

.faq-item { border-top: 1px solid var(--color-border); padding: 18px 0; }
.faq-item h3 { margin: 0 0 8px; font-size: 1.05rem; }

.sources-list { font-size: 0.92rem; color: var(--color-text-muted); }

.article-footer-actions {
  display: flex;
  gap: 12px;
  margin: 32px 0;
  flex-wrap: wrap;
}

.related-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 16px; }
@media (max-width: 900px) { .related-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--color-border);
  background: var(--color-surface-2);
  padding: 48px 0 28px;
  margin-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-text-muted); margin: 0 0 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { color: var(--color-text); font-size: 0.92rem; }
.footer-grid a:hover { color: var(--color-accent-strong); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 0.82rem; color: var(--color-text-muted); border-top: 1px solid var(--color-border); padding-top: 20px; }

/* ---------- Forms ---------- */
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 0.97rem;
  font-family: inherit;
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-status { margin-top: 14px; font-size: 0.92rem; }
.form-status.success { color: var(--color-sage); }
.form-status.error { color: #C0463A; }

/* ---------- Generic content page ---------- */
.prose { max-width: 740px; }
.prose h2 { margin-top: 1.8em; }
.prose p { color: var(--color-text); }

.page-header { padding: 48px 0 16px; }
.page-header h1 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin: 0 0 12px; }
.page-header p { color: var(--color-text-muted); max-width: 640px; }

/* ---------- Align headers with the narrow reading column ---------- */
main:has(> .article-header) > .breadcrumbs,
main:has(> .article-header) > .article-header > .container,
main:has(> .page-header + .section-tight > .prose) > .breadcrumbs,
main:has(> .page-header + .section-tight > .prose) > .page-header > .container {
  max-width: 740px;
}
/* ---------- Home: stats, start paths, ideas, steps, FAQ, CTA ---------- */
.start-card h3 { font-size: 1.15rem; }
.start-list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.start-list a {
  display: block;
  padding: 8px 10px;
  margin: 0 -10px;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-size: 0.93rem;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.start-list a::after { content: " →"; color: var(--color-accent-strong); opacity: 0; transition: opacity var(--transition-fast); }
.start-list a:hover { background: var(--color-accent-soft); color: var(--color-accent-strong); text-decoration: none; }
.start-list a:hover::after { opacity: 1; }

.idea-num {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--color-accent-strong);
}
.idea-card p { flex: 0 1 auto; }
.idea-link { margin-top: auto; font-weight: 600; font-size: 0.9rem; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: none; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 24px; border: 1px dashed var(--color-border); border-radius: var(--radius-lg); background: color-mix(in srgb, var(--color-surface) 60%, transparent); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-sage));
  color: #fff; font-weight: 800; margin-bottom: 12px;
}
.step h3 { margin: 0 0 6px; font-size: 1.05rem; }
.step p { margin: 0; color: var(--color-text-muted); font-size: 0.95rem; }

.faq-home { max-width: 780px; display: flex; flex-direction: column; gap: 10px; }
.faq-home details {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.faq-home details[open] { border-color: color-mix(in srgb, var(--color-accent) 40%, var(--color-border)); box-shadow: var(--shadow-sm); }
.faq-home summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 52px 16px 20px;
  font-weight: 600;
  position: relative;
}
.faq-home summary::-webkit-details-marker { display: none; }
.faq-home summary::after {
  content: "+";
  position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 1.3rem; color: var(--color-accent-strong);
  transition: transform var(--transition-fast);
}
.faq-home details[open] summary::after { content: "\2212"; }
.faq-home details p { margin: 0; padding: 0 20px 18px; color: var(--color-text-muted); }

.cta-band {
  text-align: center;
  padding: 48px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background:
    radial-gradient(60% 120% at 50% 0%, var(--color-accent-soft), transparent 70%),
    var(--color-surface);
  box-shadow: var(--shadow-md);
}
.cta-band h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-band p { margin: 0 auto 22px; max-width: 520px; color: var(--color-text-muted); }

/* ---------- Scroll reveal (enabled by js/home.js only when motion is allowed) ---------- */
.reveal-ready .reveal { opacity: 0; transform: translateY(18px); transition: opacity 500ms ease, transform 500ms ease; }
.reveal-ready .reveal.is-visible { opacity: 1; transform: none; }
/* Breathing room between the hero and the first section on the home page */
.hero + .section-tight { padding-top: 56px; }