:root {
  color-scheme: light;
  --ink: #15202b;
  --muted: #5a6872;
  --line: #dce3e8;
  --surface: #ffffff;
  --surface-soft: #f5f8fa;
  --accent: #1d4056;
  --accent-soft: #eaf1f5;
  --shadow: 0 22px 60px rgba(17, 35, 48, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #edf2f5;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.92), transparent 34rem),
    linear-gradient(180deg, #eef3f6 0%, #f9fbfc 100%);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
}

button,
a {
  font: inherit;
}

.archive-ribbon {
  width: 100%;
  padding: 0.65rem 1rem;
  color: #294150;
  background: #dbe8ee;
  border-bottom: 1px solid #c8d8e0;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.site-shell {
  width: min(100% - 2rem, 1000px);
  min-height: calc(100vh - 2.6rem);
  margin: 2rem auto;
  padding: clamp(1.25rem, 4vw, 3.25rem);
  background: var(--surface);
  border: 1px solid rgba(210, 221, 228, 0.8);
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  justify-items: center;
  gap: 2rem;
  padding: 1rem 0 2.6rem;
  text-align: center;
}

.brand {
  display: inline-flex;
  justify-content: center;
  width: min(100%, 760px);
  padding: 0.5rem;
  border-radius: 0.9rem;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.brand:hover,
.brand:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(17, 35, 48, 0.1);
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.55rem;
}

.lede {
  max-width: 46rem;
  margin: 0;
  color: #354955;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 40rem;
  margin: 0 auto;
}

.action-card {
  min-width: 0;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
}

.action-card__button {
  display: grid;
  width: 100%;
  justify-items: center;
  gap: 0.55rem;
  padding: 1.25rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  text-align: center;
}

.action-card__button img {
  width: min(150px, 70%);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 0.75rem;
  filter: saturate(0.78);
}

.action-card__button span {
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.action-card__button small {
  color: var(--muted);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-size: 0.76rem;
}

.action-card__button:disabled {
  cursor: not-allowed;
  opacity: 0.82;
}

.disabled-actions-note {
  max-width: 42rem;
  margin: 1.5rem auto 0;
  padding: 0.9rem 1rem;
  color: #405763;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-size: 0.88rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem 1.1rem;
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-size: 0.88rem;
}

.social-links__label {
  color: var(--muted);
  font-weight: 700;
}

.social-links a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: #0c2635;
}

.site-footer {
  margin-top: 2.25rem;
  color: var(--muted);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-size: 0.78rem;
  text-align: center;
}

.site-footer p {
  margin: 0.3rem 0;
}

.site-footer__note {
  color: #71818a;
}

:focus-visible {
  outline: 3px solid #76a9c4;
  outline-offset: 4px;
}

@media (max-width: 600px) {
  .site-shell {
    width: min(100% - 1rem, 1000px);
    margin: 0.5rem auto;
    border-radius: 0.85rem;
  }

  .hero {
    gap: 1.4rem;
    padding-top: 0.5rem;
  }

  .action-grid {
    gap: 0.75rem;
  }

  .action-card__button {
    padding: 0.85rem 0.55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .brand {
    transition: none;
  }
}
