:root {
  --notice-ink: #173846;
  --notice-teal: #0c7980;
  --notice-gold: #f2b443;
  --notice-paper: #f2f6f7;
  --notice-text: #263841;
  --notice-muted: #5d737a;
  --notice-line: #d9e5e7;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem 1.2rem;
}
.footer-legal a { color: #e6edef; text-underline-offset: .2em; }
.footer-legal button {
  padding: 0;
  border: 0;
  color: #e6edef;
  background: transparent;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}
.footer-legal a:hover, .footer-legal button:hover { color: var(--notice-gold); }

.cookie-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 100;
  display: flex;
  width: min(100% - 2rem, 1100px);
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-inline: auto;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(255,255,255,.2);
  border-top: 3px solid var(--notice-gold);
  border-radius: 8px;
  color: #f4f8f9;
  background: var(--notice-ink);
  box-shadow: 0 16px 50px rgba(14,34,42,.3);
  font: 400 .9rem/1.45 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { max-width: 64ch; margin: 0; }
.cookie-banner a { color: var(--notice-gold); }
.cookie-banner-actions, .cookie-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .5rem;
}
.cookie-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: .6rem .85rem;
  border: 1px solid transparent;
  border-radius: 4px;
  font: 700 .85rem/1.2 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  cursor: pointer;
}
.cookie-button-primary { color: var(--notice-ink); background: var(--notice-gold); }
.cookie-button-primary:hover { background: #ffd170; }
.cookie-button-quiet { border-color: rgba(255,255,255,.45); color: #fff; background: transparent; }
.cookie-dialog .cookie-button-quiet { border-color: var(--notice-line); color: var(--notice-ink); }
.cookie-button-quiet:hover { border-color: var(--notice-gold); }
.cookie-dialog {
  width: min(100% - 2rem, 560px);
  max-height: min(88vh, 760px);
  padding: 1.5rem;
  border: 1px solid var(--notice-line);
  border-top: 4px solid var(--notice-teal);
  border-radius: 8px;
  color: var(--notice-text);
  background: #fff;
  box-shadow: 0 22px 70px rgba(14,34,42,.28);
  font: 400 .96rem/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.cookie-dialog::backdrop { background: rgba(16,36,44,.62); }
.cookie-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.cookie-dialog h2 { margin: 0 0 1rem; color: var(--notice-ink); font-size: 1.45rem; line-height: 1.2; }
.cookie-dialog p { margin: 0 0 .9rem; }
.cookie-dialog ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.cookie-dialog li + li { margin-top: .4rem; }
.cookie-dialog a { color: var(--notice-teal); font-weight: 700; text-underline-offset: .18em; }
.cookie-dialog .cookie-dialog-policy { margin-bottom: 1.2rem; }
.cookie-close {
  display: grid;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  place-items: center;
  padding: 0;
  border: 1px solid var(--notice-line);
  border-radius: 50%;
  color: var(--notice-ink);
  background: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}
.cookie-dialog-actions { justify-content: flex-start; }
body.legal-body {
  margin: 0;
  color: var(--notice-text);
  background: var(--notice-paper);
  font: 400 1rem/1.65 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.legal-header { border-bottom: 1px solid var(--notice-line); background: #fff; }
.legal-header-inner {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  width: min(calc(100% - 2.5rem), 1100px);
  margin-inline: auto;
}
.legal-brand { display: inline-flex; align-items: center; }
.legal-brand img { display: block; width: min(100%, 330px); height: auto; }
.legal-home { color: var(--notice-teal); font-weight: 750; text-underline-offset: .2em; }
.legal-page { width: min(calc(100% - 2.5rem), 920px); margin: clamp(2rem, 5vw, 4rem) auto; }
.legal-card {
  padding: clamp(1.3rem, 4vw, 3rem);
  border: 1px solid var(--notice-line);
  border-top: 4px solid var(--notice-teal);
  background: #fff;
  box-shadow: 0 12px 40px rgba(23,56,70,.06);
}
.legal-kicker { margin: 0 0 .6rem; color: var(--notice-teal); font-size: .76rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.legal-card h1 { margin: 0 0 .75rem; color: var(--notice-ink); font-size: clamp(2rem, 5vw, 3rem); line-height: 1.08; letter-spacing: -.035em; }
.legal-updated { margin: 0 0 2rem; color: var(--notice-muted); font-size: .9rem; }
.legal-intro { max-width: 72ch; padding: 1rem 1.1rem; border-left: 3px solid var(--notice-gold); background: #f8faf8; }
.legal-content h2 { margin: 2rem 0 .65rem; color: var(--notice-ink); font-size: 1.28rem; line-height: 1.3; }
.legal-content h3 { margin: 1.2rem 0 .45rem; color: var(--notice-ink); font-size: 1.05rem; }
.legal-content p { margin: 0 0 .8rem; }
.legal-content ul, .legal-content ol { margin: .35rem 0 1rem; padding-left: 1.3rem; }
.legal-content li + li { margin-top: .35rem; }
.legal-content a { color: var(--notice-teal); text-underline-offset: .18em; }
.legal-contact { padding: 1rem 1.1rem; border: 1px solid var(--notice-line); background: var(--notice-paper); }
.legal-contact p:last-child { margin-bottom: 0; }
.legal-table-wrap { overflow-x: auto; margin: 1rem 0; }
.legal-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.legal-table th, .legal-table td { padding: .8rem; border: 1px solid var(--notice-line); text-align: left; vertical-align: top; }
.legal-table th { color: var(--notice-ink); background: var(--notice-paper); }
.legal-site-footer { padding: 1.25rem; color: #d5e2e5; background: var(--notice-ink); }
.legal-site-footer-inner { display: flex; width: min(calc(100% - 2.5rem), 1100px); align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem 1.5rem; margin-inline: auto; }
.legal-site-footer a { color: var(--notice-gold); text-underline-offset: .2em; }
.legal-site-footer button.legal-home { padding: 0; border: 0; color: var(--notice-gold); background: transparent; font: inherit; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.legal-page :focus-visible, .cookie-banner :focus-visible, .cookie-dialog :focus-visible, .footer-legal :focus-visible { outline: 3px solid var(--notice-gold); outline-offset: 3px; }

@media (max-width: 720px) {
  .cookie-banner { align-items: stretch; flex-direction: column; }
  .cookie-banner-actions { justify-content: flex-start; }
  .cookie-button { flex: 1 1 auto; }
}
@media (max-width: 520px) {
  .legal-header-inner { align-items: flex-start; flex-direction: column; padding-block: 1rem; }
  .legal-brand img { width: min(82vw, 300px); }
  .legal-page, .legal-header-inner, .legal-site-footer-inner { width: min(calc(100% - 1.25rem), 920px); }
  .cookie-banner { right: .5rem; bottom: .5rem; left: .5rem; width: calc(100% - 1rem); padding: .9rem; }
  .cookie-banner-actions, .cookie-dialog-actions { align-items: stretch; flex-direction: column; }
  .cookie-dialog { padding: 1.15rem; }
  .legal-table { min-width: 620px; }
}
