@font-face {
  font-family: "Bodoni Moda";
  src: url("assets/bodoni-moda-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("assets/ibm-plex-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

:root {
  --navy: #162a59;
  --navy-bright: #203b78;
  --red: #aa1f2b;
  --red-soft: #f5e4e3;
  --paper: #f5f1e8;
  --paper-light: #fcfaf5;
  --ink: #172036;
  --muted: #637084;
  --line: #d8d2c5;
  --green: #0d7a59;
  --green-soft: #dff3eb;
  --amber: #a35c0b;
  --amber-soft: #faecd4;
  --shadow: 0 18px 45px rgba(22, 42, 89, 0.09);
}

* { box-sizing: border-box; }

html { background: var(--paper); scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(170, 31, 43, 0.075), transparent 28rem),
    radial-gradient(circle at 86% 20%, rgba(32, 59, 120, 0.08), transparent 34rem),
    linear-gradient(180deg, var(--paper-light) 0, var(--paper) 100%);
  font-family: "IBM Plex Sans", sans-serif;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.24;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.14'/%3E%3C/svg%3E");
  pointer-events: none;
}

a { color: inherit; }

.page-shell { width: min(1420px, calc(100% - 48px)); margin: 0 auto; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 116px;
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; align-items: center; gap: 15px; text-decoration: none; }
.brand img { width: 70px; height: auto; }
.brand-copy { display: flex; align-items: baseline; gap: 12px; }
.brand-copy strong {
  color: var(--navy);
  font-family: "Bodoni Moda", serif;
  font-size: 2rem;
  letter-spacing: -0.04em;
}
.brand-copy span { color: var(--muted); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }

.header-meta { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 0.78rem; letter-spacing: 0.04em; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 5px rgba(163, 92, 11, 0.11); }
.live-dot.is-live { background: var(--green); box-shadow: 0 0 0 5px rgba(13, 122, 89, 0.11); }
.live-dot.is-error { background: var(--red); box-shadow: 0 0 0 5px rgba(170, 31, 43, 0.11); }

main { padding: 36px 0 64px; }

.status-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, 0.6fr);
  gap: 44px;
  min-height: 410px;
  overflow: hidden;
  padding: clamp(38px, 5vw, 72px);
  color: #fff;
  background:
    linear-gradient(112deg, rgba(255,255,255,0.04), transparent 42%),
    linear-gradient(135deg, var(--navy) 0%, #1d3773 68%, #13244d 100%);
  border-radius: 4px 44px 4px 4px;
  box-shadow: var(--shadow);
}

.status-hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 38%;
  height: 8px;
  background: var(--red);
}

.hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; }
.eyebrow { margin: 0 0 12px; color: var(--red); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.status-hero .eyebrow { color: #f0b7ba; }
.status-title-row { display: flex; align-items: flex-start; gap: 25px; }
.overall-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 61px;
  height: 61px;
  margin-top: 8px;
  border: 1px solid rgba(255,255,255,0.34);
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}
.overall-icon svg { width: 37px; fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.overall-icon.state-operational { color: #8de2c7; }
.overall-icon.state-degraded { color: #f4ca7a; }
.overall-icon.state-outage { color: #ff9da2; }
.overall-icon.state-unknown { color: #ccd4e6; }

h1, h2 { font-family: "Bodoni Moda", serif; font-weight: 600; }
h1 { max-width: 780px; margin: 0; font-size: clamp(2.65rem, 5.7vw, 5.65rem); line-height: 0.98; letter-spacing: -0.052em; }
.status-title-row p { max-width: 670px; margin: 21px 0 0; color: rgba(255,255,255,0.76); font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.6; }

.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(100px, 1fr)); gap: 0; max-width: 670px; margin-top: 46px; border-top: 1px solid rgba(255,255,255,0.18); }
.hero-facts div { padding: 18px 24px 0 0; }
.hero-facts div + div { padding-left: 24px; border-left: 1px solid rgba(255,255,255,0.18); }
.hero-facts span { display: block; min-height: 32px; color: rgba(255,255,255,0.58); font-size: 0.72rem; line-height: 1.4; text-transform: uppercase; letter-spacing: 0.09em; }
.hero-facts strong { display: block; margin-top: 7px; font-family: "Bodoni Moda", serif; font-size: 1.9rem; font-weight: 600; }

.hero-orbit { position: relative; z-index: 1; display: grid; place-items: center; min-height: 250px; }
.orbit { position: absolute; border: 1px solid rgba(255,255,255,0.18); border-radius: 50%; }
.orbit-one { width: 260px; height: 260px; animation: breathe 5s ease-in-out infinite; }
.orbit-two { width: 185px; height: 185px; border-style: dashed; animation: turn 28s linear infinite; }
.orbit-two::before, .orbit-two::after { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #f2b9bc; }
.orbit-two::before { top: 13px; left: 38px; }
.orbit-two::after { right: 20px; bottom: 28px; }
.orbit-core { display: grid; place-items: center; width: 112px; height: 112px; border-radius: 50%; background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.28); box-shadow: 0 0 70px rgba(255,255,255,0.08); }
.orbit-core span { font-family: "Bodoni Moda", serif; font-size: 1.42rem; }

@keyframes turn { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { transform: scale(1.035); opacity: 0.66; } }

.services-section { padding: 76px 0 30px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 26px; }
.section-heading h2, .signal-card h2, .explain-panel h2 { margin: 0; color: var(--navy); font-size: clamp(2rem, 3vw, 3.1rem); line-height: 1.05; letter-spacing: -0.04em; }
.section-heading > p { max-width: 500px; margin: 0 0 4px; color: var(--muted); line-height: 1.6; }

.services-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.service-card {
  position: relative;
  min-height: 255px;
  padding: 25px;
  overflow: hidden;
  background: rgba(255,255,255,0.62);
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  box-shadow: 0 8px 24px rgba(22, 42, 89, 0.035);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.service-card:hover { transform: translateY(-3px); box-shadow: 0 16px 35px rgba(22, 42, 89, 0.09); }
.service-card.state-degraded { border-top-color: var(--amber); }
.service-card.state-outage { border-top-color: var(--red); }
.service-card.state-unknown { border-top-color: #8791a3; }
.service-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.service-number { color: #9b9488; font-family: "Bodoni Moda", serif; font-size: 0.82rem; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px; border-radius: 999px; color: var(--green); background: var(--green-soft); font-size: 0.67rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.status-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.state-degraded .status-pill { color: var(--amber); background: var(--amber-soft); }
.state-outage .status-pill { color: var(--red); background: var(--red-soft); }
.state-unknown .status-pill { color: #5d687b; background: #e7e9ed; }
.service-card h3 { margin: 31px 0 9px; color: var(--navy); font-family: "Bodoni Moda", serif; font-size: 1.6rem; line-height: 1.1; }
.service-card > p { min-height: 44px; margin: 0; color: var(--muted); font-size: 0.88rem; line-height: 1.55; }
.service-metrics { display: flex; justify-content: space-between; align-items: end; margin-top: 25px; padding-top: 17px; border-top: 1px solid var(--line); }
.service-metrics span { display: block; margin-bottom: 3px; color: #8b8490; font-size: 0.62rem; letter-spacing: 0.11em; text-transform: uppercase; }
.service-metrics strong { color: var(--ink); font-size: 0.95rem; }
.mini-history { display: flex; align-items: end; gap: 3px; height: 28px; }
.mini-history i { display: block; width: 4px; min-height: 3px; border-radius: 2px; background: var(--green); opacity: 0.78; }
.mini-history i.degraded { background: var(--amber); }
.mini-history i.outage { background: var(--red); }
.mini-history i.unknown { background: #adb3bd; }

.loading-card { border-top-color: #b9b3a8; }
.loading-line { height: 12px; width: 55%; margin-top: 20px; border-radius: 8px; background: linear-gradient(90deg,#e2ddd3,#f1eee8,#e2ddd3); background-size: 220% 100%; animation: shimmer 1.7s linear infinite; }
.loading-line.wide { width: 82%; margin-top: 48px; height: 25px; }
@keyframes shimmer { to { background-position: -220% 0; } }

.signal-grid { display: grid; grid-template-columns: 1.3fr 0.9fr 0.9fr; gap: 15px; padding: 34px 0 64px; }
.signal-card { min-height: 330px; padding: 29px; background: var(--paper-light); border: 1px solid var(--line); }
.signal-card h2 { font-size: 2.15rem; }
.activity-list { margin-top: 28px; }
.activity-item { display: grid; grid-template-columns: 16px 1fr; gap: 11px; padding: 13px 0; border-top: 1px solid var(--line); }
.activity-item p { margin: 0; color: var(--muted); font-size: 0.88rem; line-height: 1.5; }
.activity-marker { width: 8px; height: 8px; margin-top: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.activity-item.state-degraded .activity-marker { background: var(--amber); box-shadow: 0 0 0 4px var(--amber-soft); }
.activity-item.state-outage .activity-marker { background: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }
.activity-item.state-unknown .activity-marker { background: #6d7789; box-shadow: 0 0 0 4px #e7e9ed; }

.response-card { background: var(--navy); color: #fff; border-color: var(--navy); }
.response-card .eyebrow { color: #e4a5aa; }
.response-card h2 { color: #fff; }
.response-metric { margin-top: 29px; }
.response-metric strong { display: block; font-family: "Bodoni Moda", serif; font-size: 3.8rem; line-height: 1; }
.response-metric span { color: rgba(255,255,255,0.62); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.09em; }
.response-bars { display: flex; align-items: end; gap: 8px; height: 75px; margin-top: 28px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.16); }
.response-bars span { flex: 1; min-width: 7px; border-radius: 2px 2px 0 0; background: linear-gradient(180deg, #e59199, #aa1f2b); opacity: 0.9; }
.level-0 { height: 4%; }
.level-1 { height: 10%; }
.level-2 { height: 20%; }
.level-3 { height: 30%; }
.level-4 { height: 40%; }
.level-5 { height: 50%; }
.level-6 { height: 60%; }
.level-7 { height: 70%; }
.level-8 { height: 80%; }
.level-9 { height: 90%; }
.level-10 { height: 100%; }

.integration-card { position: relative; overflow: hidden; }
.integration-card::after { content: "+"; position: absolute; right: -13px; bottom: -72px; color: rgba(22,42,89,0.045); font-family: "Bodoni Moda", serif; font-size: 16rem; line-height: 1; }
.integration-card > p:not(.eyebrow) { position: relative; z-index: 1; margin-top: 25px; color: var(--muted); line-height: 1.65; }
.integration-state { position: absolute; z-index: 1; left: 29px; right: 29px; bottom: 29px; display: flex; align-items: center; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--navy); font-size: 0.78rem; }
.integration-state span { width: 9px; height: 9px; border-radius: 50%; background: var(--red); }
.zoom-metrics { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; margin: 24px 0 4px; }
.zoom-metrics[hidden] { display: none; }
.zoom-metrics div { padding: 12px 9px 10px; border-top: 1px solid var(--line); }
.zoom-metrics strong, .zoom-metrics span { display: block; }
.zoom-metrics strong { font-family: "Bodoni Moda", Georgia, serif; font-size: 1.55rem; font-weight: 500; }
.zoom-metrics span { margin-top: 4px; color: var(--muted); font-size: .6rem; line-height: 1.25; text-transform: uppercase; letter-spacing: .09em; }

.explain-panel { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 80px; align-items: end; padding: 52px 0 24px; border-top: 1px solid var(--line); }
.explain-panel h2 { max-width: 540px; }
.explain-panel > p { margin: 0 0 7px; color: var(--muted); font-size: 1.02rem; line-height: 1.75; }

footer { display: flex; justify-content: space-between; gap: 25px; padding: 28px 0 38px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.75rem; }
footer p { margin: 0; }
footer p:last-child { display: flex; gap: 12px; }
footer a { color: var(--navy); text-decoration: none; font-weight: 600; }
.noscript { position: fixed; left: 0; right: 0; bottom: 0; padding: 14px; color: #fff; background: var(--red); text-align: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}

@media (max-width: 1050px) {
  .status-hero { grid-template-columns: 1fr 230px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .signal-grid { grid-template-columns: 1fr 1fr; }
  .activity-card { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .page-shell { width: min(100% - 28px, 620px); }
  .site-header { min-height: 94px; }
  .brand img { width: 54px; }
  .brand-copy { display: block; }
  .brand-copy strong { display: block; font-size: 1.55rem; line-height: 1; }
  .brand-copy span { font-size: 0.64rem; }
  .header-meta { max-width: 126px; text-align: right; font-size: 0.67rem; }
  main { padding-top: 22px; }
  .status-hero { display: block; min-height: 0; padding: 34px 25px 38px; border-radius: 3px 28px 3px 3px; }
  .status-title-row { display: block; }
  .overall-icon { width: 48px; height: 48px; margin: 6px 0 20px; }
  .overall-icon svg { width: 29px; }
  h1 { font-size: clamp(2.65rem, 15vw, 4rem); }
  .status-title-row p { margin-top: 17px; font-size: 0.94rem; }
  .hero-facts { margin-top: 32px; }
  .hero-facts div { padding-right: 12px; }
  .hero-facts div + div { padding-left: 12px; }
  .hero-facts span { min-height: 44px; font-size: 0.58rem; }
  .hero-facts strong { font-size: 1.45rem; }
  .hero-orbit { display: none; }
  .services-section { padding-top: 55px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 16px; font-size: 0.9rem; }
  .services-grid, .signal-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 232px; }
  .activity-card { grid-column: auto; }
  .signal-grid { padding-bottom: 50px; }
  .explain-panel { grid-template-columns: 1fr; gap: 25px; padding-top: 43px; }
  footer { display: block; line-height: 1.6; }
  footer p:last-child { margin-top: 9px; }
}
