/* status.estatesbase.com (OPS3 H6). The marketing site's colours and fonts (www/public_html/css/site.css), our own
   copies of the font files, nothing loaded from anywhere else. */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/fonts/outfit-latin.woff2) format('woff2'); }
@font-face { font-family: 'Spectral'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/spectral-600-latin.woff2) format('woff2'); }

:root {
    --navy: hsl(222.6 75.8% 17.8%);
    --navy-mid: hsl(213 24% 33%);
    --navy-tint: hsl(222 38% 93%);
    --gold: hsl(41 100% 49%);
    --teal: hsl(183 35% 45%);
    --bg: hsl(216 33% 97%);
    --card: #fff;
    --ok: hsl(152 55% 36%);
    --ok-soft: hsl(152 45% 92%);
    --part: hsl(38 92% 48%);
    --part-soft: hsl(41 100% 92%);
    --down: hsl(4 70% 48%);
    --down-soft: hsl(4 80% 94%);
    --maint: hsl(213 60% 52%);
    --maint-soft: hsl(213 70% 94%);
    --none: hsl(220 14% 86%);
}

*, ::before, ::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--navy-mid); font-family: 'Outfit', system-ui, sans-serif; font-weight: 400; line-height: 1.5; }
h1, h2, h3 { margin: 0; font-family: 'Spectral', Georgia, serif; font-weight: 600; color: var(--navy); }
p { margin: 0; }
a { color: var(--teal); }
.wrap { max-width: 860px; margin: 0 auto; padding: 0 16px; }

.top { background: var(--card); border-bottom: 1px solid var(--navy-tint); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; }
.top img { display: block; height: auto; width: 150px; }
.top__label { color: var(--navy); font-weight: 500; font-size: 15px; }

main { padding: 28px 16px 8px; }
section { margin-bottom: 28px; }
h2 { font-size: 22px; margin-bottom: 12px; }

.overall { border-radius: 12px; padding: 20px 22px; background: var(--card); border: 1px solid var(--navy-tint); border-left: 6px solid var(--ok); }
.overall h1 { font-size: 26px; line-height: 1.25; margin-bottom: 6px; }
.overall--degraded { border-left-color: var(--part); background: var(--part-soft); }
.overall--down { border-left-color: var(--down); background: var(--down-soft); }
.overall--maintenance { border-left-color: var(--maint); background: var(--maint-soft); }
.overall__stale { margin-top: 8px; font-weight: 500; }

.service { background: var(--card); border: 1px solid var(--navy-tint); border-radius: 12px; padding: 16px 18px; margin-bottom: 12px; }
.service__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.service__head h3 { font-size: 19px; }
.service__about { font-size: 14px; margin: 2px 0 10px; }
.pill { display: inline-block; border-radius: 999px; padding: 3px 12px; font-size: 14px; font-weight: 500; }
.pill--up { background: var(--ok-soft); color: var(--ok); }
.pill--degraded { background: var(--part-soft); color: hsl(30 80% 32%); }
.pill--down { background: var(--down-soft); color: var(--down); }
.pill--maintenance { background: var(--maint-soft); color: hsl(213 60% 38%); }

.bars { display: flex; gap: 2px; height: 30px; margin-top: 8px; }
.bars .bar { flex: 1 1 0; min-width: 0; height: 100%; }
.bar { display: inline-block; border-radius: 2px; background: var(--none); }
.bar--ok { background: var(--ok); }
.bar--part { background: var(--part); }
.bar--down { background: var(--down); }
.bar--maint { background: var(--maint); }
.bar--none { background: var(--none); }
.bars__foot { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; margin-top: 6px; color: var(--navy-mid); }
.bars__foot span:nth-child(2) { text-align: center; }

.notice { background: var(--card); border: 1px solid var(--navy-tint); border-left: 6px solid var(--gold); border-radius: 12px; padding: 14px 18px; margin-bottom: 12px; }
.notice--maintenance { border-left-color: var(--maint); }
.notice--incident { border-left-color: var(--down); }
.notices--past .notice { border-left-color: var(--none); }
.notice h3 { font-size: 18px; margin: 2px 0 4px; }
.notice__kind { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--navy); }
.notice__when { font-weight: 500; margin-bottom: 4px; }
.notice__update { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--navy-tint); }
.notice__update time { font-weight: 600; color: var(--navy); }
.notice__posted { margin-top: 8px; font-size: 13px; }

.key { font-size: 13px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.key .bar { width: 12px; height: 12px; vertical-align: middle; }
.foot { padding-bottom: 32px; font-size: 14px; }
.foot p { margin-bottom: 6px; }

@media (max-width: 480px) {
    .overall h1 { font-size: 22px; }
    .bars { gap: 1px; height: 26px; }
    .top img { width: 120px; }
}
