/* V14: isolated cookie controls. Existing navigation, heroes and pricing unchanged. */
.tandem-cookie-banner[hidden], [data-cookie-settings][hidden] { display: none !important; }
.tandem-cookie-banner {
  position: fixed; z-index: 65; right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom)); width: min(460px, calc(100% - 40px));
  max-height: calc(100dvh - 40px); overflow-y: auto; overscroll-behavior: contain;
  padding: 22px; border: 1px solid #d5dfd8; border-radius: 20px;
  background: #f7f7f2; color: #16382d; box-shadow: 0 16px 64px rgba(16,45,33,.18);
  font-family: "Manrope", ui-sans-serif, system-ui, sans-serif; text-align: left;
}
.tandem-cookie-banner *, .tandem-cookie-banner *::before, .tandem-cookie-banner *::after { box-sizing: border-box; }
.tc-heading { display: flex; align-items: center; gap: 9px; }
.tc-dot { width: 9px; height: 9px; border-radius: 50%; background: #557963; flex: none; }
.tandem-cookie-banner h2 { color: #16382d; font-size: 19px; line-height: 1.3; letter-spacing: -.025em; margin: 0; font-weight: 750; }
.tandem-cookie-banner p { font-size: 13px; line-height: 1.65; color: #46564c; margin: 12px 0 16px; }
.tc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tandem-cookie-banner .tc-button {
  appearance: none; width: 100%; min-width: 0; min-height: 46px; padding: 11px 9px;
  font: inherit; font-size: 12px; font-weight: 750; line-height: 1.35;
  color: #fff; background: #16382d; border: 1px solid #16382d; border-radius: 10px; cursor: pointer;
}
.tandem-cookie-banner .tc-button:hover { background: #254d3b; border-color: #254d3b; }
.tc-foot { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 5px 10px; margin-top: 12px; font-size: 11px; line-height: 1.5; color: #46564c; }
.tc-foot a { color: #16382d; text-decoration: underline; text-underline-offset: 3px; padding: 5px 0; }
.tandem-cookie-banner :focus-visible, .cookie-settings-link:focus-visible, [data-cookie-settings]:focus-visible { outline: 3px solid #4d735c; outline-offset: 3px; }
.footer-preferences { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px 18px; }
.footer-preferences > a, .cookie-settings-link { color: inherit; font: inherit; font-size: inherit; text-decoration: underline; text-underline-offset: 3px; }
.cookie-settings-link { appearance: none; background: none; border: 0; padding: 8px 0; cursor: pointer; }
.cookie-guide { max-width: 1100px; }
.cookie-guide-intro { max-width: 740px; margin-bottom: 42px; }
.cookie-guide h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.15; letter-spacing: -.035em; }
.cookie-guide h3 { font-size: 21px; line-height: 1.3; letter-spacing: -.02em; }
.cookie-guide p { font-size: 15px; line-height: 1.8; color: #46564c; }
.cookie-guide [data-cookie-status] { color: #16382d; font-weight: 700; }
.cookie-guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 44px; }
.cookie-guide-grid article { border-top: 1px solid #d5dfd8; padding-top: 20px; min-width: 0; }
.cookie-guide code { font-size: .88em; overflow-wrap: anywhere; background: #edf1e8; padding: 2px 4px; border-radius: 4px; }
.cookie-guide a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.cookie-guide-note { border-top: 1px solid #d5dfd8; margin-top: 36px; padding-top: 20px; }
.cookie-guide .cookie-guide-updated { font-size: 12px; }
@media (max-width: 620px) {
  .tandem-cookie-banner { right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); width: calc(100% - 24px); max-height: calc(100dvh - 24px); padding: 18px; border-radius: 16px; }
  .tandem-cookie-banner h2 { font-size: 18px; }
  .tc-actions { gap: 8px; }
  .footer-preferences { justify-content: flex-start; }
  .footer-preferences > span { flex-basis: 100%; }
  .cookie-guide-grid { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 350px) {
  .tandem-cookie-banner { padding: 15px; }
  .tandem-cookie-banner h2 { font-size: 17px; }
  .tandem-cookie-banner .tc-button { font-size: 11px; }
}
@media print { .tandem-cookie-banner, [data-cookie-settings] { display: none !important; } }
