/* Shared Rusoved design: lavender paper, violet ink, warm gold. */
:root {
  --ink: #241b39; --purple: #7041c6; --purple-dark: #4d2792;
  --muted: #786e89; --paper: #fffdfa; --line: #e7e0ed;
  --lavender: #f0e8fa; --gold: #b88835; --white: #ffffff;
  --shadow: 0 12px 40px rgb(55 30 91 / 5%);
  --radius: 24px; --font-body: 'Nunito', sans-serif;
  --font-heading: 'Lora', Georgia, serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: #faf7fd; color: var(--ink); font: 400 16px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; }
body::selection { background: #ddccf8; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
button:disabled { cursor: not-allowed; }
a, button { touch-action: manipulation; }
:focus-visible { outline: 3px solid #a17cdb; outline-offset: 4px; }
[hidden] { display: none !important; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: inline-block; flex: 0 0 auto; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.skip-link { position: fixed; top: 8px; left: 12px; transform: translateY(-150%); background: var(--purple-dark); color: white; padding: 12px 20px; z-index: 100; border-radius: 12px; }
.skip-link:focus { transform: none; }
.site-header { position: relative; z-index: 20; border-bottom: 1px solid rgb(112 65 198 / 9%); background: rgb(255 253 250 / 65%); }
.site-header-inner { max-width: 1240px; min-height: 100px; margin: 0 auto; padding: 12px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark { width: 45px; height: 49px; display: grid; place-items: center; background: #eee5f8; color: var(--purple-dark); border: 1px solid #e2d3f1; border-radius: 14px 14px 18px 8px; }
.brand-mark .icon { width: 29px; height: 29px; }
.brand-wordmark { font: 600 23px/1.15 var(--font-heading); letter-spacing: 1.3px; }
.brand-wordmark small { display: block; margin-top: 4px; font: 500 10px/1.4 var(--font-body); color: var(--muted); letter-spacing: 1.8px; text-transform: uppercase; }
.desktop-nav { display: flex; align-items: center; gap: 5px; }
.nav-link { color: #7a7187; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 700; min-height: 46px; border-radius: 12px; padding: 10px 14px; transition: color .16s, background .16s; }
.desktop-nav .icon { width: 19px; height: 19px; }
.nav-link:hover { color: var(--purple-dark); background: #f2ebf9; }
.nav-link.is-active { color: var(--purple-dark); background: #eee5f8; }
.header-action { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid #ddd0ef; color: var(--purple-dark); padding: 11px 15px; border-radius: 12px; font-size: 12px; font-weight: 800; }
.header-action:hover { background: var(--lavender); }
.header-action .icon { width: 17px; height: 17px; }
.mobile-nav { display: none; }
main { min-height: calc(100svh - 210px); }
main:focus { outline: none; }
.page-shell { width: min(100%, 1184px); margin: 0 auto; padding: 44px 32px 64px; }
.page-header { margin-bottom: 30px; }
.eyebrow { color: var(--purple); font-size: 11px; font-weight: 800; line-height: 1.5; text-transform: uppercase; letter-spacing: 2px; margin: 0 0 14px; }
.page-title { font: 600 clamp(30px, 3.2vw, 44px)/1.2 var(--font-heading); letter-spacing: -.9px; margin: 0 0 14px; overflow-wrap: anywhere; }
.page-intro { color: var(--muted); font-size: 16px; max-width: 660px; margin: 0; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border: 1px solid transparent; border-radius: 13px; font-size: 14px; line-height: 1.35; font-weight: 800; text-align: center; transition: background .16s, box-shadow .16s; }
.button .icon { width: 20px; height: 20px; }
.button-primary { color: white; background: var(--purple); box-shadow: 0 5px 12px rgb(112 65 198 / 14%); }
.button-primary:hover { background: var(--purple-dark); box-shadow: 0 6px 16px rgb(112 65 198 / 20%); }
.button-secondary { color: var(--purple-dark); background: white; border-color: #dfd3ef; }
.button-secondary:hover { background: #f2ebf9; }
.button-quiet { color: var(--purple-dark); background: transparent; }
.button-quiet:hover { background: #eee5f8; }
.badge { display: inline-flex; align-items: center; gap: 6px; color: var(--purple-dark); background: #eee5f8; padding: 5px 10px; border-radius: 7px; font-size: 11px; font-weight: 800; line-height: 1.3; }
.badge .icon { width: 15px; height: 15px; }
.empty-state { padding: 48px 24px; text-align: center; color: var(--muted); background: rgb(255 253 250 / 75%); border: 1px dashed #d6c8e7; border-radius: 22px; }
.empty-state > .icon { width: 42px; height: 42px; color: #a286c5; margin-bottom: 12px; }
.empty-state h2, .empty-state h3 { color: var(--ink); font: 600 23px/1.4 var(--font-heading); margin: 0 0 10px; }
.empty-state p { max-width: 420px; margin: 0 auto 20px; }
input:not([type=checkbox]):not([type=radio]):not([type=hidden]), select, textarea { color: var(--ink); background: white; border: 1px solid #ded5e7; border-radius: 12px; min-height: 48px; padding: 12px 14px; max-width: 100%; }
input::placeholder, textarea::placeholder { color: #958a9f; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid #ccb4ed; outline-offset: 1px; border-color: #b99adc; }
.errorlist { color: #a13d55; font-size: 13px; list-style: none; padding: 0; margin: 8px 0 0; }
.site-footer { width: min(100%, 1120px); margin: 0 auto; padding: 28px 0 32px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: 12px; }
.site-footer > span { color: #8d759f; font: 600 14px var(--font-heading); letter-spacing: 1.8px; }
.site-footer p { margin: 0; flex: 1; }
.site-footer a { display: inline-flex; gap: 8px; align-items: center; color: var(--purple-dark); }
.site-footer .icon { width: 16px; height: 16px; }
.legal-links { display: flex; gap: 12px 18px; flex-wrap: wrap; }
.site-footer .legal-links a { display: inline-flex; }
.safety-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 14px 0; font-size: 13px; color: var(--purple-dark); }
.community-form input[type="checkbox"] { width: 18px; height: 18px; min-height: 0; vertical-align: middle; accent-color: var(--purple); }
@media (max-width: 1100px) {
  .site-header-inner { padding-inline: 24px; gap: 16px; }
  .nav-link { padding-inline: 10px; }
  .header-action span { display: none; }
  .header-action { width: 44px; height: 44px; padding: 0; }
  .header-action .icon { width: 22px; height: 22px; }
  .site-footer { width: calc(100% - 64px); }
}
@media (max-width: 760px) {
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom)); font-size: 15px; }
  .site-header { background: transparent; border: 0; }
  .site-header-inner { min-height: 84px; padding: 16px 22px; }
  .brand-mark { width: 39px; height: 43px; border-radius: 12px 12px 16px 7px; }
  .brand-mark .icon { width: 25px; height: 25px; }
  .brand-wordmark { font-size: 20px; }
  .brand-wordmark small { font-size: 8px; letter-spacing: 1.5px; }
  .desktop-nav { display: none; }
  .header-action { background: #fffafc; border-color: #e3d8ed; }
  .mobile-nav { display: flex; position: fixed; z-index: 50; bottom: 0; left: 0; right: 0; padding: 9px 12px calc(9px + env(safe-area-inset-bottom)); border: 1px solid #e8e0ef; border-bottom: 0; border-radius: 23px 23px 0 0; background: rgb(255 253 255 / 96%); backdrop-filter: blur(16px); box-shadow: 0 -6px 25px rgb(46 23 81 / 4%); }
  .mobile-nav .nav-link { flex: 1; flex-direction: column; gap: 4px; font-size: 10px; min-height: 58px; padding: 5px 2px; border-radius: 14px; }
  .mobile-nav .icon { width: 23px; height: 23px; }
  .mobile-nav .nav-link.is-active { background: #f0e8fa; }
  .page-shell { padding: 20px 20px 38px; }
  .page-header { margin-bottom: 25px; }
  .page-title { font-size: 30px; letter-spacing: -.6px; }
  .page-intro { font-size: 14px; }
  .eyebrow { font-size: 10px; letter-spacing: 1.6px; margin-bottom: 10px; }
  .button { min-height: 47px; padding: 12px 18px; }
  .site-footer { width: calc(100% - 40px); padding: 25px 0 15px; flex-wrap: wrap; gap: 7px 16px; font-size: 11px; }
  .site-footer p { flex-basis: calc(100% - 115px); }
  .site-footer a { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
