/* Policy pages and storage controls use the same palette as the learning suite. */
.legal-brand { font: 600 24px Anek, Arial, sans-serif; }
.legal-main { width: min(800px, calc(100% - 48px)); margin-inline: auto; padding-block: 44px; }
.legal-main h1 { font: 600 42px/1.1 Anek, Arial, sans-serif; letter-spacing: -.8px; }
.legal-updated { color: #6a7586; font-size: 13px; margin-block: 18px 35px; }
.legal-main section { margin-block: 28px; }
.legal-main section h2 { font: 600 26px/1.2 Anek, Arial, sans-serif; margin-bottom: 12px; }
.legal-main section p { font: 16px/1.7 Text, Arial, sans-serif; color: #465468; margin-bottom: 0; }
.legal-main a { text-decoration: underline; text-underline-offset: 3px; }
.legal-email { padding: 18px; background: #eef2f6; border-radius: 5px; font-size: 15px; overflow-wrap: anywhere; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 12px 24px; font: 11px Text, Arial, sans-serif; color: #6a7586; border-top: 1px solid #d8dfe8; padding-block: 18px 24px; }
.legal-nav a:hover { text-decoration: underline; }
.legal-nav button { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; }
.legal-main .legal-nav { width: 100%; margin-top: 32px; }
body>.legal-nav:not(.wrap) { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.storage-notice { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 25px; padding: 16px max(32px, calc((100vw - 1240px) / 2)); background: #fff; color: #19283f; border-top: 3px solid #19283f; box-shadow: 0 -6px 0 #ffd23f; font: 13px/1.5 Text, Arial, sans-serif; }
.storage-copy { max-width: 750px; }
.storage-copy h2 { display: inline; font: 700 13px Text, Arial, sans-serif; margin-right: 8px; }
.storage-copy p { display: inline; margin: 0; color: #536176; }
.storage-policy-links { display: block; margin-top: 4px; font-size: 11px; }
.storage-policy-links a { text-decoration: underline; text-underline-offset: 3px; margin-right: 14px; }
.storage-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.storage-actions button { min-height: 40px; padding: 8px 14px; background: white; color: #19283f; border: 2px solid #19283f; border-radius: 12px; box-shadow: 3px 3px 0 #19283f; font: 700 13px Text, Arial, sans-serif; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.storage-actions button:hover { background: #fff8ec; transform: translate(-1px, -1px); box-shadow: 4px 4px 0 #19283f; }
.storage-actions button:focus-visible { outline: 3px solid #ac6c0e; outline-offset: 3px; }
@media (max-width: 760px) {
  .legal-main { width: calc(100% - 36px); padding-block: 29px; }
  .legal-main h1 { font-size: 34px; }
  .legal-main section h2 { font-size: 24px; }
  .legal-main section p { font-size: 16px; }
  .legal-nav { gap: 12px 19px; font-size: 10px; }
  body>.legal-nav:not(.wrap) { width: calc(100% - 36px); }
  .storage-notice { display: block; padding: 14px 18px; max-height: 45vh; overflow: auto; font-size: 12px; }
  .storage-copy h2 { font-size: 12px; }
  .storage-policy-links { margin-top: 3px; font-size: 10px; }
  .storage-actions { margin-top: 10px; gap: 9px; }
  .storage-actions button { flex: 1; min-height: 38px; padding: 8px 10px; font-size: 11px; }
}
