.main {
  display: grid;
  min-block-size: calc(100dvh - var(--header-min-block-size));
  place-items: center;
  padding-block: var(--section-space);
  padding-inline: var(--layout-gutter);
}

.panel {
  display: grid;
  inline-size: min(100%, var(--container-reading));
  gap: var(--space-5);
  padding: clamp(var(--space-6), 6vw, var(--space-12));
  border: 1px solid var(--border-standard);
  border-radius: var(--radius-lg);
  background: var(--surface-elevated);
  box-shadow: var(--shadow-card);
  text-align: start;
}

.panel h1 {
  margin: 0;
  font-size: var(--type-heading-1-size);
}

.panel p {
  margin: 0;
  color: var(--text-secondary);
  font-size: var(--type-body-large-size);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.action {
  display: inline-flex;
  min-block-size: var(--size-touch-min);
  align-items: center;
  justify-content: center;
  border: 1px solid var(--interactive-primary);
  border-radius: var(--radius-sm);
  padding-block: var(--space-2);
  padding-inline: var(--space-4);
  background: var(--interactive-primary);
  color: var(--text-inverse);
  font-weight: 750;
  text-decoration: none;
}

.action:hover {
  background: var(--interactive-primary-hover);
  color: var(--text-inverse);
}

.skeleton {
  display: grid;
  gap: var(--space-3);
}

.skeleton span {
  display: block;
  block-size: var(--space-4);
  border-radius: var(--radius-pill);
  background: linear-gradient(
    90deg,
    var(--skeleton-base),
    var(--skeleton-highlight),
    var(--skeleton-base)
  );
  background-size: 200% 100%;
  animation: skeleton-shift 1.4s var(--easing-standard) infinite;
}

.skeleton span:first-child {
  inline-size: 64%;
}

.skeleton span:last-child {
  inline-size: 82%;
}

@keyframes skeleton-shift {
  from {
    background-position: 100% 0;
  }

  to {
    background-position: -100% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .skeleton span {
    animation: none;
  }
}

.content {
  display: grid;
  gap: var(--space-4);
}
