:root {
  color-scheme: dark;
  --bg: #101010;
  --ink: #f6f1e8;
  --muted: #b9b2a7;
  --line: rgba(246, 241, 232, 0.18);
  --yellow: #f6c445;
  --red: #d9442e;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: "Trebuchet MS", "Lucida Grande", Verdana, sans-serif;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px) 0 0 / 76px 76px,
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px) 0 0 / 76px 76px,
    radial-gradient(circle at 18% 20%, rgba(246, 196, 69, 0.14), transparent 28rem),
    radial-gradient(circle at 82% 76%, rgba(217, 68, 46, 0.12), transparent 28rem),
    #101010;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.28;
  background-image:
    linear-gradient(135deg, transparent 0 48%, rgba(246, 196, 69, 0.38) 48% 52%, transparent 52% 100%);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 72%, transparent);
}

body::after {
  position: fixed;
  right: -2vw;
  bottom: -12px;
  left: -2vw;
  height: clamp(72px, 11vw, 140px);
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    repeating-linear-gradient(
      86deg,
      #f7f4ee 0 21px,
      transparent 21px 42px
    );
  clip-path: polygon(0 12%, 100% 0, 100% 100%, 0 100%);
}

a {
  color: inherit;
}

.site-shell {
  width: min(920px, calc(100% - 40px));
  min-height: calc(100vh - 74px);
  margin: 0 auto;
  display: grid;
  place-items: center;
  padding: 72px 0 112px;
}

.hero {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__logo {
  width: min(100%, 560px);
  height: auto;
  display: block;
  margin-bottom: clamp(28px, 4vw, 38px);
  filter: drop-shadow(0 22px 36px rgba(0, 0, 0, 0.35));
}

h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 18px;
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  border-color: var(--yellow);
  background: var(--yellow);
  color: #17120a;
}

.button--ghost {
  background: rgba(255, 255, 255, 0.04);
}

.button--ghost:hover {
  border-color: rgba(246, 196, 69, 0.65);
}

.footer {
  width: min(1180px, calc(100% - 40px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer span:first-child {
  color: var(--ink);
  font-weight: 900;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  transform: translateY(18px);
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  opacity: 0;
  color: var(--ink);
  background: rgba(16, 16, 16, 0.9);
  box-shadow: var(--shadow);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 860px) {
  .site-shell {
    width: min(100% - 28px, 680px);
    min-height: calc(100vh - 86px);
    padding: 56px 0 118px;
  }

  h1 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }
}

@media (max-width: 520px) {
  .site-shell,
  .footer {
    width: min(100% - 24px, 680px);
  }

  .actions,
  .button {
    width: 100%;
  }

  .hero__logo {
    width: min(100%, 360px);
  }

  .footer {
    min-height: 86px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}

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