/*
 * ALS Agent Profiles — the profile page.
 *
 * Deliberately plain. One column, system fonts, no framework. A profile page is
 * read by a crawler far more often than by a person, so it carries no JavaScript
 * at all — the markup above is the whole page.
 */

.alp-body {
  margin: 0;
  background: #04122c;
  color: #d6e4f7;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

.alp-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 64px) clamp(18px, 4vw, 32px);
}

.alp-card {
  border: 1px solid rgba(120, 170, 255, 0.18);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(10, 28, 64, 0.92), rgba(6, 20, 46, 0.92));
  padding: clamp(22px, 4vw, 40px);
}

/* ---------------------------------------------------------------- header */

.alp-type {
  margin: 0 0 10px;
  color: #2ee6f5;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.alp-name {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: clamp(26px, 4.4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1.12;
}

.alp-place {
  margin: 0 0 4px;
  color: #9fb6dd;
  font-size: 17px;
  font-weight: 600;
}

.alp-company,
.alp-assoc {
  margin: 0;
  color: #8fabd6;
  font-size: 14px;
}

.alp-company { font-weight: 700; color: #b9cde9; }

/* ---------------------------------------------------------------- licence */

.alp-h2 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.alp-licence,
.alp-contact {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid rgba(120, 170, 255, 0.16);
}

.alp-licnum {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin: 0 0 16px;
}
.alp-licnum__label {
  color: #8fabd6;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.alp-licnum__value {
  color: #ffffff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.alp-licnum__state {
  padding: 2px 8px;
  border: 1px solid rgba(120, 170, 255, 0.3);
  border-radius: 999px;
  color: #9fb6dd;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

/*
 * Status colours. Red is reserved for a licence that is genuinely not active —
 * it is never used for decoration anywhere in this file.
 */
.alp-badge {
  margin: 0 0 8px;
  padding: 13px 15px;
  border-radius: 11px;
  border-left: 3px solid;
  font-size: 14.5px;
  line-height: 1.5;
}
.alp-badge strong {
  display: block;
  font-size: 15.5px;
  font-weight: 800;
}
.alp-badge span {
  display: block;
  margin-top: 3px;
  font-size: 13.5px;
  opacity: 0.92;
}

.alp-badge--ok {
  border-left-color: #34d399;
  background: rgba(52, 211, 153, 0.11);
  color: #d3fbe9;
}
.alp-badge--bad {
  border-left-color: #f87171;
  background: rgba(248, 113, 113, 0.11);
  color: #ffdcdc;
}
.alp-badge--warn {
  border-left-color: #fbbf24;
  background: rgba(251, 191, 36, 0.1);
  color: #fdefc8;
}
.alp-badge--none {
  border-left-color: #6f8dbd;
  background: rgba(111, 141, 189, 0.12);
  color: #cddcf1;
}

/* The check date is not a footnote. A check without a date proves nothing. */
.alp-checked {
  margin: 0 0 4px;
  color: #8fabd6;
  font-size: 12.5px;
  font-weight: 600;
}

.alp-source {
  margin: 10px 0 0;
  font-size: 13px;
}
.alp-source a {
  color: #2ee6f5;
  text-decoration: none;
}
.alp-source a:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- contact */

.alp-note {
  margin: 0 0 14px;
  color: #9fb6dd;
  font-size: 14.5px;
}

.alp-contactlist {
  margin: 0;
  padding: 0;
  list-style: none;
}
.alp-contactlist li { padding: 5px 0; }
.alp-contactlist a {
  color: #2ee6f5;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.alp-btn {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 9px;
  background: #1d5cff;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.alp-btn:hover { background: #1546cc; }

/* ----------------------------------------------------------------- footer */

.alp-foot {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(120, 170, 255, 0.14);
}
.alp-foot p {
  margin: 0 0 10px;
  color: #6f8dbd;
  font-size: 12.5px;
  line-height: 1.65;
}
.alp-foot a { color: #9fb6dd; }

/* ---------------------------------------------------------------- missing */

.alp-wrap--missing {
  max-width: 560px;
  text-align: center;
}
.alp-wrap--missing h1 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: clamp(22px, 4vw, 30px);
}
.alp-wrap--missing p { color: #9fb6dd; }
.alp-wrap--missing a { color: #2ee6f5; }

@media (prefers-reduced-motion: reduce) {
  .alp-body * { transition: none !important; animation: none !important; }
}