:root {
  --bg: #141413;
  --text: #f1ede6;
  --muted: #a29e96;
  --red: #f2363a;
  --logo: 700px;
}

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

html {
  color-scheme: dark;
}

::selection {
  background: rgba(162, 158, 150, 0.2);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Schibsted Grotesk", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

main {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: safe center;
  gap: clamp(28px, 4vh, 48px);
  width: min(var(--logo), calc(100% - 60px));
  margin-inline: auto;
  padding: clamp(28px, 5vw, 56px) 0;
}

h1 {
  margin: 0;
}

.logo {
  display: block;
  width: 100%;
  height: auto;
}

.copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 56px);
}

.copy-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  opacity: 0.5;
}

.sticker {
  flex: none;
  margin: 0;
  padding: 0.42em 0.7em 0.36em;
  background: var(--text);
  color: var(--red);
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 700;
  line-height: 1.15;
  transform: rotate(-5deg);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.lead,
.byline {
  margin: 0;
}

.lead {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 400;
}

.byline {
  color: var(--muted);
  font-size: 15px;
}

.byline a {
  color: var(--text);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.byline a:hover {
  color: var(--red);
}

.byline a:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 640px) {
  main {
    position: relative;
    justify-content: center;
    gap: 24px;
  }

  .copy {
    display: contents;
  }

  .copy-text {
    position: absolute;
    left: 0;
    right: 0;
    bottom: max(20px, env(safe-area-inset-bottom));
    gap: 12px;
  }

  .sticker {
    align-self: center;
  }
}
