*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--brand-bg);
  color: var(--brand-text);
  font: 400 1.0625rem/1.6 var(--font-body);
}
a { color: var(--brand-primary); text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--brand-accent); outline-offset: 3px; border-radius: 2px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: 1rem; top: -4rem; padding: 0.5rem 1rem; background: var(--brand-text); color: var(--brand-bg); z-index: 200; }
.skip:focus { top: 1rem; }

.stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem 2rem;
  text-align: center;
}
.stage-inner { width: 100%; max-width: 36rem; animation: rise 0.7s ease-out both; }
.logo { display: block; max-width: min(16rem, 70%); max-height: 7rem; width: auto; height: auto; margin: 0 auto 2rem; }
.brand-name { font: 700 2.25rem/1.15 var(--font-heading); margin: 0 0 1rem; }
.tagline { font: 600 1.375rem/1.35 var(--font-heading); margin: 0 0 1rem; }
.description { margin: 0 auto 1.75rem; max-width: 32rem; }
.badge {
  display: inline-block;
  margin: 0 0 1.75rem;
  padding: 0.35rem 1rem;
  border: 2px solid var(--brand-primary);
  border-radius: 999px;
  color: var(--brand-primary);
  font: 700 0.8125rem/1.2 var(--font-heading);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.contact { margin: 0; }

.site-footer {
  padding: 1.25rem 1.5rem 1.75rem;
  border-top: 1px solid color-mix(in srgb, var(--brand-text) 20%, transparent);
  text-align: center;
  font-size: 0.9rem;
}
.site-footer a, .site-footer button { color: var(--brand-text); }
.site-footer .sep { margin: 0 0.4rem; }
.link-button { background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }

.doc { width: 100%; max-width: 44rem; margin: 0 auto; padding: 2.5rem 1.5rem 3rem; flex: 1; }
.doc-head { margin-bottom: 2rem; }
.doc-head .logo { margin: 0 0 1.5rem; max-width: 12rem; max-height: 4.5rem; }
.doc h1 { font: 700 2rem/1.2 var(--font-heading); margin: 0 0 0.5rem; }
.doc h2 { font: 700 1.25rem/1.3 var(--font-heading); margin: 2rem 0 0.5rem; }
.doc p, .doc ul { margin: 0 0 1rem; }
.doc .meta { opacity: 0.85; }

.consent-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 100;
  max-width: 44rem; margin: 0 auto; padding: 1rem 1.25rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem;
  background: var(--brand-text); color: var(--brand-bg);
  border-radius: 8px; box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
  font-size: 0.95rem; line-height: 1.5;
}
.consent-text { flex: 1 1 16rem; margin: 0; }
.consent-link { color: var(--brand-bg); }
.consent-actions { display: flex; gap: 0.75rem; }
.consent-btn {
  padding: 0.5rem 1.1rem; border: 2px solid var(--brand-bg); border-radius: 4px;
  background: transparent; color: var(--brand-bg); font: 700 0.95rem var(--font-body); cursor: pointer;
}
.consent-btn--accept { background: var(--brand-bg); color: var(--brand-text); }
.consent-btn:hover { opacity: 0.88; }
.consent-btn:focus-visible, .consent-link:focus-visible { outline: 3px solid var(--brand-bg); outline-offset: 2px; }

@keyframes rise { from { opacity: 0; transform: translateY(0.75rem); } to { opacity: 1; transform: none; } }
@media (max-width: 480px) {
  .brand-name { font-size: 1.875rem; }
  .tagline { font-size: 1.1875rem; }
  .consent-actions { width: 100%; }
  .consent-btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .stage-inner { animation: none; }
}
