/* Reuse Jane's existing foundation tokens and wordmark. */
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--fg-1); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 100; padding: 12px; background: white; }
.skip-link:focus { top: 12px; }
.guide-nav { max-width: 1240px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 32px; border-bottom: 1px solid var(--border-card); }
.guide-nav img { display: block; object-fit: contain; }
.guide-nav nav { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.guide-nav a { font-weight: 600; text-decoration: none; }
.guide-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 14px 24px; border-radius: 999px; background: var(--coral); color: white; font-weight: 700; text-decoration: none; line-height: 1.4; text-align: center; max-width: 100%; }
.guide-main { width: min(100% - 48px, 1080px); margin: 0 auto; padding: 28px 0 64px; }
.breadcrumbs { font-size: 14px; line-height: 1.7; color: var(--fg-2); overflow-wrap: anywhere; }
.guide-hero { max-width: 820px; margin: 48px 0; }
.guide-hero h1 { font: 800 clamp(34px, 5.7vw, 64px)/1.08 var(--font); letter-spacing: -.03em; margin: 16px 0 24px; text-wrap: balance; }
.guide-lead { font-size: 21px; line-height: 1.65; color: var(--fg-2); }
.article-meta, .fine-print { font-size: 14px; line-height: 1.7; color: var(--fg-2); }
.guide-toc { padding: 24px 28px; max-width: 780px; background: var(--coral-tint); border-radius: var(--r-md); }
.guide-toc h2 { font-size: 20px; margin: 0 0 16px; }
.guide-toc li { margin: 12px 0; line-height: 1.5; }
.guide-prose { max-width: 72ch; font-size: 18px; line-height: 1.8; color: var(--fg-2); }
.guide-prose h2 { font-size: clamp(25px, 4vw, 32px); line-height: 1.25; color: var(--fg-1); margin: 48px 0 18px; scroll-margin-top: 24px; }
.guide-prose h3 { font-size: 22px; color: var(--fg-1); line-height: 1.4; margin-top: 28px; }
.guide-prose p { margin: 0 0 22px; }
.guide-faq details { padding: 20px 0; border-bottom: 1px solid var(--border-input); }
.guide-faq summary { color: var(--fg-1); font-weight: 700; cursor: pointer; }
.guide-faq details p { margin: 18px 0 0; }
.references { font-size: 15px; }
.guide-cta { margin: 56px 0; padding: 32px; background: var(--coral-tint); border-radius: var(--r-xl); }
.guide-cta h2 { margin-top: 0; font-size: 30px; }
.guide-cta p { max-width: 70ch; line-height: 1.7; }
.guide-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 24px 0 48px; }
.guide-cards > a { border: 1px solid var(--border-input); padding: 24px; border-radius: var(--r-md); text-decoration: none; box-shadow: var(--shadow-card); }
.guide-cards h3 { margin-top: 0; font-size: 21px; line-height: 1.4; }
.guide-cards p { line-height: 1.7; color: var(--fg-2); }
.guide-cards a:hover h3 { text-decoration: underline; }
.guide-footer { border-top: 1px solid var(--border-card); max-width: 1240px; margin: auto; padding: 40px 32px; display: flex; flex-wrap: wrap; gap: 32px; }
.guide-footer nav { display: flex; flex-direction: column; gap: 14px; }
.guide-footer p { color: var(--fg-2); }
.metronome { background: var(--coral-tint); padding: 24px; border-radius: 16px; }
.metronome label { display: block; font-weight: 700; color: var(--fg-1); }
.metronome input { width: 100%; min-height: 44px; accent-color: var(--coral); }
.metronome button { min-height: 48px; background: var(--coral); border: 0; border-radius: 999px; padding: 12px 24px; color: white; font: 700 17px var(--font); cursor: pointer; }
.metronome button:disabled { opacity: .65; cursor: default; }
.seo-home { max-width: 1240px; margin: auto; padding: 0 32px 80px; }
.seo-home h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.2; }
.seo-home p { max-width: 75ch; font-size: 18px; line-height: 1.7; color: var(--fg-2); }
@media (max-width: 720px) {
 .guide-nav { padding: 16px 20px; align-items: flex-start; gap: 12px; }
 .guide-nav nav { justify-content: flex-end; gap: 12px; font-size: 14px; }
 .guide-nav .guide-button { padding: 10px 16px; }
 .guide-main { width: calc(100% - 40px); }
 .guide-hero { margin: 32px 0; }
 .guide-lead { font-size: 19px; }
 .guide-cards { grid-template-columns: 1fr; }
 .guide-cta { padding: 24px; }
 .guide-footer { padding: 32px 20px; }
 .seo-home { padding: 0 20px 48px; }
}
@media (prefers-reduced-motion: reduce) {
 *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
/* Intrinsic image dimensions reserve space while CSS preserves existing ratios. */
.hero-dog, .cta-vis img { height: auto; }
.legal-document-title { font-weight: 800; font-size: 1.5em; }
/* A square illustration must not force the mobile hero's grid wider than its viewport. */
@media (max-width: 900px) {
 .hero .hero-grid { grid-template-columns: minmax(0, 1fr); }
 .hero .hero-vis { min-height: 0; }
}

@media (max-width: 900px) { .cta .cta-grid { grid-template-columns: minmax(0, 1fr); } .cta .store-row { flex-wrap: wrap; } .cta .cta-vis { min-height: 0; } }
