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

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

body {
  background: #FFF6E7;
  color: #073F40;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.75rem, 5vw, 2.75rem);
  padding: 2rem 1.5rem;
  text-align: center;
}

.logo {
  display: block;
  width: min(420px, 82vw);
  height: auto;
}

.tagline {
  margin: 0;
  font-size: clamp(1.25rem, 4.5vw, 1.75rem);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Developer access gate */
.dev-access {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dev-toggle,
.dev-submit {
  font: inherit;
  cursor: pointer;
  border-radius: 999px;
  border: 1.5px solid #073F40;
  min-height: 44px;
}

.dev-toggle {
  background: transparent;
  color: #073F40;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1.1rem;
  opacity: 0.8;
}

.dev-toggle:hover,
.dev-toggle[aria-expanded="true"] {
  opacity: 1;
  background: rgba(7, 63, 64, 0.06);
}

.dev-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.dev-form[hidden] {
  display: none;
}

.dev-label {
  font-size: 0.95rem;
  font-weight: 500;
}

.dev-row {
  display: flex;
  gap: 0.5rem;
}

.dev-pin {
  width: 7.5rem;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  font: inherit;
  font-size: 1.25rem;
  letter-spacing: 0.4em;
  text-align: center;
  color: #073F40;
  background: #FFFFFF;
  border: 1.5px solid #073F40;
  border-radius: 12px;
}

.dev-submit {
  background: #073F40;
  color: #FFF6E7;
  font-weight: 600;
  padding: 0.5rem 1.4rem;
}

.dev-submit:disabled {
  opacity: 0.6;
  cursor: progress;
}

.dev-toggle:focus-visible,
.dev-submit:focus-visible,
.dev-pin:focus-visible,
.dev-link:focus-visible {
  outline: 3px solid #073F40;
  outline-offset: 3px;
}

.dev-message {
  min-height: 1.4em;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
}

.dev-message.is-error {
  color: #B3261E;
}

.dev-link {
  color: #073F40;
  font-weight: 500;
}
