:root {
  --text-strong: #1a1820;
  --text-muted: #5f5b69;
  --text-subtle: #8b8693;
  --line-soft: rgba(26, 24, 32, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  position: relative;
  margin: 0;
  min-height: 100svh;
  overflow-x: hidden;
  isolation: isolate;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-strong);
  background: #0f1014;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  inset: -56px;
  background: url("./bg.gif") center center / cover no-repeat;
  opacity: 1;
  filter: blur(80px);
  transform: scale(1.14);
  z-index: -1;
}

.site-shell {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  padding: clamp(20px, 4vw, 40px);
}

.hero {
  grid-row: 2;
  display: flex;
  justify-content: center;
}

.hero__content {
  width: min(100%, 720px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(18px, 2.6vw, 28px);
  text-align: center;
}

.brand-mark {
  display: block;
  width: min(350px, 57vw);
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 38px rgba(81, 46, 147, 0.08));
}

.status-message {
  margin: 0;
  max-width: 34ch;
  font-size: clamp(1.125rem, 1rem + 0.55vw, 1.45rem);
  line-height: 1.6;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.contact-line {
  margin: 0;
  font-size: clamp(1rem, 0.96rem + 0.16vw, 1.08rem);
  line-height: 1.6;
  color: var(--text-muted);
}

.contact-line a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 2px;
}

.contact-line a:hover,
.contact-line a:focus-visible {
  color: var(--text-strong);
  border-bottom-color: rgba(26, 24, 32, 0.32);
  outline: none;
}

.site-footer {
  grid-row: 3;
  align-self: end;
  padding-top: 24px;
  text-align: center;
  font-size: 0.84rem;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: var(--text-subtle);
}

@media (max-width: 640px) {
  .brand-mark {
    width: min(300px, 60vw);
  }
}

@media (max-width: 420px) {
  .site-shell {
    padding: 18px;
  }

  .hero__content {
    gap: 18px;
  }

  .status-message {
    font-size: 1.05rem;
  }

  .contact-line {
    font-size: 0.96rem;
  }

  .site-footer {
    font-size: 0.76rem;
  }
}
