/* Brand colors pulled from the Hively logo */
:root {
  --navy: #1F1952;
  --yellow: #FFC813;
  --orange: #F58B1E;
  --cream: #FFFBF0;
  --muted: #5B5880;
}

* { box-sizing: border-box; margin: 0; }

html, body { height: 100%; }

body {
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--navy);
  background: var(--cream);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Honeycomb backdrop */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .35;
  background-image: url("/assets/honeycomb.svg");
  -webkit-mask-image: radial-gradient(ellipse at center, transparent 30%, #000 85%);
          mask-image: radial-gradient(ellipse at center, transparent 30%, #000 85%);
}

header {
  display: flex;
  justify-content: flex-end;
  padding: 20px 24px 0;
}

.header-login {
  font-size: .9rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  padding: 8px 16px;
  border: 1.5px solid var(--navy);
  border-radius: 8px;
  transition: background .15s ease, color .15s ease;
}

.header-login:hover { background: var(--navy); color: #fff; }
.header-login:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 16px;
}

.logo {
  width: min(260px, 70vw);
  height: auto;
  margin-bottom: 40px;
}

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--yellow);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

h1 {
  font-size: clamp(2.2rem, 7vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  max-width: 14ch;
}

h1 .accent { color: var(--orange); }

.lede {
  margin-top: 18px;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 34ch;
}

.login {
  margin-top: 36px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  background: var(--navy);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 10px;
  box-shadow: 0 6px 0 var(--yellow);
  transition: transform .15s ease, box-shadow .15s ease;
}

.login:hover { transform: translateY(2px); box-shadow: 0 4px 0 var(--yellow); }
.login:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }

.login-note {
  margin-top: 18px;
  font-size: .875rem;
  color: var(--muted);
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  padding: 24px 16px;
  font-size: .8rem;
  color: var(--muted);
}

footer a { color: inherit; }
footer a:hover { color: var(--navy); }

@media (prefers-reduced-motion: reduce) {
  .login, .header-login { transition: none; }
}
