:root {
  --lhl-bg: #ffffff;
  --lhl-text: #162937;
  --lhl-link: #0b4f7c;
  --lhl-link-hover: #083b63;
  --lhl-heading: #083b63;
  --lhl-accent: #c87514;
  --lhl-muted: #52616a;
  --lhl-muted-2: #738087;
  --lhl-border: #d9ddd8;
}

.lhl-cs * {
  box-sizing: border-box;
}

html.lhl-cs-html,
body.lhl-cs-body {
  margin: 0;
  padding: 0;
  background: var(--lhl-bg);
}

.lhl-cs {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--lhl-bg);
  color: var(--lhl-text);
  font-family: "Source Sans 3", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.lhl-cs a {
  color: var(--lhl-link);
  text-decoration: none;
}

.lhl-cs a:hover {
  color: var(--lhl-link-hover);
  text-decoration: underline;
}

.lhl-cs-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 20px 48px;
}

.lhl-cs-logo {
  width: min(520px, 86vw);
  height: auto;
  display: block;
}

.lhl-cs-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 40px 0 28px;
}

.lhl-cs-divider span.lhl-cs-rule {
  display: block;
  width: 56px;
  height: 1px;
  background: var(--lhl-border);
}

.lhl-cs-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--lhl-accent);
}

.lhl-cs-headline {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  line-height: 1.12;
  margin: 0;
  color: var(--lhl-heading);
  max-width: 640px;
}

.lhl-cs-subtext {
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--lhl-muted);
  margin: 20px 0 0;
  max-width: 520px;
}

.lhl-cs-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 480px;
  margin-top: 36px;
}

.lhl-cs-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.lhl-cs-input {
  flex: 1 1 240px;
  min-height: 48px;
  padding: 0 18px;
  font-size: 1.0625rem;
  font-family: inherit;
  border: 1px solid var(--lhl-border);
  border-radius: 8px;
  background: var(--lhl-bg);
  color: var(--lhl-text);
}

.lhl-cs-input:focus {
  outline: 2px solid var(--lhl-link);
  outline-offset: 1px;
}

.lhl-cs-button {
  background: var(--lhl-link);
  color: #ffffff;
  font-weight: 600;
  font-size: 1.0625rem;
  font-family: inherit;
  padding: 0 28px;
  min-height: 48px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.lhl-cs-button:hover:not(:disabled) {
  background: var(--lhl-link-hover);
  transform: translateY(-2px);
}

.lhl-cs-button:disabled {
  opacity: 0.7;
  cursor: default;
}

.lhl-cs-disclaimer {
  margin: 14px 0 0;
  font-size: 0.875rem;
  color: var(--lhl-muted-2);
}

.lhl-cs-message {
  margin: 14px 0 0;
  font-size: 0.9375rem;
  min-height: 1.4em;
}

.lhl-cs-message[data-state="success"] {
  color: #1f5638;
}

.lhl-cs-message[data-state="error"] {
  color: #b3261e;
}

.lhl-cs-footer {
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--lhl-border);
}

.lhl-cs-footer span {
  font-size: 0.875rem;
  color: var(--lhl-muted-2);
}

.lhl-cs-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 480px) {
  .lhl-cs-main {
    padding: 48px 16px 36px;
  }

  .lhl-cs-form {
    flex-direction: column;
  }

  .lhl-cs-input,
  .lhl-cs-button {
    flex: 0 0 auto;
    width: 100%;
  }
}
