/* VAP-LAP: static, responsive profile pages and family-list additions. */
.lap-page {
  color: #dbe4f0;
  background: #0f172a;
  font-family: var(--font-sans, system-ui, sans-serif);
  line-height: 1.75;
}
.lap-page main { overflow: clip; }
.lap-page a { color: #93c5fd; text-underline-offset: .2em; }
.lap-page a:hover { color: #fff; }
.lap-page :is(a, button):focus-visible { outline: 3px solid #7dd3fc; outline-offset: 5px; }
.lap-page :is(h1, h2, h3) { color: #f8fafc; line-height: 1.25; }
.lap-page h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); letter-spacing: -.025em; }
.lap-page h3 { font-size: 1.18rem; }
.lap-page p { max-width: 72ch; }
.lap-wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.lap-skip { position: absolute; left: 16px; top: -80px; z-index: 10001; padding: 10px 16px; background: #172554; border-radius: 8px; }
.lap-skip:focus { top: 12px; }
.lap-hero {
  padding: 34px 0 64px;
  background: radial-gradient(ellipse at 85% 20%, #24365c 0, transparent 58%), linear-gradient(145deg, #111b30, #0f172a);
  border-bottom: 1px solid #283854;
}
.lap-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .84rem; color: #a3b5cd; margin-bottom: 42px; }
.lap-breadcrumb a { text-decoration: none; }
.lap-hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; gap: 56px; }
.lap-eyebrow { color: #a5b4fc; text-transform: uppercase; font-size: .76rem; letter-spacing: .14em; font-weight: 700; margin-bottom: 16px; }
.lap-badge { display: inline-block; color: #c7d2fe; border: 1px solid #6476ae; background: #253358; border-radius: 999px; padding: 4px 12px; font-size: .76rem; font-weight: 600; }
.lap-page h1 { margin: 18px 0 22px; font-size: clamp(2.65rem, 6vw, 4.2rem); letter-spacing: -.045em; }
.lap-page h1 span { display: block; margin-top: 12px; font-size: clamp(1.25rem, 2.7vw, 1.85rem); letter-spacing: -.015em; color: #b6c8e5; font-weight: 500; }
.lap-intro { font-size: 1.12rem; color: #d2deed; }
.lap-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 24px; color: #a3b5cd; font-size: .8rem; }
.lap-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.lap-page .lap-button { display: inline-flex; justify-content: center; align-items: center; padding: 11px 18px; color: #eff6ff; background: #2563eb; border: 1px solid #3b82f6; border-radius: 9px; text-decoration: none; font-size: .9rem; font-weight: 600; }
.lap-page .lap-button:hover { background: #1d4ed8; }
.lap-page .lap-button-secondary { background: #17243c; border-color: #4b5b78; }
.lap-page .lap-button-secondary:hover { background: #243858; }
.lap-trail { border: 1px solid #465777; border-radius: 20px; padding: 28px; background: #142139; box-shadow: 0 22px 55px #02061740; }
.lap-trail-title { font-size: .82rem; color: #a3b5cd; margin-bottom: 22px; }
.lap-trail ol { list-style: none; margin: 0; padding: 0; }
.lap-trail li { display: grid; grid-template-columns: 32px 1fr; gap: 14px; position: relative; padding: 0 0 23px; }
.lap-trail li:not(:last-child)::before { content: ''; position: absolute; width: 1px; background: #4a5d81; top: 31px; bottom: 0; left: 15px; }
.lap-trail li:last-child { padding-bottom: 0; }
.lap-step { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #7186ae; border-radius: 50%; color: #c7d2fe; background: #213458; font: 600 .72rem var(--font-mono, monospace); }
.lap-trail strong { display: block; color: #f1f5f9; font-size: .93rem; }
.lap-trail small { display: block; margin-top: 3px; color: #9fb1cb; font-size: .8rem; line-height: 1.55; }
.lap-section { padding: 64px 0; }
.lap-section + .lap-section { border-top: 1px solid #27354d; }
.lap-heading { max-width: 750px; margin-bottom: 28px; }
.lap-heading p { color: #aebdd2; margin-top: 14px; }
.lap-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.lap-card { padding: 26px; border: 1px solid #34445f; border-radius: 14px; background: #152138; }
.lap-card h3 { margin-bottom: 12px; }
.lap-card p { font-size: .93rem; color: #b7c6d9; }
.lap-card-number { display: block; margin-bottom: 24px; color: #a5b4fc; font: 500 .8rem var(--font-mono, monospace); }
.lap-split { display: grid; grid-template-columns: .9fr 1.3fr; gap: 56px; }
.lap-evidence { list-style: none; padding: 0; margin: 0; }
.lap-evidence li { border-bottom: 1px solid #34445f; padding: 18px 0; }
.lap-evidence li:first-child { padding-top: 0; }
.lap-evidence li:last-child { border: 0; padding-bottom: 0; }
.lap-evidence h3 { margin-bottom: 7px; font-size: 1rem; }
.lap-evidence p { color: #b7c6d9; font-size: .93rem; }
.lap-source { margin-top: 24px; font-size: .8rem; color: #9eafc7; }
.lap-reference { padding: 36px; border: 1px solid #52678b; border-radius: 18px; background: linear-gradient(125deg, #1d2e4b, #152138); }
.lap-reference .lap-split { grid-template-columns: .65fr 1.35fr; gap: 40px; }
.lap-reference h2 { font-size: clamp(2.4rem, 5vw, 3.25rem); margin-bottom: 12px; letter-spacing: -.04em; }
.lap-reference-label { font-size: .87rem; color: #b4c6e5; }
.lap-reference p + p { margin-top: 16px; }
.lap-reference-note { color: #aebdd2; font-size: .85rem; padding-top: 22px; margin-top: 26px; border-top: 1px solid #455775; max-width: none !important; }
.lap-resources { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 26px 0 20px; }
.lap-resource { display: block; padding: 24px; border: 1px solid #34445f; border-radius: 12px; background: #152138; text-decoration: none; overflow-wrap: anywhere; }
.lap-resource strong { display: block; color: #f1f5f9; margin-bottom: 6px; font-size: 1.05rem; }
.lap-resource span { display: block; color: #aebdd2; font-size: .86rem; }
.lap-resource:hover { border-color: #93c5fd; }
.lap-status { font-size: .88rem; color: #aebdd2; }
.lap-back { margin-top: 28px; font-size: .9rem; }
.lap-family-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lap-family-badge { display: inline-block; margin-top: 8px; padding: 3px 8px; border: 1px solid #6476ae; border-radius: 999px; background: #253358; color: #c7d2fe; font-size: .68rem; line-height: 1.5; }
.lap-domain-summary { grid-column: 1 / -1; }
@media (min-width: 640px) { .lap-family-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px) {
  .lap-hero-grid, .lap-split, .lap-reference .lap-split { grid-template-columns: 1fr; gap: 28px; }
  .lap-cards { grid-template-columns: 1fr; }
  .lap-hero-grid { max-width: 620px; }
  .lap-trail { margin-top: 8px; }
  .lap-breadcrumb { margin-bottom: 28px; }
  .lap-card-number { margin-bottom: 14px; }
  .lap-section { padding: 48px 0; }
}
@media (max-width: 520px) {
  .lap-wrap { width: calc(100% - 32px); }
  .lap-hero { padding: 26px 0 42px; }
  .lap-trail, .lap-card, .lap-reference { padding: 24px; }
  .lap-resources { grid-template-columns: 1fr; }
  .lap-actions { flex-direction: column; align-items: stretch; }
  .lap-page .lap-button { width: 100%; }
}
@media print {
  .lap-page { color: #111827; background: #fff; padding: 0; }
  .lap-page :is(h1, h2, h3, strong, p, span, small, a) { color: #111827; }
  .lap-hero, .lap-card, .lap-reference, .lap-trail, .lap-resource { background: #fff; box-shadow: none; }
  .lap-page vcp-header, .lap-page vcp-footer, .lap-skip { display: none; }
  .lap-section, .lap-hero { padding: 24px 0; }
  .lap-card, .lap-reference, .lap-trail, .lap-resource { break-inside: avoid; }
}
