.cookie-banner {
  position: fixed; z-index: 30; right: 20px; bottom: 20px; left: 20px;
  display: none; justify-content: center;
}
.cookie-banner.is-visible { display: flex; }
.cookie-panel {
  width: min(100%, 760px); padding: 24px;
  color: #0a1c35; border: 1px solid #cbd7df; border-radius: 6px;
  background: #fff; box-shadow: 0 24px 70px rgba(3,19,41,.28);
}
.cookie-panel h2 { margin: 0 0 8px; color: #0a1c35; font-size: 21px; line-height: 1.3; }
.cookie-panel p { margin: 0; color: #536277; font-size: 14px; line-height: 1.65; }
.cookie-panel a { color: #087f7a; font-weight: 700; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.cookie-action {
  min-height: 44px; padding: 10px 17px; cursor: pointer;
  border: 1px solid #087f7a; border-radius: 6px;
  font: 700 13px/1.2 var(--font);
}
.cookie-action.primary { color: #fff; background: #087f7a; }
.cookie-action.primary:hover { background: #066d69; }
.cookie-action.secondary { color: #075f5b; background: #fff; }
.cookie-action.secondary:hover { background: #eef7f6; }
:where(.cookie-action, .cookie-settings):focus-visible {
  outline: 3px solid #087f7a; outline-offset: 3px; box-shadow: 0 0 0 3px #fff;
}
.site-footer .cookie-settings:focus-visible { outline-color: #f1cf6a; box-shadow: 0 0 0 3px #04152f; }
.cookie-status {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.faq-open { overflow: hidden; }
.faq-dialog {
  position: fixed; z-index: 100; inset: 0; display: none;
  align-items: center; justify-content: center; padding: 24px;
  font-family: var(--font);
}
.faq-dialog.is-visible { display: flex; }
.faq-backdrop { position: absolute; inset: 0; background: rgba(3, 19, 41, .68); backdrop-filter: blur(5px); }
.faq-panel {
  position: relative; width: min(100%, 720px); max-height: min(760px, calc(100vh - 48px)); overflow: auto;
  padding: 30px; color: #0a1c35; border: 1px solid #cbd7df; border-radius: 8px;
  background: #fff; box-shadow: 0 28px 90px rgba(3, 19, 41, .38);
}
.faq-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.faq-header span {
  display: block; margin-bottom: 6px; color: #087f7a;
  font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
}
.faq-header h2 { margin: 0; color: #0a1c35; font-size: clamp(25px, 4vw, 35px); line-height: 1.15; }
.faq-close {
  flex: 0 0 44px; width: 44px; height: 44px; color: #34455a; cursor: pointer;
  border: 1px solid #cbd7df; border-radius: 50%; background: #fff; font-size: 27px; line-height: 1;
}
.faq-close:hover { color: #075f5b; border-color: #087f7a; background: #eef7f6; }
.faq-intro { margin: 14px 0 22px; color: #536277; font-size: 15px; line-height: 1.65; }
.faq-questions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.faq-question {
  min-height: 54px; padding: 13px 15px; color: #17304e; cursor: pointer; text-align: left;
  border: 1px solid #cbd7df; border-radius: 6px; background: #f8fbfc;
  font: inherit; font-size: 13px; font-weight: 700; line-height: 1.4;
}
.faq-question:hover, .faq-question[aria-current="true"] {
  color: #075f5b; border-color: #087f7a; background: #eef7f6;
}
.faq-answer {
  margin-top: 18px; padding: 20px; border-left: 4px solid #c4a85c; border-radius: 8px; background: #f4f7f8;
}
.faq-answer h3 { margin: 0 0 8px; color: #0a1c35; font-size: 17px; line-height: 1.35; }
.faq-answer p { margin: 0; color: #43546a; font-size: 14px; line-height: 1.7; }
.faq-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.faq-human, .faq-cancel {
  min-height: 46px; padding: 11px 18px; cursor: pointer; border-radius: 6px;
  font: inherit; font-size: 13px; font-weight: 800; line-height: 1.2;
}
.faq-human { color: #fff; border: 1px solid #087f7a; background: #087f7a; }
.faq-human:hover { background: #066d69; }
.faq-cancel { color: #34455a; border: 1px solid #b8c5cf; background: #fff; }
.faq-cancel:hover { border-color: #748397; background: #f4f7f8; }
:where(.faq-close, .faq-question, .faq-human, .faq-cancel):focus-visible {
  outline: 3px solid #087f7a; outline-offset: 3px; box-shadow: 0 0 0 3px #fff;
}
@media (max-width: 620px) {
  /* Compact bar: the notice must not cover most of a phone screen (CLAUDE.md D-13). */
  .cookie-banner { right: 8px; bottom: 8px; left: 8px; }
  .cookie-panel { padding: 14px 16px; }
  .cookie-panel h2 { margin-bottom: 4px; font-size: 16px; }
  .cookie-panel p { font-size: 13px; line-height: 1.45; }
  .cookie-actions { gap: 8px; margin-top: 12px; }
  .cookie-action { flex: 1 1 0; min-height: 44px; padding: 6px 10px; font-size: 12px; line-height: 1.25; }
  .faq-dialog { align-items: flex-end; padding: 0; }
  .faq-panel {
    width: 100%; max-height: 92vh; padding: 23px 18px;
    border-right: 0; border-bottom: 0; border-left: 0; border-radius: 12px 12px 0 0;
  }
  .faq-questions { grid-template-columns: 1fr; }
  .faq-actions { display: grid; }
  .faq-human, .faq-cancel { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-banner, .cookie-panel, .faq-dialog, .faq-panel { scroll-behavior: auto; }
}
