:is(.iod-portal-page,.lisa-system-guide){--accent:var(--violet);--wash:var(--soft);--section-image-top:110px}
.lisa-system-guide {
  padding-block: 2rem clamp(3rem, 7vw, 6rem);
}

.system-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .75rem;
  margin-bottom: 1.75rem;
  color: var(--muted);
  font-size: .95rem;
}

.system-breadcrumb a { color: var(--accent); }

.lisa-system-guide :is(.iod-system-feature-header, .iod-guide-intro) {
  max-width: 54rem;
  margin-bottom: 2.25rem;
}

.lisa-system-guide h1 { font-size: clamp(2.3rem, 5vw, 4.25rem); }
.lisa-system-guide h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
.lisa-system-guide .iod-card-icon { margin-bottom: 1rem; }
.lisa-system-guide .iod-system-feature-lead { font-size: 1.2rem; }
.lisa-system-guide a:not(.button) { text-underline-offset: .18em; }

.lisa-system-guide :is(.iod-guide-eyebrow, .iod-directory-cta-eyebrow) {
  color: var(--accent);
  font-weight: 700;
  margin-bottom: .5rem;
}

.lisa-system-guide :is(.iod-system-feature-index, .iod-guide-contents, .iod-learning-links) {
  padding: clamp(1rem, 3vw, 2rem);
  margin-bottom: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--wash);
}

.lisa-system-guide :is(.iod-system-feature-index-grid, .iod-ai-prompt-grid, .iod-learning-links nav) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1rem;
}

.lisa-system-guide :is(.iod-system-feature-index-grid a, .iod-ai-prompt-grid article) {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  text-decoration: none;
}

.lisa-system-guide .iod-system-feature-index-grid a:hover { border-color: var(--accent); }
.lisa-system-guide .iod-system-feature-index-grid span { display: block; color: var(--muted); }
.lisa-system-guide .iod-ai-prompt-grid { margin-block: 1.25rem; }
.lisa-system-guide .iod-ai-prompt-grid blockquote { margin: .75rem 0 0; color: var(--muted); }
.lisa-system-guide .iod-ai-prompt-grid blockquote + p { margin-top: .75rem; }

.lisa-system-guide :is(.iod-system-feature-section, .iod-guide-section) {
  margin-block: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.lisa-system-guide :is(.iod-system-feature-split, .iod-guide-section) {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1rem, 4vw, 3rem);
}

.lisa-system-guide .iod-guide-section { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
.lisa-system-guide :is(figure, .iod-guide-image-title) { margin: 0; }
.lisa-system-guide img { width: 100%; height: auto; border-radius: 14px; }
.lisa-system-guide :is(figcaption, .iod-guide-image-title span) { color: var(--muted); font-size: .9rem; }
.lisa-system-guide :is(figcaption, .iod-guide-image-title) { margin-top: .65rem; }

.lisa-system-guide :is(.iod-system-reflection, .iod-system-example) {
  padding: 1rem;
  margin-block: 1rem;
  border-left: 3px solid var(--accent);
  background: var(--wash);
}

.lisa-system-guide .iod-directory-cta {
  padding: clamp(1rem, 4vw, 2rem);
  border-radius: 18px;
  background: var(--wash);
}

.lisa-system-guide .iod-guide-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1rem;
}

.lisa-system-guide [data-lisa-services-cta] {
  overflow: hidden;
  padding: 0;
  border: 2px solid var(--accent);
  box-shadow: 0 8px 24px rgb(25 32 44 / .09);
}

.lisa-system-guide [data-lisa-services-cta] > .button { margin: 1rem; }

.lisa-services-cta-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
}

.lisa-services-cta-image {
  position: relative;
  min-height: clamp(13rem, 23vw, 18rem);
}

.lisa-system-guide .lisa-services-cta-image img {
  position: absolute;
  inset: 0;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
}

.lisa-services-cta-copy {
  align-self: center;
  padding: clamp(1.5rem, 4vw, 3rem);
}

@media (max-width: 680px) {
  .lisa-services-cta-layout { grid-template-columns: minmax(0, 1fr); }
  .lisa-services-cta-image { min-height: 0; aspect-ratio: 16 / 9; }
}

.lisa-system-guide .iod-learning-links { margin-top: 2rem; }

@media (max-width: 760px) {
  .lisa-system-guide :is(.iod-system-feature-split, .iod-guide-section) { grid-template-columns: minmax(0, 1fr); }
}

.lisa-system-guide :is(.profile-guide-hero, .system-guide-hero) {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  overflow: hidden;
  max-width: none;
  margin-bottom: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--wash);
}

:is(.profile-guide-hero-copy, .system-guide-hero-copy) {
  align-self: center;
  padding: clamp(1.5rem, 4vw, 3.5rem);
}

.lisa-system-guide :is(.profile-guide-hero, .system-guide-hero) h1 { font-size: clamp(2.3rem, 3.75vw, 3.45rem); }
.profile-guide-intro { max-width: 54rem; margin-bottom: 2.25rem; }

.lisa-system-guide :is(.profile-guide-hero-image, .system-guide-hero-image) {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: 56% 50%;
}

.lisa-system-guide .profile-guide-preview {
  max-width: 43rem;
  margin: 0 auto 2.5rem;
  padding: .35rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}

.lisa-system-guide .profile-guide-preview figcaption {
  margin-top: 0;
  padding: .7rem .75rem;
  text-align: center;
}

@media (max-width: 1100px) {
  .lisa-system-guide :is(.profile-guide-hero, .system-guide-hero) { grid-template-columns: minmax(0, 1fr); }

  .lisa-system-guide :is(.profile-guide-hero-image, .system-guide-hero-image) {
    grid-row: 1;
    height: auto;
    max-height: 26rem;
    aspect-ratio: 3 / 2;
    object-position: center 43%;
  }
}

.lisa-system-guide .system-guide-hero h1 { font-size: clamp(2.15rem, 3.1vw, 3.15rem); }

/* Keep section artwork at the top and inside its own section while scrolling. */
.lisa-system-guide :is(.profile-guide-hero, .system-guide-hero, [data-lisa-services-cta]) { overflow: clip; }
.lisa-system-guide :is(.profile-guide-hero-image, .system-guide-hero-image) { align-self: start; height: auto; }
.lisa-services-cta-image { align-self: start; width: 100%; aspect-ratio: 3 / 2; }
.lisa-system-guide :is(.iod-system-feature-split, .iod-guide-section) > :is(figure, .iod-guide-image) { align-self: start; }
@media (min-width: 1101px) {
  .lisa-system-guide :is(.profile-guide-hero-image, .system-guide-hero-image) { position: sticky; top: var(--section-image-top, 95px); }
}
@media (min-width: 761px) {
  .lisa-system-guide :is(.iod-system-feature-split, .iod-guide-section) > :is(figure, .iod-guide-image) { position: sticky; top: var(--section-image-top, 95px); }
}
@media (min-width: 681px) {
  .lisa-services-cta-image { position: sticky; top: var(--section-image-top, 95px); }
}
@media (max-width: 680px) {
  .lisa-services-cta-image { aspect-ratio: 16 / 9; }
}
