:root {
  color-scheme: light;
  --bg: #f7f8fa;
  --surface: #ffffff;
  --title: #203142;
  --text: #2d3d4f;
  --muted: #6a7888;
  --line: #dce3eb;
  --orange: #ff6b1a;
  --green: #2fad5f;
  --green-soft: #e4f7ea;
  --yellow: #a96d12;
  --yellow-soft: #fff5d6;
  --red: #c53b3b;
  --red-soft: #fde8e8;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 107, 26, 0.07), transparent 22rem),
    var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 84px;
  padding: 0 clamp(22px, 4vw, 54px);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: clamp(170px, 16vw, 228px);
  height: auto;
  object-fit: contain;
  display: block;
}

.updated {
  color: var(--muted);
  font-size: 0.94rem;
}

main {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 470px);
  align-items: center;
  gap: clamp(36px, 7vw, 78px);
  min-height: 390px;
  padding: 42px 0 26px;
}

.hero-copy {
  max-width: 560px;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 32px;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.84rem;
  font-weight: 800;
}

.status-chip::before {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  content: "";
  background: currentColor;
}

.checking {
  color: var(--yellow);
  background: var(--yellow-soft);
}

.operational {
  color: #167244;
  background: var(--green-soft);
}

.incident {
  color: var(--red);
  background: var(--red-soft);
}

h1 {
  margin-top: 22px;
  color: var(--title);
  font-size: clamp(2.25rem, 5vw, 3.65rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.hero-copy p {
  margin-top: 16px;
  color: var(--muted);
  font-size: clamp(1.02rem, 2vw, 1.17rem);
}

button {
  min-height: 44px;
  margin-top: 26px;
  border: 1px solid #ffd4be;
  border-radius: 999px;
  padding: 0 18px;
  color: #a84005;
  background: #fff5ef;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.summary-card {
  border-radius: 18px;
  padding: 28px 30px;
  color: #ffffff;
  background:
    radial-gradient(circle at 78% 8%, rgba(255, 255, 255, 0.18), transparent 13rem),
    linear-gradient(145deg, #ff6b1a, #bf681b);
  box-shadow: 0 22px 60px rgba(32, 49, 66, 0.14);
}

.summary-card img {
  width: 210px;
  max-width: 100%;
  height: auto;
  display: block;
}

.summary-line {
  height: 1px;
  margin: 22px 0;
  background: rgba(255, 255, 255, 0.28);
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 46px;
  font-size: 0.96rem;
}

.summary-service {
  opacity: 0.92;
}

.summary-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 128px;
  justify-content: flex-end;
  color: #ffffff;
  background: transparent;
  font-weight: 900;
}

.summary-status-icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.78rem;
  line-height: 1;
}

.summary-status strong {
  color: #ffffff;
}

.verification {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 20px;
  color: var(--muted);
  background: var(--surface);
}

.verification span {
  font-weight: 700;
}

.verification strong {
  color: var(--title);
}

.incidents {
  margin-top: 24px;
}

.incidents h2 {
  color: var(--title);
  font-size: 1.72rem;
  letter-spacing: -0.025em;
}

.empty-state {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 22px;
  color: var(--muted);
  background: var(--surface);
}

.empty-state span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
}

footer {
  display: flex;
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  justify-content: space-between;
  gap: 14px;
  padding: 36px 0 32px;
  color: var(--muted);
  font-size: 0.92rem;
}

footer a {
  color: var(--title);
  font-weight: 800;
}

@media (max-width: 820px) {
  .topbar {
    min-height: 76px;
    padding: 0 18px;
  }

  .brand img {
    width: 156px;
  }

  .updated {
    font-size: 0.8rem;
    text-align: right;
  }

  main {
    width: min(100% - 22px, 620px);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 26px;
    min-height: auto;
    padding-top: 30px;
  }

  .summary-card {
    padding: 22px;
  }

  .summary-row {
    min-height: 42px;
  }

  .summary-status {
    min-width: 112px;
  }

  footer {
    flex-direction: column;
    width: min(100% - 22px, 620px);
  }
}
