:root {
  --lexfill-ink: #070235;
  --lexfill-violet: #712edd;
  --lexfill-cyan: #2fd9f4;
  --lexfill-muted: #64748b;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--lexfill-ink);
  font-family: Manrope, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -.04em;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 8.5rem;
  height: auto;
  object-fit: contain;
}

.brand-logo--white { width: 8.5rem; }

.brand-mark {
  display: inline-grid;
  width: 1.75rem;
  height: 1.75rem;
  place-items: center;
  border-radius: .55rem;
  background: var(--lexfill-ink);
  color: var(--lexfill-cyan);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  transform: rotate(-8deg);
}

.brand-mark::first-letter { transform: rotate(8deg); }

.form-status {
  margin-top: 1rem;
  border-radius: .75rem;
  padding: .9rem 1rem;
  font-size: .9rem;
  line-height: 1.45;
}

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

.form-status[data-state="success"] {
  background: #dcfce7;
  color: #166534;
}

.form-status[data-state="error"] {
  background: #fee2e2;
  color: #991b1b;
}

.form-status[data-state="info"] {
  background: #e0f2fe;
  color: #075985;
}

.team-dialog {
  width: min(42rem, calc(100% - 2rem));
  border: 0;
  border-radius: 1.25rem;
  padding: 0;
  color: #191c1d;
  box-shadow: 0 24px 80px rgba(7, 2, 53, .28);
}

.team-dialog::backdrop { background: rgba(7, 2, 53, .58); }

.team-dialog__panel { padding: 2rem; background: #fff; }

.team-dialog__close {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  cursor: pointer;
}

.team-dialog__close:hover { background: #f8fafc; }

.team-member {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid #e2e8f0;
  padding: 1rem 0;
}

.linkedin-link {
  display: inline-grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--lexfill-ink);
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: .85rem;
  font-weight: 800;
  text-decoration: none;
}

.linkedin-link:hover { background: var(--lexfill-violet); }

.video-frame {
  aspect-ratio: 16 / 10;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 1.25rem;
  background: #09052f;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.article-prose p,
.article-prose li { color: #47464f; font-size: 1.08rem; line-height: 1.85; }

.article-prose h2 {
  margin-top: 2.5rem;
  color: var(--lexfill-ink);
  font-size: clamp(1.55rem, 2vw, 2.15rem);
  font-weight: 800;
  line-height: 1.2;
}

.article-prose ul { margin: 1.25rem 0; padding-left: 1.5rem; }

.article-prose li { margin: .6rem 0; }

.article-prose .lead {
  color: #191c1d;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.7;
}

.article-prose .callout {
  margin: 2rem 0;
  border-left: 4px solid var(--lexfill-cyan);
  border-radius: 0 .75rem .75rem 0;
  background: #f1f5f9;
  padding: 1.25rem 1.5rem;
}

@media (max-width: 640px) {
  .team-dialog__panel { padding: 1.25rem; }
  .article-prose p,
  .article-prose li { font-size: 1rem; }
}
