:root {
  color-scheme: light;
  --bg: #f7f9fc;
  --bg-warm: #fbf7ef;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-soft: rgba(248, 250, 252, 0.76);
  --border: rgba(148, 163, 184, 0.24);
  --border-strong: rgba(100, 116, 139, 0.22);
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.1);
  --shadow-soft: 0 14px 38px rgba(15, 23, 42, 0.07);
  --text: #121826;
  --text-body: #364152;
  --text-muted: #697586;
  --red: #b42318;
  --red-bg: rgba(244, 63, 94, 0.1);
  --red-border: rgba(244, 63, 94, 0.25);
  --max: 1160px;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  color: var(--text);
  font-family: "Avenir Next", Avenir, Inter, "Segoe UI", system-ui, sans-serif;
  background:
    radial-gradient(circle at 12% 6%, rgba(125, 211, 252, 0.42), transparent 25rem),
    radial-gradient(circle at 88% 11%, rgba(45, 212, 191, 0.34), transparent 25rem),
    radial-gradient(circle at 75% 92%, rgba(250, 204, 21, 0.28), transparent 28rem),
    linear-gradient(180deg, var(--bg), var(--bg-warm));
}

.page {
  width: min(100% - 32px, var(--max));
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(18px, 4vw, 48px) 0;
  display: grid;
  align-content: center;
}

.hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.72));
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  min-height: 590px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, #7dd3fc, #2dd4bf, #facc15);
}

.hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -230px;
  top: -210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,165,233,.16), rgba(20,184,166,.09) 42%, transparent 72%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr);
  gap: clamp(30px, 5vw, 56px);
  align-items: center;
  padding: clamp(32px, 5vw, 60px);
}

.logo {
  display: block;
  width: min(100%, 330px);
  height: auto;
  margin-bottom: 25 px;
  filter: drop-shadow(0 12px 24px rgba(15, 23, 42, 0.08));
}

.eyebrow, .section-label {
  margin: 0;
  color: var(--text-muted);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid var(--red-border);
  border-radius: 999px;
  color: var(--red);
  background: var(--red-bg);
}

.dot, .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.13);
}

h1, h2, p { margin-top: 0; }

h1 {
  max-width: 680px;
  margin-bottom: 18px;
  font-size: clamp(2.5rem, 4.8vw, 4.6rem);
  line-height: .94;
  letter-spacing: -.065em;
}

.lede {
  max-width: 650px;
  margin-bottom: 17px;
  color: var(--text-body);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.62;
}

.aside {
  margin-bottom: 0;
  color: var(--text-muted);
  line-height: 1.65;
}

.aside strong { color: var(--text-body); }

.status-panel {
  padding: 21px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: var(--surface-soft);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), var(--shadow-soft);
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.section-label { margin-bottom: 9px; }

h2 {
  margin-bottom: 0;
  font-size: clamp(1.5rem, 2.4vw, 2.15rem);
  line-height: 1.05;
  letter-spacing: -.045em;
}

.overall-pill, .pill {
  flex: 0 0 auto;
  border: 1px solid var(--red-border);
  border-radius: 999px;
  color: var(--red);
  background: var(--red-bg);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.overall-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 11px; }
.pulse { width: 7px; height: 7px; }

.status-list { display: grid; gap: 12px; }

.status-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 15px;
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 17px;
  background: rgba(255,255,255,.7);
}

.status-name { margin-bottom: 3px; color: var(--text); font-weight: 750; }
.status-copy { margin-bottom: 0; color: var(--text-muted); font-size: .88rem; }
.status-detail { max-width: 310px; margin: 8px 0 0; color: var(--text-body); font-size: .8rem; line-height: 1.5; }
.pill { padding: 7px 10px; }
.pill.online {
  border-color: rgba(16, 185, 129, .25);
  color: #087a55;
  background: rgba(16, 185, 129, .1);
}
.panel-note { margin: 18px 2px 0; color: var(--text-muted); font-size: .88rem; line-height: 1.55; }

footer {
  padding: 22px 4px 0;
  color: var(--text-muted);
  font-size: .86rem;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .status-panel { max-width: 610px; }
}

@media (max-width: 560px) {
  .page { width: min(100% - 22px, var(--max)); padding-top: 14px; align-content: start; }
  .hero { border-radius: 25px; }
  .hero-inner { padding: 32px 22px; }
  .logo { margin-bottom: 26px; }
  h1 { font-size: clamp(2.5rem, 12vw, 3.5rem); }
  .status-panel { padding: 18px; border-radius: 21px; }
  .panel-heading { display: grid; }
  .overall-pill { justify-self: start; }
}

@media (prefers-reduced-motion: no-preference) {
  .pulse { animation: pulse 2.2s ease-out infinite; }
  @keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(244, 63, 94, 0); } }
}
