/* Shared accessibility and rhythm; individual sites define their own visual language. */
*, *::before, *::after { letter-spacing: 0 !important; }
html { scroll-padding-top: 140px; }
body { overflow-wrap: break-word; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.container { width: 100%; }
.header-inner { height: auto; min-height: 82px; gap: 20px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 14px; }
.brand-logo { flex-shrink: 0; font-size: 19px; gap: 12px; }
.brand-logo img { width: 42px; height: 42px; object-fit: contain; flex: 0 0 42px; }
.nav-links { flex: 1 1 100%; flex-wrap: wrap; gap: 10px 20px; padding-top: 10px; border-top: 1px solid var(--border-color); }
.nav-links a { padding: 5px 0; font-size: 13px; }
.nav-links .header-btn { margin-left: auto; padding: 9px 15px; }
.nav-links a.active:not(.header-btn) { text-decoration: underline; text-underline-offset: 6px; }
.brand-badge, .brand-tag, .hero-pill, .meta-kicker, .lead-card-badge, .sidebar-badge, .kicker-dot { display: none !important; }
.hero-title { font-size: 40px; font-weight: 500; line-height: 1.17; max-width: 900px; text-wrap: balance; }
.hero-section { padding: 36px 0 30px; }
.hero-lead { font-size: 17px; line-height: 1.7; max-width: 780px; margin-bottom: 18px; }
.hero-actions { margin-top: 22px; }
.editorial-photo-box { border: 0; border-radius: 0; box-shadow: none; margin: 24px 0 36px; background: transparent; }
.editorial-photo-box img { aspect-ratio: 16 / 7; height: auto; max-height: none; object-fit: cover; }
.photo-caption { padding: 10px 0; gap: 12px; align-items: flex-start; background: transparent; border: 0; flex-wrap: wrap; line-height: 1.5; }
.photo-caption > span { max-width: 100%; }
.photo-caption span:last-child { font-size: 12px; }
.article-body, .article-content { min-width: 0; }
.content-grid, .analysis-grid { grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); gap: 48px; }
.content-grid > *, .analysis-grid > *, .intake-grid > *, .calc-grid > * { min-width: 0; }
.frameworks-grid > *, .pillars-grid > * { min-width: 0; }
.article-body h2, .article-content h2 { line-height: 1.3; font-weight: 500; }
.article-body p, .article-content p { line-height: 1.85; }
.lead-card, .sidebar-card { box-shadow: none; border-radius: 4px; padding: 26px; }
.lead-card h3, .sidebar-card h3 { font-size: 22px; font-weight: 600; }
.sidebar-sticky, .sidebar-card { position: static; }
.form-input, .form-select, .form-textarea { font-size: 16px; min-height: 46px; border-color: #b5bab7; }
.form-textarea { resize: vertical; }
.btn-submit { min-height: 48px; line-height: 1.4; }
.btn-submit:disabled { cursor: wait; opacity: .65; }
.form-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; line-height: 1.6; margin: 18px 0; color: var(--text-secondary); }
.form-consent input { margin-top: 4px; flex: 0 0 17px; width: 17px; height: 17px; accent-color: var(--accent); }
.form-consent a, .form-status a { text-decoration: underline; }
.form-status { font-size: 14px; line-height: 1.6; margin-top: 14px; padding: 12px 0; }
.form-status:empty { display: none; }
.form-status[data-state="error"] { color: #a52b27; }
.form-status[data-state="success"] { color: #246041; }
.form-status[data-state="pending"] { color: var(--text-secondary); }
.form-disclaimer, .form-note, .form-legal { font-size: 12px; color: #575e61; text-align: left; }
.table-wrapper, .table-scroll { max-width: 100%; overflow-x: auto; border-radius: 0; }
.table-scroll table { min-width: 560px; }
.data-table td, .data-table th { padding: 15px 14px; }
.metrics-row { border-radius: 0; border-width: 1px 0; background: transparent; gap: 22px; }
.metric-card { padding: 20px 0; background: transparent; }
.metric-label { color: #5a6063; text-transform: none; font-size: 13px; }
.metric-value { font-variant-numeric: tabular-nums; font-size: 30px; }
.note-box { border-radius: 0; background: transparent; }
.site-footer { background: #f2f4f2; color: #515957; border-top: 1px solid var(--border-color); }
.footer-top { border-color: var(--border-color); }
.footer-brand h4, .footer-col h5, .footer-links a:hover { color: var(--text-primary); }
.compliance-box, .compliance-notice { background: transparent !important; color: #515957 !important; border: 0 !important; padding-left: 0 !important; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 200; background: white; padding: 12px 20px; }
.skip-link:focus { top: 12px; }
.page-crumb { display: block; padding: 18px 0 0; font-size: 12px; color: var(--text-secondary); }
.page-crumb a { text-decoration: underline; text-underline-offset: 3px; }
.chapter-links { padding: 18px 0; margin-bottom: 28px; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.chapter-links strong { display: block; font-size: 13px; margin-bottom: 8px; }
.chapter-links ol { margin: 0 0 0 20px; font-size: 14px; }
.chapter-links li { margin: 5px 0; }
.chapter-links a:hover { text-decoration: underline; }
.author-photo { margin: 28px 0; }
.author-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.author-photo figcaption { color: var(--text-secondary); font-size: 11px; padding-top: 8px; }
.author-avatar { flex: 0 0 52px; width: 52px; height: 52px; overflow: hidden; }
.author-bar { display: flex; align-items: center; gap: 14px; margin-top: 18px; font-size: 13px; line-height: 1.6; }
.author-avatar { border-radius: 50%; }
.author-avatar img { height: 100%; width: 100%; object-fit: cover; }
.personal-note { margin: 32px 0; padding: 25px 0; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.personal-note h2 { margin-top: 0; }
.personal-note p { margin-bottom: 0; }
.page-photo { margin: 0 0 28px; }
.page-photo img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.page-photo figcaption { font-size: 12px; color: var(--text-secondary); padding: 8px 0; }
.related-pages { display: flex; gap: 12px 28px; flex-wrap: wrap; margin: 40px 0 12px; padding-top: 22px; border-top: 1px solid var(--border-color); }
.related-pages a { font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.noscript-note { padding: 12px 0; color: #a52b27; }
@media (max-width: 1000px) {
 .site-header { position: relative; }
 .header-inner { min-height: 76px; padding-top: 14px; padding-bottom: 14px; flex-wrap: nowrap; }
 .brand-logo { flex-shrink: 1; font-size: 17px; }
 .nav-links { display: none; }
 .mobile-toggle { display: block; width: 44px; height: 44px; flex: 0 0 44px; }
 .nav-links.open { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 100%; left: 0; right: 0; max-height: 78vh; overflow-y: auto; background: white; border: 1px solid var(--border-color); padding: 20px 24px; z-index: 60; }
 .nav-links a { padding: 9px 0; }
 .nav-links .header-btn { margin-left: 0; text-align: center; }
 .lang-switcher { align-self: flex-start; }
 .content-grid, .analysis-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
 .sidebar-sticky, .sidebar-col { max-width: 600px; }
 .hero-title { font-size: 34px; }
 html { scroll-padding-top: 20px; }
}
@media (max-width: 640px) {
 .container { padding-left: 20px; padding-right: 20px; }
 .hero-section { padding: 28px 0 20px; }
 .hero-title { font-size: 30px; }
 .hero-lead { font-size: 16px; }
 .author-bar { align-items: flex-start; gap: 12px; }
 .editorial-photo-box img { aspect-ratio: 4 / 3; }
 .metrics-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; margin: 22px 0; }
 .metric-value { font-size: 25px; }
 .metric-sub { font-size: 12px; }
 .lead-card, .sidebar-card { padding: 20px; }
 .content-grid { padding-top: 24px; }
 .footer-top { grid-template-columns: minmax(0, 1fr); }
 .photo-caption { display: block; }
 .photo-caption span { display: block; margin-bottom: 4px; }
 .intake-grid { grid-template-columns: minmax(0, 1fr) !important; padding: 0 !important; gap: 24px; }
 .section-title, .section-head h2, .intake-info h2 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

:root { --bg-primary: #fff; --bg-subtle: #f0f5f2; --text-primary: #253832; --text-secondary: #53635c; --accent: #316754; --accent-hover: #245240; --accent-gold: #984b39; --accent-soft: #eff5f1; --border-color: #d5e1da; --radius-lg: 4px; --font-mono: inherit; }
.brand-logo { font-family: Georgia, serif; font-size: 21px; font-weight: 500; }
.hero-title { font-family: Georgia, serif; max-width: 820px; }
.hero-section { background: #f0f5f2; border: 0; }
.home-photo { margin: 0; }
.home-photo img { width: 100%; height: 280px; object-fit: cover; }
.home-photo figcaption { font-size: 11px; color: #59665f; padding: 8px 0; }
.calculator-section { padding-top: 40px; }
.calc-box { border: 0; border-radius: 0; padding: 0; box-shadow: none; }
.calc-header h2 { font-family: Georgia, serif; font-weight: 500; font-size: 28px; }
.calc-grid { gap: 32px; }
.calc-result-panel { border: 0; border-left: 3px solid var(--accent); border-radius: 0; padding: 26px; }
.calc-total-val { font-family: Georgia, serif; font-size: 38px; font-weight: 500; }
.calc-item { gap: 20px; }
.calc-item-name { min-width: 0; }
.calc-item-val { flex-shrink: 0; font-family: inherit; font-variant-numeric: tabular-nums; }
.startup-deposit-box { border: 0; padding-left: 0; background: transparent; }
.btn-toggle { font-weight: 500; border-radius: 3px; white-space: normal; text-align: left; }
.sidebar-card { background: #f0f5f2; border: 0; border-top: 3px solid var(--accent); }
.article-content h2 { font-family: Georgia, serif; }
.analysis-section { padding-top: 36px; }
.budget-visual { margin-top: 30px; }
.budget-visual > div { padding: 24px 0 !important; border: 0 !important; box-shadow: none !important; background: transparent !important; }
.budget-visual .budget-bar { height: auto !important; min-height: 36px; flex-wrap: wrap; border-radius: 0 !important; }
.budget-bar > div { min-width: 75px; }
.page-canton-comparison .hero-section { background: white; border-bottom: 3px solid #316754; }
.page-rental-guide .page-photo img { aspect-ratio: 16 / 9; }
.page-about .author-photo img { max-width: 760px; }
.personal-note { border-left: 3px solid #984b39; padding: 8px 0 8px 24px; border-top: 0; border-bottom: 0; }
@media(max-width: 900px) { .calc-grid { grid-template-columns: minmax(0,1fr); } }
@media(max-width: 640px) { .calc-total-val { font-size: 32px; } .calc-result-panel { padding: 20px; } .home-photo img { height: 240px; } .btn-toggle { font-size: 13px; padding: 10px; } }
