:root {
  --royal: #183aae;
  --clear: #3268e8;
  --soft: #79a5f5;
  --ivory: #f4f1ea;
  --charcoal: #24282c;
}

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

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

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ivory);
  background-color: var(--royal);
  background-image: linear-gradient(135deg, #0f2a8f 0%, var(--royal) 45%, var(--clear) 100%);
  -webkit-font-smoothing: antialiased;
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
}

.logo {
  margin: 0 0 40px;
  width: min(520px, 86vw);
  line-height: 0;
}

.logo img {
  width: 100%;
  height: auto;
}

.eyebrow {
  margin: 0 0 16px;
  padding: 6px 14px;
  border: 1px solid rgba(244, 241, 234, 0.45);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivory);
}

.tagline {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.intro {
  margin: 0;
  max-width: 34rem;
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  font-weight: 500;
  line-height: 1.6;
  text-wrap: balance;
  color: rgba(244, 241, 234, 0.85);
}

.signup {
  margin-top: 48px;
  width: min(440px, 100%);
  padding: 28px 24px;
  border-radius: 16px;
  background: var(--ivory);
  color: var(--charcoal);
  text-align: left;
}

.signup-title {
  margin: 0 0 6px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--royal);
}

.signup-lead {
  margin: 0 0 20px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.field label {
  font-size: 0.9rem;
  font-weight: 700;
}

.optional {
  font-weight: 500;
  color: #5c6166;
}

.field input[type="text"],
.field input[type="email"],
.field select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #c9c5bb;
  border-radius: 8px;
  background: #fff;
  font: inherit;
  font-size: 1rem;
  color: var(--charcoal);
}

.field input:focus-visible,
.field select:focus-visible,
.button:focus-visible {
  outline: 3px solid var(--clear);
  outline-offset: 2px;
}

.field-check {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}

.field-check input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  flex: none;
  accent-color: var(--royal);
}

.field-check label {
  font-weight: 500;
  line-height: 1.45;
}

.field-hidden {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.cf-turnstile {
  margin: 4px 0 16px;
  min-height: 65px;
}

.button {
  width: 100%;
  padding: 13px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--royal);
  color: var(--ivory);
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.button:hover {
  background: #12308f;
}

.button:disabled {
  opacity: 0.6;
  cursor: progress;
}

.signup-status {
  margin: 12px 0 0;
  font-size: 0.95rem;
  line-height: 1.45;
}

.signup-status:empty {
  display: none;
}

.signup-status[data-kind="error"] {
  color: #a32d2d;
}

.signup-status[data-kind="success"] {
  font-weight: 700;
  color: var(--royal);
}

.privacy {
  margin: 16px 0 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #5c6166;
}

.link {
  color: var(--ivory);
  font-weight: 700;
}

.footer {
  padding: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(244, 241, 234, 0.7);
}

.footer p {
  margin: 0;
}
