:root {
  color-scheme: dark;
  --ink: #f4efe7;
  --muted: #c8c0b4;
  --soft: rgba(244, 239, 231, 0.72);
  --line: rgba(235, 218, 184, 0.28);
  --accent: #d8bd82;
  --accent-cool: #9bb5c7;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  min-width: 320px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: #10131a;
}

.splash {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: hidden;
  padding: clamp(24px, 5vw, 64px);
  isolation: isolate;
}

.splash::before {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.9), rgba(6, 8, 12, 0.58) 48%, rgba(5, 7, 10, 0.82)),
    linear-gradient(0deg, rgba(5, 7, 10, 0.94), rgba(5, 7, 10, 0.2) 46%, rgba(5, 7, 10, 0.68)),
    url("./assets/auth/login-academy-night.png") center / cover;
  content: "";
}

.splash::after {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 34% 34%, rgba(219, 193, 133, 0.18), transparent 21rem),
    radial-gradient(circle at 76% 28%, rgba(155, 181, 199, 0.12), transparent 22rem);
  content: "";
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(280px, 390px);
  align-items: center;
  width: min(1180px, 100%);
  margin: 0 auto;
  gap: clamp(36px, 7vw, 104px);
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.72);
}

.hero-copy {
  max-width: 760px;
}

.brand {
  display: block;
  width: min(360px, 76vw);
  height: auto;
  margin: 0 0 clamp(16px, 3.5vw, 32px) -10px;
  filter: drop-shadow(0 24px 42px rgba(0, 0, 0, 0.58));
}

.kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 10ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.25rem, 7vw, 6.45rem);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: 0;
}

.lead {
  max-width: 660px;
  margin: clamp(18px, 3vw, 28px) 0 0;
  color: var(--soft);
  font-size: clamp(1.08rem, 2.1vw, 1.28rem);
  line-height: 1.75;
}

.story-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(22px, 4vw, 34px);
}

.story-signals span {
  min-height: 42px;
  padding: 11px 0;
  border-top: 1px solid rgba(216, 189, 130, 0.42);
  border-bottom: 1px solid rgba(216, 189, 130, 0.24);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.story-signals span:nth-child(2) {
  border-color: rgba(155, 181, 199, 0.46);
  color: var(--accent-cool);
}

.notice {
  position: relative;
  padding: 24px 0 5px 28px;
  border-left: 1px solid rgba(235, 218, 184, 0.4);
  color: var(--soft);
}

.notice::before {
  position: absolute;
  top: 0;
  left: -4px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 28px rgba(216, 189, 130, 0.8);
  content: "";
}

.notice-label {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.notice-title {
  margin: 0 0 16px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.72rem, 3.4vw, 2.5rem);
  line-height: 1.05;
}

.notice p:last-child {
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
}

.contact-link {
  display: inline-block;
  margin-top: 22px;
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.contact-link:hover,
.contact-link:focus-visible {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 5px;
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .notice {
    max-width: 620px;
  }
}

@media (max-width: 560px) {
  .splash {
    align-items: center;
    padding: 18px 18px 34px;
  }

  .brand {
    width: min(260px, 88%);
    margin-left: 0;
  }

  h1 {
    max-width: 8.4ch;
  }

  .story-signals {
    align-items: flex-start;
    flex-direction: column;
  }

  .notice {
    padding-left: 18px;
  }
}
