:root {
  color-scheme: light;
  --navy: #06283d;
  --navy-soft: #16445d;
  --cyan: #00a6c8;
  --yellow: #ffcf4a;
  --green: #20a46b;
  --paper: #ffffff;
  --bg: #f4f8fa;
  --text: #102a3a;
  --muted: #66808e;
  --line: #dce8ed;
  --shadow: 0 24px 70px rgba(6, 40, 61, .11);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 0%, rgba(0,166,200,.12), transparent 32rem),
    linear-gradient(180deg, #edf7fa 0%, var(--bg) 42%, #f8fafb 100%);
}
.shell { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 34px 0 48px; }
.topbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.eyebrow { margin: 0 0 7px; color: var(--cyan); font-size: .74rem; font-weight: 800; letter-spacing: .15em; }
h1, h2 { margin: 0; color: var(--navy); letter-spacing: -.035em; }
h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
h2 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
.connection { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: .86rem; white-space: nowrap; }
.connection span { width: 9px; height: 9px; border-radius: 50%; background: #aabac2; box-shadow: 0 0 0 5px rgba(170,186,194,.17); }
.connection.online span { background: var(--green); box-shadow: 0 0 0 5px rgba(32,164,107,.14); }
.connection.offline span { background: #dc655a; box-shadow: 0 0 0 5px rgba(220,101,90,.14); }
.hero {
  position: relative; overflow: hidden; text-align: center; padding: 46px 24px 42px;
  border-radius: 30px; color: white; background: linear-gradient(145deg, var(--navy), #0b3952 60%, #12657a);
  box-shadow: var(--shadow);
}
.hero::before { content: ""; position: absolute; width: 360px; height: 360px; right: -150px; top: -190px; border-radius: 50%; background: rgba(0,166,200,.18); }
.hero::after { content: ""; position: absolute; width: 260px; height: 260px; left: -150px; bottom: -180px; border-radius: 50%; background: rgba(255,207,74,.1); }
.sun { position: relative; z-index: 1; width: 92px; height: 92px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,207,74,.12); box-shadow: 0 0 0 16px rgba(255,207,74,.05); }
.sun-core { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 36px rgba(255,207,74,.55); }
.sun svg { width: 30px; fill: var(--navy); }
.label { position: relative; z-index: 1; margin: 0 0 4px; color: rgba(255,255,255,.74); font-size: 1rem; }
.number-row { position: relative; z-index: 1; display: flex; justify-content: center; align-items: baseline; gap: 10px; }
.number-row strong { font-size: clamp(4.5rem, 13vw, 8.5rem); line-height: .98; letter-spacing: -.075em; font-variant-numeric: tabular-nums; }
.number-row span { font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 700; color: var(--yellow); }
.status-text { position: relative; z-index: 1; margin: 17px 0 4px; font-size: 1.08rem; font-weight: 650; }
.updated { position: relative; z-index: 1; margin: 0; color: rgba(255,255,255,.58); font-size: .84rem; }
.chart-card { margin-top: 24px; padding: 28px; border: 1px solid rgba(220,232,237,.85); border-radius: 26px; background: rgba(255,255,255,.92); box-shadow: 0 14px 45px rgba(6,40,61,.07); backdrop-filter: blur(8px); }
.chart-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 22px; }
.legend { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .82rem; }
.legend span { width: 18px; height: 4px; border-radius: 4px; background: var(--cyan); }
.chart-wrap { position: relative; height: 330px; }
.privacy-note { margin: 17px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; line-height: 1.5; }
@media (max-width: 640px) {
  .shell { width: min(100% - 20px, 1120px); padding-top: 22px; }
  .topbar, .chart-heading { align-items: flex-start; flex-direction: column; }
  .hero { padding: 38px 14px 34px; border-radius: 24px; }
  .chart-card { padding: 21px 14px; border-radius: 22px; }
  .chart-wrap { height: 270px; }
}
