/* Keat-Astra: tokens, header, footer. System fonts only, so there is no font request at all. */
:root{
  --k-brand:#17428c;--k-brand-dark:#102d61;--k-brand-soft:#e8eefb;--k-orange:#f28b2d;--k-green:#07834f;
  --k-ink:#172033;--k-muted:#5d6b85;--k-line:#dfe5ee;--k-bg:#f5f7fb;--k-white:#fff;--k-navy:#0e1b36;
  --k-radius:14px;--k-shadow:0 1px 2px rgba(16,32,64,.05),0 8px 24px rgba(16,32,64,.07);
  --k-font:Inter,"Segoe UI",system-ui,-apple-system,Roboto,"Helvetica Neue",Arial,sans-serif;
  --k-max:1180px;--k-head:68px;
}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:var(--k-font);color:var(--k-ink);background:var(--k-white)}
h1,h2,h3,h4{font-family:var(--k-font);color:var(--k-ink);letter-spacing:-.01em}
a{color:var(--k-brand)}
:focus-visible{outline:3px solid #174ea6;outline-offset:2px;border-radius:4px}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.keat-skip{position:absolute;left:-9999px;top:8px;background:var(--k-brand);color:#fff;padding:10px 16px;border-radius:8px;z-index:1000}
.keat-skip:focus{left:8px}
.keat-header,.keat-footer,.keat-header *,.keat-footer *{box-sizing:border-box}
.keat-wrap{width:100%;max-width:var(--k-max);margin:0 auto;padding:0 20px}

/* Buttons */
.keat-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 20px;border-radius:999px;font-weight:600;font-size:15px;text-decoration:none;border:1.5px solid transparent;transition:background-color .15s,color .15s,border-color .15s}
.keat-btn--primary{background:var(--k-brand);color:#fff}
.keat-btn--primary:hover{background:var(--k-brand-dark);color:#fff}
.keat-btn--ghost{color:var(--k-brand);border-color:var(--k-line);background:#fff}
.keat-btn--ghost:hover{border-color:var(--k-brand);background:var(--k-brand-soft)}

/* Header */
.keat-header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--k-line)}
.admin-bar .keat-header{top:32px}
.keat-header-row{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:var(--k-head)}
.keat-logo{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:var(--k-ink);font-weight:800;font-size:19px;letter-spacing:-.02em}
.keat-logo small{font-size:11px;font-weight:700;letter-spacing:.12em;color:var(--k-orange);margin-left:2px}
.keat-logo-mark{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:var(--k-brand);color:#fff;font-size:19px}
.keat-logo--light{color:#fff}
.keat-nav{display:flex;align-items:center;gap:28px}
.keat-menu{display:flex;gap:6px;margin:0;padding:0;list-style:none}
.keat-menu a{display:block;padding:10px 12px;border-radius:10px;color:var(--k-ink);font-weight:600;font-size:15px;text-decoration:none}
.keat-menu a:hover,.keat-menu a[aria-current="page"],.keat-menu .current-menu-item>a{color:var(--k-brand);background:var(--k-brand-soft)}
.keat-actions{display:flex;gap:10px}
.keat-toggle{display:none;width:44px;height:44px;border:1px solid var(--k-line);border-radius:12px;background:#fff;cursor:pointer;position:relative}
.keat-toggle-bar,.keat-toggle-bar::before,.keat-toggle-bar::after{position:absolute;left:12px;right:12px;height:2px;background:var(--k-ink);border-radius:2px;content:"";transition:transform .2s,opacity .2s}
.keat-toggle-bar{top:21px}
.keat-toggle-bar::before{left:0;right:0;top:-7px}
.keat-toggle-bar::after{left:0;right:0;top:7px}
.is-open .keat-toggle-bar{background:transparent}
.is-open .keat-toggle-bar::before{transform:translateY(7px) rotate(45deg)}
.is-open .keat-toggle-bar::after{transform:translateY(-7px) rotate(-45deg)}

@media (max-width:960px){
  .keat-toggle{display:block}
  .js .keat-nav{display:none;position:fixed;inset:var(--k-head) 0 0 0;flex-direction:column;align-items:stretch;gap:18px;padding:18px 20px 28px;background:#fff;overflow-y:auto;border-top:1px solid var(--k-line)}
  .admin-bar .js .keat-nav{inset-block-start:calc(var(--k-head) + 46px)}
  .js .is-open .keat-nav{display:flex}
  .keat-nav{flex:1 0 100%;flex-wrap:wrap;padding:8px 0 14px}
  .keat-header-row{flex-wrap:wrap}
  .keat-menu{flex-direction:column;gap:2px}
  .keat-menu a{padding:14px 12px;font-size:17px}
  .keat-actions{flex-direction:column}
  .keat-actions .keat-btn{width:100%;min-height:50px}
  html.keat-lock{overflow:hidden}
}

/* Footer */
.keat-footer{background:var(--k-navy);color:#c9d3e6;margin-top:0}
.keat-footer-grid{display:grid;grid-template-columns:1.6fr repeat(4,1fr);gap:36px;padding:56px 0 36px}
.keat-footer-brand p{margin:14px 0 0;max-width:34ch;font-size:15px;line-height:1.6;color:#aab6cf}
.keat-footer-col h2{margin:0 0 14px;font-size:13px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#fff}
.keat-footer-col ul{margin:0;padding:0;list-style:none;display:grid;gap:10px}
.keat-footer-col a{color:#c9d3e6;text-decoration:none;font-size:15px}
.keat-footer-col a:hover{color:#fff;text-decoration:underline}
.keat-footer-base{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;padding:20px 0 26px;border-top:1px solid rgba(255,255,255,.12);font-size:14px;color:#98a6c2}
@media (max-width:960px){.keat-footer-grid{grid-template-columns:1fr 1fr;padding-top:40px}.keat-footer-brand{grid-column:1/-1}}
@media (max-width:480px){.keat-footer-grid{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Logo image and the white tile used on the dark footer */
.keat-logo img{display:block;width:52px;height:52px;object-fit:contain}
.keat-logo .custom-logo,.custom-logo-link img{max-height:48px;width:auto}
.keat-logo--tile{background:#fff;padding:10px;border-radius:16px}
.keat-logo--tile img{width:72px;height:72px}
.keat-btn--light{background:#fff;color:var(--k-brand-dark)}
.keat-btn--light:hover{background:var(--k-brand-soft);color:var(--k-brand-dark)}
.keat-btn--outline{border-color:rgba(255,255,255,.7);color:#fff}
.keat-btn--outline:hover{background:rgba(255,255,255,.12);color:#fff}
