* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: #18212f;
  background: #f6f8fb;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 64px);
  background: #414941;
  border-bottom: 1px solid #343b34;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.brand img {
  display: block;
  width: 140px;
  max-width: 42vw;
  height: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: #ffffff;
}

.site-nav a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.signin-menu {
  position: relative;
}

.signin-button {
  min-height: 40px;
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 6px;
  color: #ffffff;
  background: #414941;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.signin-button:hover,
.signin-button:focus {
  background: #5a635a;
  outline: none;
}

.signin-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 10;
  display: none;
  min-width: 180px;
  padding: 8px;
  background: #ffffff;
  border: 1px solid #d7dee8;
  border-radius: 6px;
  box-shadow: 0 14px 30px rgba(24, 33, 47, 0.16);
}

.signin-menu:hover .signin-dropdown,
.signin-menu:focus-within .signin-dropdown {
  display: grid;
  gap: 4px;
}

.signin-dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 4px;
  color: #18212f;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.signin-dropdown a:hover,
.signin-dropdown a:focus {
  color: #18212f;
  background: #edf2f7;
  text-decoration: none;
}

.page-shell {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0;
}

.intro,
.form-panel {
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 8px;
  color: #0d6efd;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 8vw, 4.25rem);
  line-height: 1;
}

.form-panel h1 {
  font-size: clamp(2rem, 6vw, 3rem);
}

p {
  font-size: 1.05rem;
}

.muted {
  color: #5d6b7d;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: #ffffff;
  background: #0d6efd;
}

.button.primary:hover {
  background: #0959cf;
}

.button.secondary {
  color: #123c69;
  background: #ffffff;
  border-color: #cbd5e1;
}

.full-width {
  width: 100%;
}

form {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.field-group {
  display: grid;
  gap: 7px;
}

label {
  font-weight: 700;
}

input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #b8c4d4;
  border-radius: 6px;
  color: #18212f;
  background: #ffffff;
  font: inherit;
}

input:focus {
  border-color: #0d6efd;
  outline: 3px solid rgba(13, 110, 253, 0.16);
}

.form-message {
  min-height: 28px;
  margin-top: 18px;
  font-weight: 700;
}

.form-message.success {
  color: #137333;
}

.form-message.error {
  color: #b42318;
}

@media (max-width: 560px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-shell {
    padding: 48px 0;
  }
}
