:root {
  color-scheme: dark;
  --ink: #fff8e7;
  --muted: rgba(255, 248, 231, 0.74);
  --panel: rgba(13, 13, 18, 0.88);
  --panel-border: rgba(255, 248, 231, 0.68);
  --accent: #ffb000;
  --accent-strong: #ff4d2e;
  --ground: #0d0d12;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 176, 0, 0.24), transparent 30rem),
    radial-gradient(circle at 78% 12%, rgba(255, 77, 46, 0.2), transparent 28rem),
    linear-gradient(135deg, #101018 0%, #16110c 48%, #050507 100%);
  font-family: "Space Grotesk", "Plus Jakarta Sans", system-ui, sans-serif;
}

a {
  color: inherit;
}

.read-closed {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: clamp(1.5rem, 4vw, 4rem);
  position: relative;
  overflow: hidden;
}

.read-closed::before {
  content: "";
  position: absolute;
  inset: -20%;
  background-image:
    linear-gradient(90deg, rgba(255, 248, 231, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 248, 231, 0.06) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle, black 0 42%, transparent 72%);
}

.read-closed__logo {
  position: absolute;
  top: clamp(1rem, 3vw, 2rem);
  left: clamp(1rem, 3vw, 2rem);
  display: inline-flex;
  width: min(12rem, 42vw);
}

.read-closed__logo img {
  display: block;
  height: auto;
  width: 100%;
}

.read-closed__card {
  position: relative;
  width: min(46rem, 100%);
  padding: clamp(2rem, 5vw, 4.5rem);
  border: 1px solid var(--panel-border);
  background: var(--panel);
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.46);
}

.read-closed__eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.read-closed h1 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(3rem, 9vw, 6.8rem);
  line-height: 0.84;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}

.read-closed__lede {
  max-width: 42rem;
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.28rem);
  line-height: 1.6;
}

.read-closed__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.read-closed__button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 248, 231, 0.44);
  padding: 0.9rem 1.1rem;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.read-closed__button:hover,
.read-closed__button:focus-visible {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.read-closed__button--primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #120b05;
}

.read-closed__note {
  margin: 1.4rem 0 0;
  color: rgba(255, 248, 231, 0.62);
  font-size: 0.95rem;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .read-closed {
    align-items: end;
    padding-top: 7rem;
  }

  .read-closed__actions {
    flex-direction: column;
  }

  .read-closed__button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
