/* Lead capture section — Saviynt + AWS.
   Written as plain CSS (not Tailwind utilities) so it survives the purge of the
   original compiled stylesheet, using the page's own tokens. */

:root {
  --lf-green: #5cfa32;
  --lf-green-ink: #1e7a0e;
  --lf-navy: #0b0f1a;
  --lf-ink: #111827;
  --lf-muted: #6b7280;
  --lf-line: #e8ebf0;
  --lf-heading: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --lf-body: "DM Sans", ui-sans-serif, system-ui, sans-serif;
}

section[id] { scroll-margin-top: 4.5rem; }

.lf-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .lf-layout { grid-template-columns: 5fr 7fr; gap: 3.5rem; }
}

/* ---------- left column ---------- */

.lf-points {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.lf-points li {
  display: flex;
  gap: 0.75rem;
  font-family: var(--lf-body);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--lf-muted);
}

.lf-points strong {
  color: var(--lf-ink);
  font-weight: 600;
}

.lf-tick {
  flex: 0 0 auto;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.15rem;
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(92, 250, 50, 0.12);
  color: var(--lf-green-ink);
}

.lf-alt {
  font-family: var(--lf-body);
  font-size: 0.875rem;
  color: var(--lf-muted);
  margin: 0;
}

.lf-alt a {
  color: var(--lf-green-ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(30, 122, 14, 0.3);
}

.lf-alt a:hover { border-bottom-color: var(--lf-green-ink); }

/* ---------- form card ---------- */

.lf-card {
  background: #fff;
  border: 1px solid var(--lf-line);
  border-radius: 1rem;
  padding: 1.75rem;
  box-shadow: 0 1px 2px rgba(11, 15, 26, 0.04), 0 12px 32px rgba(11, 15, 26, 0.05);
}

@media (min-width: 640px) {
  .lf-card { padding: 2.25rem; }
}

.lf-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .lf-row { grid-template-columns: 1fr 1fr; gap: 1rem; }
}

.lf-field {
  display: block;
  margin-bottom: 1rem;
  border: 0;
  padding: 0;
  min-width: 0;
}

.lf-row .lf-field { margin-bottom: 0; }
.lf-row { margin-bottom: 1rem; }

.lf-field label,
.lf-field legend {
  display: block;
  font-family: var(--lf-body);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--lf-ink);
  margin-bottom: 0.4rem;
  padding: 0;
}

.lf-req { color: var(--lf-green-ink); }

.lf-optional {
  font-weight: 400;
  color: #9ca3af;
  font-size: 0.75rem;
}

.lf-field input[type="text"],
.lf-field input[type="email"],
.lf-field select,
.lf-field textarea {
  width: 100%;
  box-sizing: border-box;
  font-family: var(--lf-body);
  font-size: 0.9375rem;
  color: var(--lf-ink);
  background: #fbfcfd;
  border: 1px solid var(--lf-line);
  border-radius: 0.625rem;
  padding: 0.7rem 0.85rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}

.lf-field textarea { resize: vertical; min-height: 7.5rem; line-height: 1.55; }

.lf-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.25rem;
}

.lf-field input::placeholder,
.lf-field textarea::placeholder { color: #b3b9c4; }

.lf-field input:focus,
.lf-field select:focus,
.lf-field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--lf-green-ink);
  box-shadow: 0 0 0 3px rgba(92, 250, 50, 0.18);
}

.lf-field input[aria-invalid="true"] {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

/* ---------- interest chips ---------- */

.lf-chips-field { margin-bottom: 1rem; }

.lf-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.lf-chip { position: relative; }

.lf-chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
}

.lf-chip span {
  display: inline-block;
  font-family: var(--lf-body);
  font-size: 0.8125rem;
  line-height: 1.2;
  color: #4b5563;
  background: #f7f9fb;
  border: 1px solid var(--lf-line);
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.lf-chip span:hover { border-color: #cfd6e0; color: var(--lf-ink); }

.lf-chip input:checked + span {
  background: rgba(92, 250, 50, 0.12);
  border-color: rgba(30, 122, 14, 0.45);
  color: var(--lf-green-ink);
  font-weight: 600;
}

.lf-chip input:focus-visible + span {
  outline: none;
  box-shadow: 0 0 0 3px rgba(92, 250, 50, 0.25);
}

/* ---------- honeypot, errors, submit ---------- */

.lf-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.lf-error {
  font-family: var(--lf-body);
  font-size: 0.8125rem;
  color: #b91c1c;
  background: rgba(220, 38, 38, 0.07);
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: 0.625rem;
  padding: 0.65rem 0.85rem;
  margin: 0 0 1rem;
}

.lf-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-family: var(--lf-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--lf-navy);
  background: var(--lf-green);
  border: 0;
  border-radius: 0.75rem;
  padding: 0.95rem 1.5rem;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.05s ease;
}

.lf-submit:hover { filter: brightness(0.95); }
.lf-submit:active { transform: translateY(1px); }

.lf-submit:disabled {
  opacity: 0.6;
  cursor: default;
  filter: none;
  transform: none;
}

.lf-fine {
  font-family: var(--lf-body);
  font-size: 0.75rem;
  line-height: 1.5;
  color: #9ca3af;
  margin: 0.9rem 0 0;
  text-align: center;
}

/* ---------- success ---------- */

.lf-success { text-align: center; padding: 1.5rem 0.5rem; }

.lf-success-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: rgba(92, 250, 50, 0.14);
  color: var(--lf-green-ink);
  margin-bottom: 1rem;
}

.lf-success h3 {
  font-family: var(--lf-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--lf-ink);
  margin: 0 0 0.6rem;
}

.lf-success p {
  font-family: var(--lf-body);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--lf-muted);
  margin: 0 auto 1.5rem;
  max-width: 26rem;
}

.lf-success-cta {
  display: inline-block;
  font-family: var(--lf-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--lf-navy);
  background: var(--lf-green);
  border-radius: 0.75rem;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
}

.lf-success-cta:hover { filter: brightness(0.95); }

/* ---------- mobile nav menu ----------
   The original nav rendered its mobile menu from the Figma Sites runtime; this
   is the static equivalent, toggled by site.js. */

.lf-nav-menu[hidden] { display: none; }

.lf-nav-menu {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 1.5rem 1.25rem;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 12px 24px rgba(11, 15, 26, 0.06);
  max-height: calc(100dvh - 4rem);
  overflow-y: auto;
}

.lf-nav-menu a {
  font-family: var(--lf-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: #4b5563;
  text-decoration: none;
  padding: 0.7rem 0.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.lf-nav-menu a:last-of-type { border-bottom: 0; }
.lf-nav-menu a:hover { color: var(--lf-ink); }

.lf-nav-menu .lf-nav-menu-cta {
  margin-top: 0.75rem;
  text-align: center;
  font-family: var(--lf-heading);
  font-weight: 600;
  color: #fff;
  background: var(--lf-navy);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  border-bottom: 0;
}

@media (min-width: 1024px) {
  .lf-nav-menu { display: none !important; }
}
