:root {
  --bg: #0f1115;
  --panel: #181b22;
  --panel-muted: #1f232c;
  --text: #f5f6f8;
  --muted: #a8b1c4;
  --accent: #5de2ff;
  --radius: 18px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top, #1d2632, #0b0d11 60%);
  color: var(--text);
}

.app-shell {
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 24px 96px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.hero__header h1 {
  margin: 12px 0 8px;
  font-size: clamp(2rem, 6vw, 2.8rem);
}

.hero__header .subhead {
  color: var(--muted);
  margin: 0;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

button {
  border: none;
  border-radius: 999px;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

button.primary {
  background: linear-gradient(120deg, #06c755, #00a8ff);
  color: #071715;
}

button.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.status {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  background: var(--panel-muted);
  padding: 24px;
  border-radius: var(--radius);
}

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

.status__value {
  margin: 4px 0 0;
  font-size: 1rem;
}

.card {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.card__date {
  margin: 0;
  letter-spacing: 0.2em;
  font-size: 0.9rem;
  color: var(--muted);
  text-transform: uppercase;
}

.card__description {
  max-width: 520px;
  line-height: 1.5;
  color: rgba(245, 246, 248, 0.85);
}

.swatch {
  width: 180px;
  height: 180px;
  border-radius: 40px;
  border: 8px solid rgba(255, 255, 255, 0.2);
  position: absolute;
  top: 32px;
  right: 32px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.legend {
  background: var(--panel-muted);
  border-radius: var(--radius);
  padding: 24px;
}

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

.legend__item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.legend__swatch {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.legend__text {
  display: flex;
  flex-direction: column;
}

.legend__text strong {
  font-size: 0.95rem;
}

.legend__text span {
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 640px) {
  .swatch {
    position: static;
    width: 100%;
    height: 140px;
    margin-top: 24px;
  }

  .card {
    padding-bottom: 200px;
  }
}
