:root {
  --ink: #13241a;
  --ink-soft: #3a4f42;
  --paper: #f3f6f1;
  --panel: rgba(255, 255, 255, 0.78);
  --line: rgba(19, 36, 26, 0.12);
  --accent: #1f6b45;
  --accent-soft: #d7ebe0;
  --shadow: 0 18px 40px rgba(19, 36, 26, 0.08);
  --radius: 18px;
  --font-display: "Segoe UI", "Trebuchet MS", sans-serif;
  --font-body: "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  font-family: var(--font-body);
  background: var(--paper);
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 420px at 12% -10%, #cfe8d8 0%, transparent 55%),
    radial-gradient(700px 380px at 90% 0%, #e7efd8 0%, transparent 50%),
    linear-gradient(180deg, #eef4ec 0%, #f7f8f4 45%, #e9efe6 100%);
}

.shell {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.5rem 0 3.5rem;
}

.hero {
  text-align: center;
  margin-bottom: 2rem;
  animation: rise 0.7s ease both;
}

.brand-logo {
  display: block;
  margin: 0 auto 0.85rem;
  width: 96px;
  height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(19, 36, 26, 0.12));
}

.brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1;
}

.tagline {
  margin: 0.55rem 0 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.status {
  margin: 0 auto 1.25rem;
  max-width: 36rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  text-align: center;
  color: var(--ink-soft);
  animation: rise 0.5s ease both;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

@media (min-width: 640px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card-link {
  display: flex;
  gap: 1.1rem;
  align-items: center;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  animation: rise 0.6s ease both;
}

.card-link:hover {
  transform: translateY(-3px);
  border-color: rgba(31, 107, 69, 0.35);
  box-shadow: 0 22px 44px rgba(19, 36, 26, 0.12);
}

.card-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.card-logo,
.card-logo-fallback {
  flex: 0 0 auto;
  width: 96px;
  height: 96px;
  border-radius: 18px;
  object-fit: cover;
  background: var(--accent-soft);
}

.card-logo-fallback {
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--accent);
  font-size: 1.75rem;
}

.card-body {
  min-width: 0;
}

.card-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.card-desc {
  margin: 0.25rem 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.35;
}

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

.card-link:nth-child(1) { animation-delay: 0.05s; }
.card-link:nth-child(2) { animation-delay: 0.1s; }
.card-link:nth-child(3) { animation-delay: 0.15s; }
.card-link:nth-child(4) { animation-delay: 0.2s; }
.card-link:nth-child(5) { animation-delay: 0.25s; }
.card-link:nth-child(6) { animation-delay: 0.3s; }
