@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;600&family=Fraunces:opsz,wght@9..144,600&display=swap');

:root {
  color-scheme: light;
  --bg: #f7f3ee;
  --ink: #1e1b17;
  --muted: #6b6257;
  --accent: #ff6f3c;
  --accent-2: #0f8b8d;
  --card: #fffdf9;
  --line: rgba(30, 27, 23, 0.1);
  --shadow: 0 12px 30px rgba(30, 27, 23, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top left, #fff6e7 0%, #f7f3ee 50%, #eef6f4 100%);
  overflow-x: hidden;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 24px 80px;
  position: relative;
  z-index: 1;
}

.hero {
  text-align: left;
  margin-bottom: 40px;
  animation: fadeUp 0.8s ease both;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}

.hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  margin: 0 0 10px;
  line-height: 1.05;
}

.subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0;
}

.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  animation: fadeUp 0.8s ease both;
}

.card h2 {
  margin: 0 0 16px;
  font-size: 1.2rem;
}

.status-card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 600;
  font-size: 0.95rem;
  width: fit-content;
  background: rgba(15, 139, 141, 0.15);
  color: var(--accent-2);
}

.status-pill.down {
  background: rgba(255, 111, 60, 0.18);
  color: var(--accent);
}

.status-meta {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
}

.value {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 6px;
}

.stats-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.timeline {
  display: grid;
  grid-template-columns: repeat(30, 1fr);
  grid-auto-rows: 18px;
  gap: 6px;
}

.tick {
  border-radius: 6px;
  background: rgba(15, 139, 141, 0.2);
  position: relative;
  overflow: hidden;
}

.tick.ok {
  background: rgba(15, 139, 141, 0.45);
}

.tick.down {
  background: rgba(255, 111, 60, 0.55);
}

.legend {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--muted);
}

.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 6px;
}

.dot.ok {
  background: rgba(15, 139, 141, 0.55);
}

.dot.down {
  background: rgba(255, 111, 60, 0.7);
}

.log {
  display: grid;
  gap: 10px;
}

.log-item {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(30, 27, 23, 0.04);
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
}

.log-item.down {
  background: rgba(255, 111, 60, 0.14);
  border-color: rgba(255, 111, 60, 0.35);
}

.log-item .time {
  color: var(--muted);
  font-size: 0.85rem;
}

.bg-shape {
  position: fixed;
  border-radius: 50%;
  opacity: 0.6;
  filter: blur(0px);
  animation: float 10s ease-in-out infinite;
  z-index: 0;
}

.orb-1 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 111, 60, 0.4), transparent 70%);
  top: -120px;
  left: -80px;
}

.orb-2 {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle at 40% 40%, rgba(15, 139, 141, 0.35), transparent 70%);
  bottom: -80px;
  right: -60px;
  animation-delay: 2s;
}

.orb-3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle at 40% 40%, rgba(255, 211, 105, 0.45), transparent 70%);
  top: 30%;
  right: 8%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(18px);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0px);
  }
}

@media (max-width: 720px) {
  .status-card {
    grid-column: span 1;
  }

  .timeline {
    grid-template-columns: repeat(15, 1fr);
  }
}
