:host {
  display: block;
  max-width: 960px;
  margin: 0 auto;
  padding: 28px;
}

.guide-header {
  margin: 1rem 0 2rem;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 18ch;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.05;
  margin-bottom: 0.75rem;
}

.eyebrow {
  color: var(--mat-sys-primary);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.handover-card {
  border-radius: 1.25rem;
  background: var(--mat-sys-primary-container);
  color: var(--mat-sys-on-primary-container);
}

.handover-card mat-card-content {
  padding: clamp(1.25rem, 4vw, 2rem);
}

.handover-card ol {
  display: grid;
  gap: 0.75rem;
  padding-left: 1.4rem;
  margin-bottom: 0;
}

.guide-nav {
  margin: 2rem 0;
  padding: 1.25rem;
  border: 1px solid var(--mat-sys-outline-variant);
  border-radius: 1rem;
}

.guide-nav div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.guide-nav a {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: var(--mat-sys-surface-container);
  color: var(--mat-sys-on-surface);
  text-decoration: none;
}

.guide-sections {
  display: grid;
  gap: 1rem;
}

.guide-section {
  scroll-margin-top: 1.5rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid var(--mat-sys-outline-variant);
  border-radius: 1.25rem;
  background: var(--mat-sys-surface-container-lowest);
}

.guide-section__intro {
  max-width: 72ch;
  color: var(--mat-sys-on-surface-variant);
  font-size: 1.05rem;
}

.guide-section ul {
  display: grid;
  gap: 0.55rem;
  padding-left: 1.2rem;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.role-grid article {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  border-radius: 0.9rem;
  background: var(--mat-sys-surface-container);
}

.role-grid span {
  color: var(--mat-sys-on-surface-variant);
}

.guide-note {
  margin: 1rem 0 0;
  padding: 1rem;
  border-left: 4px solid var(--mat-sys-tertiary);
  background: var(--mat-sys-tertiary-container);
}

@media (max-width: 600px) {
  :host {
    padding: 20px 16px;
  }

  .role-grid {
    grid-template-columns: 1fr;
  }
}
