/* Shared 141 Kinks frame. Keep these values aligned with the events site. */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { font-size: 16px; }
body { min-width: 280px; min-height: 100svh; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
body { display: flex; flex-direction: column; }
main { flex: 1; }
button, input, select, textarea { font: inherit; }
button, select, summary { cursor: pointer; }
button { color: inherit; border-radius: 0; }
button:disabled { cursor: wait; opacity: .65; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-warm); }
button, a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; height: auto; }
svg { flex-shrink: 0; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: var(--bg-deep); }
:focus-visible { outline: 2px solid var(--accent-warm); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 20px; top: -80px; z-index: 500; padding: 12px 20px; background: var(--text); color: var(--bg-deep); }
.skip-link:focus { top: 12px; }
.wrap, .site-header, .site-footer__inner { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.site-header { display: flex; align-items: center; gap: 36px; min-height: 94px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.site-header__logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.site-header__logo img { width: 32px; height: 32px; object-fit: contain; }
.wordmark { font: 500 27px/1 var(--serif); letter-spacing: -.7px; }
.site-header__nav { display: flex; align-items: center; gap: 29px; margin-left: auto; }
.nav-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--text2); position: relative; }
.nav-link[aria-current="page"] { color: var(--text); }
.nav-link[aria-current="page"]::after { content: ''; position: absolute; inset-inline: 0; bottom: -25px; height: 2px; background: var(--accent); }
.language-control { display: flex; align-items: center; padding-left: 19px; border-left: 1px solid var(--line); }
.language-control select { width: 68px; min-height: 44px; padding: 8px 4px; color: var(--text); background: transparent; border: 0; font-size: 12px; letter-spacing: .05em; }
select option { background: var(--surface); color: var(--text); }
.btn-primary, .btn-secondary, .btn-text { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 20px; border: 1px solid var(--accent); font-size: 14px; font-weight: 500; line-height: 1.5; text-align: center; }
.btn-primary { background: var(--accent); color: var(--bg-deep); }
.btn-primary:hover { background: var(--accent-warm); border-color: var(--accent-warm); color: var(--bg-deep); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--line); }
.btn-secondary:hover { background: var(--surface); border-color: var(--text3); color: var(--text); }
.btn-text { background: transparent; color: var(--accent); border-color: transparent; text-decoration: underline; text-underline-offset: 4px; }
.btn-primary svg, .btn-secondary svg { width: 18px; height: 18px; }
.text-button { background: none; border: 0; color: var(--accent); font-size: 14px; min-height: 44px; padding: 8px 0; text-decoration: underline; text-underline-offset: 4px; }
.site-footer { position: static; border-top: 1px solid var(--line); padding: 32px 0 22px; margin-top: auto; }
.site-footer__inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px 64px; }
.footer-wordmark { font: 500 25px/1.2 var(--serif); }
.site-footer__description { max-width: 400px; margin-top: 10px; font-size: 13px; color: var(--text2); }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 4px 24px; align-content: start; justify-content: end; }
.site-footer__links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; color: var(--text2); }
.site-footer__links a:hover { color: var(--accent-warm); }
.site-footer__bottom { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; border-top: 1px solid var(--line-soft); padding-top: 18px; color: var(--text2); font-size: 12px; }
.site-footer__bottom a { color: var(--accent); }
.legal-page { width: min(720px, calc(100% - 48px)); margin-inline: auto; padding: 40px 0 76px; }
.legal-page h1 { font: 400 clamp(40px, 5vw, 58px)/1.08 var(--serif); letter-spacing: -1px; margin-bottom: 24px; }
.legal-page h2 { font: 500 30px/1.2 var(--serif); letter-spacing: -.3px; margin: 40px 0 14px; }
.legal-page h3 { font: 500 17px/1.5 var(--sans); margin: 24px 0 12px; color: var(--text); }
.legal-page p, .legal-page li { color: var(--text2); font-size: 16px; line-height: 1.85; margin-bottom: 16px; overflow-wrap: break-word; }
.legal-page strong { color: var(--text); font-weight: 500; }
.legal-page a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.legal-page ul, .legal-page ol { padding-left: 22px; margin-bottom: 20px; }
.legal-page li { margin-bottom: 8px; }
.legal-page code { font: .9em/1.5 ui-monospace, monospace; color: var(--text); background: var(--surface); padding: 2px 4px; overflow-wrap: anywhere; }
.legal-page .summary { padding: 0 0 16px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.legal-page .summary p { color: var(--text); }
.legal-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-bottom: 24px; font-size: 14px; }
.legal-page .legal-back { text-decoration: none; }
.reading-language-note { color: var(--text2); border-left: 2px solid var(--line); padding-left: 16px; font-size: 14px; margin-bottom: 24px; }
.legal-page .entries { list-style: none; padding-left: 0; }
.entries > li { padding: 16px 0; margin: 0; border-bottom: 1px solid var(--line-soft); }
.entries > li:last-child { border-bottom: 0; }
.entries .note { display: block; margin-top: 6px; font-size: 15px; line-height: 1.8; }
.gap { border-left: 2px solid var(--line); padding: 12px 20px; margin: 24px 0; }
.gap p:last-child { margin-bottom: 0; }
details.resource-section { margin: 18px 0; }
details.resource-section > summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; list-style: none; padding: 16px 0; border-bottom: 1px solid var(--line); }
details.resource-section > summary::-webkit-details-marker { display: none; }
details.resource-section > summary h3 { font-size: 16px; margin: 0; }
details.resource-section > summary::after { content: '+'; font: 400 24px/1 var(--sans); color: var(--text2); }
details.resource-section[open] > summary::after { content: '−'; }
.resource-controls { display: flex; justify-content: end; margin: 12px 0 20px; }
.legal-page .page-updated { margin-top: 36px; font-size: 14px; }
@media (max-width: 700px) {
  .wrap, .site-header, .site-footer__inner { width: calc(100% - 40px); }
  .site-header { flex-wrap: wrap; gap: 0 16px; min-height: 112px; padding-top: 12px; }
  .site-header__logo { gap: 9px; }
  .wordmark { font-size: 25px; }
  .language-control { margin-left: auto; border: 0; padding: 0; }
  .site-header__nav { width: 100%; order: 3; margin: 2px 0 0; gap: clamp(12px, 4vw, 28px); }
  .nav-link { min-height: 48px; }
  .nav-link[aria-current="page"]::after { bottom: 0; }
  .site-footer { padding-top: 28px; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 18px; }
  .site-footer__links { justify-content: start; gap: 0 22px; }
  .site-footer__bottom { gap: 10px; }
  .legal-page { padding-top: 28px; }
  .legal-page h2 { font-size: 27px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
@media print { .site-header, .site-footer, .skip-link, .resource-controls, .legal-back, .reading-language-note { display: none !important; } body { background: white; color: black; } .legal-page { width: 100%; } .legal-page p, .legal-page li { color: black; } details::details-content { content-visibility: visible; } }
