/*
VOICE: quiet, plain, a capable colleague (RISE brand book)
IDEA: a well-run service note: clear subject first, date and place quiet beside it
PICTURE: the brand book's storefront illustration on Midnight Navy
COLOUR and TYPE: Royal Blue #2557D6, Midnight Navy #0E1726, white and soft neutrals; IBM Plex Sans 500 titles, Instrument Sans text, Sora wordmark
LAYOUT: full-width navy and white bands, content up to 1240px, stacks below 600px
*/
:root{
  color-scheme:light;
  --blue:#2557D6; --navy:#0E1726; --white:#FFFFFF; --soft:#F5F6F8; --line:#E2E6EC; --slate:#4B5563; --mint:#7BF6B2; --azure:#0EA5E9; --amber:#B45309;
}
*{box-sizing:border-box;min-width:0}
html{scroll-padding-top:80px}
body{margin:0;background:var(--white);color:var(--navy);font:16px/24px 'Instrument Sans',system-ui,sans-serif;overflow-x:clip;font-variant-numeric:tabular-nums}
a{color:var(--blue)}
:focus-visible{outline:3px solid var(--blue);outline-offset:2px}
.wrap{max-width:1240px;margin:0 auto;padding:0 max(5vw,16px)}
.band{padding:clamp(40px,6vw,88px) 0}
.band.soft{background:var(--soft)}
.band.navy{background:var(--navy);color:var(--white)}
h1,h2,.title{font-family:'IBM Plex Sans',sans-serif;font-weight:500;letter-spacing:-.01em;text-wrap:balance;margin:0}
h1{font-size:clamp(34px,5vw,52px);line-height:1.08}
h2{font-size:clamp(28px,3.6vw,44px);line-height:1.15;margin-bottom:12px}
h3{font-size:20px;line-height:26px;margin:0 0 6px;font-weight:700}
.lede{font-size:18px;line-height:28px;color:var(--slate);max-width:640px;margin:14px 0 0}
.navy .lede{color:#C9D2E0}
.meta{font-size:13px;line-height:18px;color:var(--slate)}
.navy .meta{color:#C9D2E0}
p{margin:0 0 12px;max-width:68ch}

/* Site header */
.site{position:sticky;top:0;z-index:10;background:var(--white);border-bottom:1px solid var(--line)}
.site .wrap{display:flex;align-items:center;gap:20px;flex-wrap:wrap;min-height:64px}
.mark{font-family:'Sora',sans-serif;font-weight:700;letter-spacing:.08em;font-size:24px;line-height:1;color:var(--blue);text-decoration:none}
.site nav{display:flex;gap:4px;flex-wrap:wrap;margin-left:auto}
.site nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border-radius:8px;color:var(--navy);text-decoration:none;font-size:15px}
.site nav a:hover{background:var(--soft)}
.site nav a[aria-current="page"]{color:var(--blue);font-weight:700;background:var(--soft)}

/* Buttons */
.btns{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;border-radius:8px;font-weight:700;font-size:15px;text-decoration:none;border:1px solid transparent}
.btn.primary{background:var(--blue);color:var(--white)}
.btn.ghost{border-color:currentColor;color:inherit}

/* Grids */
.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.grid4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
@media(max-width:900px){.grid4{grid-template-columns:repeat(2,minmax(0,1fr))}.grid3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.grid3,.grid2,.grid4{grid-template-columns:minmax(0,1fr)}}
.card{background:var(--white);border:1px solid var(--line);border-radius:12px;padding:20px}

/* Rows like the brand book's tables */
.rows{border-top:1px solid var(--line)}
.rows .r{display:grid;grid-template-columns:200px minmax(0,1fr);gap:16px;padding:14px 0;border-bottom:1px solid var(--line)}
.rows .r b{font-weight:700}
@media(max-width:600px){.rows .r{grid-template-columns:minmax(0,1fr);gap:2px}}

.statement{background:var(--navy);color:var(--white);padding:clamp(24px,4vw,40px);border-bottom:6px solid var(--blue)}
.statement .title{font-size:clamp(26px,3.4vw,38px);line-height:1.2}
.callout{background:var(--soft);border-left:4px solid var(--blue);padding:18px 22px}

/* Footer */
.foot{background:var(--navy);color:#C9D2E0;padding:40px 0}
.foot .wrap{display:flex;gap:24px;flex-wrap:wrap;align-items:baseline;justify-content:space-between}
.foot .mark{color:var(--white)}
.foot nav{display:flex;gap:16px;flex-wrap:wrap}
.foot a{color:var(--white);text-decoration:none;min-height:44px;display:inline-flex;align-items:center}
@media (prefers-reduced-motion:no-preference){.rise-in{animation:rise .6s ease-out both}@keyframes rise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}}
