:root {
  --bg: #fbf7f0;
  --bg-alt: #ffffff;
  --text: #2b2420;
  --text-muted: #6b6058;
  --accent: #c96f3e;
  --accent-dark: #a2532b;
  --ok: #2f9e5c;
  --warn: #c9902f;
  --border: #ece3d6;
  --shadow: 0 1px 2px rgba(43, 36, 32, 0.04), 0 8px 24px rgba(43, 36, 32, 0.06);
  --radius: 18px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1815;
    --bg-alt: #24201c;
    --text: #f1ece4;
    --text-muted: #a89e92;
    --accent: #e08a55;
    --accent-dark: #f0a978;
    --border: #362f28;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 8px 24px rgba(0, 0, 0, 0.3);
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
}

.hero {
  text-align: center;
  margin-bottom: 3rem;
}

.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 6vw, 3.2rem);
  margin: 0 0 0.6rem;
  line-height: 1.1;
}

.domain {
  color: var(--accent-dark);
  white-space: nowrap;
}

.subtitle {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: var(--text-muted);
  margin: 0;
}

main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
}

h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 0 0 1rem;
}

p {
  margin: 0 0 1rem;
  color: var(--text);
}

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

code {
  background: var(--border);
  padding: 0.1em 0.4em;
  border-radius: 5px;
  font-size: 0.9em;
}

.noel-card figure {
  margin: 0 0 1.25rem;
}

.noel-card img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
  border: 1px solid var(--border);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.noel-card img:hover {
  transform: scale(1.015) rotate(-0.3deg);
  box-shadow: var(--shadow);
}

figcaption {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
}

.status-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.status-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.92rem;
}

.status-label {
  color: var(--text-muted);
}

.status-value.ok { color: var(--ok); }
.status-value.warn { color: var(--warn); }
.status-value.dog { color: var(--accent-dark); }

.dots span {
  animation: blink 1.4s infinite;
  opacity: 0;
}

.dots span:nth-child(1) { animation-delay: 0s; }
.dots span:nth-child(2) { animation-delay: 0.2s; }
.dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes blink {
  0%, 20% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0; }
}

footer {
  text-align: center;
  margin-top: 3rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

@media (max-width: 520px) {
  .wrap {
    padding: 2.5rem 1.25rem 2rem;
  }
  .card {
    padding: 1.5rem;
  }
  .status-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}
