@font-face {
  font-family: "Degular";
  src: url("/assets/fonts/Degular/Degular-Regular.woff2") format("woff2"),
       url("/assets/fonts/Degular/Degular-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Degular";
  src: url("/assets/fonts/Degular/Degular-Medium.woff2") format("woff2"),
       url("/assets/fonts/Degular/Degular-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Degular";
  src: url("/assets/fonts/Degular/Degular-Semibold.woff2") format("woff2"),
       url("/assets/fonts/Degular/Degular-Semibold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f7f7f5;
  --surface: #ffffff;
  --ink: #14181c;
  --muted: #5b6470;
  --line: #e6e6e2;
  --accent: #ff7a00;
  --accent-soft: #fff1e2;
  --logo-green: #82f2ae;
}

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Degular", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 28px 80px;
}

.logo {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}

.logo img {
  height: 56px;
  width: auto;
}

h1 {
  font-weight: 600;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  text-align: left;
}

.lede {
  font-size: 20px;
  color: var(--muted);
  text-align: left;
  margin: 0 0 24px;
  font-weight: 400;
}

.all-clear { text-align: center; }
.all-clear h1,
.all-clear .lede { text-align: center; }

.card {
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: 28px 32px;
  margin-bottom: 20px;
}

.card a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-word;
}

.card a:hover { text-decoration: none; }

.status-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: 10px 22px;
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.4;
}

.status-banner .status-dot {
  width: 8px;
  height: 8px;
  margin-top: 0;
}

h2 {
  font-weight: 600;
  font-size: 22px;
  margin: 0 0 12px;
  letter-spacing: -0.005em;
}

h3 {
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 6px;
}

p { margin: 0 0 12px; }
p:last-child { margin-bottom: 0; }

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

ul li {
  position: relative;
  padding: 8px 0 8px 26px;
  border-bottom: 1px solid var(--line);
}

ul li:last-child { border-bottom: none; }

ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 17px;
  width: 10px;
  height: 10px;
  background: var(--logo-green);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(130, 242, 174, 0.25);
}

.status-bar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 4px 0;
  margin-top: 4px;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 7px;
  box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.18);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% { box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.18); }
  50% { box-shadow: 0 0 0 8px rgba(255, 122, 0, 0.05); }
}

.status-dot--red {
  background: #e23636;
  box-shadow: 0 0 0 4px rgba(226, 54, 54, 0.18);
  animation: pulse-red 2s ease-in-out infinite;
}

@keyframes pulse-red {
  0%,
  100% { box-shadow: 0 0 0 4px rgba(226, 54, 54, 0.18); }
  50% { box-shadow: 0 0 0 8px rgba(226, 54, 54, 0.05); }
}

.status-dot--green {
  background: var(--logo-green);
  box-shadow: 0 0 0 4px rgba(130, 242, 174, 0.25);
  animation: pulse-green 2s ease-in-out infinite;
}

@keyframes pulse-green {
  0%,
  100% { box-shadow: 0 0 0 4px rgba(130, 242, 174, 0.25); }
  50% { box-shadow: 0 0 0 8px rgba(130, 242, 174, 0.08); }
}

.status-text {
  font-weight: 400;
  white-space: pre-line;
}

.update {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.update:first-of-type { padding-top: 4px; }
.update:last-of-type { border-bottom: none; padding-bottom: 0; }

.update-time {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.contact a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
  font-weight: 500;
}

.contact a:hover { color: var(--accent); }

hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 32px 0;
}

.card.banner {
  background: var(--accent-soft);
  border-color: #f3d8b8;
}

.card.banner .banner-window {
  color: var(--muted);
  font-size: 15px;
}

footer {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin-top: 40px;
}

@media (max-width: 560px) {
  .page { padding: 36px 20px 60px; }
  h1 { font-size: 30px; }
  .lede { font-size: 18px; }
  .card { padding: 22px; }
}
