.guide-page,.guide-index{max-width:1000px;margin:24px auto 56px;color:var(--theme-ink,#17374d)}
.guide-index{max-width:1256px}
.guide-page{max-width:820px}.guide-page h1,.guide-index h1{font-size:clamp(30px,4vw,48px);line-height:1.12;letter-spacing:-.035em;margin:14px 0 22px}.guide-lead{font-size:21px;line-height:1.65;color:var(--theme-muted,#415a6b)}
.guide-page p,.guide-page li{line-height:1.8;font-size:18px}.guide-page section{margin:36px 0;scroll-margin-top:24px}.guide-page h2{font-size:27px;line-height:1.3;margin:0 0 14px}.guide-page a,.guide-index a,.guide-discovery a{color:var(--theme-accent,#17664f);text-decoration:underline;text-underline-offset:3px}
.guide-category{font-size:13px!important;font-weight:750;letter-spacing:.08em;text-transform:uppercase;color:var(--theme-accent,#17664f)}.guide-byline,.guide-breadcrumbs,.guide-disclaimer{font-size:14px!important;color:var(--theme-muted,#415a6b)}
.guide-cta{margin:28px 0;display:flex;align-items:center;gap:22px;padding:24px;border:1px solid var(--theme-line,#c8d6de);border-radius:16px;background:var(--theme-subtle,#edf4f2)}.guide-cta p{font-size:15px;margin:0;max-width:38ch}.guide-cta .guide-play{display:inline-flex;justify-content:center;padding:13px 20px;border-radius:10px;background:#173e50;color:white;text-decoration:none;font-size:17px;font-weight:700;white-space:nowrap}
.guide-toc{padding:22px 26px;border-left:3px solid var(--theme-accent,#17664f);background:var(--theme-surface,#fff)}.guide-toc ol{margin-bottom:0}.guide-toc li{font-size:16px}.guide-page figure{margin:24px 0}.guide-page img{display:block;width:100%;height:auto;border-radius:12px;border:1px solid var(--theme-line,#c8d6de)}.guide-page figcaption{font-size:14px;line-height:1.6;margin-top:10px;color:var(--theme-muted,#415a6b)}
.guide-table{overflow:auto;margin:24px 0;border:1px solid var(--theme-line,#c8d6de);border-radius:12px}.guide-table table{border-collapse:collapse;width:100%;min-width:440px}.guide-table caption{padding:14px;text-align:left;font-size:14px}.guide-table th,.guide-table td{padding:14px;text-align:left;font-size:16px;line-height:1.5;border-top:1px solid var(--theme-line,#c8d6de);vertical-align:top}.guide-table thead{background:var(--theme-subtle,#edf4f2)}
.guide-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:32px}.guide-cards article{display:flex;flex-direction:column;align-items:flex-start;padding:28px;border:1px solid var(--theme-line,#c8d6de);border-radius:16px;background:var(--theme-surface,#fff)}.guide-cards h2{font-size:24px;line-height:1.3;margin:14px 0}.guide-cards p{font-size:16px;line-height:1.7;color:var(--theme-muted,#415a6b)}.guide-discovery{display:flex;flex-direction:row;flex-wrap:wrap;gap:12px 24px;margin:24px 0;font-size:16px}.guide-related{border-top:1px solid var(--theme-line,#c8d6de);padding-top:28px;margin-top:36px}.setup-diagram{padding:16px;border-radius:16px;background:var(--theme-subtle,#edf4f2)}.setup-diagram svg{width:100%;height:auto}.rules-expanded{margin-top:40px}
.website .site-header nav{flex-wrap:wrap}.homepage .home-intro h1{font-size:clamp(34px,4.3vw,64px)}
@media(min-width:1101px){.guide-cards{grid-template-columns:repeat(4,minmax(0,1fr))}.guide-cards article{padding:20px}.guide-cards h2{font-size:22px}}
@media(max-width:650px){.guide-cards{grid-template-columns:1fr}.guide-page,.guide-index{margin-top:16px}.guide-page p,.guide-page li{font-size:17px}.guide-lead{font-size:19px}.guide-cta{flex-direction:column;align-items:stretch;padding:20px;gap:12px}.guide-cards article{padding:22px}.guide-breadcrumbs{line-height:1.8}.guide-page h2{font-size:24px}.setup-diagram{padding:4px}.website .site-header nav{gap:8px 14px}}

.guide-cards h2 a{display:block;text-decoration:none}

.guide-breadcrumbs{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:18px}

.guide-cover-link{display:block;margin-bottom:22px;border-radius:10px;overflow:hidden}.guide-cover{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:10px;background:#f4f0e8}.guide-cover-link:focus-visible{outline:3px solid var(--theme-accent,#17664f);outline-offset:4px}.guide-page .guide-hero{margin:28px 0}.guide-page .guide-hero img{border:0;aspect-ratio:auto}

/* Compact mobile header; account remains a separate action. */
.mobile-navigation{display:none}
@media(max-width:1120px){
 .website .site-header:has(.mobile-navigation){flex-wrap:nowrap;gap:10px}
 .website .site-header .desktop-navigation,.website .site-header:has(.mobile-navigation)>.theme-toggle{display:none}
 .website .site-header .mobile-navigation{display:block;position:relative;margin-left:auto;flex-shrink:0}
 .mobile-navigation summary{list-style:none;display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid var(--theme-line,#d5dae0);border-radius:10px;background:var(--theme-surface,#fff);color:var(--theme-ink,#253143);cursor:pointer}
 .mobile-navigation summary::-webkit-details-marker{display:none}
 .mobile-navigation summary:focus-visible{outline:3px solid var(--theme-focus,#946524);outline-offset:3px}
 .mobile-navigation .menu-close{display:none}.mobile-navigation[open] .menu-bars{display:none}.mobile-navigation[open] .menu-close{display:block}
 .website .site-header .mobile-navigation nav{position:absolute;right:0;top:calc(100% + 10px);width:min(270px,calc(100vw - 90px));display:flex;flex-direction:column;align-items:stretch;gap:4px;margin:0;padding:10px;border:1px solid var(--theme-line,#d5dae0);border-radius:12px;background:var(--theme-surface,#fff);box-shadow:0 12px 32px #0002;max-height:calc(100dvh - 90px);overflow:auto;z-index:30}
 .website .site-header .mobile-navigation nav a{justify-content:flex-start;padding:10px 14px;font-size:16px;min-height:44px}
 .mobile-navigation nav .theme-toggle{justify-content:flex-start;margin-top:4px}
 .website .site-header:has(.mobile-navigation)>.header-account{margin-left:0;max-width:none}
 .website .site-header .header-account .profile-link{width:44px;height:44px;min-height:44px;max-width:none;padding:9px;justify-content:center}
 .website .site-header .header-account .profile-link>svg{display:block;flex-shrink:0}
 .website .site-header .header-account .profile-link>span{display:none}
 .website .header-account .account-notification-badge{right:-7px;top:-7px}
}
/* Public contact form shares account controls without requiring an account. */
#contact-form textarea{width:100%;min-height:160px;padding:10px 12px;border:1px solid var(--theme-line,#94b1bf);border-radius:9px;background:var(--theme-surface,#fff);color:var(--theme-ink,#16384b);font:inherit;resize:vertical}
#contact-form .form-error:empty,#contact-form .form-status:empty{display:none}
#contact-form .form-status{font-size:16px}

.guide-cards .guide-cover-link{width:100%}.guide-cards .guide-read-more{display:inline-block;margin-top:auto;color:var(--theme-accent,#17664f);font-size:15px;font-weight:700;text-decoration:underline;text-underline-offset:3px}.guide-read-more:hover{text-decoration-thickness:2px}.guide-read-more:focus-visible{outline:3px solid var(--theme-accent,#17664f);outline-offset:3px}

/* Keep desktop navigation on one line; use the compact menu at tablet widths. */
.website .site-header .desktop-navigation{flex-wrap:nowrap;white-space:nowrap}
@media(min-width:1121px) and (max-width:1280px){
 .website .site-header{gap:16px}
 .website .site-header .desktop-navigation{gap:4px}
 .website .site-header .desktop-navigation a{padding-left:10px;padding-right:10px}
}

/* Keep phone screenshots readable without enlarging them to desktop width. */
.guide-page .guide-phone-shot{max-width:390px;margin:28px auto}
