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

:root {
  --ink: #111111;
  --paper: #f7f1e7;
  --accent: #f26a4b;
  --accent-dark: #b33a2a;
  --shadow: rgba(17, 17, 17, 0.2);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: radial-gradient(
    circle at top left,
    #fff9ef 0%,
    #f3e7d8 45%,
    #e9dac7 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  overflow: hidden;
}

.nope {
  text-align: center;
  padding: 4rem 2.5rem;
  border: 4px solid var(--ink);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 18px 18px 0 var(--shadow);
  max-width: 520px;
  width: min(90vw, 520px);
  position: relative;
}

.nope__tag {
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 0.7rem;
  margin: 0 0 1.5rem;
  font-weight: 600;
}

.nope__headline {
  font-size: clamp(3.5rem, 10vw, 6rem);
  margin: 0;
  line-height: 0.95;
}

.nope__subhead {
  font-size: 1.1rem;
  margin: 1rem 0 0;
  color: var(--accent-dark);
  font-weight: 500;
}

.api-callout {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(17, 17, 17, 0.6);
}

.api-callout a {
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: 600;
}

.api-callout a:hover,
.api-callout a:focus {
  text-decoration: underline;
}

.site-footer {
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.35);
}

@media (max-width: 600px) {
  .nope {
    padding: 3rem 2rem;
    box-shadow: 10px 10px 0 var(--shadow);
  }
}
